1 2019-02-04 Joseph Myers <joseph@codesourcery.com>
3 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
4 with 0, not tcache->entries[tc_idx].
6 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
9 2019-02-04 Andreas Schwab <schwab@suse.de>
13 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
14 looking up collating elements match against (wide) character
15 sequence instead of name. Correct alignment adjustment.
16 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
17 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
18 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
19 (LOCALES): Add cs_CZ.ISO-8859-2.
20 * posix/tst-fnmatch4.c: New file.
21 * posix/tst-fnmatch5.c: New file.
22 * include/wchar.h (__wmemcmp): Declare.
23 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
24 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
25 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
26 * sysdeps/s390/wmemcmp.c: Likewise.
28 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
32 * NEWS: Updated for CVE-2019-7309.
33 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
34 upper 32 bits of RDX register for x32. Use unsigned Jcc
35 instructions, instead of signed.
36 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
37 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
39 2019-02-04 Florian Weimer <fweimer@redhat.com>
41 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
42 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
43 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
45 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
46 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
47 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
48 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
50 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
52 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
54 (posix_spawn_file_actions_addopen): Likewise.
55 (posix_spawn_file_actions_addclose): Likewise.
56 (posix_spawn_file_actions_adddup2): Likewise.
57 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
59 (posix_spawn_file_actions_addfchdir_np): Likewise.
61 2019-02-04 David Newall <glibc@davidnewall.com>
63 elf: Implement --preload option for the dynamic linker.
64 * elf/rtld.c (preloadarg): New variable.
65 (handle_preload_list): Pass through “where” argument to
67 (dl_main): Handle "--preload" and add second call to
69 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
70 (tst-rtld-preload-OBJS): Set variable.
71 (tst-rtld-preload.out): New target.
72 * elf/tst-rtld-preload.sh: New file.
74 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
76 * Makefile (testrun.sh): Exit in case of incorrect argument.
78 2019-02-04 Florian Weimer <fweimer@redhat.com>
80 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
83 2019-02-03 Florian Weimer <fweimer@redhat.com>
85 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
86 implicit overflow checks.
88 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
90 * stdlib/isomac.c: Include <unistd.h>.
92 2019-02-03 Florian Weimer <fweimer@redhat.com>
94 * include/time.h (__tzfile_default): Use int, not long int, for
96 * time/tzfile.c (struct ttinfo): Change type of the offset member
98 (__tzfile_read): Remove useless cast.
99 (__tzfile_default): Adjust prototype.
100 * time/tzset.c (tz_rule): Change type of the offset member to int.
101 (parse_offset): Change the type of the sign variable to int.
103 2019-02-03 Florian Weimer <fweimer@redhat.com>
106 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
107 * libio/getchar.c (getchar): Likewise.
108 * libio/getchar_u.c (getchar_unlocked): Likewise.
109 * libio/getwchar.c (getwchar): Likewise.
110 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
111 * libio/iogets.c (_IO_gets): Likewise.
112 * libio/vscanf.c (_IO_vscanf): Likewise.
113 * libio/vwscanf.c (__vwscanf): Likewise.
114 * libio/tst-bz24153.c: New file.
115 * libio/Makefile (tests): Add it.
117 2019-02-02 Florian Weimer <fweimer@redhat.com>
120 * manual/resource.texi (Basic Scheduling Functions): Add
121 portability note. Change process to task throughout the section.
122 Remove incorrect comment about sched_yield as it affects
123 tasks/threads, not entire processes.
124 * sysdeps/unix/sysv/linux/bits/posix_opt.h
125 (_POSIX_PRIORITY_SCHEDULING): Update comment.
127 2019-02-01 Joseph Myers <joseph@codesourcery.com>
129 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
130 * configure: Regenerated.
131 * manual/install.texi (Tools for Compilation): Update minimum GCC
133 * INSTALL: Regenerated.
135 2019-02-01 Florian Weimer <fweimer@redhat.com>
137 * support/support_test_compare_string.c
138 (support_test_compare_string): Use "string" in error message.
139 * support/tst-test_compare_string.c (do_test): Adjust.
141 2019-02-01 Florian Weimer <fweimer@redhat.com>
143 * support/support_format_address_family.c
144 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
146 2019-02-01 Florian Weimer <fweimer@redhat.com>
148 * manual/socket.texi (Internet Address Formats): Clarify the byte
149 order of struct sockaddr_in, struct sockaddr_in6. Document
150 sin6_flowinfo and sin6_scope_id.
152 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
154 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
155 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
156 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
157 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
158 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
159 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
161 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
163 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
164 [!MEMCHR](MEMCHR): Set to __memchr.
165 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
166 Add memchr_generic and memchr_nosimd.
167 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
168 (__libc_ifunc_impl_list): Add memchr ifuncs.
169 * sysdeps/aarch64/multiarch/memchr.c: New file.
170 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
171 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
173 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
175 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
177 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
178 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
179 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
180 Add IS_EMAG check for ifunc dispatch.
181 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
182 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
184 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
186 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
187 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
189 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
192 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
194 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
196 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
198 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
199 syscall-template file.
201 2019-01-31 Carlos O'Donell <carlos@redhat.com>
202 Torvald Riegel <triegel@redhat.com>
203 Rik Prohaska <prohaska7@gmail.com>
206 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
207 tst-rwlock-trywrlock-stall.
208 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
209 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
210 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
211 Set __wrphase_fute to 1 only if we started the write phase.
212 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
213 * nptl/tst-rwlock-trywrlock-stall.c: New file.
214 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
215 * support/xpthread_rwlock_destroy.c: New file.
216 * support/xthread.h: Declare xpthread_rwlock_destroy.
218 2019-02-01 Joseph Myers <joseph@codesourcery.com>
220 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
223 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
226 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
227 * libio/fileops.c (_IO_new_file_underflow): Likewise
228 * libio/wfileops.c (_IO_wfile_underflow): Likewise
229 * libio/putchar.c (putchar): Likewise.
230 * libio/putchar_u.c (putchar_unlocked): Likewise.
231 * libio/putwchar.c (putchar): Likewise.
232 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
233 * libio/tst-bz24051.c: New test.
234 * libio/Makefile (tests): Add tst-bz24051
236 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
238 regex: fix read overrun [BZ #24114]
239 Problem found by AddressSanitizer, reported by Hongxu Chen in:
240 https://debbugs.gnu.org/34140
241 * posix/regexec.c (proceed_next_node):
242 Do not read past end of input buffer.
244 2019-01-31 Florian Weimer <fweimer@redhat.com>
247 * nss/nss_files/files-alias.c (get_next_alias): Handle
248 continuation line without newline at the end.
249 * nss/tst-nss-files-alias-truncated.c: New file.
250 * nss/Makefile [$(build-shared)] (tests): Add
251 tst-nss-files-alias-truncated.
252 (tst-nss-files-alias-truncated): Link with libnss_files.so.
253 * support/namespace.h (struct support_chroot_configuration): Add
255 (struct support_chroot): Add path_aliases member.
256 * support/support_chroot.c (support_chroot_create): Handle
258 (support_chroot_free): Free path_aliases.
260 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
262 * version.h (RELEASE): Set to "development".
263 (VERSION): Set to "2.29.9000".
264 * NEWS: Add section for 2.30.
266 * version.h (RELEASE): Set to "stable".
267 (VERSION): Set to "2.29".
268 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
270 * NEWS: Add the list of bugs fixed in 2.29.
271 * manual/contrib.texi: Update contributors list with some more
273 * manual/install.texi: Update latest versions of packages
275 * INSTALL: Regenerated.
277 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
279 * po/be.po: Update translations.
280 * po/bg.po: Likewise.
281 * po/ca.po: Likewise.
282 * po/cs.po: Likewise.
283 * po/da.po: Likewise.
284 * po/de.po: Likewise.
285 * po/el.po: Likewise.
286 * po/eo.po: Likewise.
287 * po/es.po: Likewise.
288 * po/fi.po: Likewise.
289 * po/fr.po: Likewise.
290 * po/gl.po: Likewise.
291 * po/hr.po: Likewise.
292 * po/hu.po: Likewise.
293 * po/ia.po: Likewise.
294 * po/id.po: Likewise.
295 * po/it.po: Likewise.
296 * po/ja.po: Likewise.
297 * po/ko.po: Likewise.
298 * po/lt.po: Likewise.
299 * po/nb.po: Likewise.
300 * po/nl.po: Likewise.
301 * po/pl.po: Likewise.
302 * po/pt_BR.po: Likewise.
303 * po/ru.po: Likewise.
304 * po/rw.po: Likewise.
305 * po/sk.po: Likewise.
306 * po/sl.po: Likewise.
307 * po/sv.po: Likewise.
308 * po/tr.po: Likewise.
309 * po/uk.po: Likewise.
310 * po/vi.po: Likewise.
311 * po/zh_CN.po: Likewise.
312 * po/zh_TW.po: Likewise.
314 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
317 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
318 of $f3 register on $y_is_neg path.
320 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
323 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
324 sigaltstack.ss_flags.
326 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
329 * manual/time.texi (strftime): Document "%Ey".
330 * time/strftime_l.c (__strftime_internal): Set the default width
331 padding with zero of "%Ey" to 2.
334 * manual/time.texi (strftime): Document "%EC" and "%EY".
335 * time/Makefile (tests): Add tst-strftime2.
336 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
337 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
338 override padding for "%Ey".
339 If an optional flag ('_' or '-') is specified to "%EY", interpret the
340 "%Ey" in the subformat as if decorated with that flag.
341 * time/tst-strftime2.c: New file.
343 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
345 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
349 * elf/Makefile (tests): Add tst-audit13.
350 (modules-names): Add tst-audit13mod1.
351 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
353 * elf/rtld.c (dl_main): Handle invalid audit module version.
354 * elf/tst-audit13.c: New file.
355 * elf/tst-audit13mod1.c: Likewise.
357 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
359 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
360 returned by __hurd_at_flags.
361 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
362 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
363 directly instead of __hurd_file_name_lookup.
365 2019-01-21 Joseph Myers <joseph@codesourcery.com>
367 * scripts/build-many-glibcs.py (Context.checkout): Default
368 binutils version to 2.32 branch.
370 2019-01-21 Florian Weimer <fweimer@redhat.com>
374 resolv: Reject trailing characters in host names
375 * include/arpa/inet.h (__inet_aton_exact): Declare.
376 (inet_aton): Remove hidden prototype. No longer used internally.
377 * nscd/gai.c (__inet_aton): Do not define.
378 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
379 * nss/digits_dots.c (__inet_aton): Likewise.
380 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
381 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
382 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
383 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
384 (tst-resolv-trailing): Likewise.
385 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
387 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
388 Make static. Add endp parameter.
389 (__inet_aton_exact): New function.
390 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
391 (__inet_addr): Call inet_aton_end.
392 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
393 not just IPv6. Call __inet_aton_exact.
394 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
395 (tests): Make const. Add additional test cases with trailing
397 (do_test): Use array_length.
398 * resolv/tst-inet_aton_exact.c: New file.
399 * resolv/tst-resolv-trailing.c: Likewise.
400 * resolv/tst-resolv-nondecimal.c: Likewise.
401 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
403 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
407 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
408 Clear the upper 32 bits of RSI register.
409 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
410 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
411 and tst-size_t-wcsnlen.
412 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
413 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
415 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
419 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
420 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
421 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
422 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
423 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
425 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
429 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
430 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
431 * sysdeps/x86_64/strcmp.S: Likewise.
432 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
433 tst-size_t-strncmp and tst-size_t-wcsncmp.
434 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
435 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
436 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
438 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
442 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
443 RDX_LP for length. Clear the upper 32 bits of RDX register.
444 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
445 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
446 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
447 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
449 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
453 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
454 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
455 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
456 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
458 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
462 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
463 length. Clear the upper 32 bits of RDX register.
464 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
465 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
467 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
469 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
471 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
473 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
477 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
478 length. Clear the upper 32 bits of RDX register.
479 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
480 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
481 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
483 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
484 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
486 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
490 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
491 upper 32 bits of RDX register.
492 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
493 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
495 * sysdeps/x86_64/x32/test-size_t.h: New file.
496 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
497 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
499 2019-01-18 Florian Weimer <fweimer@redhat.com>
502 resolv: Do not send queries for non-host-names in nss_dns.
503 * resolv/nss_dns/dns-host.c (check_name): New function.
504 (_nss_dns_gethostbyname2_r): Use it.
505 (_nss_dns_gethostbyname_r): Likewise.
506 (_nss_dns_gethostbyname4_r): Likewise.
508 2019-01-21 Florian Weimer <fweimer@redhat.com>
510 * resolv/inet_addr.c: Reformat to GNU style.
511 (__inet_addr, __inet_aton): Update comment.
513 2019-01-18 Florian Weimer <fweimer@redhat.com>
515 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
516 ("malloc: Use current (C11-style) atomics for fastbin access").
517 This commit introduces a substantial performance regression on
519 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
521 (_int_malloc): Use it and reindent.
522 (_int_free): Use CAS loop with
523 catomic_compare_and_exchange_val_rel.
524 (malloc_consolidate): Use atomic_exchange_acq.
527 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
529 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
531 (LDFLAGS-tst-minsigstksz-2): Likewise.
532 (LDFLAGS-tst-minsigstksz-3): Likewise.
533 (LDFLAGS-tst-minsigstksz-3a): Likewise.
534 (LDFLAGS-tst-minsigstksz-4): Likewise.
536 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
538 * manual/time.texi (strftime): Fix the wording to "alternative" rather
541 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
543 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
545 2019-01-16 Zack Weinberg <zackw@panix.com>
547 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
548 (xget_sigstack_location): New test support functions.
549 * support/xsigstack.c: New file, implementing them.
550 * support/tst-xsigstack.c: New test for them.
551 * support/Makefile: Update.
553 * signal/tst-minsigstksz-1.c
554 * signal/tst-minsigstksz-2.c
555 * signal/tst-minsigstksz-3.c
556 * signal/tst-minsigstksz-3a.c
557 * signal/tst-minsigstksz-4.c: New tests.
558 * signal/Makefile: Run them.
560 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
562 * po/libc.pot: Regenerate.
564 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
566 * math/libm-test-fma.inc (fma_test_data): Set
567 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
569 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
571 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
572 (do_test): Changed __vector __int128_t to __vector unsigned int.
574 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
576 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
577 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
578 stpcpy-avx2 and stpncpy-avx2.
579 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
580 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
581 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
583 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
584 ifunc-strcpy.h}: rename header for a more generic name.
585 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
586 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
587 AVX unaligned load is fast and vzeroupper is preferred.
588 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
589 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
590 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
591 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
592 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
593 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
595 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
597 * argp/argp-help.c: Fix typo in comment.
598 * misc/sys/cdefs.h: Likewise.
599 * posix/regexec.c (sift_states_iter_mb): Likewise.
600 * socket/sockatmark.c: Likewise.
601 * socket/sys/socket.h: Likewise.
602 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
603 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
604 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
605 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
606 * sysdeps/unix/sockatmark.c: Likewise.
607 * time/strptime_l.c: Likewise.
609 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
611 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
612 missing space after the cast of "_NL_CURRENT".
614 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
616 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
617 ifdef to fix read of VSCR.
618 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
619 tst-ucontext-ppc64-vscr.c to test list.
620 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
622 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
624 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
627 2019-01-09 Jim Wilson <jimw@sifive.com>
629 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
631 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
633 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
634 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
635 __memcpy_falkor for ares.
636 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
638 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
641 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
644 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
645 4_FP_W_TYPEs are used for IEEE quad precision.
646 * soft-fp/extendhftf2.c: Likewise.
647 * soft-fp/extendsftf2.c: Likewise.
648 * soft-fp/extendxftf2.c: Likewise.
649 * soft-fp/trunctfdf2.c: Likewise.
650 * soft-fp/trunctfhf2.c: Likewise.
651 * soft-fp/trunctfsf2.c: Likewise.
652 * soft-fp/trunctfxf2.c: Likewise.
653 * sysdeps/alpha/ots_cvttx.c: Likewise.
654 * sysdeps/alpha/ots_cvtxt.c: Likewise.
655 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
656 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
657 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
658 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
659 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
660 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
661 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
662 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
663 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
664 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
665 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
666 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
667 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
668 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
669 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
670 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
672 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
675 * Makeconfig: Build libm with -fno-math-errno but build the remaining
676 code with -fmath-errno.
677 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
678 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
679 * string/test-strerror-errno.c: New file.
681 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
684 * localedata/locales/en_US (date_fmt): Add, set to
687 2019-01-07 Florian Weimer <fweimer@redhat.com>
690 * manual/arith.texi (Math Error Reporting): Use @code{errno}
691 instead of @var{errno}.
692 (Parsing of Integers): Likewise.
693 (Parsing of Floats): Likewise.
694 * manual/filesys.texi (Working with Directory Trees): Likewise.
695 (Temporary Files): Likewise.
696 * manual/job.texi (Terminal Access Functions): Likewise.
697 * manual/llio.texi (Synchronizing I/O): Likewise.
698 * manual/math.texi (SVID Random): Likewise.
699 * manual/message.texi (The catgets Functions): Likewise.
700 (Translation with gettext): Likewise.
701 (Locating gettext catalog): Likewise.
702 (Charset conversion in gettext): Likewise.
703 * manual/nss.texi (NSS Module Function Internals): Likewise.
704 * manual/search.texi (Hash Search Function): Likewise.
705 * manual/setjmp.texi (System V contexts): Likewise.
706 * manual/time.texi (Sleeping): Likewise.
707 * manual/users.texi (Lookup User): Likewise.
708 (Lookup Group): Likewise.
710 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
712 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
715 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
718 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
719 __builtin_unreachable for default case in switch.
720 (__ieee754_yn): Likewise.
721 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
722 (__ieee754_ynl): Likewise.
723 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
724 (__ieee754_ynl): Likewise.
725 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
726 (__ieee754_ynl): Likewise.
728 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
730 * manual/maint.texi: Use @{ and @}.
732 2019-01-04 Florian Weimer <fweimer@redhat.com>
734 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
736 (do_in_chroot_1): Call it.
738 Improve error reporting in case it is not possible to create a
739 collision for the PTY name required by the test.
741 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
743 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
744 lll_wait_tid with timeout.
745 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
746 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
747 futex_reltimed_wait_cancelable for cancelabla mode.
748 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
749 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
751 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
752 * sysdeps/posix/waitid.c (__sigwait): Likewise.
753 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
754 SYSCALL_CANCEL_NCS): New macro.
755 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
756 (lll_timedwait_tid): Remove macro.
757 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
759 (lll_timedwait_tid): Likewise.
760 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
762 (lll_timedwait_tid): Likewise.
763 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
765 (lll_timedwait_tid): Likewise.
766 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
767 Use INTERNAL_SYSCALL_CANCEL.
768 * sysdeps/unix/sysv/linux/futex-internal.h
769 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
770 instead of __pthread_{enable,disable}_asynccancel.
771 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
772 (lll_futex_wait_cancel): New macro.
774 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
775 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
777 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
778 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
780 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
781 in backtrace analysis.
782 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
786 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
787 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
788 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
789 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
790 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
791 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
792 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
793 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
794 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
795 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
796 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
797 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
799 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
800 tst-cancel-wrappers.sh.
801 (generated): Remove tst-cancel-wrappers.out.
802 (tst-cancel-wrappers.out): Remove rule.
803 * nptl/tst-cancel-wrappers.sh: Remove file.
805 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
807 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
808 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
811 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
814 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
815 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
816 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
817 close-on-exec reset for adddup2 file action.
818 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
820 2019-01-03 Zack Weinberg <zackw@panix.com>
822 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
823 parameter. Only use deprecated scanf when __USE_GNU is defined
824 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
825 than 201103L, whichever is relevant for the language being compiled.
827 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
828 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
829 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
830 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
831 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
840 * stdio-common/fscanf.c
841 * stdio-common/scanf.c
842 * stdio-common/vfscanf.c
843 * stdio-common/vfwscanf.c
844 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
845 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
846 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
847 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
848 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
849 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
850 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
851 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
852 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
853 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
854 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
855 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
856 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
857 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
858 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
860 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
861 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
862 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
864 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
865 with a preprocessor macro.
867 * stdio-common/bug21.c, stdio-common/scanf14.c:
868 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
869 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
870 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
871 to xscanf, xfscanf, xsscanf.
873 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
874 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
875 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
876 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
878 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
879 override feature selection macros or provide definitions of u_char etc.
880 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
881 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
882 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
885 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
887 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
889 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
890 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
891 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
892 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
893 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
894 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
896 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
897 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
898 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
899 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
900 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
901 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
903 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
904 (sysdep_headers): Add termios-misc.h.
906 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
907 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
908 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
910 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
912 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
913 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
914 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
915 TCSAFLUSH): Move to termios-tcflow.h.
916 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
917 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
918 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
919 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
921 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
923 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
924 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
925 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
926 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
927 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
928 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
929 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
930 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
932 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
933 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
934 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
935 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
937 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
939 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
940 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
941 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
942 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
943 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
945 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
946 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
947 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
948 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
951 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
953 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
954 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
955 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
956 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
957 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
958 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
959 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
960 __MAX_BAUD): Move to termios-baud.h.
961 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
962 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
963 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
964 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
965 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
967 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
969 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
970 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
971 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
972 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
973 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
974 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
976 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
977 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
979 [USE_MISC] (XTABS): Likewise.
980 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
981 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
982 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
983 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
985 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
987 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
988 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
989 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
990 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
991 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
992 IUTF8): Move to termios-c_iflag.h.
993 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
994 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
995 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
996 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
998 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1000 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
1001 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
1002 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
1003 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
1004 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
1005 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
1006 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
1007 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
1008 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1009 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1010 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1011 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1013 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
1014 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
1015 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
1016 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
1017 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1019 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
1021 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
1023 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
1025 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
1027 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
1029 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
1030 _HAVE_C_OSPEED): Define.
1031 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
1032 _HAVE_C_OSPEED): Likewise.
1033 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
1034 _HAVE_C_OSPEED): Likewise.
1035 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
1036 (cfsetospeed): Check for define value instead of existence.
1037 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
1038 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1039 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
1040 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1041 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
1044 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
1046 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1047 (TIOCSER_TEMT): Likewise.
1048 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
1049 (TEOCSER_TEMT): Likewise.
1051 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
1054 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
1056 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1058 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
1060 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
1062 * sysdeps/htl/pt-barrierattr-setpshared.c
1063 (pthread_barrierattr_setpshared): Add stub warning.
1064 * sysdeps/htl/pt-condattr-setpshared.c
1065 (pthread_condattr_setpshared): Likewise.
1066 * sysdeps/htl/pt-mutexattr-setpshared.c
1067 (pthread_mutexattr_setpshared): Likewise.
1068 * sysdeps/htl/pt-rwlockattr-setpshared.c
1069 (pthread_rwlockattr_setpshared): Likewise.
1070 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
1071 (pthread_mutexattr_setpshared): Likewise.
1073 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1075 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
1076 constants to match with Linux 4.20.
1078 * sysdeps/mips/mips32/libm-test-ulps: Update.
1079 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1081 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
1084 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
1085 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
1086 than __typeof (...) for the a_ptr variable.
1088 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1090 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
1091 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
1092 * libio/Makefile (tests): Add tst-sprintf-ub and
1094 (CFLAGS-tst-sprintf-ub.c): New variable.
1095 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
1096 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
1097 destination buffer and check for overflows in fortified mode.
1098 * libio/libioP.h (PRINTF_CHK): New macro.
1099 * libio/tst-sprintf-chk-ub.c: New file.
1100 * libio/tst-sprintf-ub.c: Likewise.
1102 2019-01-02 Florian Weimer <fweimer@redhat.com>
1105 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
1108 2019-01-02 Florian Weimer <fweimer@redhat.com>
1110 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
1112 2019-01-01 Joseph Myers <joseph@codesourcery.com>
1114 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
1117 * sysdeps/unix/sysv/linux/netpacket/packet.h
1118 (PACKET_IGNORE_OUTGOING): New macro.
1120 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
1123 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1125 (riscv_flush_icache): New syscall.
1127 * manual/texinfo.tex: Update to version 2018-12-28.17 with
1128 trailing whitespace removed.
1129 * scripts/config.guess: Update to version 2019-01-01.
1130 * scripts/config.sub: Update to version 2019-01-01.
1131 * scripts/move-if-change: Update from gnulib.
1133 * NEWS: Update copyright dates.
1134 * catgets/gencat.c (print_version): Likewise.
1135 * csu/version.c (banner): Likewise.
1136 * debug/catchsegv.sh: Likewise.
1137 * debug/pcprofiledump.c (print_version): Likewise.
1138 * debug/xtrace.sh (do_version): Likewise.
1139 * elf/ldconfig.c (print_version): Likewise.
1140 * elf/ldd.bash.in: Likewise.
1141 * elf/pldd.c (print_version): Likewise.
1142 * elf/sotruss.sh: Likewise.
1143 * elf/sprof.c (print_version): Likewise.
1144 * iconv/iconv_prog.c (print_version): Likewise.
1145 * iconv/iconvconfig.c (print_version): Likewise.
1146 * locale/programs/locale.c (print_version): Likewise.
1147 * locale/programs/localedef.c (print_version): Likewise.
1148 * login/programs/pt_chown.c (print_version): Likewise.
1149 * malloc/memusage.sh (do_version): Likewise.
1150 * malloc/memusagestat.c (print_version): Likewise.
1151 * malloc/mtrace.pl: Likewise.
1152 * manual/libc.texinfo: Likewise.
1153 * nptl/version.c (banner): Likewise.
1154 * nscd/nscd.c (print_version): Likewise.
1155 * nss/getent.c (print_version): Likewise.
1156 * nss/makedb.c (print_version): Likewise.
1157 * posix/getconf.c (main): Likewise.
1158 * scripts/test-installation.pl: Likewise.
1159 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1161 * All files with FSF copyright notices: Update copyright dates
1162 using scripts/update-copyrights.
1163 * locale/programs/charmap-kw.h: Regenerated.
1164 * locale/programs/locfile-kw.h: Likewise.
1166 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1168 * timezone/zdump.c: Update from tzcode 2018i.
1169 * timezone/zic.c: Likewise.
1171 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
1173 regex: improve Gnulib port to AIX
1174 From the glibc point of view, this removes duplicate macro
1175 definitions and is obviously safe.
1176 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
1177 * posix/regex_internal.h:
1178 (__attribute__, __attribute_warn_unused_result__):
1179 Remove; already defined elsewhere.
1181 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
1184 * malloc/malloc.c (_int_realloc): Always call memcpy for the
1185 copying operation. (ncopies had the wrong type, resulting in an
1186 integer wraparound and too few elements being copied.)
1188 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
1191 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
1192 <asm/syscalls.h> exists with __has_include__ before including it.
1194 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1196 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1199 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
1201 * hurd/lookup-retry: Include <unistd.h>.
1202 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
1203 Release it on return. Handle "pid" magical lookup retry.
1205 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1208 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
1209 (t_fmt_ampm): Likewise.
1210 * localedata/locales/aa_ER (t_fmt): Likewise.
1211 (t_fmt_ampm): Likewise.
1212 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
1213 (t_fmt_ampm): Likewise.
1214 * localedata/locales/aa_ET (t_fmt): Likewise.
1215 (t_fmt_ampm): Likewise.
1216 * localedata/locales/am_ET (t_fmt): Likewise.
1217 (t_fmt_ampm): Likewise.
1218 * localedata/locales/byn_ER (t_fmt): Likewise.
1219 (t_fmt_ampm): Likewise.
1220 * localedata/locales/om_ET (t_fmt): Likewise.
1221 (t_fmt_ampm): Likewise.
1222 * localedata/locales/sid_ET (t_fmt): Likewise.
1223 (t_fmt_ampm): Likewise.
1224 * localedata/locales/so_DJ (t_fmt): Likewise.
1225 (t_fmt_ampm): Likewise.
1226 * localedata/locales/so_ET (t_fmt): Likewise.
1227 (t_fmt_ampm): Likewise.
1228 * localedata/locales/so_SO (t_fmt): Likewise.
1229 (t_fmt_ampm): Likewise.
1230 * localedata/locales/ti_ER (t_fmt): Likewise.
1231 (t_fmt_ampm): Likewise.
1232 * localedata/locales/ti_ET (t_fmt): Likewise.
1233 (t_fmt_ampm): Likewise.
1234 * localedata/locales/tig_ER (t_fmt): Likewise.
1235 (t_fmt_ampm): Likewise.
1236 * localedata/locales/wal_ET (t_fmt): Likewise.
1237 (t_fmt_ampm): Likewise.
1239 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
1240 * localedata/locales/ar_IN (t_fmt): Likewise.
1241 * localedata/locales/bhb_IN (t_fmt): Likewise.
1242 * localedata/locales/bho_IN (t_fmt): Likewise.
1243 * localedata/locales/bi_VU (t_fmt): Likewise.
1244 * localedata/locales/bn_BD (t_fmt): Likewise.
1245 * localedata/locales/bn_IN (t_fmt): Likewise.
1246 * localedata/locales/brx_IN (t_fmt): Likewise.
1247 * localedata/locales/doi_IN (t_fmt): Likewise.
1248 * localedata/locales/en_HK (t_fmt): Likewise.
1249 (t_fmt_ampm): Likewise.
1250 * localedata/locales/en_IN (t_fmt): Likewise.
1251 * localedata/locales/en_PH (t_fmt): Likewise.
1252 * localedata/locales/gu_IN (t_fmt): Likewise.
1253 * localedata/locales/hi_IN (t_fmt): Likewise.
1254 * localedata/locales/hif_FJ (t_fmt): Likewise.
1255 * localedata/locales/hne_IN (t_fmt): Likewise.
1256 * localedata/locales/kn_IN (t_fmt): Likewise.
1257 * localedata/locales/kok_IN (t_fmt): Likewise.
1258 * localedata/locales/ks_IN (t_fmt): Likewise.
1259 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
1260 * localedata/locales/mag_IN (t_fmt): Likewise.
1261 * localedata/locales/mai_IN (t_fmt): Likewise.
1262 * localedata/locales/mjw_IN (t_fmt): Likewise.
1263 * localedata/locales/ml_IN (t_fmt): Likewise.
1264 * localedata/locales/mni_IN (t_fmt): Likewise.
1265 * localedata/locales/mr_IN (t_fmt): Likewise.
1266 * localedata/locales/ms_MY (t_fmt): Likewise.
1267 * localedata/locales/pa_IN (t_fmt): Likewise.
1268 * localedata/locales/raj_IN (t_fmt): Likewise.
1269 * localedata/locales/sa_IN (t_fmt): Likewise.
1270 * localedata/locales/sat_IN (t_fmt): Likewise.
1271 * localedata/locales/sd_IN (t_fmt): Likewise.
1272 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
1273 * localedata/locales/tcy_IN (t_fmt): Likewise.
1274 * localedata/locales/the_NP (t_fmt): Likewise.
1275 * localedata/locales/to_TO (t_fmt): Likewise.
1276 * localedata/locales/ur_IN (t_fmt): Likewise.
1278 * localedata/locales/hif_FJ (d_t_fmt): Set to
1279 "%A %d %b %Y %I:%M:%S %p".
1280 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
1282 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
1283 * localedata/locales/ar_BH (t_fmt): Likewise.
1284 * localedata/locales/ar_DZ (t_fmt): Likewise.
1285 * localedata/locales/ar_EG (t_fmt): Likewise.
1286 * localedata/locales/ar_IQ (t_fmt): Likewise.
1287 * localedata/locales/ar_JO (t_fmt): Likewise.
1288 * localedata/locales/ar_KW (t_fmt): Likewise.
1289 * localedata/locales/ar_LB (t_fmt): Likewise.
1290 * localedata/locales/ar_LY (t_fmt): Likewise.
1291 * localedata/locales/ar_OM (t_fmt): Likewise.
1292 * localedata/locales/ar_QA (t_fmt): Likewise.
1293 * localedata/locales/ar_SD (t_fmt): Likewise.
1294 * localedata/locales/ar_SS (t_fmt): Likewise.
1295 * localedata/locales/ar_SY (t_fmt): Likewise.
1296 * localedata/locales/ar_TN (t_fmt): Likewise.
1297 * localedata/locales/ar_YE (t_fmt): Likewise.
1299 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
1300 (t_fmt_ampm): Likewise.
1301 * localedata/locales/gez_ET (t_fmt): Likewise.
1302 (t_fmt_ampm): Likewise.
1304 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
1305 (t_fmt_ampm): Likewise.
1306 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
1308 * localedata/locales/zh_HK (t_fmt):
1309 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
1311 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
1312 because this locale does not use the 12-hour clock.
1313 (t_fmt): Set to "%Z %H:%M:%S".
1314 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
1316 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
1317 because this locale does not use the 12-hour clock.
1318 (t_fmt): Set to "%H:%M:%S %Z".
1319 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
1321 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
1322 because this locale does not use the 12-hour clock.
1323 (t_fmt): Set to "%T".
1324 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
1325 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
1327 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
1328 because this locale does not use the 12-hour clock.
1329 (t_fmt): Set to "%H:%M:%S %Z".
1330 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
1332 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
1333 because this locale does not use the 12-hour clock.
1334 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
1335 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
1337 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1341 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
1342 (t_fmt_ampm): Likewise.
1343 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
1344 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
1345 (d_fmt): Set to "%-d.%-m.%y".
1347 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1349 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
1350 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
1351 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
1353 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
1354 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
1355 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
1357 * support/blob_repeat.c (check_mul_overflow_size_t,
1358 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
1360 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
1362 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
1364 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
1366 regex: simplify Gnulib port
1367 This simplifies the code, by removing stuff intended for porting
1368 to Gnulib but no longer needed there.
1369 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
1370 uses of libc_hidden_def, weak_alias.
1371 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
1372 _Restrict_ except for public-facing headers.
1373 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
1374 Remove; already defined elsewhere.
1375 * posix/regex.c, posix/regex_internal.h:
1376 Use __GNUC_PREREQ instead of rolling our own.
1377 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
1379 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
1381 * benchtests/bench-strlen.c (generic_strlen): New function.
1382 (memchr_strlen): New function.
1384 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1386 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
1387 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
1388 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
1390 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1392 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1394 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1396 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
1397 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
1398 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
1399 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
1400 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
1401 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
1402 <sysdeps/ieee754/flt-32/s_sincosf.c>.
1404 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1407 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
1408 PLT reference in libc.so.
1409 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
1410 _Q_lltoq and _Q_qtod PLT references in libc.so.
1412 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
1414 * benchtests/bench-memchr.c: Cleanup defines.
1415 * benchtests/bench-memcmp.c: Likewise.
1416 * benchtests/bench-memset.c: Likewise.
1417 * benchtests/bench-memset-large.c: Likewise.
1418 * benchtests/bench-memset-walk.c: Likewise.
1419 * benchtests/bench-stpcpy.c: Likewise.
1420 * benchtests/bench-stpncpy.c: Likewise.
1421 * benchtests/bench-strcat.c: Likewise.
1422 * benchtests/bench-strchr.c: Likewise.
1423 * benchtests/bench-strcmp.c: Likewise.
1424 * benchtests/bench-strcpy.c: Likewise.
1425 * benchtests/bench-strcspn.c: Likewise.
1426 * benchtests/bench-string.h: Likewise.
1427 * benchtests/bench-strlen.c: Likewise.
1428 * benchtests/bench-strncat.c: Likewise.
1429 * benchtests/bench-strncmp.c: Likewise.
1430 * benchtests/bench-strncpy.c: Likewise.
1431 * benchtests/bench-strnlen.c: Likewise.
1432 * benchtests/bench-strpbrk.c: Likewise.
1433 * benchtests/bench-strrchr.c: Likewise.
1434 * benchtests/bench-strspn.c: Likewise.
1436 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1438 * stdlib/longlong.h: Update from GCC.
1441 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
1442 * configure: Regenerated.
1443 * manual/install.texi (Tools for Compilation): Update minimum GCC
1445 * INSTALL: Regenerated.
1447 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
1449 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
1451 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
1453 * malloc/malloc.c (mremap_chunk): Additional checks.
1455 2018-12-21 Mao Han <han_mao@c-sky.com>
1457 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
1458 * scripts/build-many-glibcs.py: Add C-SKY targets.
1459 * sysdeps/csky/Implies: New file.
1460 * sysdeps/csky/Makefile: Likewise.
1461 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
1462 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
1463 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
1464 * sysdeps/csky/abiv2/memcmp.S: Likewise.
1465 * sysdeps/csky/abiv2/memcpy.S: Likewise.
1466 * sysdeps/csky/abiv2/memmove.S: Likewise.
1467 * sysdeps/csky/abiv2/memset.S: Likewise.
1468 * sysdeps/csky/abiv2/setjmp.S: Likewise.
1469 * sysdeps/csky/abiv2/start.S: Likewise.
1470 * sysdeps/csky/abiv2/strcmp.S: Likewise.
1471 * sysdeps/csky/abiv2/strcpy.S: Likewise.
1472 * sysdeps/csky/abiv2/strlen.S: Likewise.
1473 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
1474 * sysdeps/csky/abort-instr.h: Likewise.
1475 * sysdeps/csky/atomic-machine.h: Likewise.
1476 * sysdeps/csky/bits/endian.h: Likewise.
1477 * sysdeps/csky/bits/fenv.h: Likewise.
1478 * sysdeps/csky/bits/link.h: Likewise.
1479 * sysdeps/csky/bits/setjmp.h: Likewise.
1480 * sysdeps/csky/bsd-_setjmp.S: Likewise.
1481 * sysdeps/csky/bsd-setjmp.S: Likewise.
1482 * sysdeps/csky/configure: Likewise.
1483 * sysdeps/csky/configure.ac: Likewise.
1484 * sysdeps/csky/dl-machine.h: Likewise.
1485 * sysdeps/csky/dl-procinfo.c: Likewise.
1486 * sysdeps/csky/dl-procinfo.h: Likewise.
1487 * sysdeps/csky/dl-sysdep.h: Likewise.
1488 * sysdeps/csky/dl-tls.h: Likewise.
1489 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
1490 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
1491 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
1492 * sysdeps/csky/fpu/fegetenv.c: Likewise.
1493 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
1494 * sysdeps/csky/fpu/fegetmode.c: Likewise.
1495 * sysdeps/csky/fpu/fegetround.c: Likewise.
1496 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
1497 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
1498 * sysdeps/csky/fpu/fenv_private.h: Likewise.
1499 * sysdeps/csky/fpu/fesetenv.c: Likewise.
1500 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
1501 * sysdeps/csky/fpu/fesetmode.c: Likewise.
1502 * sysdeps/csky/fpu/fesetround.c: Likewise.
1503 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
1504 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
1505 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
1506 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
1507 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
1508 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
1509 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
1510 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
1511 * sysdeps/csky/fpu_control.h: Likewise.
1512 * sysdeps/csky/gccframe.h: Likewise.
1513 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
1514 * sysdeps/csky/ldsodefs.h: Likewise.
1515 * sysdeps/csky/libc-tls.c: Likewise.
1516 * sysdeps/csky/linkmap.h: Likewise.
1517 * sysdeps/csky/machine-gmon.h: Likewise.
1518 * sysdeps/csky/memusage.h: Likewise.
1519 * sysdeps/csky/nofpu/Implies: Likewise.
1520 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
1521 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
1522 * sysdeps/csky/nptl/Makefile: Likewise.
1523 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
1524 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
1525 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
1526 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
1527 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
1528 * sysdeps/csky/nptl/tls.h: Likewise.
1529 * sysdeps/csky/preconfigure: Likewise.
1530 * sysdeps/csky/sfp-machine.h: Likewise.
1531 * sysdeps/csky/sotruss-lib.c: Likewise.
1532 * sysdeps/csky/stackinfo.h: Likewise.
1533 * sysdeps/csky/sysdep.h: Likewise.
1534 * sysdeps/csky/tininess.h: Likewise.
1535 * sysdeps/csky/tst-audit.h: Likewise.
1536 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
1537 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
1538 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
1539 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
1540 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1541 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
1542 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1543 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
1544 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
1545 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
1546 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
1547 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
1548 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
1549 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
1550 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
1551 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
1552 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
1553 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
1554 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
1555 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
1556 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
1557 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
1558 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
1559 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1560 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
1561 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
1562 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1563 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
1564 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
1565 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
1566 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
1567 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
1568 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
1569 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
1570 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
1571 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
1572 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
1573 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
1574 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
1575 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
1576 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
1577 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
1578 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
1579 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
1581 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1583 * include/time.h (__difftime64): Add.
1584 * time/difftime.c (subtract): convert to 64-bit time.
1585 * time/difftime.c (__difftime64): Add.
1586 * time/difftime.c (__difftime): Wrap around __difftime64.
1588 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1590 * manual/examples/add.c: Remove redundant "if not".
1591 * manual/examples/argp-ex1.c: Likewise.
1592 * manual/examples/argp-ex2.c: Likewise.
1593 * manual/examples/argp-ex3.c: Likewise.
1594 * manual/examples/argp-ex4.c: Likewise.
1595 * manual/examples/atexit.c: Likewise.
1596 * manual/examples/db.c: Likewise.
1597 * manual/examples/dir.c: Likewise.
1598 * manual/examples/dir2.c: Likewise.
1599 * manual/examples/execinfo.c: Likewise.
1600 * manual/examples/filecli.c: Likewise.
1601 * manual/examples/filesrv.c: Likewise.
1602 * manual/examples/fmtmsgexpl.c: Likewise.
1603 * manual/examples/genpass.c: Likewise.
1604 * manual/examples/inetcli.c: Likewise.
1605 * manual/examples/inetsrv.c: Likewise.
1606 * manual/examples/isockad.c: Likewise.
1607 * manual/examples/longopt.c: Likewise.
1608 * manual/examples/memopen.c: Likewise.
1609 * manual/examples/memstrm.c: Likewise.
1610 * manual/examples/mkdirent.c: Likewise.
1611 * manual/examples/mkfsock.c: Likewise.
1612 * manual/examples/mkisock.c: Likewise.
1613 * manual/examples/mygetpass.c: Likewise.
1614 * manual/examples/pipe.c: Likewise.
1615 * manual/examples/popen.c: Likewise.
1616 * manual/examples/rprintf.c: Likewise.
1617 * manual/examples/search.c: Likewise.
1618 * manual/examples/select.c: Likewise.
1619 * manual/examples/setjmp.c: Likewise.
1620 * manual/examples/sigh1.c: Likewise.
1621 * manual/examples/sigusr.c: Likewise.
1622 * manual/examples/stpcpy.c: Likewise.
1623 * manual/examples/strdupa.c: Likewise.
1624 * manual/examples/strftim.c: Likewise.
1625 * manual/examples/subopt.c: Likewise.
1626 * manual/examples/swapcontext.c: Likewise.
1627 * manual/examples/termios.c: Likewise.
1628 * manual/examples/testopt.c: Likewise.
1629 * manual/examples/testpass.c: Likewise.
1630 * manual/examples/timeval_subtract.c: Likewise.
1632 2018-12-19 Joseph Myers <joseph@codesourcery.com>
1634 * sysdeps/x86/fpu/math_private.h: New file.
1635 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
1637 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
1642 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1644 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
1645 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
1646 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
1647 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
1649 (_dl_show_auxv): Give a special treatment to
1650 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
1651 and AT_L3_CACHEGEOMETRY.
1652 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
1653 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
1654 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
1655 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
1657 2018-12-19 Andreas Schwab <schwab@suse.de>
1659 * nscd/connections.c (check_use): Don't abort on invalid len.
1661 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
1663 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
1664 values in the 64bit value cases.
1666 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1672 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
1678 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
1681 (__gmtime64_r): Add.
1683 (__gmtime64_r): Add.
1684 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1690 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1693 (__localtime64_r): Add.
1695 (__localtime64_r): Add.
1696 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
1698 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1700 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
1701 kernel_sigction definition.
1703 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
1705 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
1707 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
1708 __syscall_rt_sigaction.
1709 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
1710 (kernel_sigaction): Use Linux generic defintion.
1712 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
1713 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
1714 (__syscall_rt_sigaction): Remove implementation.
1715 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
1717 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
1718 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
1719 INTERNAL_SYSCALL): Remove definitions.
1720 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
1721 action and signal set size.
1722 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
1723 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
1725 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1726 James Clarke <jrtc27@jrtc27.com>
1729 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
1730 Define if SA_RESTORER is defined.
1731 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
1732 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
1734 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
1735 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
1737 (HAS_SA_RESTORER): Define.
1738 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
1739 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
1740 (HAS_SA_RESTORER): Define.
1741 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
1742 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
1743 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
1744 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
1745 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1747 2018-12-18 Joseph Myers <joseph@codesourcery.com>
1749 * sysdeps/unix/sysv/linux/kernel-features.h
1750 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
1751 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1752 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
1753 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1754 (__ASSUME_ST_INO_64_BIT): Likewise.
1755 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1756 <kernel-features.h>.
1757 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1758 Remove conditional code.
1759 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1760 <kernel-features.h>.
1761 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1762 Remove conditional code.
1763 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
1764 <kernel-features.h>.
1765 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1766 Remove conditional code.
1767 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
1768 <kernel-features.h>.
1769 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
1770 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
1772 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1774 * sysdeps/s390/multiarch/ifunc-resolve.h
1775 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
1776 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
1777 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
1778 Delete macro definition.
1779 (s390_libc_ifunc_init): Rename to
1780 s390_libc_ifunc_expr_stfle_init.
1781 * sysdeps/s390/bzero: Use
1782 s390_libc_ifunc_expr_stfle_init instead of
1783 s390_libc_ifunc_init.
1784 * sysdeps/s390/memcmp.c: Likewise.
1785 * sysdeps/s390/memcpy.c: Likewise.
1786 * sysdeps/s390/mempcpy.c: Likewise.
1787 * sysdeps/s390/memset.c: Likewise.
1789 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1791 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
1792 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
1794 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1796 * sysdeps/s390/multiarch/Makefile
1797 (sysdep_routines): Remove wmemcmp variants.
1798 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
1799 * sysdeps/s390/multiarch/ifunc-impl-list.c
1800 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
1801 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
1802 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
1803 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
1804 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
1805 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
1806 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
1807 * sysdeps/s390/ifunc-wmemcmp.h: New file.
1809 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1811 * sysdeps/s390/multiarch/Makefile
1812 (sysdep_routines): Remove wmemset variants.
1813 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
1814 * sysdeps/s390/multiarch/ifunc-impl-list.c
1815 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
1816 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
1817 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
1818 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
1819 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
1820 * sysdeps/s390/multiarch/wmemset.c: Move to ...
1821 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
1822 * sysdeps/s390/ifunc-wmemset.h: New file.
1824 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1826 * sysdeps/s390/multiarch/Makefile
1827 (sysdep_routines): Remove wmemchr variants.
1828 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
1829 * sysdeps/s390/multiarch/ifunc-impl-list.c
1830 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
1831 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
1832 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
1833 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
1834 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
1835 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
1836 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
1837 * sysdeps/s390/ifunc-wmemchr.h: New file.
1839 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1841 * sysdeps/s390/multiarch/Makefile
1842 (sysdep_routines): Remove wcscspn variants.
1843 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
1844 * sysdeps/s390/multiarch/ifunc-impl-list.c
1845 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
1846 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
1847 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
1848 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
1849 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
1850 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
1851 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
1852 * sysdeps/s390/ifunc-wcscspn.h: New file.
1854 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1856 * sysdeps/s390/multiarch/Makefile
1857 (sysdep_routines): Remove wcspbrk variants.
1858 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
1859 * sysdeps/s390/multiarch/ifunc-impl-list.c
1860 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
1861 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
1862 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
1863 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
1864 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
1865 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
1866 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
1867 * sysdeps/s390/ifunc-wcspbrk.h: New file.
1869 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1871 * sysdeps/s390/multiarch/Makefile
1872 (sysdep_routines): Remove wcsspn variants.
1873 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
1874 * sysdeps/s390/multiarch/ifunc-impl-list.c
1875 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
1876 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
1877 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
1878 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
1879 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
1880 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
1881 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
1882 * sysdeps/s390/ifunc-wcsspn.h: New file.
1884 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1886 * sysdeps/s390/multiarch/Makefile
1887 (sysdep_routines): Remove wcsrchr variants.
1888 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
1889 * sysdeps/s390/multiarch/ifunc-impl-list.c
1890 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
1891 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
1892 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
1893 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
1894 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
1895 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
1896 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
1897 * sysdeps/s390/ifunc-wcsrchr.h: New file.
1899 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1901 * sysdeps/s390/multiarch/Makefile
1902 (sysdep_routines): Remove wcschrnul variants.
1903 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
1904 * sysdeps/s390/multiarch/ifunc-impl-list.c
1905 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
1906 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
1907 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
1908 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
1909 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
1910 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
1911 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
1912 * sysdeps/s390/ifunc-wcschrnul.h: New file.
1914 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1916 * sysdeps/s390/multiarch/Makefile
1917 (sysdep_routines): Remove wcschr variants.
1918 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
1919 * sysdeps/s390/multiarch/ifunc-impl-list.c
1920 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
1921 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
1922 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
1923 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
1924 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
1925 * sysdeps/s390/multiarch/wcschr.c: Move to ...
1926 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
1927 * sysdeps/s390/ifunc-wcschr.h: New file.
1929 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1931 * sysdeps/s390/multiarch/Makefile
1932 (sysdep_routines): Remove wcsncmp variants.
1933 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
1934 * sysdeps/s390/multiarch/ifunc-impl-list.c
1935 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
1936 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
1937 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
1938 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
1939 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
1940 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
1941 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
1942 * sysdeps/s390/ifunc-wcsncmp.h: New file.
1944 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1946 * sysdeps/s390/multiarch/Makefile
1947 (sysdep_routines): Remove wcscmp variants.
1948 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
1949 * sysdeps/s390/multiarch/ifunc-impl-list.c
1950 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
1951 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
1952 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
1953 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
1954 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
1955 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
1956 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
1957 * sysdeps/s390/ifunc-wcscmp.h: New file.
1959 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1961 * sysdeps/s390/multiarch/Makefile
1962 (sysdep_routines): Remove wcsncat variants.
1963 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
1964 * sysdeps/s390/multiarch/ifunc-impl-list.c
1965 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
1966 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
1967 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
1968 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
1969 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
1970 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
1971 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
1972 * sysdeps/s390/ifunc-wcsncat.h: New file.
1974 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1976 * sysdeps/s390/multiarch/Makefile
1977 (sysdep_routines): Remove wcscat variants.
1978 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
1979 * sysdeps/s390/multiarch/ifunc-impl-list.c
1980 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
1981 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
1982 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
1983 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
1984 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
1985 * sysdeps/s390/multiarch/wcscat.c: Move to ...
1986 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
1987 * sysdeps/s390/ifunc-wcscat.h: New file.
1989 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1991 * sysdeps/s390/multiarch/Makefile
1992 (sysdep_routines): Remove wcpncpy variants.
1993 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
1994 * sysdeps/s390/multiarch/ifunc-impl-list.c
1995 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
1996 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
1997 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
1998 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
1999 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
2000 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
2001 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
2002 * sysdeps/s390/ifunc-wcpncpy.h: New file.
2004 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2006 * sysdeps/s390/multiarch/Makefile
2007 (sysdep_routines): Remove wcsncpy variants.
2008 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
2009 * sysdeps/s390/multiarch/ifunc-impl-list.c
2010 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
2011 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
2012 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
2013 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
2014 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
2015 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
2016 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
2017 * sysdeps/s390/ifunc-wcsncpy.h: New file.
2019 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2021 * sysdeps/s390/multiarch/Makefile
2022 (sysdep_routines): Remove wcpcpy variants.
2023 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
2024 * sysdeps/s390/multiarch/ifunc-impl-list.c
2025 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
2026 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
2027 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
2028 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
2029 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
2030 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
2031 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
2032 * sysdeps/s390/ifunc-wcpcpy.h: New file.
2034 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2036 * sysdeps/s390/multiarch/Makefile
2037 (sysdep_routines): Remove wcscpy variants.
2038 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
2039 * sysdeps/s390/multiarch/ifunc-impl-list.c
2040 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
2041 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
2042 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
2043 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
2044 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
2045 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
2046 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
2047 * sysdeps/s390/ifunc-wcscpy.h: New file.
2049 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2051 * sysdeps/s390/multiarch/Makefile
2052 (sysdep_routines): Remove wcsnlen variants.
2053 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
2054 * sysdeps/s390/multiarch/ifunc-impl-list.c
2055 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
2056 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
2057 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
2058 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
2059 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
2060 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
2061 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
2062 * sysdeps/s390/ifunc-wcsnlen.h: New file.
2064 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2066 * sysdeps/s390/multiarch/Makefile
2067 (sysdep_routines): Remove wcslen variants.
2068 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
2069 * sysdeps/s390/multiarch/ifunc-impl-list.c
2070 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
2071 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
2072 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
2073 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
2074 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
2075 * sysdeps/s390/multiarch/wcslen.c: Move to ...
2076 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
2077 * sysdeps/s390/ifunc-wcslen.h: New file.
2079 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2081 * sysdeps/s390/multiarch/Makefile
2082 (sysdep_routines): Remove memrchr variants.
2083 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
2084 * sysdeps/s390/multiarch/ifunc-impl-list.c
2085 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
2086 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
2087 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
2088 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
2089 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
2090 * sysdeps/s390/multiarch/memrchr.c: Move to ...
2091 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
2092 * sysdeps/s390/ifunc-memrchr.h: New file.
2094 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2096 * sysdeps/s390/multiarch/Makefile
2097 (sysdep_routines): Remove memccpy variants.
2098 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
2099 * sysdeps/s390/multiarch/ifunc-impl-list.c
2100 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
2101 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
2102 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
2103 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
2104 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
2105 * sysdeps/s390/multiarch/memccpy.c: Move to ...
2106 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
2107 * sysdeps/s390/ifunc-memccpy.h: New file.
2109 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2111 * sysdeps/s390/multiarch/Makefile
2112 (sysdep_routines): Remove rawmemchr variants.
2113 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
2114 * sysdeps/s390/multiarch/ifunc-impl-list.c
2115 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
2116 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
2117 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
2118 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
2119 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
2120 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
2121 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
2122 * sysdeps/s390/ifunc-rawmemchr.h: New file.
2124 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2126 * sysdeps/s390/multiarch/Makefile
2127 (sysdep_routines): Remove memchr variants.
2128 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
2129 * sysdeps/s390/multiarch/ifunc-impl-list.c
2130 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
2131 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
2132 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
2133 * sysdeps/s390/multiarch/memchr.c: Move to ...
2134 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
2135 * sysdeps/s390/ifunc-memchr.h: New file.
2136 * sysdeps/s390/s390-64/memchr.S: Move to ...
2137 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
2138 for 31/64bit and ifunc handling.
2139 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
2140 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2141 * sysdeps/s390/s390-32/memchr.S: Likewise.
2143 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2145 * sysdeps/s390/multiarch/Makefile
2146 (sysdep_routines): Remove strcspn variants.
2147 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
2148 * sysdeps/s390/multiarch/ifunc-impl-list.c
2149 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
2150 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
2151 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
2152 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
2153 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
2154 * sysdeps/s390/multiarch/strcspn.c: Move to ...
2155 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
2156 * sysdeps/s390/ifunc-strcspn.h: New file.
2158 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2160 * sysdeps/s390/multiarch/Makefile
2161 (sysdep_routines): Remove strpbrk variants.
2162 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
2163 * sysdeps/s390/multiarch/ifunc-impl-list.c
2164 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
2165 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
2166 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
2167 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
2168 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
2169 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
2170 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
2171 * sysdeps/s390/ifunc-strpbrk.h: New file.
2173 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2175 * sysdeps/s390/multiarch/Makefile
2176 (sysdep_routines): Remove strspn variants.
2177 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
2178 * sysdeps/s390/multiarch/ifunc-impl-list.c
2179 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
2180 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
2181 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
2182 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
2183 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
2184 * sysdeps/s390/multiarch/strspn.c: Move to ...
2185 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
2186 * sysdeps/s390/ifunc-strspn.h: New file.
2188 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2190 * sysdeps/s390/multiarch/Makefile
2191 (sysdep_routines): Remove strrchr variants.
2192 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
2193 * sysdeps/s390/multiarch/ifunc-impl-list.c
2194 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
2195 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
2196 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
2197 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
2198 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
2199 * sysdeps/s390/multiarch/strrchr.c: Move to ...
2200 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
2201 * sysdeps/s390/ifunc-strrchr.h: New file.
2203 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2205 * sysdeps/s390/multiarch/Makefile
2206 (sysdep_routines): Remove strchrnul variants.
2207 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
2208 * sysdeps/s390/multiarch/ifunc-impl-list.c
2209 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
2210 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
2211 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
2212 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
2213 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
2214 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
2215 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
2216 * sysdeps/s390/ifunc-strchrnul.h: New file.
2218 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2220 * sysdeps/s390/multiarch/Makefile
2221 (sysdep_routines): Remove strchr variants.
2222 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
2223 * sysdeps/s390/multiarch/ifunc-impl-list.c
2224 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
2225 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
2226 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
2227 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
2228 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
2229 * sysdeps/s390/multiarch/strchr.c: Move to ...
2230 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
2231 * sysdeps/s390/ifunc-strchr.h: New file.
2233 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2235 * sysdeps/s390/multiarch/Makefile
2236 (sysdep_routines): Remove strncmp variants.
2237 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
2238 * sysdeps/s390/multiarch/ifunc-impl-list.c
2239 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
2240 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
2241 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
2242 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
2243 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
2244 * sysdeps/s390/multiarch/strncmp.c: Move to ...
2245 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
2246 * sysdeps/s390/ifunc-strncmp.h: New file.
2248 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2250 * sysdeps/s390/multiarch/Makefile
2251 (sysdep_routines): Remove strcmp variants.
2252 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
2253 * sysdeps/s390/multiarch/ifunc-impl-list.c
2254 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
2255 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
2256 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
2257 * sysdeps/s390/multiarch/strcmp.c: Move to ...
2258 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
2259 * sysdeps/s390/ifunc-strcmp.h: New file.
2260 * sysdeps/s390/s390-64/strcmp.S: Move to ...
2261 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
2262 for 31/64bit and ifunc handling.
2263 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
2264 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2265 * sysdeps/s390/s390-32/strcmp.S: Likewise.
2267 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2269 * sysdeps/s390/multiarch/Makefile
2270 (sysdep_routines): Remove strncat variants.
2271 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
2272 * sysdeps/s390/multiarch/ifunc-impl-list.c
2273 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
2274 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
2275 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
2276 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
2277 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
2278 * sysdeps/s390/multiarch/strncat.c: Move to ...
2279 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
2280 * sysdeps/s390/ifunc-strncat.h: New file.
2282 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2284 * sysdeps/s390/multiarch/Makefile
2285 (sysdep_routines): Remove strcat variants.
2286 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
2287 * sysdeps/s390/multiarch/ifunc-impl-list.c
2288 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
2289 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
2290 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
2291 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
2292 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
2293 * sysdeps/s390/multiarch/strcat.c: Move to ...
2294 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
2295 * sysdeps/s390/ifunc-strcat.h: New file.
2297 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2299 * sysdeps/s390/multiarch/Makefile
2300 (sysdep_routines): Remove stpncpy variants.
2301 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
2302 * sysdeps/s390/multiarch/ifunc-impl-list.c
2303 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
2304 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
2305 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
2306 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
2307 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
2308 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
2309 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
2310 * sysdeps/s390/ifunc-stpncpy.h: New file.
2312 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2314 * sysdeps/s390/multiarch/Makefile
2315 (sysdep_routines): Remove strncpy variants.
2316 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
2317 * sysdeps/s390/multiarch/ifunc-impl-list.c
2318 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
2319 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
2320 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
2321 * sysdeps/s390/multiarch/strncpy.c: Move to ...
2322 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
2323 * sysdeps/s390/ifunc-strncpy.h: New file.
2324 * sysdeps/s390/s390-64/strncpy.S: Move to ...
2325 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
2326 and adjust ifunc handling.
2327 * sysdeps/s390/s390-32/strncpy.S: Move to ...
2328 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
2329 and adjust ifunc handling.
2330 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
2331 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2333 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2335 * sysdeps/s390/multiarch/Makefile
2336 (sysdep_routines): Remove stpcpy variants.
2337 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
2338 * sysdeps/s390/multiarch/ifunc-impl-list.c
2339 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
2340 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
2341 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
2342 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
2343 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
2344 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
2345 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
2346 * sysdeps/s390/ifunc-stpcpy.h: New file.
2348 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2350 * sysdeps/s390/multiarch/Makefile
2351 (sysdep_routines): Remove strcpy variants.
2352 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
2353 * sysdeps/s390/multiarch/ifunc-impl-list.c
2354 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
2355 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
2356 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
2357 * sysdeps/s390/multiarch/strcpy.c: Move to ...
2358 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
2359 * sysdeps/s390/ifunc-strcpy.h: New file.
2360 * sysdeps/s390/s390-64/strcpy.S: Move to ...
2361 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
2362 for 31/64bit and ifunc handling.
2363 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
2364 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2365 * sysdeps/s390/s390-32/strcpy.S: Likewise.
2367 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2369 * sysdeps/s390/multiarch/Makefile
2370 (sysdep_routines): Remove strnlen variants.
2371 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
2372 * sysdeps/s390/multiarch/ifunc-impl-list.c
2373 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
2374 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
2375 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
2376 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
2377 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
2378 * sysdeps/s390/multiarch/strnlen.c: Move to ...
2379 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
2380 * sysdeps/s390/ifunc-strnlen.h: New file.
2382 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2384 * sysdeps/s390/multiarch/Makefile
2385 (sysdep_routines): Remove strlen variants.
2386 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
2387 * sysdeps/s390/multiarch/ifunc-impl-list.c
2388 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
2389 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
2390 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
2391 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
2392 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
2393 * sysdeps/s390/multiarch/strlen.c: Move to ...
2394 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
2395 * sysdeps/s390/ifunc-strlen.h: New file.
2397 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2399 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
2400 * sysdeps/s390/multiarch/ifunc-impl-list.c
2401 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
2402 * sysdeps/s390/ifunc-memmem.h: New file.
2403 * sysdeps/s390/memmem.c: Likewise.
2404 * sysdeps/s390/memmem-c.c: Likewise.
2405 * sysdeps/s390/memmem-vx.c: Likewise.
2407 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2409 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
2410 * sysdeps/s390/multiarch/ifunc-impl-list.c
2411 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
2412 * sysdeps/s390/ifunc-strstr.h: New file.
2413 * sysdeps/s390/strstr.c: Likewise.
2414 * sysdeps/s390/strstr-c.c: Likewise.
2415 * sysdeps/s390/strstr-vx.c: Likewise.
2417 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2419 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
2420 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
2421 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
2422 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
2424 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
2425 * sysdeps/s390/memmove-c.c: New file.
2426 * sysdeps/s390/memmove.c: Likewise.
2427 * sysdeps/s390/multiarch/ifunc-impl-list.c
2428 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
2430 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2432 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
2433 * sysdeps/s390/configure.ac: Add check for z13 support.
2434 * sysdeps/s390/configure: Regenerated.
2436 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2438 * sysdeps/s390/memcopy.h: New file.
2440 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2442 * sysdeps/s390/s390-32/bcopy.S: Remove.
2443 * sysdeps/s390/s390-64/bcopy.S: Likewise.
2445 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2447 * sysdeps/s390/ifunc-memcpy.h: New File.
2448 * sysdeps/s390/memcpy.S: Move to ...
2449 * sysdeps/s390/memcpy-z900.S ... here.
2450 Move implementations from memcpy-s390x.s to here.
2451 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
2452 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2453 Remove memcpy/mempcpy variants.
2454 * sysdeps/s390/Makefile (sysdep_routines):
2455 Add memcpy/mempcpy variants.
2456 * sysdeps/s390/multiarch/ifunc-impl-list.c
2457 (__libc_ifunc_impl_list): Adjust ifunc variants for
2459 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
2461 * sysdeps/s390/memcpy.c: ... here.
2462 Adjust ifunc variants for memcpy.
2463 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
2464 * sysdeps/s390/mempcpy.c: ... here.
2465 Adjust ifunc variants for mempcpy.
2466 * sysdeps/s390/mempcpy.S: Delete file.
2468 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2470 * sysdeps/s390/s390-64/memcpy.S: Move to ...
2471 * sysdeps/s390/memcpy.S: ... here.
2472 Adjust to be usable for 31/64bit.
2473 * sysdeps/s390/s390-32/memcpy.S: Delete File.
2474 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
2475 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
2476 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2477 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
2478 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
2479 Adjust to be usable for 31/64bit.
2480 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
2481 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
2482 * sysdeps/s390/multiarch/memcpy.c: ... here.
2483 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
2485 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2487 * sysdeps/s390/ifunc-memcmp.h: New File.
2488 * sysdeps/s390/memcmp.S: Move to ...
2489 * sysdeps/s390/memcmp-z900.S ... here.
2490 Move implementations from memcmp-s390x.s to here.
2491 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
2492 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2493 Remove memcmp variants.
2494 * sysdeps/s390/Makefile (sysdep_routines):
2495 Add memcmp variants.
2496 * sysdeps/s390/multiarch/ifunc-impl-list.c
2497 (__libc_ifunc_impl_list): Adjust ifunc variants for
2499 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
2501 * sysdeps/s390/memcmp.c: ... here.
2502 Adjust ifunc variants for memcmp.
2504 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2506 * sysdeps/s390/s390-64/memcmp.S: Move to ...
2507 * sysdeps/s390/memcmp.S: ... here.
2508 Adjust to be usable for 31/64bit.
2509 * sysdeps/s390/s390-32/memcmp.S: Delete File.
2510 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
2511 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2513 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2514 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
2515 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
2516 Adjust to be usable for 31/64bit.
2517 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
2518 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
2519 * sysdeps/s390/multiarch/memcmp.c: ... here.
2520 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
2522 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2524 * sysdeps/s390/s390-32/bzero.S: Delete file.
2525 * sysdeps/s390/s390-64/bzero.S: Likewise.
2526 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
2527 * sysdeps/s390/bzero.c: New file.
2528 * sysdeps/s390/memset-z900.S: Add bzero entry points.
2529 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
2530 * sysdeps/s390/multiarch/ifunc-impl-list.c
2531 (__libc_ifunc_impl_list): Add bzero ifunc variants.
2533 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2535 * sysdeps/s390/ifunc-memset.h: New File.
2536 * sysdeps/s390/memset.S: Move to ...
2537 * sysdeps/s390/memset-z900.S ... here.
2538 Move implementations from memset-s390x.s to here.
2539 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
2540 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2541 Remove memset variants.
2542 * sysdeps/s390/Makefile (sysdep_routines):
2543 Add memset variants.
2544 * sysdeps/s390/multiarch/ifunc-impl-list.c
2545 (__libc_ifunc_impl_list): Adjust ifunc variants for
2547 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
2549 * sysdeps/s390/memset.c: ... here.
2550 Adjust ifunc variants for memset.
2552 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2554 * sysdeps/s390/s390-64/memset.S: Move to ...
2555 * sysdeps/s390/memset.S: ... here.
2556 Adjust to be usable for 31/64bit.
2557 * sysdeps/s390/s390-32/memset.S: Delete File.
2558 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
2559 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2561 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2562 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
2563 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
2564 Adjust to be usable for 31/64bit.
2565 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
2566 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
2567 * sysdeps/s390/multiarch/memset.c: ... here.
2568 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
2570 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2572 * sysdeps/s390/multiarch/ifunc-resolve.h
2573 (s390_libc_ifunc_init, s390_libc_ifunc,
2574 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
2576 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2578 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
2579 * sysdeps/s390/configure.ac: Add check for z10 support.
2580 * sysdeps/s390/configure: Regenerated.
2582 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
2584 * sysdeps/i386/atomic-machine.h: Merged with ...
2585 * sysdeps/x86_64/atomic-machine.h: To ...
2586 * sysdeps/x86/atomic-machine.h: This. New file.
2588 2018-12-18 Florian Weimer <fweimer@redhat.com>
2590 Rewrite locale/gen-translit.pl in Python.
2591 * locale/Makefile (generated): Add C-translit.h.
2592 (before-compile): Add $(objpfx)C-translit.h.
2593 (C-translit.h): Move to $(objpfx). Create target directory.
2594 Build using Python script.
2595 * locale/gen-translit.py: New file.
2596 * locale/gen-translit.pl: Remove file.
2597 * locale/C-translit.h.in: Change comment character to '#' for
2598 easier parsing without a C preprocessor.
2599 * locale/C-translit.h: Remove generated file.
2600 * manual/install.texi (Tools for Compilation): Do not mention
2602 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
2603 Remove locale/C-translit.h.
2604 * scripts/update-copyrights: Likewise.
2605 * INSTALL: Regenerate.
2607 2018-12-18 Florian Weimer <fweimer@redhat.com>
2610 * localedata/locales/bi_VU: Remove executable bit from file.
2612 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
2615 (__localtime64): Add.
2616 * manual/maint.texi: Document Y2038 symbol handling.
2618 (__localtime64): Add.
2619 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
2621 2018-12-17 Joseph Myers <joseph@codesourcery.com>
2623 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
2626 * scripts/glibcextract.py (compare_macro_consts): Take parameters
2627 to allow extra macros from first or second sources.
2628 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
2629 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2630 (tests-special): Add $(objpfx)tst-mman-consts.out.
2631 ($(objpfx)tst-mman-consts.out): New makefile target.
2633 2018-12-17 Mao Han <han_mao@c-sky.com>
2635 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
2636 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
2637 without stat64 system call support.
2638 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
2639 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
2640 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2641 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
2642 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
2643 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
2644 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
2645 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
2646 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
2647 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
2648 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
2650 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
2652 regex: fix storage-exhaustion error
2654 * posix/regexec.c (get_subexp):
2655 Do not continue if storage is exhausted.
2657 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
2659 regex: fix heap-use-after-free error
2661 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
2662 https://debbugs.gnu.org/32592
2663 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
2664 call extend_buffers which reallocates the re_string_t internal buffer.
2665 Local variable 'buf' was not updated in such case, resulting in
2667 * posix/regexec.c (get_subexp): Update 'buf' after call to
2670 2018-12-15 Florian Weimer <fweimer@redhat.com>
2672 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
2673 (minimum_stride_size): Use it.
2674 (support_blob_repeat_allocate): Likewise.
2676 2018-12-14 Joseph Myers <joseph@codesourcery.com>
2678 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
2683 2018-12-14 Florian Weimer <fweimer@redhat.com>
2685 * manual/process.texi (Process Creation Concepts): Remove
2686 documentation of process (ID) lifetime. List more process
2687 creation functions. Reference Process Identification section.
2688 (Process Identification): Add information about process ID
2689 lifetime. Describe Linux thread/task IDs.
2690 * manual/signal.texi (Signaling Another Process): Mention that the
2691 signal is always sent to the process.
2693 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2695 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
2696 and tst-ldbl-efgcvt.
2697 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
2698 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
2699 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
2700 (fcvt_tests, output_error, output_r_error, do_test): Use the
2701 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
2702 select the type of floating-point variables and arguments; to
2703 produce extra tests for double and conversion specifiers for
2704 printf; and to set the names of called functions.
2705 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
2706 in tst-efgcvt-template.c.
2707 * misc/tst-ldbl-efgcvt.c: Likewise.
2709 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
2711 * nss/Makefile (tst-nss-test3.out): New rule.
2713 2018-12-13 Joseph Myers <joseph@codesourcery.com>
2715 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
2718 2018-12-13 fanjinke <fanjinke@hygon.cn>
2720 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
2723 2018-12-13 Andreas Schwab <schwab@suse.de>
2726 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
2727 (__pthread_rwlock_rdlock_full): Update expected value for
2728 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
2729 * nptl/tst-rwlock-pwn.c: New file.
2730 * nptl/Makefile (tests): Add tst-rwlock-pwn.
2732 2018-12-12 Joseph Myers <joseph@codesourcery.com>
2734 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
2737 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2739 * benchtests/scripts/compare_bench.py (do_compare): write to
2740 stderr in casestat is not present.
2741 * benchtests/scripts/compare_bench.py (plot_graphs): write to
2742 stderr in case timings field is not present. Also string showing
2743 the output filename goes into the stderr.
2745 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2747 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
2748 and ZeroDivisorError exceptions.
2749 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
2750 argument to loop through user provided statistics.
2751 * benchtests/scripts/compare_bench.py (main): Include the --stats
2754 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2756 * benchtests/scripts/compare_bench.py (compare_runs): Continue
2759 2018-12-12 Florian Weimer <fweimer@redhat.com>
2761 * sysdeps/posix/timespec_get.c: Add missing “any later version”
2762 clause to copyright header.
2764 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2767 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
2768 registers saved in the stack frame.
2769 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
2770 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
2772 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2774 * include/bits/monetary-ldbl.h: New file.
2775 * include/bits/printf-ldbl.h: Likewise.
2776 * include/bits/stdio-ldbl.h: Likewise.
2777 * include/bits/stdlib-ldbl.h: Likewise.
2778 * include/bits/syslog-ldbl.h: Likewise.
2779 * include/bits/wchar-ldbl.h: Likewise.
2781 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2783 * libio/libio.h: Remove redirection for _IO_vfprintf.
2785 2018-12-11 Andreas Schwab <schwab@suse.de>
2787 * Makerules: Remove all references to abilist-pattern.
2788 (update-all-abi): Simplify find expression.
2790 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2793 * math/auto-libm-test-in: Add new test case.
2794 * math/auto-libm-test-out-pow: Regenerated.
2795 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
2797 2018-12-10 DJ Delorie <dj@redhat.com>
2800 * support/test-container.c: Move postclean step to before we
2803 2018-12-10 Joseph Myers <joseph@codesourcery.com>
2805 * scripts/gen-as-const.py (main): Handle --python option.
2806 * scripts/gen-py-const.awk: Remove.
2807 * Makerules (py-const-script): Use gen-as-const.py.
2808 ($(py-const)): Likewise.
2809 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
2810 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
2811 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
2812 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
2813 ~PTHREAD_MUTEX_NO_ELISION_NP.
2814 * manual/README.pretty-printers: Update reference to
2817 * scripts/glibcextract.py: New file.
2818 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
2819 or tempfile. Import glibcexctract.
2820 (compute_c_consts): Remove. Moved to glibcextract.py.
2821 (gen_test): Update reference to compute_c_consts.
2823 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
2824 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
2825 * sysdeps/unix/sysv/linux/Makefile
2826 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
2827 Redirect stderr as well as stdout.
2829 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
2832 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
2833 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
2834 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
2835 ALWAYS_USE_VSYSCALL.
2836 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
2837 ALWAYS_USE_VSYSCALL.
2838 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
2839 ALWAYS_USE_VSYSCALL.
2841 2018-12-10 Florian Weimer <fweimer@redhat.com>
2844 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
2845 offset instead of count for clarity. Fix typo in comment.
2846 (__old_getdents64): Keep track of previous offset. Use it to call
2848 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
2849 that d_off is never zero.
2851 2018-12-10 Andreas Schwab <schwab@suse.de>
2853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
2854 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
2855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
2856 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
2857 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
2859 2018-12-10 Joseph Myers <joseph@codesourcery.com>
2861 * timezone/private.h: Update from tzcode 2018g.
2862 * timezone/tzfile.h: Likewise.
2863 * timezone/tzselect.ksh: Likewise.
2864 * timezone/zdump.c: Likewise.
2865 * timezone/zic.c: Likewise.
2867 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2870 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
2871 (do_test): Adjust buffer size and fix format.
2873 2018-12-07 DJ Delorie <dj@redhat.com>
2876 * malloc/tst-tcfree3.c: New.
2877 * malloc/Makefile: Add it.
2879 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
2881 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
2883 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2885 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
2886 used as a mask for the mode argument of __vfscanf_internal and
2887 __vfwscanf_internal.
2888 * stdio-common/vfscanf-internal.c
2889 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
2890 (__strtof128_internal): Define to __wcstof128_internal.
2891 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
2892 __strtof128_internal or __wcstof128_internal when the format of
2893 long double is the same as _Float128.
2895 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
2897 * include/unistd.h (__confstr): Add prototype and hidden prototype.
2898 * posix/confstr.c (confstr): Rename to __confstr.
2899 (__confstr): Add hidden def.
2900 (confstr): Add weak alias for __confstr.
2901 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
2904 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
2906 * NEWS: Mention getcpu.
2907 * include/sched.h (__getcpu): New libc_hidden_proto.
2908 * manual/resource.texi: Document getcpu.
2909 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
2910 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
2911 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
2912 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2913 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2914 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2915 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2916 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2917 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2918 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2919 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2920 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2921 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2923 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2924 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2925 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2934 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2935 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2936 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2937 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2938 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2939 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2940 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2941 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2942 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
2943 * sysdeps/unix/sysv/linux/getcpu.c: New file.
2944 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
2947 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2949 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
2951 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
2953 2018-12-07 Florian Weimer <fweimer@redhat.com>
2956 * posix/Makefile (routines): Add spawn_faction_addfchdir.
2957 * posix/Versions (GLIBC_2.29): Export
2958 posix_spawn_file_actions_addfchdir_np.
2959 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
2960 * posix/spawn_faction_destroy.c
2961 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
2962 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
2963 and the field action.fchdir_action.
2964 * posix/tst-spawn-chdir.c (add_chdir): New function.
2965 (do_test): Add do_fchdir loop. Call add_chdir.
2966 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
2967 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2968 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
2969 posix_spawn_file_actions_addfchdir_np.
2970 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
2972 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
2974 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
2975 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
2977 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
2979 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
2981 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
2983 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
2985 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
2987 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2988 (GLIBC_2.29): Likewise.
2989 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2990 (GLIBC_2.29): Likewise.
2991 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2992 (GLIBC_2.29): Likewise.
2993 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2994 (GLIBC_2.29): Likewise.
2995 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
2997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2998 (GLIBC_2.29): Likewise.
2999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3000 (GLIBC_2.29): Likewise.
3001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3002 (GLIBC_2.29): Likewise.
3003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3004 (GLIBC_2.29): Likewise.
3005 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
3007 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
3009 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
3011 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
3012 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
3014 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
3016 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
3018 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
3021 2018-12-06 Joseph Myers <joseph@codesourcery.com>
3023 * manual/texinfo.tex: Update to version 2018-09-21.20 with
3024 trailing whitespace removed.
3025 * scripts/config.guess: Update to version 2018-11-28.
3026 * scripts/config.sub: Update to version 2018-11-28.
3027 * scripts/install-sh: Update to version 2018-03-11.20.
3028 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
3029 * scripts/move-if-change: Update to version 2018-03-07 03:47.
3031 2018-12-07 Florian Weimer <fweimer@redhat.com>
3035 * inet/tst-if_index-long.c: New file.
3036 * inet/Makefile (tests): Add tst-if_index-long.
3038 2018-12-07 Florian Weimer <fweimer@redhat.com>
3040 * support/check.h (support_record_failure_is_failed): Declare.
3041 * support/descriptors.h: New file.
3042 * support/support_descriptors.c: Likewise.
3043 * support/tst-support_descriptors.c: Likewise.
3044 * support/support_record_failure.c
3045 (support_record_failure_is_failed): New function.
3046 * support/Makefile (libsupport-routines): Add support_descriptors.
3047 (tests): Add tst-support_descriptors.
3049 2018-12-05 Zack Weinberg <zackw@panix.com>
3050 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3052 * stdio-common/vfprintf-internal.c
3053 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
3054 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
3055 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
3056 and __no_long_double.
3057 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
3058 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
3059 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
3060 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
3061 and __nldbl_*syslog* functions.
3062 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
3063 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
3064 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
3065 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
3066 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
3067 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
3068 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
3069 (__nldbl_vwprintf, __nldbl_wprintf):
3070 Directly call the appropriate __v*printf_internal routine, passing
3071 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
3073 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
3074 (__nldbl___printf_chk, __nldbl___snprintf_chk)
3075 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
3076 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
3077 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
3078 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3079 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
3080 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
3081 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
3082 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
3083 Likewise, and also pass PRINTF_FORTIFY when appropriate.
3084 (__nldbl_syslog, __nldbl_vsyslog):
3085 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
3086 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3088 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3091 2018-12-05 Zack Weinberg <zackw@panix.com>
3092 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3095 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
3096 Moved here from debug/vsprintf_chk.c.
3097 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
3098 and completion logic for the strfile to match exactly what
3099 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
3100 _IO_str_init_static_internal instead of maxlen-1.
3101 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3102 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
3103 __vsprintf_internal.
3105 * debug/vsprintf_chk.c (__vsprintf_chk)
3106 * debug/sprintf_chk.c (__sprintf_chk):
3107 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
3108 'flags' argument is positive, and slen as maxlen. No need to lock
3109 the FILE and/or construct a temporary FILE. Minimize and normalize
3110 header inclusions and variable names. Do not libc_hidden_def anything.
3112 * debug/asprintf_chk.c (__asprintf_chk)
3113 * debug/dprintf_chk.c (__dprintf_chk)
3114 * debug/fprintf_chk.c (__fprintf_chk)
3115 * debug/fwprintf_chk.c (__fwprintf_chk)
3116 * debug/printf_chk.c (__printf_chk)
3117 * debug/snprintf_chk.c (__snprintf_chk)
3118 * debug/swprintf_chk.c (__swprintf_chk)
3119 * debug/vasprintf_chk.c (__vasprintf_chk)
3120 * debug/vdprintf_chk.c (__vdprintf_chk)
3121 * debug/vfprintf_chk.c (__vfprintf_chk)
3122 * debug/vfwprintf_chk.c (__vfwprintf_chk)
3123 * debug/vprintf_chk.c (__vprintf_chk)
3124 * debug/vsnprintf_chk.c (__vsnprintf_chk)
3125 * debug/vswprintf_chk.c (__vswprintf_chk)
3126 * debug/vwprintf_chk.c (__vwprintf_chk)
3127 * debug/wprintf_chk.c (__wprintf_chk):
3128 Directly call the corresponding vxxprintf_internal function, passing
3129 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
3130 the FILE and/or construct a temporary FILE. Minimize and normalize
3131 header inclusions and variable names. Do not libc_hidden_def anything.
3133 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
3134 __obstack_vprintf_internal.
3135 (__obstack_vprintf_chk): Convert into a wrapper that calls
3136 __obstack_vprintf_internal (these two functions already had the
3137 same code) and move to new file...
3138 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
3140 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
3141 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
3142 * debug/Makefile (routines): Add vobprintf_chk.
3144 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3145 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3146 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
3147 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3148 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
3149 (__nldbl___obstack_vfprintf_chk):
3150 Directly call the corresponding vxxprintf_internal function,
3151 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
3152 duplicate comparison of slen with 0 or maxlen from the corresponding
3153 non-__nldbl function.
3155 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
3156 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
3157 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
3158 Remove libc_hidden_proto.
3160 * stdio-common/vfprintf-internal.c
3161 (__vfprintf_internal, __vfwprintf_internal):
3162 Do not check _IO_FLAGS2_FORTIFY.
3163 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
3164 * libio/libioP.h: Update prototype of __vsprintf_internal and add
3165 a comment explaining why it has the maxlen argument.
3166 (_IO_acquire_lock_clear_flags2_fct): Remove.
3167 (_IO_acquire_lock_clear_flags2): Remove.
3168 (_IO_release_lock): Remove conditional statement which will
3170 (_IO_acquire_lock): Remove variable which is now unused.
3171 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3172 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3174 * stdio-common/Makefile (tests): Add tst-bz11319 and
3175 tst-bz11319-fortify2.
3176 (CFLAGS-tst-bz11319-fortify2.c): New macro.
3177 * stdio-common/tst-bz11319-fortify2.c: New file.
3178 * stdio-common/tst-bz11319.c: Likewise.
3180 2018-12-05 Zack Weinberg <zackw@panix.com>
3181 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3183 * misc/syslog.c: Include libioP.h, not iolibio.h.
3184 (__vsyslog_internal): New function with the former body of
3185 __vsyslog_chk; takes mode_flags argument same as
3186 __v*printf_internal. Call __vfprintf_internal directly.
3188 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
3189 Remove libc_hidden_def.
3190 (__syslog, __syslog_chk): Use __vsyslog_internal.
3191 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
3193 * include/sys/syslog.h: Add multiple inclusion guard.
3194 Add prototype for __vsyslog_internal.
3195 Remove declaration and libc_hidden_proto for __vsyslog_chk.
3197 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
3198 Use __vsyslog_internal.
3200 2018-12-05 Zack Weinberg <zackw@panix.com>
3201 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3203 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
3204 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
3205 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
3207 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
3208 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
3210 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
3211 Include wctype.h here if COMPILE_WPRINTF is defined.
3212 Define __vfprintf_internal or __vfwprintf_internal, depending
3214 Temporarily, on entry to this function, update mode_flags
3215 according to the environmental settings corresponding to
3216 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
3217 Throughout, check mode_flags instead of __ldbl_is_dbl and
3218 _IO_FLAGS2_FORTIFY on the destination FILE.
3219 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
3220 Include vfprintf-internal.c. Don't include wctype.h.
3221 * stdio-common/vfprintf.c: New file. Just define __vfprintf
3222 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
3224 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
3225 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
3227 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
3229 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
3230 and add mode_flags argument; use __vfprintf_internal.
3231 (__vdprintf): New function. Alias vdprintf to this.
3232 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
3233 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
3234 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
3235 (__obstack_printf): Use __obstack_printf_internal.
3236 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
3237 public aliases __vsnprintf and vsnprintf.
3238 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
3240 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
3241 public aliases _IO_vsprintf and vsprintf.
3242 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
3243 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
3244 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
3245 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
3246 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
3248 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
3249 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
3250 * stdio-common/fprintf.c, stdio-common/fxprintf.c
3251 * stdio-common/printf.c: Use __vfprintf_internal.
3253 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
3254 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
3255 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
3257 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
3258 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
3259 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
3260 __vfwprintf_internal.
3262 * libio/libio.h: Remove libc_hidden_proto and declaration for
3264 Remove declaration of _IO_vfwprintf.
3265 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
3267 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
3269 * include/stdio.h: Add prototype for __vasprintf.
3270 (__vsnprintf): Remove declaration, because there are no more
3272 * include/wchar.h (__vfwprintf, __vswprintf): Remove
3273 declaration, because there are no more internal calls.
3275 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
3276 __vsnprintf_internal, instead of _IO_vsnprintf.
3277 * argp/argp-help.c (__argp_error, __argp_failure): Use
3278 __vasprintf_internal, instead of _IO_vasprintf.
3279 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
3280 redefine, because there are no more internal calls.
3282 2018-12-05 Zack Weinberg <zackw@panix.com>
3283 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3285 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
3286 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
3287 Include libio/strfile.h instead of libioP.h.
3288 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
3289 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
3290 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
3291 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
3292 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
3293 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
3294 necessary. Do not set __no_long_double. Normalize variable names.
3295 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
3296 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
3297 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
3298 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
3299 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
3300 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
3301 Call __vfscanf_internal / __vfwscanf_internal directly, passing
3302 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
3303 Do not set __no_long_double. Normalize variable names.
3305 2018-12-05 Zack Weinberg <zackw@panix.com>
3306 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3308 * stdio-common/isoc99_scanf.c
3309 * stdio-common/isoc99_fscanf.c
3310 * stdio-common/isoc99_sscanf.c
3311 * stdio-common/isoc99_vscanf.c
3312 * stdio-common/isoc99_vfscanf.c
3313 * stdio-common/isoc99_vsscanf.c
3314 * wcsmbs/isoc99_wscanf.c
3315 * wcsmbs/isoc99_fwscanf.c
3316 * wcsmbs/isoc99_swscanf.c
3317 * wcsmbs/isoc99_vwscanf.c
3318 * wcsmbs/isoc99_vfwscanf.c
3319 * wcsmbs/isoc99_vswscanf.c:
3320 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
3321 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
3322 No need to lock and unlock the FILE passed to that function.
3324 * stdio-common/vfscanf-internal.c
3325 (__vfscanf_internal, __vfwscanf_internal):
3326 Don't look at _IO_FLAGS2_SCANF_STD.
3327 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
3328 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
3329 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
3331 2018-12-05 Zack Weinberg <zackw@panix.com>
3332 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3334 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
3335 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
3336 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
3337 * libio/strfile.h: Add multiple inclusion guard.
3338 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
3340 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
3341 consistency with the other version of this file.
3342 (ldbl_compat_symbol): New macro.
3343 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
3346 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
3347 Define __vfscanf_internal or __vfwscanf_internal, depending on
3348 COMPILE_WSCANF; don't define any other public symbols.
3349 Remove errval and code to set errp.
3350 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
3351 as the mode_flags argument.
3352 (encode_error, conv_error, input_error): Don't set errval.
3353 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
3354 Include vfscanf-internal.c.
3355 * stdio-common/vfscanf.c: New file defining the public entry
3356 point vfscanf, which calls __vfscanf_internal.
3357 * stdio-common/vfwscanf.c: New file defining the public entry
3358 point vfwscanf, which calls __vfwscanf_internal.
3360 * stdio-common/iovfscanf.c: New file.
3361 * stdio-common/iovfwscanf.c: Likewise.
3363 * stdio-common/Makefile (routines): Add vfscanf-internal,
3364 vfwscanf-internal, iovfscanf, iovfwscanf.
3365 * stdio-common/Versions: Mention GLIBC_2.29, so that
3366 it can be used in SHLIB_COMPAT expressions.
3367 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
3368 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
3369 Call __vfscanf_internal, instead of _IO_vfscanf.
3370 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
3372 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
3375 * libio/iovsscanf.c: Clean up includes, when possible. Use
3376 _IO_strfile_read or _IO_strfile_readw, when needed. Call
3377 __vfscanf_internal or __vfwscanf_internal directly.
3378 * libio/iovswscanf.c: Likewise.
3379 * libio/swscanf.c: Likewise.
3380 * libio/vscanf.c: Likewise.
3381 * libio/vwscanf.c: Likewise.
3382 * libio/wscanf.c: Likewise.
3383 * stdio-common/isoc99_fscanf.c: Likewise.
3384 * stdio-common/isoc99_scanf.c: Likewise.
3385 * stdio-common/isoc99_sscanf.c: Likewise.
3386 * stdio-common/isoc99_vfscanf.c: Likewise.
3387 * stdio-common/isoc99_vscanf.c: Likewise.
3388 * stdio-common/isoc99_vsscanf.c: Likewise.
3389 * stdio-common/scanf.c: Likewise.
3390 * stdio-common/sscanf.c: Likewise.
3391 * wcsmbs/isoc99_fwscanf.c: Likewise.
3392 * wcsmbs/isoc99_swscanf.c: Likewise.
3393 * wcsmbs/isoc99_vfwscanf.c: Likewise.
3394 * wcsmbs/isoc99_vswscanf.c: Likewise.
3395 * wcsmbs/isoc99_vwscanf.c: Likewise.
3396 * wcsmbs/isoc99_wscanf.c: Likewise.
3398 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
3401 (__tz_compute): Replace time_t with __time64_t.
3402 (__tz_convert): Replace time_t* with __time64_t.
3403 (__offtime): Replace time_t* with __time64_t.
3405 (__gmtime_r): Adjust call to __tz_convert.
3408 (__localtime_r): Likewise.
3409 (localtime): Likewise.
3410 * time/offtime.c: Replace time_t with __time64_t.
3411 * time/tzset.c: Likewise.
3413 2018-12-04 Joseph Myers <joseph@codesourcery.com>
3415 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
3416 dynamic linker unless [$(run-built-tests) = yes].
3418 2018-12-03 DJ Delorie <dj@delorie.com>
3420 * support/test-container.c (check_for_unshare_hints): New.
3421 (main): Call it if unshare fails. Add support for "su" scriptlet
3424 2018-12-03 Joseph Myers <joseph@codesourcery.com>
3426 * scripts/gen-as-const.py (compute_c_consts): Take an argument
3427 'START' to indicate that start text should be output.
3428 (gen_test): Likewise.
3429 (main): Generate 'START' for first symbol or '--' line, or at end
3430 of input if not previously generated.
3432 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
3435 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
3436 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
3437 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
3438 ALWAYS_USE_VSYSCALL.
3440 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3443 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
3446 2018-12-03 Carlos O'Donell <carlos@redhat.com>
3449 * locale/programs/localedef.c: Declare boolean hard_links default true.
3450 (options): Add --no-hard-links option.
3451 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
3452 * locale/programs/localedef.h: Declare prototype for hard_links.
3453 * locale/programs/locfile.c (write_locale_data): Don't use hard
3454 links if hard_links is false.
3456 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
3458 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
3460 (__cache_sysconf): Likewise.
3461 (init_cacheinfo): Likewise.
3462 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
3463 populate COMMON_CPUID_INDEX_80000007 and
3464 COMMON_CPUID_INDEX_80000008.
3465 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
3466 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
3467 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
3468 (init_cpu_features): Use _Static_assert on
3469 index_arch_Fast_Unaligned_Load.
3470 __get_cpuid_registers and __get_arch_feature. Updated for
3471 cpu_features_basic. Set stepping in cpu_features.
3472 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
3473 (FEATURE_INDEX_2): New.
3474 (FEATURE_INDEX_MAX): Changed to enum.
3475 (COMMON_CPUID_INDEX_D_ECX_1): New.
3476 (COMMON_CPUID_INDEX_80000007): Likewise.
3477 (COMMON_CPUID_INDEX_80000008): Likewise.
3478 (cpuid_registers): Likewise.
3479 (cpu_features_basic): Likewise.
3480 (CPU_FEATURE_USABLE): Likewise.
3481 (bit_arch_XXX_Usable): Likewise.
3482 (cpu_features): Use cpuid_registers and cpu_features_basic.
3483 (bit_arch_XXX): Reweritten.
3484 (bit_cpu_XXX): Likewise.
3485 (index_cpu_XXX): Likewise.
3486 (reg_XXX): Likewise.
3487 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
3489 (CHECK_CPU_FEATURE): New.
3490 (CHECK_CPU_FEATURE_USABLE): Likewise.
3491 (cpu_kinds): Likewise.
3492 (do_test): Print vendor, family, model and stepping. Check
3493 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
3494 (TEST_FUNCTION): Removed.
3495 Include <support/test-driver.c> instead of
3496 "../../test-skeleton.c".
3497 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
3498 Check POPCNT instead of POPCOUNT.
3499 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
3501 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3503 * scripts/gen-as-const.py (main): Avoid emitting empty line when
3504 there is no element in `consts'.
3506 2018-12-01 Florian Weimer <fweimer@redhat.com>
3508 * support/support_capture_subprocess.c
3509 (support_capture_subprocess): Check that pipe descriptors have
3510 expected values. Close original pipe descriptors in subprocess.
3512 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
3515 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
3516 attr with __pthread_default_barrierattr.
3517 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
3518 attr with __pthread_default_condattr.
3519 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
3520 attr with __pthread_default_mutexattr.
3521 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
3522 attr with __pthread_default_rwlockattr.
3524 2018-12-01 Kemi Wang <kemi.wang@intel.com>
3526 * manual/tunables.texi (POSIX Thread Tunables): New node.
3527 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
3528 * nptl/nptl-init.c: Include pthread_mutex_conf.h
3529 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
3530 __pthread_tunables_init.
3531 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
3532 (max_adaptive_count): Define.
3533 * nptl/pthread_mutex_conf.c: New file.
3534 * nptl/pthread_mutex_conf.h: New file.
3535 * sysdeps/generic/adaptive_spin_count.h: New file.
3536 * sysdeps/nptl/dl-tunables.list: New file.
3537 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3538 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
3539 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
3542 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
3545 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
3546 * stdlib/on_exit.c (__on_exit): Likewise.
3547 * stdlib/Makefile (tests): Add tst-bz20544.
3548 * stdlib/tst-bz20544.c: New test.
3550 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
3553 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
3554 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
3557 2018-11-30 Florian Weimer <fweimer@redhat.com>
3559 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
3560 Extend error logging.
3561 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
3564 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3566 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
3567 __sigismember instead of sigismember.
3568 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
3569 cancel_handler): New definitions.
3570 (do_system): Use posix_spawn instead of fork and execl and remove
3572 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
3573 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
3574 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
3575 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3576 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3577 * sysdeps/unix/sysv/linux/system.c: Likewise.
3581 * NEWS: Add new semantic for atfork with popen and system.
3582 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
3585 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3588 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
3589 modification order when accessing reloc_result->addr.
3590 * include/link.h (reloc_result): Add field init.
3591 * nptl/Makefile (tests): Add tst-audit-threads.
3592 (modules-names): Add tst-audit-threads-mod1 and
3593 tst-audit-threads-mod2.
3594 Add rules to build tst-audit-threads.
3595 * nptl/tst-audit-threads-mod1.c: New file.
3596 * nptl/tst-audit-threads-mod2.c: Likewise.
3597 * nptl/tst-audit-threads.c: Likewise.
3598 * nptl/tst-audit-threads.h: Likewise.
3600 2018-11-30 Joseph Myers <joseph@codesourcery.com>
3602 * scripts/gen-as-const.py: New file.
3603 * scripts/gen-as-const.awk: Remove.
3604 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
3606 ($(objpfx)test-as-const-%.c): Likewise.
3608 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3610 * elf/dl-exception.c: Include <_itoa.h>.
3612 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3614 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
3615 returned by __f_setlk.
3617 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3618 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3620 * elf/Makefile (tests-internal): Add tst-create_format1.
3621 * elf/dl-exception.c (_dl_exception_create_format): Support
3623 * elf/tst-create_format1.c: New file.
3625 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
3627 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
3628 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
3630 * argp/argp-help.c (__argp_failure): Likewise.
3632 2018-11-29 Mao Han <han_mao@c-sky.com>
3634 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
3635 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
3636 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
3637 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
3638 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
3639 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
3640 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
3641 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
3642 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
3643 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
3644 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
3645 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
3646 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
3647 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
3648 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
3649 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
3650 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
3651 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
3652 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
3653 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
3654 (R_CKCORE_TLS_TPOFF32): New defines.
3656 2018-11-29 Florian Weimer <fweimer@redhat.com>
3658 * posix/Makefile (before-compile): Remove testcases.h and
3660 (generated): Add testcases.h and ptestcases.h.
3661 (testcases.h, ptestcases.h): Move to $(objpfx).
3662 (runtests.o): Add dependency on testcases.h.
3663 (runptests.o): Add dependency on ptestcases.h.
3664 * posix/testcases.h, posix/ptestcases.h: Remove files.
3665 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
3666 not touch posix/testcases.h and posix/ptestcases.h.
3668 2018-11-28 Florian Weimer <fweimer@redhat.com>
3670 support: Add signal support to support_capture_subprocess_check.
3671 * support/capture_subprocess.h (support_capture_subprocess_check):
3672 Adjust comment and rename parameter.
3673 * support/support_capture_subprocess_check.c
3674 (print_actual_status): New function.
3675 (support_capture_subprocess_check): Support negative
3676 status_or_signal. Call print_actual_status.
3677 * support/tst-support_capture_subprocess.c (do_test): Call
3678 support_capture_subprocess_check.
3679 * libio/tst-vtables-common.c (termination_status)
3680 (init_termination_status): Remove.
3681 (check_for_termination): Adjust support_capture_subprocess_check
3683 (do_test): Remove call to init_termination_status.
3685 2018-11-28 Joseph Myers <joseph@codesourcery.com>
3687 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
3688 source directory instead of a copy.
3689 (CommandList.create_copy_dir): Remove.
3691 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
3693 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3695 2018-11-28 Florian Weimer <fweimer@redhat.com>
3697 * support/support.h (support_quote_string): Do not use str
3700 2018-11-27 Joseph Myers <joseph@codesourcery.com>
3702 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
3703 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
3705 2018-11-27 Florian Weimer <fweimer@redhat.com>
3707 * support/support.h (support_quote_string): Declare.
3708 * support/support_quote_string.c: New file.
3709 * support/tst-support_quote_string.c: Likewise.
3710 * support/Makefile (libsupport-routines): Add
3711 support_quote_string.
3712 (tests): Add tst-support_quote_string.
3714 2018-11-27 Florian Weimer <fweimer@redhat.com>
3718 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
3719 descriptor leak in case of ENODEV error.
3721 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
3724 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
3725 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
3726 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
3728 2018-11-26 Carlos O'Donell <carlos@redhat.com>
3730 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
3731 Error for unknown lines.
3733 2018-11-26 Joseph Myers <joseph@codesourcery.com>
3735 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3736 Touch additional files.
3738 2018-11-26 Florian Weimer <fweimer@redhat.com>
3741 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
3744 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
3747 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
3748 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
3749 SHARED. Include sysdep.h.
3750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
3751 ALWAYS_USE_VSYSCALL.
3752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
3753 ALWAYS_USE_VSYSCALL.
3755 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
3758 * nptl/Makefile (tests-static): Add tst-cond11-static.
3760 * nptl/tst-cond11-static.c: New File.
3761 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
3762 tst-affinity-static.
3764 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
3766 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
3767 (USE_VSYSCALL): Likewise.
3768 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
3769 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
3771 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
3773 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
3776 2018-11-23 Joseph Myers <joseph@codesourcery.com>
3779 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3780 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
3783 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
3785 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
3786 (tst-cet-legacy-1a-ARGS): New.
3787 ($(objpfx)tst-cet-legacy-1a): New target.
3788 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
3790 2018-11-22 Joseph Myers <joseph@codesourcery.com>
3792 * conform/conformtest.py (CompileSubTest.__init__): Set
3793 self.run_early to False.
3794 (ExecuteSubTest.__init__): Likewise.
3795 (HeaderTests.run): Try running all non-optional, non-XFAILed
3796 compilation tests in a single execution of the compiler.
3798 * conform/conformtest.py (CompileSubTest): New class.
3799 (ExecuteSubTest): Likewise.
3800 (ElementTest.run): Rename to gen_subtests. Append tests to
3801 self.subtests instead of running them.
3802 (ConstantTest.run): Likewise.
3803 (SymbolTest.run): Likewise.
3804 (TypeTest.run): Likewise.
3805 (TagTest.run): Likewise.
3806 (FunctionTest.run): Likewise.
3807 (VariableTest.run): Likewise.
3808 (MacroFunctionTest.run): Likewise.
3809 (MacroStrTest.run): Likewise.
3810 (HeaderTests.handle_test_line): Generate subtests for tests.
3811 (HeaderTests.run): Run subtests for tests.
3813 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3815 * math/Versions (GLIBC_2.29): Add pow.
3816 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
3818 * math/w_pow.c: New file.
3819 * sysdeps/i386/fpu/w_pow.c: New file.
3820 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
3821 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
3822 and add necessary aliases.
3823 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
3824 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
3825 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3826 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3827 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3828 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3829 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3830 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3831 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3832 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3833 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3834 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3835 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3836 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3837 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3842 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3843 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3844 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3845 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3846 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3847 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3848 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3849 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
3851 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
3852 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
3853 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
3855 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3857 * math/Versions (GLIBC_2.29): Add log2.
3858 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
3860 * math/w_log2.c: New file.
3861 * sysdeps/i386/fpu/w_log2.c: New file.
3862 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
3863 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
3864 and add necessary aliases.
3865 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
3866 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
3867 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3868 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3869 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3870 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3871 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3872 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3873 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3874 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3875 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3876 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3877 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3878 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3879 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3884 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3885 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3886 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3887 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3888 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3889 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3890 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3892 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3894 * math/Versions (GLIBC_2.29): Add log.
3895 * math/w_log_compat.c (__log_compat): Change to versioned compat
3897 * math/w_log.c: New file.
3898 * sysdeps/i386/fpu/w_log.c: New file.
3899 * sysdeps/ia64/fpu/e_log.S: Update.
3900 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
3901 and add necessary aliases.
3902 * sysdeps/ieee754/dbl-64/w_log.c: New file.
3903 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
3904 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3905 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3906 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3907 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3908 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3909 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3910 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3911 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3912 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3913 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3914 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3915 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3916 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3921 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3922 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3923 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3924 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3925 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3926 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3927 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3928 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
3930 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
3931 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
3932 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
3933 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
3935 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3937 * math/Versions (GLIBC_2.29): Add exp and exp2.
3938 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
3939 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
3940 * math/w_exp_compat.c (__exp_compat): Likewise.
3941 * math/w_exp.c: New file.
3942 * math/w_exp2.c: New file.
3943 * sysdeps/i386/fpu/w_exp.c: New file.
3944 * sysdeps/i386/fpu/w_exp2.c: New file.
3945 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
3946 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
3947 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
3948 and add necessary aliases.
3949 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
3950 and add necessary aliases.
3951 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
3952 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
3953 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
3954 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
3955 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3956 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3957 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3958 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3959 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3960 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3961 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3962 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3963 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3964 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3965 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3966 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3967 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3972 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3973 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3974 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3975 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3976 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3977 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3978 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3979 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
3980 (__ieee754_exp): Rename to __exp.
3981 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
3982 (__ieee754_exp): Rename to __exp.
3983 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
3984 (__ieee754_exp): Rename to __exp.
3985 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
3987 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
3989 2018-11-20 DJ Delorie <dj@redhat.com>
3991 * malloc/malloc.c (tcache_entry): Add key field.
3992 (tcache_put): Set it.
3993 (tcache_get): Likewise.
3994 (_int_free): Check for double free in tcache.
3995 * malloc/tst-tcfree1.c: New.
3996 * malloc/tst-tcfree2.c: New.
3997 * malloc/Makefile: Run the new tests.
3998 * manual/probes.texi: Document memory_tcache_double_free probe.
4000 * dlfcn/dlerror.c (check_free): Prevent double frees.
4002 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
4004 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
4006 2018-11-20 Joseph Myers <joseph@codesourcery.com>
4008 * conform/conformtest.py (ElementTest.run): Use unique identifiers
4009 in tests. Use names for format arguments.
4010 (ConstantTest.run): Likewise.
4011 (SymbolTest.run): Likewise.
4012 (TypeTest.run): Likewise.
4013 (TagTest.run): Likewise.
4014 (FunctionTest.run): Likewise.
4015 (VariableTest.run): Likewise.
4016 (MacroFunctionTest.run): Likewise.
4017 (MacroStrTest.run): Likewise.
4018 (HeaderTests.__init__): Set self.num_tests.
4019 (HeaderTests.handle_test_line): Set test.num. Increment
4022 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
4024 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
4025 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
4028 2018-11-19 Mao Han <han_mao@c-sky.com>
4030 * scripts/config.guess: Update to version 2018-08-29.
4031 * scripts/config.sub: Update to version 2018-08-29.
4033 2018-11-19 Florian Weimer <fweimer@redhat.com>
4035 support: Print timestamps in timeout handler.
4036 * support/support_test_main.c (print_timestamp): New function.
4037 (signal_handler): Use it to print the termination time and the
4038 time of the last write to standard output.
4040 2018-11-16 Zack Weinberg <zackw@panix.com>
4041 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4043 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
4044 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
4046 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
4047 and add flags argument. Check flags instead of __ldbl_is_dbl when
4048 deciding whether to set is_long_double.
4049 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
4050 passing zero for flags argument.
4051 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
4053 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4054 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
4055 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
4056 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
4057 variable names. Remove libc_hidden_def/libc_hidden_proto from
4058 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
4059 longer called from within the library.
4060 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
4061 for __nldbl___vstrfmon_l, declare it explicitly.
4063 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
4065 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
4067 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
4069 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
4070 F_SETLK64, F_SETLKW64, respectively.
4071 * sysdeps/mach/hurd/f_setlk.c: New file.
4072 * sysdeps/mach/hurd/f_setlk.h: New file.
4073 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
4075 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
4076 (__libc_fcntl): Move non-flock operations to...
4077 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
4078 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
4080 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
4082 mktime: DEBUG_MKTIME cleanup
4083 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
4084 And it’s no longer needed now that glibc and Gnulib both have
4085 their own testing mechanisms for mktime.
4086 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
4088 mktime: fix non-EOVERFLOW errno handling
4090 mktime was not properly reporting failures when the underlying
4091 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
4092 them like EOVERFLOW failures, and set errno to EOVERFLOW.
4093 The problem could happen on non-glibc platforms, with Gnulib.
4094 * time/mktime.c (guess_time_tm): Remove, replacing with ...
4095 (tm_diff): ... this simpler function, which does not change errno.
4096 All callers changed to deal with errno themselves.
4097 (ranged_convert, __mktime_internal): Return failure immediately if
4098 the underlying function reports any failure other than EOVERFLOW.
4099 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
4102 mktime: fix bug with Y2038 DST transition
4104 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
4105 mishandle a DST transition that jumps over the Y2038 boundary.
4106 No such DST transitions are known so this is only a theoretical
4107 bug, but we might as well do things right.
4109 mktime: make more room for overflow
4111 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
4112 This is so that we can add tm_diff results to a previous guess,
4113 which will be useful in a later patch.
4115 mktime: simplify offset guess
4117 * time/mktime.c (__mktime_internal): Omit excess precision.
4119 mktime: new test for mktime failure
4121 Based on a test suggested by Albert Aribaud in:
4122 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
4123 * time/Makefile (tests): Add bug-mktime4.
4124 * time/bug-mktime4.c: New file.
4126 mktime: fix EOVERFLOW bug
4128 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
4129 Include libc-config.h, not config.h, for __set_errno.
4130 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
4132 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
4134 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
4135 __attribute_copy__ to copy attributes from name. Drop static qualifier
4136 to avoid warnings about leaf attribute not having effect on static
4139 2018-11-13 Florian Weimer <fweimer@redhat.com>
4141 * malloc/malloc.c (fastbin_push_entry): New function.
4142 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
4143 (REMOVE_FB): Remove macro.
4144 (_int_malloc): Use fastbin_pop_entry and reindent.
4145 (_int_free): Use fastbin_push_entry.
4146 (malloc_consolidate): Use atomic_exchange_acquire.
4148 2018-11-13 Joseph Myers <joseph@codesourcery.com>
4150 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
4151 alias attribute, not with strong_alias.
4153 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
4154 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
4155 with additional parameter thread.
4156 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
4157 in terms of __hidden_ver2.
4158 (hidden_tls_def): New macro.
4159 (libc_hidden_tls_def): Likewise.
4160 (rtld_hidden_tls_def): Likewise.
4161 (libm_hidden_tls_def): Likewise.
4162 (libmvec_hidden_tls_def): Likewise.
4163 (libresolv_hidden_tls_def): Likewise.
4164 (librt_hidden_tls_def): Likewise.
4165 (libdl_hidden_tls_def): Likewise.
4166 (libnss_files_hidden_tls_def): Likewise.
4167 (libnsl_hidden_tls_def): Likewise.
4168 (libnss_nisplus_hidden_tls_def): Likewise.
4169 (libutil_hidden_tls_def): Likewise.
4170 (libutil_hidden_tls_def): Likweise.
4171 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
4172 libc_hidden_tls_def.
4173 (__sim_disabled_exceptions_thread): Likewise.
4174 (__sim_round_mode_thread): Likewise.
4176 * sysdeps/sparc/sparc-ifunc.h [SHARED]
4177 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
4178 copy attributes from name.
4180 2018-11-12 Joseph Myers <joseph@codesourcery.com>
4182 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
4183 Use __attribute_copy__ to copy attributes from name.
4185 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
4186 with __hidden_ver1 call.
4187 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
4188 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
4189 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
4190 (__cosf): Do not declare here.
4191 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
4192 (__sincosf): Do not declare here.
4193 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
4194 (__sinf): Do not declare here.
4196 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
4197 (__BIG_ENDIAN): Likewise.
4198 (__BYTE_ORDER): Likewise.
4199 (strong_alias): Likewise.
4200 (_strong_alias): Likewise.
4202 2018-11-12 Florian Weimer <fweimer@redhat.com>
4204 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
4205 function. Move after the definition of in_smallbin_range. Do not
4206 use __builtin_expect for paths that lead to a noreturn function.
4207 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
4208 because it is unclear whether this is in fact an unlikely
4210 (_int_malloc, _int_free): Adjust.
4211 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
4213 * malloc/arena.c (heap_trim): Likewise.
4215 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4217 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
4218 it, free it if needed.
4219 (reauthenticate): Test and use ccwdir.
4220 (child_init_port): In non-resetids case, test and use ccwdir.
4221 (child_chdir): New nested function to set ccwdir.
4222 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
4223 * hurd/hurd/port.h (_hurd_port_move): New function.
4224 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
4225 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
4226 * hurd/Versions (_hurd_port_move): Export function.
4227 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
4229 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
4230 of dtablesize for allocating dtable_cloexec.
4232 2018-11-09 Martin Sebor <msebor@redhat.com>
4234 * include/libc-symbols.h (__attribute_copy__): Define macro unless
4235 it's already defined.
4236 (_strong_alias): Use __attribute_copy__.
4237 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
4238 * misc/sys/cdefs.h (__attribute_copy__): New macro.
4239 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
4240 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
4241 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
4242 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
4243 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
4244 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
4245 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
4246 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
4247 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
4248 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
4249 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
4250 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
4251 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
4252 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
4253 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
4254 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
4255 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
4257 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4259 * misc/tst-efgcvt.c: Include support/check.h and
4260 support/test-driver.c. Do not include test-skeleton.c.
4261 (error_count): Remove.
4262 (output_error): Replace increments to error_count with calls to
4263 support_record_failure.
4264 (output_r_error): Likewise.
4265 (special): Likewise.
4266 (do_test): Unconditionally return zero.
4267 (TEST_FUNCTION): Remove.
4269 2018-11-09 Joseph Myers <joseph@codesourcery.com>
4271 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
4273 ($(linknamespace-header-tests)): Likewise.
4275 * conform/conformtest.py: New file.
4276 * conform/conformtest.pl: Remove.
4277 * conform/GlibcConform.pm: Likewise.
4278 * conform/glibcconform.py (KEYWORDS_C90): New constant.
4279 (KEYWORDS_C99): Likewise.
4280 (KEYWORDS): Likewise.
4281 * conform/Makefile ($(conformtest-header-tests)): Use
4282 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
4283 option. Use --header instead of --headers.
4284 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
4286 * conform/data/spawn.h-data: Likewise.
4287 * conform/data/fcntl.h-data (openat): Add space after function
4289 * conform/data/wchar.h-data (wcscasecmp): Likewise.
4290 (wcscasecmp_l): Likewise.
4291 * conform/data/termios.h-data (c_cc): Add space after element
4294 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4296 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
4297 instead of manually comparing and reporting mismatching strings.
4298 * misc/tst-ldbl-error.c (do_one_test): Likewise.
4299 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
4301 2018-11-08 Joseph Myers <joseph@codesourcery.com>
4303 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
4304 __ASSUME_SOCKETCALL.
4305 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4306 (__ASSUME_SOCKETCALL): Remove.
4307 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4308 (__ASSUME_SOCKETCALL): Likewise.
4309 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4310 (__ASSUME_SOCKETCALL): Likewise.
4311 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4312 (__ASSUME_SOCKETCALL): Likewise.
4313 * sysdeps/unix/sysv/linux/s390/kernel-features.h
4314 (__ASSUME_SOCKETCALL): Likewise.
4315 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4316 (__ASSUME_SOCKETCALL): Likewise.
4317 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4318 (__ASSUME_SOCKETCALL): Likewise.
4320 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
4323 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
4324 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
4325 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
4326 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
4327 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
4330 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
4333 * resolv/tst-resolv-network.c: Add test for getnetbyname.
4335 2018-11-07 Joseph Myers <joseph@codesourcery.com>
4338 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4339 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4340 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4341 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4343 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4345 * support/support_test_compare_string.c
4346 (support_test_compare_string): Fix printf format.
4348 2018-11-07 Florian Weimer <fweimer@redhat.com>
4350 Implement TEST_COMPARE_STRING.
4351 * support/check.h (TEST_COMPARE_STRING): Define.
4352 (support_test_compare_string): Declare.
4353 * support/Makefile (libsupport-routines): Add
4354 support_test_compare_string.
4355 (tests): Add tst-test_compare_string.
4356 * support/support_test_compare_string.c: New file.
4357 * support/tst-test_compare_string.c: Likewise.
4359 2018-11-07 Andreas Schwab <schwab@suse.de>
4362 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
4363 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
4366 2018-11-06 Joseph Myers <joseph@codesourcery.com>
4369 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4370 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
4371 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
4372 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
4375 2018-11-06 Florian Weimer <fweimer@redhat.com>
4378 * posix/Makefile (routines): Add spawn_faction_addchdir.
4379 (tests): Add tst-spawn-chdir.
4380 * posix/Versions (GLIBC_2.29): Add
4381 posix_spawn_file_actions_addchdir_np.
4382 * posix/spawn_faction_addchdir.c: New file.
4383 * posix/spawn_faction_destroy.c
4384 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
4385 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
4386 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
4388 * posix/tst-spawn-chdir.c: New file.
4389 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
4390 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4391 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4392 posix_spawn_file_actions_addchdir_np.
4393 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4395 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4397 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4398 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4400 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4402 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4404 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4406 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4408 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4410 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4411 (GLIBC_2.29): Likewise.
4412 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4413 (GLIBC_2.29): Likewise.
4414 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4415 (GLIBC_2.29): Likewise.
4416 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4417 (GLIBC_2.29): Likewise.
4418 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4421 (GLIBC_2.29): Likewise.
4422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4423 (GLIBC_2.29): Likewise.
4424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4425 (GLIBC_2.29): Likewise.
4426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4427 (GLIBC_2.29): Likewise.
4428 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4430 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4432 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4434 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4435 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4437 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4439 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4441 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4444 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4446 * misc/Makefile (tests): Add tst-ldbl-error.
4447 * misc/tst-ldbl-error.c: New file.
4449 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4451 * misc/Makefile (tests): Add tst-ldbl-warn.
4452 * misc/tst-ldbl-warn.c: New file.
4454 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4456 * argp/Makefile (tests): Add tst-ldbl-argp.
4457 * argp/tst-ldbl-argp.c: New file.
4459 2018-11-05 Arjun Shankar <arjun@redhat.com>
4461 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
4462 __gconv_path_elem and call __gconv_get_path unconditionally.
4464 2018-11-05 Andreas Schwab <schwab@suse.de>
4467 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
4468 creating the first helper thread failed.
4470 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4472 * sysdeps/mach/hurd/msync.c: New file.
4474 2018-11-02 Florian Weimer <fweimer@redhat.com>
4476 * support/shell-container.c (copy_func): Call
4477 support_copy_file_range instead of copy_file_range to support
4478 cross-device copies.
4480 2018-11-02 Florian Weimer <fweimer@redhat.com>
4482 * support/test-container.c: Include <libc-pointer-arith.h> for
4485 2018-11-01 Zong Li <zong@andestech.com>
4487 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
4488 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
4489 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
4490 (__FP_FRAC_SET_8): Add implementation for RV32 use.
4492 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
4493 variable to avoid overlap arguments.
4495 2018-11-01 Joseph Myers <joseph@codesourcery.com>
4497 * posix/bug-regex22.c (main): Use puts with distinct error
4498 messages for unexpected success of re_compile_pattern, not printf
4499 with NULL argument to %s.
4501 * stdio-common/bug22.c: Include <libc-diag.h>.
4502 (do_test): Disable -Wformat-overflow= warnings around fprintf
4503 calls outputting more than INT_MAX characters.
4504 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
4505 around printf call with NULL %s argument.
4508 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
4509 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
4511 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4512 (__ASSUME_RECVMSG_SYSCALL): Likewise.
4513 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4514 (__ASSUME_SENDTO_SYSCALL): Likewise.
4515 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4516 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
4518 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4519 (__ASSUME_CONNECT_SYSCALL): Likewise.
4520 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4521 (__ASSUME_RECVFROM_SYSCALL): Likewise.
4522 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
4524 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
4526 [__LINUX_KERNEL_VERSION >= 0x040400]
4527 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4528 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
4531 (setsockopt): Likewise.
4533 2018-11-01 Fredrik Noring <noring@nocrew.org>
4535 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
4536 with the ISA override.
4538 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
4540 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
4543 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
4545 * manual/errno.texi (EIEIO): Document how translators should
4546 translate the error message.
4547 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
4548 printing trailing whitespaces refused by git.
4549 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
4550 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4551 * hurd/Makefile (user-interfaces): Add pci.
4553 2018-10-30 Joseph Myers <joseph@codesourcery.com>
4555 * conform/linknamespace.py: New file.
4556 * conform/linknamespace.pl: Remove file.
4557 * conform/Makefile ($(linknamespace-header-tests)): Use
4558 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
4561 2018-10-30 Florian Weimer <fweimer@redhat.com>
4563 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
4566 2018-10-30 Florian Weimer <fweimer@redhat.com>
4568 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
4570 2018-10-30 Florian Weimer <fweimer@redhat.com>
4572 * stdlib/tst-strtod-overflow.c (do_test): Switch to
4573 support_blob_repeat.
4575 2018-10-30 Florian Weimer <fweimer@redhat.com>
4577 Avoid spurious test failures in stdlib/test-bz22786.
4578 * support/Makefile (libsupport-routines): Add blob_repeat.
4579 (tests): Add tst-support_blob_repeat.
4580 * support/blob_repeat.h: New file.
4581 * support/blob_repeat.c: Likewise.
4582 * support/tst-support_blob_repeat.c: Likewise.
4583 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
4584 support_blob_repeat_allocate.
4586 2018-10-30 Andreas Schwab <schwab@suse.de>
4589 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
4590 Don't use tail call.
4591 * elf/tst-unwind-main.c: New file.
4592 * elf/Makefile (tests): Add tst-unwind-main.
4593 (CFLAGS-tst-unwind-main.c): Define.
4595 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
4598 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
4600 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
4602 2018-10-29 Joseph Myers <joseph@codesourcery.com>
4604 * conform/glibcconform.py: Do not import shutil.
4605 (list_exported_functions): Use tempfile.TemporaryDirectory instead
4608 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
4609 critic_missing for versions before 3.4.
4610 * configure: Regenerated.
4611 * manual/install.texi (Tools for Compilation): Document
4612 requirement for Python to build glibc.
4613 * INSTALL: Regenerated.
4614 * Rules [PYTHON]: Make code unconditional.
4615 * benchtests/Makefile [PYTHON]: Likewise.
4616 * conform/Makefile [PYTHON]: Likewise.
4617 * manual/Makefile [PYTHON]: Likewise.
4618 * math/Makefile [PYTHON]: Likewise.
4620 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4622 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
4623 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
4624 answer to interrupt_operation, return EIEIO instead of EINTR.
4625 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
4626 _hurd_intr_rpc_msg_about_to global point to start of controlled
4627 assembly snippet. Make it check canceled flag.
4628 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
4629 the _hurd_intr_rpc_msg_about_to point.
4630 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
4631 issue, remove cancel flag check.
4633 2018-10-26 Joseph Myers <joseph@codesourcery.com>
4635 * scripts/build-many-glibcs.py: Remove compatibility for missing
4636 os.cpu_count and re.fullmatch.
4638 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
4641 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
4642 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
4643 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
4645 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4647 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
4650 2018-10-25 Florian Weimer <fweimer@redhat.com>
4654 XFAIL siginfo_t si_band conform test on sparc64.
4655 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4656 (__SI_BAND_TYPE): Only override long int default type on sparc64.
4657 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4658 (conformtest-xfail-conds): Add sparc64-linux.
4659 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
4661 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
4663 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4665 * elf/elf.h (NT_MIPS_DSP): New macro.
4666 (NT_MIPS_FP_MODE): Likewise.
4668 2018-10-25 Zong Li <zong@andestech.com>
4670 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
4671 name by adding the file extension (.so).
4673 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
4675 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
4676 (test-xfail-ISO11/threads.h/linknamespace,
4677 test-xfail-ISO11/threads.h/conform): Add.
4679 2018-10-24 Joseph Myers <joseph@codesourcery.com>
4681 * math/gen-libm-test.py: Import os.
4682 (ALL_FLOATS_MANUAL): New constant.
4683 (ALL_FLOATS_SUFFIX): Likewise.
4684 (Ulps.all_functions): New function.
4685 (real_all_ulps): Likewise.
4686 (generate_err_table_sub): Likewise.
4687 (generate_err_table): Likewise.
4688 (main): Handle -s and -m options.
4689 * manual/libm-err-tab.pl: Remove.
4690 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
4691 instead of libm-err-tab.pl.
4692 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
4694 * manual/install.texi (Tools for Compilation): Document
4695 requirement for Python to build manual.
4696 * INSTALL: Regenerated.
4698 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4700 * bits/time64.h: New file.
4701 * include/time.h: Replace internal_time_t with __time64_t.
4702 * posix/bits/types (__time64_t): Add.
4703 * stdlib/Makefile: Add bits/time64.h to includes.
4704 * time/tzfile.c: Replace internal_time_t with __time64_t.
4706 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4708 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
4709 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
4710 __posix_spawn_file_actions_init, __posix_spawnattr_init,
4711 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
4712 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
4714 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
4715 * posix/spawn_faction_addclose.c
4716 (__posix_spawn_file_actions_addclose): Add hidden definition.
4717 * posix/spawn_faction_adddup2.c
4718 (__posix_spawn_file_actions_adddup2): Likewise.
4719 * posix/spawn_faction_destroy.c
4720 (__posix_spawn_file_actions_destroy): Likewise.
4721 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
4723 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
4724 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
4725 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
4727 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
4728 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
4731 2018-10-24 Andreas Schwab <schwab@suse.de>
4734 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
4736 * elf/cache.c (print_cache): Likewise.
4738 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4740 * bits/timesize.h: New file.
4741 * stdlib/Makefile (headers): Add bits/timesize.h.
4742 * sysdeps/unix/sysv/linux/bits/msq-pad.h
4743 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
4744 * sysdeps/unix/sysv/linux/bits/sem-pad.h
4745 (__SEM_PAD_AFTER_TIME): Likewise.
4746 * sysdeps/unix/sysv/linux/bits/shm-pad.h
4747 (__SHM_PAD_AFTER_TIME): Likewise.
4748 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
4749 (__MSQ_PAD_BEFORE_TIME): Likewise.
4750 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
4751 (__SEM_PAD_BEFORE_TIME): Likewise.
4752 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
4753 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4754 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
4755 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
4756 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
4757 (__MSQ_PAD_BEFORE_TIME): Likewise.
4758 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
4759 (__SEM_PAD_BEFORE_TIME): Likewise.
4760 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
4761 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4762 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
4763 (__MSQ_PAD_BEFORE_TIME): Likewise.
4764 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
4765 (__SEM_PAD_BEFORE_TIME): Likewise.
4766 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
4767 (__SHM_PAD_BEFORE_TIME): Likewise.
4768 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
4769 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4770 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
4772 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
4774 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
4775 USE_RDTSCP is defined.
4776 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
4777 USE_RDTSCP is defined.
4779 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4781 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
4785 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
4786 independently of other flags.
4788 2018-10-23 Florian Weimer <fweimer@redhat.com>
4790 * time/tst-mktime2.c (N_STRINGS): Remove.
4791 (set_timezone): New function.
4792 (spring_forward_gap): Call it. Use FAIL_EXIT1.
4793 (mktime_test1): Report localtime failure and check errno value.
4795 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
4796 (do_test): Remove alarm call. Use set_timezone and array_length.
4798 2018-10-23 Andreas Schwab <schwab@suse.de>
4800 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
4801 (__start_context): Use END instead of PSEUDO_END.
4803 2018-10-22 Joseph Myers <joseph@codesourcery.com>
4805 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4808 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4812 * wcsmbs/c32rtomb.c: New file.
4813 * wcsmbs/mbrtoc32.c: Likewise.
4814 * wcsmbs/tst-c32-state.c: Likewise.
4815 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
4816 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
4817 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
4818 (tests): Add tst-c32-state.
4819 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
4822 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
4824 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
4825 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
4827 2018-10-19 Joseph Myers <joseph@codesourcery.com>
4830 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
4831 pair and return 0 in that case, and use saved character to
4832 interpret following character.
4833 * wcsmbs/tst-c16-surrogate.c: New file.
4834 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
4835 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
4836 Depend on $(gen-locales)
4838 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
4841 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4842 (struct siginfo_t): Use correct type for si_band.
4844 2018-10-19 Florian Weimer <fweimer@redhat.com>
4847 * resource/bits/types/struct_rusage.h (struct rusage): Update
4848 comment on struct. Remove extraneous field comment.
4850 2018-10-18 David S. Miller <davem@davemloft.net>
4852 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
4853 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
4854 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
4855 sysdep_routines in subdir elf.
4856 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
4857 version for __vdso_clock_gettime.
4858 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
4860 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4861 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4863 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
4865 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
4867 * sysdeps/i386/init-arch.h: Removed.
4868 * sysdeps/i386/i586/init-arch.h: Likewise.
4869 * sysdeps/i386/i686/init-arch.h: Likewise.
4870 * sysdeps/i386/i686/hp-timing.h: Likewise.
4871 * sysdeps/x86_64/hp-timing.h: Likewise.
4872 * sysdeps/i386/isa.h: New file.
4873 * sysdeps/i386/i586/isa.h: Likewise.
4874 * sysdeps/i386/i686/isa.h: Likewise.
4875 * sysdeps/x86_64/isa.h: Likewise.
4876 * sysdeps/x86/hp-timing.h: New file.
4877 * sysdeps/x86/init-arch.h: Include <isa.h>.
4879 2018-10-17 Joseph Myers <joseph@codesourcery.com>
4881 * math/libm-test-pow.inc (pow_test_data): Do not allow
4882 divide-by-zero exception for pow(+/- 0, -Inf).
4884 2018-10-17 Zack Weinberg <zackw@panix.com>
4886 * manual/job.texi (Job Control is Optional): Remove node, as
4887 job control has not been optional in quite some time.
4888 (Job Control): Mention briefly that systems older than
4889 POSIX.1-2001 might not support job control.
4890 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
4891 defined on systems conforming to POSIX.1-2001.
4893 2018-10-17 Arjun Shankar <arjun@redhat.com>
4896 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
4898 * (__gconv_read_conf): Mark function static.
4899 * (once): New static variable.
4900 * (__gconv_load_conf): New function.
4901 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
4902 * iconv/gconv_db.c (once): Remove static variable.
4903 * (__gconv_compare_alias): Use __gconv_load_conf instead of
4905 * (__gconv_find_transform): Likewise.
4906 * iconv/tst-iconv-mt.c: New test.
4907 * iconv/Makefile: Add tst-iconv_mt.
4909 2018-10-17 Joseph Myers <joseph@codesourcery.com>
4911 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4913 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
4914 (shmatt_t): Define as __syscall_ulong_t.
4915 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
4916 and [__SHM_PAD_AFTER_TIME].
4917 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
4918 Define shm_segsz and associated padding based on
4919 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
4920 Use __syscall_ulong_t instead of unsigned long int.
4921 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
4923 [__USE_MISC] (struct shm_info): Likewise.
4924 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
4925 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
4926 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
4927 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
4928 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
4929 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4930 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
4931 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4932 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4933 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4934 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4936 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4938 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
4939 (SHMLBA): Remove macro.
4940 (__getpagesize): Remove function declaration.
4941 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
4943 (SHMLBA): Remove macro.
4944 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
4946 (SHMLBA): Remove macro.
4947 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
4949 (SHMLBA): Remove macro.
4950 (__getpagesize): Remove function declaration.
4951 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
4953 (SHMLBA): Remove macro.
4954 (__getshmlba): Remove function declaration.
4955 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
4956 (SHMLBA): Remove macro.
4957 (__getpagesize): Remove function declaration.
4958 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
4959 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
4960 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4961 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
4962 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
4963 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
4964 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
4965 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
4966 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
4967 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
4969 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
4972 * nptl/tst-mutex10.c: New File.
4973 * nptl/Makefile (tests): Add tst-mutex10.
4974 (tst-mutex10-ENV): New variable.
4975 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
4976 Ensure that elision path is used if elision is available.
4977 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
4979 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
4981 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
4982 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
4983 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
4984 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
4986 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
4987 (__pthread_mutex_cond_lock_adjust): Likewise.
4988 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4990 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
4991 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4992 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4993 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
4995 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
4996 Use atomic_load_relaxed and atomic_store_relaxed.
4997 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
4998 Use atomic_store_relaxed.
5000 2018-10-17 Andreas Schwab <schwab@suse.de>
5002 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
5003 * crypt/badsalttest.c (TIMEOUT): Likewise.
5004 * crypt/sha256c-test.c (TIMEOUT): Likewise.
5005 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
5006 * io/test-lfs.c (TIMEOUT): Likewise.
5007 * libio/tst-atime.c (TIMEOUT): Likewise.
5008 * localedata/tst-leaks.c (TIMEOUT): Likewise.
5009 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
5010 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
5011 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
5012 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
5013 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
5014 * nptl/tst-cond11.c (TIMEOUT): Likewise.
5015 * nptl/tst-cond14.c (TIMEOUT): Likewise.
5016 * nptl/tst-cond15.c (TIMEOUT): Likewise.
5017 * nptl/tst-cond24.c (TIMEOUT): Likewise.
5018 * nptl/tst-cond25.c (TIMEOUT): Likewise.
5019 * nptl/tst-kill2.c (TIMEOUT): Likewise.
5020 * nptl/tst-kill3.c (TIMEOUT): Likewise.
5021 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
5022 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
5023 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
5024 * nptl/tst-once2.c (TIMEOUT): Likewise.
5025 * nptl/tst-once3.c (TIMEOUT): Likewise.
5026 * nptl/tst-once4.c (TIMEOUT): Likewise.
5027 * nptl/tst-robust8.c (TIMEOUT): Likewise.
5028 * nptl/tst-robust9.c (TIMEOUT): Likewise.
5029 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
5030 * nptl/tst-sem14.c (TIMEOUT): Likewise.
5031 * nptl/tst-sem6.c (TIMEOUT): Likewise.
5032 * nptl/tst-signal3.c (TIMEOUT): Likewise.
5033 * nptl/tst-spin4.c (TIMEOUT): Likewise.
5034 * nptl/tst-tls3.c (TIMEOUT): Likewise.
5035 * nptl/tst-tls4.c (TIMEOUT): Likewise.
5036 * posix/tst-chmod.c (TIMEOUT): Likewise.
5037 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
5038 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
5039 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
5040 * posix/tst-regex2.c (TIMEOUT): Likewise.
5041 * posix/tst-waitid.c (TIMEOUT): Likewise.
5042 * rt/tst-aio.c (TIMEOUT): Likewise.
5043 * rt/tst-aio10.c (TIMEOUT): Likewise.
5044 * rt/tst-aio4.c (TIMEOUT): Likewise.
5045 * rt/tst-aio5.c (TIMEOUT): Likewise.
5046 * rt/tst-aio6.c (TIMEOUT): Likewise.
5047 * rt/tst-aio64.c (TIMEOUT): Likewise.
5048 * rt/tst-aio7.c (TIMEOUT): Likewise.
5049 * rt/tst-aio9.c (TIMEOUT): Likewise.
5050 * rt/tst-clock.c (TIMEOUT): Likewise.
5051 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
5052 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
5053 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
5054 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
5055 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
5056 * rt/tst-timer4.c (TIMEOUT): Likewise.
5057 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
5058 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
5059 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
5060 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
5061 * time/tst-ftime.c (TIMEOUT): Likewise.
5062 * timezone/tst-tzset.c (TIMEOUT): Likewise.
5064 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5066 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
5067 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
5070 2018-10-15 Joseph Myers <joseph@codesourcery.com>
5072 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5074 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
5075 instead of <bits/wordsize.h>.
5076 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
5077 and [__SEM_PAD_AFTER_TIME].
5078 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
5079 __syscall_ulong_t instead of unsigned long int.
5080 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
5081 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
5082 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
5083 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
5084 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
5085 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
5086 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
5087 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
5088 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5089 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5090 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5092 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
5094 regex: simplify by using intprops.h
5096 * posix/regex_internal.h [_LIBC]: Include intprops.h.
5097 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
5098 intprops.h defines them.
5100 regex: __builtin_expect → __glibc_unlikely
5102 This refactoring was prompted by a problem when the regex code is
5103 used as part of Gnulib and when the builder’s compiler does not grok
5104 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
5105 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
5106 Although this refactoring does not fix the problem directly,
5107 we might as well have Gawk use the now-preferred glibc style for when
5108 __builtin_expect is unavailable.
5109 * posix/regex_internal.h (BE): Remove.
5110 All uses replaced by __glibc_unlikely or __glibc_likely.
5112 2018-10-11 Joseph Myers <joseph@codesourcery.com>
5114 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5116 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
5117 instead of <bits/wordsize.h>.
5118 (msgqnum_t): Define as __syscall_ulong_t.
5119 (msglen_t): Likewise.
5120 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
5121 and [__MSQ_PAD_AFTER_TIME].
5122 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
5123 __syscall_ulong_t instead of unsigned long int.
5124 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
5125 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
5126 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
5127 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
5128 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
5129 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
5130 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
5131 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
5132 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5133 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5134 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5136 2018-10-10 Joseph Myers <joseph@codesourcery.com>
5138 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
5139 (struct shmid_ds): Condition padding after time fields on
5141 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
5142 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
5143 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5145 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
5146 (struct semid_ds): Condition padding after time fields on
5148 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
5149 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
5150 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
5151 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5153 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
5154 (struct msqid_ds): Condition padding after time fields on
5156 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
5157 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
5158 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
5159 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5161 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5163 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
5165 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5167 * libio/tst-readline.c (TIMEOUT): Define.
5169 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
5171 mktime fix for Gnulib + coreutils
5173 This fix affects only Gnulib. Problem discovered when
5174 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
5176 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
5177 Do not define since it is not used. Defining an unused static
5178 function prompts a warning from GCC when Coreutils is configured
5179 with --enable-gcc-warnings.
5181 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5183 * benchtests/scripts/compare_bench.py (main): set float type on
5186 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
5189 * localedata/locales/kl_GL (mon): Update, the relative case.
5190 (alt_mon): Add, fill with month names in the nominative case.
5191 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
5192 (d_fmt): Set to "%b %d %Y".
5194 2018-10-04 Joseph Myers <joseph@codesourcery.com>
5196 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
5197 <bits/mman-linux.h>.
5198 (PROT_READ): Don't define here.
5199 (PROT_WRITE): Likewise.
5200 (PROT_EXEC): Likewise.
5201 (PROT_NONE): Likewise.
5202 (PROT_GROWSDOWN): Likewise.
5203 (PROT_GROWSUP): Likewise.
5204 (MAP_SHARED): Likewise.
5205 (MAP_PRIVATE): Likewise.
5206 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
5207 [__USE_MISC] (MAP_FILE): Likewise.
5208 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
5209 [__USE_MISC] (MAP_ANON): Likewise.
5210 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
5211 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
5212 (MCL_CURRENT): Likewise.
5213 (MCL_FUTURE): Likewise.
5214 (MCL_ONFAULT): Likewise.
5215 [__USE_MISC] (MADV_NORMAL): Likewise.
5216 [__USE_MISC] (MADV_RANDOM): Likewise.
5217 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
5218 [__USE_MISC] (MADV_WILLNEED): Likewise.
5219 [__USE_MISC] (MADV_DONTNEED): Likewise.
5220 [__USE_MISC] (MADV_FREE): Likewise.
5221 [__USE_MISC] (MADV_REMOVE): Likewise.
5222 [__USE_MISC] (MADV_DONTFORK): Likewise.
5223 [__USE_MISC] (MADV_DOFORK): Likewise.
5224 [__USE_MISC] (MADV_HWPOISON): Likewise.
5225 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
5226 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
5227 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
5228 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
5229 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
5230 (__MAP_ANONYMOUS): New macro.
5231 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
5232 <bits/mman-linux.h> inclusion.
5233 (MAP_FIXED): Likewise.
5234 (MS_SYNC): Likewise.
5235 (MS_ASYNC): Likewise.
5236 (MS_INVALIDATE): Likewise.
5237 [__USE_MISC] (MADV_MERGEABLE): Likewise.
5238 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
5239 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
5240 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
5241 [__USE_MISC] (MADV_DONTDUMP): Likewise.
5242 [__USE_MISC] (MADV_DODUMP): Likewise.
5243 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
5244 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
5247 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
5249 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
5250 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
5251 Add test-nldbl-redirect.
5252 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
5253 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
5254 $(objpfx)libnldbl_nonshared.a.
5256 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
5258 * support/support.h (support_objdir_elf_ldso): New variable.
5259 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
5260 * support/Makefile (CFLAGS-support_paths.c): Add definition
5261 for OBJDIR_ELF_LDSO_PATH.
5262 * support/test-container.c (main): Search for the ld.so
5263 which is also used by the testsuite.
5265 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
5268 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
5269 should be "sap" rather than "sab".
5270 (day): Fix spelling of Sunday, should be "sapaat" rather than
5273 2018-10-02 Joseph Myers <joseph@codesourcery.com>
5275 * math/libm-test-fma.inc (fma_test_data): Add more tests.
5277 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
5280 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
5281 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
5282 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
5284 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5286 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
5288 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
5290 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
5292 (CFLAGS-elision-unlock.c): Likewise.
5293 (CFLAGS-elision-timed.c): Likewise.
5294 (CFLAGS-elision-trylock.c): Likewise.
5295 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
5297 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5300 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
5301 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
5302 new fd_to_filename interface.
5303 * libio/freopen64.c (freopen64): Likewise.
5304 * libio/tst-memstream.h: New file.
5305 * libio/tst-memstream4.c: Likewise.
5306 * libio/tst-wmemstream4.c: Likewise.
5307 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
5308 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
5309 and remove internal dynamic allocation.
5311 2018-10-01 Joseph Myers <joseph@codesourcery.com>
5313 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
5314 (MREMAP_MAYMOVE): Do not define here.
5315 [__USE_GNU] (MREMAP_FIXED): Likewise.
5316 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
5317 (MREMAP_MAYMOVE): Define here instead.
5318 [__USE_GNU] (MREMAP_FIXED): Likewise.
5319 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
5320 (MREMAP_MAYMOVE): Remove.
5321 [__USE_GNU] (MREMAP_FIXED): Likewise.
5323 2018-09-28 Joseph Myers <joseph@codesourcery.com>
5325 * math/fromfp.h: Do not include <math_private.h>.
5326 * math/s_cacosh_template.c: Likewise.
5327 * math/s_casin_template.c: Likewise.
5328 * math/s_casinh_template.c: Likewise.
5329 * math/s_ccos_template.c: Likewise.
5330 * math/s_cproj_template.c: Likewise.
5331 * math/s_fdim_template.c: Likewise.
5332 * math/s_fmaxmag_template.c: Likewise.
5333 * math/s_fminmag_template.c: Likewise.
5334 * math/s_iseqsig_template.c: Likewise.
5335 * math/s_ldexp_template.c: Likewise.
5336 * math/s_nextdown_template.c: Likewise.
5337 * math/w_log1p_template.c: Likewise.
5338 * math/w_scalbln_template.c: Likewise.
5339 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
5340 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
5341 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
5342 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
5343 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
5344 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
5345 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
5346 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
5347 * sysdeps/i386/fpu/s_atanl.c: Likewise.
5348 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
5349 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
5350 * sysdeps/i386/fpu/s_fdim.c: Likewise.
5351 * sysdeps/i386/fpu/s_logbl.c: Likewise.
5352 * sysdeps/i386/fpu/s_rintl.c: Likewise.
5353 * sysdeps/i386/fpu/s_significandl.c: Likewise.
5354 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
5355 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
5356 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5357 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5358 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
5359 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5360 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5361 * sysdeps/ieee754/k_standardf.c: Likewise.
5362 * sysdeps/ieee754/k_standardl.c: Likewise.
5363 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5364 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5365 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
5366 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5367 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5368 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5369 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5370 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5371 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5372 * sysdeps/ieee754/s_signgam.c: Likewise.
5373 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5374 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
5375 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
5376 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5377 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5378 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
5379 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5380 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
5381 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5382 * sysdeps/riscv/rvd/s_finite.c: Likewise.
5383 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
5384 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
5385 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
5386 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
5387 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
5388 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
5389 * sysdeps/riscv/rvf/fegetround.c: Likewise.
5390 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
5391 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
5392 * sysdeps/riscv/rvf/fesetround.c: Likewise.
5393 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
5394 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
5395 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
5396 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5397 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
5398 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5399 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
5400 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
5401 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
5402 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
5403 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
5404 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
5405 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
5406 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
5407 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5408 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5409 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
5411 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
5413 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
5416 * sysdeps/i386/dl-cet.c: Removed.
5417 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
5419 (_dl_runtime_profile_shstk): Likewise.
5420 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
5421 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
5423 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5426 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
5427 do_test_with_invalid_iov): New tests.
5428 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
5429 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
5430 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
5432 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
5433 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
5434 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
5436 2018-09-27 Joseph Myers <joseph@codesourcery.com>
5438 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5439 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
5440 (MATH_REDIRECT_BINARY_ARGS): New macro.
5441 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5442 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
5443 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
5445 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
5446 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5447 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
5448 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5449 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5450 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5451 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
5456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
5458 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
5459 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
5460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
5462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
5464 * sysdeps/generic/math_private_calls.h
5465 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
5466 Do not declare and define as an inline function.
5467 * math/divtc3.c (__divtc3): Use copysign functions instead of
5468 __copysign variants.
5469 * math/multc3.c (__multc3): Likewise.
5470 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
5471 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
5472 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5473 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5475 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5476 (__ieee754_yn): Likewise.
5477 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5478 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
5479 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5480 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5481 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
5483 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
5484 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5486 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5488 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5490 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5491 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5493 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5494 (__ieee754_ynf): Likewise.
5495 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
5496 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5497 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
5498 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5500 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5501 (__ieee754_ynl): Likewise.
5502 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5503 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5504 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5506 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5507 (__ieee754_ynl): Likewise.
5508 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
5509 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5510 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5511 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5513 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5515 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
5516 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5517 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
5518 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5519 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5521 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5522 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
5523 using MATH_REDIRECT.
5524 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
5526 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
5527 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5528 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5529 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
5530 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5531 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5532 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
5534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
5535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
5536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
5537 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5538 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5539 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5540 (round): Redirect to __round.
5541 (__roundl): Call round instead of __round.
5542 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
5544 [_ARCH_PWR5X] (__roundf): Likewise.
5545 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
5546 functions instead of __round variants.
5547 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5548 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5550 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5552 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5554 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
5555 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
5557 (__ieee754_expl): Call roundl instead of __roundl.
5559 2018-09-27 Andreas Schwab <schwab@suse.de>
5562 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
5563 (do_test): Make st1 static.
5565 2018-09-26 Andreas Schwab <schwab@suse.de>
5568 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
5569 * elf/Makefile (tests): Add tst-unwind-ctor.
5570 (modules-names): Add tst-unwind-ctor-lib.
5571 ($(objpfx)tst-unwind-ctor): Depend on
5572 $(objpfx)tst-unwind-ctor-lib.so.
5574 2018-09-26 Joseph Myers <joseph@codesourcery.com>
5576 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
5577 file. Most contents moved from ....
5578 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
5579 and include <bits/mman-map-flags-generic.h>.
5580 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5581 (sysdep_headers): Add bits/mman-map-flags-generic.h.
5582 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
5583 <bits/mman-map-flags-generic.h>.
5584 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
5585 macros defined in <bits/mman-map-flags-generic.h>.
5586 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
5587 <bits/mman-map-flags-generic.h>.
5588 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
5589 defined in <bits/mman-map-flags-generic.h>.
5591 2018-09-26 Andreas Schwab <schwab@suse.de>
5593 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
5596 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
5597 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5598 Fangrui Song <maskray@google.com>
5601 * config.make.in (have-textrel_ifunc): New define.
5602 * configure.ac: Add check if linker supports textrel relocation with
5604 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
5606 (CFLAGS-tst-ifunc-textrel.c): New rule.
5607 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
5608 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
5609 * elf/tst-ifunc-textrel.c: New file.
5611 2018-09-25 Joseph Myers <joseph@codesourcery.com>
5613 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5614 <bits/procfs-prregset.h>.
5615 (prgregset_t): Define using __prgregset_t.
5616 (prfpregset_t): Define using __prfpregset_t.
5617 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5618 (sysdep_headers): Add bits/procfs-prregset.h.
5619 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
5620 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
5621 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
5622 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
5624 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5625 <bits/procfs-id.h> and <bits/procfs-extra.h>.
5626 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
5628 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5629 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
5630 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
5631 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
5632 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
5633 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
5634 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
5635 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
5636 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
5637 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
5638 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
5639 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
5640 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
5641 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
5642 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
5643 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
5644 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
5645 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
5646 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
5647 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
5648 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
5649 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
5650 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5651 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
5653 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
5654 AArch64 version. Include <bits/procfs.h>.
5655 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5656 (sysdep_headers): Add bits/procfs.h.
5657 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
5658 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
5659 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
5660 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
5661 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
5662 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
5663 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
5664 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
5665 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
5666 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
5667 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
5668 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
5669 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
5670 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
5671 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
5672 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5673 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
5675 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5677 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
5680 2018-09-25 Arjun Shankar <arjun@redhat.com>
5682 * iconv/gconv_int.h (__gconv_path_elem): Remove.
5683 (__gconv_max_path_elem_len): Likewise.
5684 (__gconv_nmodules): Likewise.
5685 (__gconv_get_path): Likewise.
5686 (path_elem): Move to ...
5687 * iconv/gconv_conf.c: ... here.
5688 (__gconv_get_path): Mark function static.
5689 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
5690 * iconv/gconv_open.c: ... here.
5692 2018-09-24 Andreas Schwab <schwab@suse.de>
5694 * scripts/haveversions.awk: New file.
5695 * Makerules ($(common-objpfx)Versions.def)
5696 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5697 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5699 * Makeconfig ($(common-objpfx)Versions.def)
5700 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5701 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5703 ($(common-objpfx)Versions.mk): New rule. Include it.
5704 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
5705 Emit error if build-obsolete-nsl = yes.
5706 * manual/install.texi (Configuring and compiling): Describe
5707 --enable-obsolete-nsl as unavaiable after version 2.28.
5708 * INSTALL: Regenerate.
5710 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5712 * NEWS: Add note about new TLE support on powerpc64le.
5713 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
5714 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
5716 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
5717 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
5718 * sysdeps/powerpc/powerpc32/sysdep.h,
5719 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
5720 ABORT_TRANSACTION): Remove macros.
5721 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
5722 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
5723 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
5724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
5725 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5726 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
5728 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
5730 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
5733 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
5734 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
5735 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
5736 which is the same as in it_IT.
5737 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
5738 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
5740 2018-09-20 Joseph Myers <joseph@codesourcery.com>
5742 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5743 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
5744 using MATH_REDIRECT.
5745 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
5747 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
5748 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5749 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
5750 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5751 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5752 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
5754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
5755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
5756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
5757 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5758 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5759 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5760 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5761 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
5762 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
5763 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
5764 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5765 (ceil): Redirect to __ceil.
5766 (floor): Redirect to __floor.
5767 (trunc): Redirect to __trunc.
5768 (__truncl): Call trunc instead of __trunc.
5769 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
5771 [_ARCH_PWR5X] (__truncf): Likewise.
5772 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
5773 trunc functions instead of __trunc variants.
5774 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5776 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5778 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5780 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5783 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
5784 [__i586__ || __pentium__].
5785 [__i486__]: Handle explicitly.
5786 (HAS_CPUID): Define to 1 if above macros are undefined.
5787 (HAS_I586): Likewise.
5788 (HAS_I686): Likewise.
5790 2018-09-20 Florian Weimer <fweimer@redhat.com>
5792 * misc/tst-gethostid.c: New file.
5793 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
5794 (tst-gethostid): Link with -ldl.
5796 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
5798 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
5799 value from gethostbyname_r.
5801 2018-09-19 Carlos O'Donell <carlos@redhat.com>
5803 * stdlib/tst-setcontext9.c (f1): Rename to...
5805 (f1b): New function implementing lower half of f1 in alternate stack.
5807 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
5809 Fix mktime localtime offset confusion
5811 * include/time.h (__mktime_internal): The localtime offset is now
5812 of type long int instead of time_t. This is the longstanding type
5813 in glibc, and it is more than enough to represent difference
5814 between localtime and gmtime even if it is 32 bits and time_t is
5815 64. Changing it now will let us avoid an unnecessary change when
5816 time_t is widened to 64 bits on 32-bit platforms.
5817 * time/mktime-internal.h (mktime_offset_t): Now long int.
5819 Merge mktime, timegm from upstream Gnulib
5820 [BZ #23603][BZ #16346]
5821 This fixes some obscure problems with integer overflow.
5822 Although it looks scary, it is almost all a byte-for-byte copy
5823 from Gnulib, and the Gnulib code has been tested reasonably well.
5824 * include/intprops.h: New file, copied from Gnulib.
5825 * include/verify.h, time/mktime-internal.h:
5826 New tiny files, simplified from Gnulib.
5827 * time/mktime.c: Copy from Gnulib. This has the following changes:
5828 Do not include config.h if DEBUG_MKTIME is nonzero.
5829 Include stdbool.h, intprops.h, verify.h.
5830 Include string.h only if needed.
5831 Include stdlib.h on MS-Windows.
5832 Include mktime-internal.h.
5833 (DEBUG_MKTIME): Default to 0, and simplify later uses.
5834 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
5835 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
5836 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
5837 simplify later conditionals; default the others to zero. Use
5838 these conditionals to express only the code needed on the current
5839 platform. In uses of these conditionals, explicitly spell out how
5840 _LIBC affects things, so it’s easier to review from a glibc
5842 (WRAPV): Remove; no longer needed now that we have
5843 systematic overflow checking.
5844 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
5845 compartmentalize tzset issues. Move system-dependent tzsettish
5846 code here from mktime.
5847 (verify): Remove; now done by verify.h. All uses changed.
5848 (long_int): Use a more-conservative definition, to avoid
5850 (SHR): Remove, replacing with ...
5851 (shr): New function, which means we needn’t worry about side
5852 effects in args, and conversion analysis is simpler.
5853 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
5854 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
5855 (time_t_avg, time_t_add_ok): Remove.
5856 (mktime_min, mktime_max): New constants.
5857 (leapyear, isdst_differ): Use bool for booleans.
5858 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
5859 Use long_int, not time_t, for mktime differences.
5860 (long_int_avg): New function, replacing time_t_avg.
5861 INT_ADD_WRAPV replaces time_t_add_ok.
5862 (guess_time_tm): 6th arg is now long_int, not time_t const *.
5864 (convert_time): New function.
5865 (ranged_convert): Use it.
5866 (__mktime_internal): Last arg now points to mktime_offset_t, not
5867 time_t. All uses changed. This is a no-op on glibc, where
5868 mktime_offset_t is always time_t. Use int, not time_t, for UTC
5869 offset guess. Directly check for integer overflow instead of
5870 using a heuristic that works only 99.9...% of the time.
5871 Access *OFFSET only once, to avoid an unlikely race if the
5872 compiler delays a load and if this cascades into a signed integer
5874 (mktime): Move tzsettish code to my_tzset, and move
5875 localtime_offset to within mktime so that it doesn’t
5876 need a separate ifdef.
5877 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
5878 instead of localtime.
5879 * time/timegm.c: Copy from Gnulib. This has the following changes:
5880 Include mktime-internal.h.
5881 [!_LIBC]: Include config.h and time.h. Do not include
5882 timegm.h or time_r.h. Make __mktime_internal a macro,
5883 and include mktime-internal.h to get its declaration.
5884 (timegm): Temporary is now mktime_offset_t, not time_t.
5885 This affects only Gnulib.
5887 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5890 * string/test-strstr.c (pr23637): New function.
5891 (test_main): Add tests with longer needles.
5892 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
5893 * string/strstr.c (AVAILABLE): Likewise.
5895 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
5897 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
5899 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
5901 * NEWS: Mention pow improvements.
5902 * math/Makefile (type-double-routines): Add e_pow_log_data.
5903 * sysdeps/generic/math_private.h (__exp1): Remove.
5904 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
5905 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
5906 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
5908 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
5909 (exp_inline): Remove.
5910 (__ieee754_exp): Only single double input is handled.
5911 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
5912 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
5913 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
5914 (__pow_log_data): Define.
5915 * sysdeps/ieee754/dbl-64/upow.h: Remove.
5916 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
5917 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
5918 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
5920 (CFLAGS-e_pow-fma4.c): Likewise.
5922 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
5924 Simplify tzfile fstat failure code
5926 * time/tzfile.c (__tzfile_read): Simplify slightly.
5928 Fix tzfile low-memory assertion failure
5930 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
5931 when registering time zone abbreviations.
5933 2018-09-18 Joseph Myers <joseph@codesourcery.com>
5935 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
5936 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
5937 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
5938 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
5939 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
5940 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
5941 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
5942 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5943 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5945 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
5947 (__ceill): Call ceil instead of __ceil.
5948 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
5950 (__floorl): Call floor instead of __floor.
5952 2018-09-17 Joseph Myers <joseph@codesourcery.com>
5954 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5955 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
5956 using MATH_REDIRECT.
5957 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
5959 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
5960 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5961 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5962 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
5963 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5964 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5965 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5966 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
5967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
5968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
5969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
5970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
5971 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5972 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5973 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
5974 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
5975 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
5976 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
5977 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
5979 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
5980 functions instead of __ceil variants.
5981 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5982 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5984 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5986 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5987 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5989 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5990 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5993 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
5995 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
5996 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
5997 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
5998 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
5999 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
6000 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
6001 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
6002 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
6003 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
6004 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
6005 (ILL_BADIADDR): Remove constant.
6006 (TRAP_BRANCH): Likewise.
6007 (TRAP_HWBKPT): Likewise.
6009 2018-09-14 Joseph Myers <joseph@codesourcery.com>
6012 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
6013 Remove [_MIPS_SIM = _ABIN32] conditional case.
6014 (struct elf_prpsinfo): Likewise.
6017 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
6018 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
6019 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
6021 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
6022 elf_prpsinfo): Likewise.
6023 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
6024 elf_prpsinfo): Likewise.
6025 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
6028 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6029 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
6030 using MATH_REDIRECT.
6031 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
6033 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
6034 * sysdeps/alpha/fpu/s_rint.c: Likewise.
6035 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
6036 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6037 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6038 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6039 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
6040 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6041 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6042 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6043 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
6044 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
6045 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
6046 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
6047 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
6048 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6049 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6050 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
6051 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
6053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
6054 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
6055 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
6056 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
6057 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
6058 * sysdeps/x86_64/fpu/math_private.h: Remove file.
6059 * math/e_scalb.c (invalid_fn): Use rint functions instead of
6061 * math/e_scalbf.c (invalid_fn): Likewise.
6062 * math/e_scalbl.c (invalid_fn): Likewise.
6063 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6065 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6067 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6068 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
6069 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6071 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6073 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6075 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
6076 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
6078 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6079 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
6081 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6082 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
6083 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6084 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
6085 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6086 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
6087 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6088 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
6089 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6090 && !NO_MATH_REDIRECT] (floor): Likewise.
6091 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
6093 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
6094 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6095 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6096 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
6097 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6098 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6099 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6100 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
6101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
6102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
6103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
6104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
6105 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6106 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6107 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
6108 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
6109 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
6110 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
6111 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
6113 [_ARCH_PWR5X] (__floorf): Likewise.
6114 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
6116 [__SSE4_1__] (__floorf): Likewise.
6117 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
6118 instead of __floor variants.
6119 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
6120 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
6121 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
6122 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
6123 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
6124 * math/w_tgamma_compat.c (__tgamma): Likewise.
6125 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
6126 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
6127 * math/w_tgammal_compat.c (__tgammal): Likewise.
6128 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
6129 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6131 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6132 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
6133 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6134 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6136 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6137 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
6139 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6140 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
6142 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6143 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
6145 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6146 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6147 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
6148 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
6149 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6150 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6152 2018-09-12 Joseph Myers <joseph@codesourcery.com>
6154 * elf/Makefile (modules-names-tests): New variable.
6156 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6158 * NEWS: Mention log2 improvements.
6159 * math/Makefile (type-double-routines): Add e_log2_data.
6160 * sysdeps/i386/fpu/e_log2_data.c: New file.
6161 * sysdeps/ia64/fpu/e_log2_data.c: New file.
6162 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
6163 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
6164 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
6165 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
6166 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
6168 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6170 * NEWS: Mention log improvement.
6171 * math/Makefile (type-double-routines): Add e_log_data.
6172 * sysdeps/i386/fpu/e_log_data.c: New file.
6173 * sysdeps/ia64/fpu/e_log_data.c: New file.
6174 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
6175 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
6176 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
6177 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
6178 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
6179 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
6181 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
6182 Xuepeng Guo <xuepeng.guo@intel.com>
6185 * sysdeps/i386/start.S: Include <sysdep.h>
6186 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
6187 enabled. Add cfi_undefined (eip).
6189 2018-09-11 Joseph Myers <joseph@codesourcery.com>
6191 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
6193 (EXTRACT_WORDS64): Likewise.
6194 (INSERT_WORDS64): Likewise.
6195 (GET_FLOAT_WORD): Likewise.
6196 (SET_FLOAT_WORD): Likewise.
6198 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
6200 (Config.build_gcc): Use --disable-libsanitizer for first GCC
6201 build, but not for second build if --full-gcc. Use
6202 --enable-languages=all for second build if --full-gcc.
6203 (get_parser): Add --full-gcc option.
6204 (main): Update call to Context.
6206 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
6209 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
6210 Single Quotation Mark).
6211 (thousands_sep): Likewise.
6212 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
6213 * localedata/locales/it_IT (thousands_sep): Use ".".
6214 (grouping): Use "3;3".
6216 2018-09-10 Joseph Myers <joseph@codesourcery.com>
6218 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
6219 x86_64 and i686 configs using --enable-obsolete-rpc
6220 --enable-obsolete-nsl.
6222 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6224 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6226 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6228 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
6229 Increment size of new_argv by one.
6231 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
6234 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
6235 * localedata/locales/ar_IN (d_fmt): Likewise.
6236 * localedata/locales/bhb_IN (d_fmt): Likewise.
6237 * localedata/locales/bho_IN (d_fmt): Likewise.
6238 * localedata/locales/bn_BD (d_fmt): Likewise.
6239 * localedata/locales/bn_IN (d_fmt): Likewise.
6240 * localedata/locales/doi_IN (d_fmt): Likewise.
6241 * localedata/locales/gu_IN (d_fmt): Likewise.
6242 * localedata/locales/hi_IN (d_fmt): Likewise.
6243 * localedata/locales/hne_IN (d_fmt): Likewise.
6244 * localedata/locales/kn_IN (d_fmt): Likewise.
6245 * localedata/locales/mag_IN (d_fmt): Likewise.
6246 * localedata/locales/mai_IN (d_fmt): Likewise.
6247 * localedata/locales/mjw_IN (d_fmt): Likewise.
6248 * localedata/locales/ml_IN (d_fmt): Likewise.
6249 * localedata/locales/mni_IN (d_fmt): Likewise.
6250 * localedata/locales/mr_IN (d_fmt): Likewise.
6251 * localedata/locales/pa_IN (d_fmt): Likewise.
6252 * localedata/locales/raj_IN (d_fmt): Likewise.
6253 * localedata/locales/sat_IN (d_fmt): Likewise.
6254 * localedata/locales/sd_IN (d_fmt): Likewise.
6255 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
6256 * localedata/locales/ta_IN (d_fmt): Likewise.
6257 * localedata/locales/ta_LK (d_fmt): Likewise.
6258 * localedata/locales/tcy_IN (d_fmt): Likewise.
6259 * localedata/locales/ur_IN (d_fmt): Likewise.
6261 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
6262 * localedata/locales/ks_IN (d_fmt): Likewise.
6263 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
6265 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
6266 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
6267 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
6268 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
6270 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
6272 * NEWS: Mention exp and exp2 improvements.
6273 * math/Makefile (libm-support): Remove t_exp.
6274 (type-double-routines): Add math_err and e_exp_data.
6275 * sysdeps/aarch64/libm-test-ulps: Update.
6276 * sysdeps/arm/libm-test-ulps: Update.
6277 * sysdeps/i386/fpu/e_exp_data.c: New file.
6278 * sysdeps/i386/fpu/math_err.c: New file.
6279 * sysdeps/i386/fpu/t_exp.c: Remove.
6280 * sysdeps/ia64/fpu/e_exp_data.c: New file.
6281 * sysdeps/ia64/fpu/math_err.c: New file.
6282 * sysdeps/ia64/fpu/t_exp.c: Remove.
6283 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
6284 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
6285 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
6286 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
6287 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
6288 * sysdeps/ieee754/dbl-64/math_config.h: New file.
6289 * sysdeps/ieee754/dbl-64/math_err.c: New file.
6290 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
6291 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
6292 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
6293 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
6294 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
6295 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
6296 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
6297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6300 2018-09-05 Joseph Myers <joseph@codesourcery.com>
6302 * sysdeps/alpha/fpu/math_private.h: Remove.
6304 * sysdeps/generic/math_private.h
6305 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
6306 Move this inline function ....
6307 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
6308 * include/math.h [!_ISOMAC]: To here....
6310 2018-09-04 Joseph Myers <joseph@codesourcery.com>
6312 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
6314 [!FE_HAVE_ROUNDING_MODES]: And this code ....
6315 * include/fenv.h [!_ISOMAC]: ... to here.
6316 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
6317 (feraiseexcept): Likewise.
6318 * math/fromfp.h: Do not include <fenv_private.h>.
6319 * math/s_cexp_template.c: Likewise.
6320 * math/s_csin_template.c: Likewise.
6321 * math/s_csinh_template.c: Likewise.
6322 * math/s_ctan_template.c: Likewise.
6323 * math/s_ctanh_template.c: Likewise.
6324 * math/s_iseqsig_template.c: Likewise.
6325 * math/w_acos_compat.c: Likewise.
6326 * math/w_acosf_compat.c: Likewise.
6327 * math/w_acosl_compat.c: Likewise.
6328 * math/w_asin_compat.c: Likewise.
6329 * math/w_asinf_compat.c: Likewise.
6330 * math/w_asinl_compat.c: Likewise.
6331 * math/w_j0_compat.c: Likewise.
6332 * math/w_j0f_compat.c: Likewise.
6333 * math/w_j0l_compat.c: Likewise.
6334 * math/w_j1_compat.c: Likewise.
6335 * math/w_j1f_compat.c: Likewise.
6336 * math/w_j1l_compat.c: Likewise.
6337 * math/w_jn_compat.c: Likewise.
6338 * math/w_jnf_compat.c: Likewise.
6339 * math/w_log10_compat.c: Likewise.
6340 * math/w_log10f_compat.c: Likewise.
6341 * math/w_log10l_compat.c: Likewise.
6342 * math/w_log2_compat.c: Likewise.
6343 * math/w_log2f_compat.c: Likewise.
6344 * math/w_log2l_compat.c: Likewise.
6345 * math/w_log_compat.c: Likewise.
6346 * math/w_logf_compat.c: Likewise.
6347 * math/w_logl_compat.c: Likewise.
6348 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6349 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6350 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6351 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6352 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6353 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6354 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6355 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6356 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6357 * sysdeps/ieee754/k_standardl.c: Likewise.
6358 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6359 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6360 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6361 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6362 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6363 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6364 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6365 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6366 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6367 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6368 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6369 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6370 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6371 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6372 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6373 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6374 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6375 * math/w_ilogb_template.c: Include <fenv.h> instead of
6377 * math/w_llogb_template.c: Likewise.
6378 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6379 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6381 2018-09-03 Joseph Myers <joseph@codesourcery.com>
6383 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
6384 * math/fromfp.h: Include <fenv_private.h>.
6385 * math/math-narrow.h: Likewise.
6386 * math/s_cexp_template.c: Likewise.
6387 * math/s_csin_template.c: Likewise.
6388 * math/s_csinh_template.c: Likewise.
6389 * math/s_ctan_template.c: Likewise.
6390 * math/s_ctanh_template.c: Likewise.
6391 * math/s_iseqsig_template.c: Likewise.
6392 * math/w_acos_compat.c: Likewise.
6393 * math/w_acosf_compat.c: Likewise.
6394 * math/w_acosl_compat.c: Likewise.
6395 * math/w_asin_compat.c: Likewise.
6396 * math/w_asinf_compat.c: Likewise.
6397 * math/w_asinl_compat.c: Likewise.
6398 * math/w_ilogb_template.c: Likewise.
6399 * math/w_j0_compat.c: Likewise.
6400 * math/w_j0f_compat.c: Likewise.
6401 * math/w_j0l_compat.c: Likewise.
6402 * math/w_j1_compat.c: Likewise.
6403 * math/w_j1f_compat.c: Likewise.
6404 * math/w_j1l_compat.c: Likewise.
6405 * math/w_jn_compat.c: Likewise.
6406 * math/w_jnf_compat.c: Likewise.
6407 * math/w_llogb_template.c: Likewise.
6408 * math/w_log10_compat.c: Likewise.
6409 * math/w_log10f_compat.c: Likewise.
6410 * math/w_log10l_compat.c: Likewise.
6411 * math/w_log2_compat.c: Likewise.
6412 * math/w_log2f_compat.c: Likewise.
6413 * math/w_log2l_compat.c: Likewise.
6414 * math/w_log_compat.c: Likewise.
6415 * math/w_logf_compat.c: Likewise.
6416 * math/w_logl_compat.c: Likewise.
6417 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6418 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6419 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6420 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6421 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6422 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6423 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6424 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6425 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6426 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6427 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6428 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6429 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
6430 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
6431 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6432 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6433 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6434 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6435 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6436 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6437 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6438 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6439 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6440 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6441 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6442 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6443 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6444 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6445 * sysdeps/ieee754/float128/float128_private.h: Likewise.
6446 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6447 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6448 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6449 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6450 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6451 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6452 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6453 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6454 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6455 * sysdeps/ieee754/k_standardl.c: Likewise.
6456 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6457 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6458 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6459 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6460 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6461 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6462 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6463 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6464 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6465 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6466 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6467 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6468 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6469 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6470 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6471 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6472 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6473 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
6474 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6475 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6476 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6477 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6478 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6479 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6480 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6481 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6482 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6483 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6484 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
6485 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6486 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6487 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6488 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6489 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6490 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6491 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6492 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6493 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6494 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6495 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6496 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6497 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6498 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6499 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6500 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6501 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6502 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6503 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6504 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6505 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6506 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6507 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6508 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6509 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6510 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6511 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6512 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6513 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6514 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6515 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6516 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6517 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6518 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6519 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6520 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6521 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6522 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6523 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6524 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6525 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6526 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6528 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6531 * include/stdio.h (__libc_fatal): Mention newline in comment.
6532 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
6533 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
6534 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6535 * nss/nsswitch.c (__nss_next2): Likewise.
6536 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
6537 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
6538 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
6539 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6540 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
6541 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
6542 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
6543 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
6544 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
6545 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
6546 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
6547 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6548 (__netlink_assert_response): Likewise.
6550 2018-08-31 Joseph Myers <joseph@codesourcery.com>
6552 * conform/glibcconform.py: New file.
6553 * conform/list-header-symbols.py: Likewise.
6554 * conform/list-header-symbols.pl: Remove.
6555 * conform/Makefile (tests-special): Only add linknamespace tests
6557 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
6559 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
6562 * support/Makefile (libsupport-routines): Add
6563 support_copy_file_range and xcopy_file_range.
6564 * support/support.h: Include <sys/types.h>.
6565 (support_copy_file_range): New prototype.
6566 * support/support_copy_file_range.c: New file. Copied and
6567 modified from io/copy_file_range-compat.c.
6568 * support/test-container.c (copy_one_file): Call xcopy_file_rang
6569 instead of copy_file_range.
6570 * support/xcopy_file_range.c: New file.
6571 * support/xunistd.h (xcopy_file_range): New prototype.
6573 2018-08-30 Carlos O'Donell <carlos@redhat.com>
6575 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
6576 xpthread_create and xpthread_join.
6578 2018-08-30 Florian Weimer <fweimer@redhat.com>
6580 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
6582 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
6584 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
6587 2018-08-29 Joseph Myers <joseph@codesourcery.com>
6589 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
6590 and minus_oflow as non-finite.
6592 2018-08-28 Joseph Myers <joseph@codesourcery.com>
6594 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
6595 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
6596 moved to fenv_private.h except for ...
6597 (TOINT_INTRINSICS): Kept in math_private.h.
6598 (roundtoint): Likewise.
6599 (converttoint): Likewise.
6600 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
6601 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6602 * sysdeps/arm/math_private.h: Remove.
6603 * sysdeps/generic/fenv_private.h: New file. Contents moved from
6605 * sysdeps/generic/math_private.h: ... this file. Include
6606 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
6607 Include <fenv_private.h>. Remove functions and macros moved to
6609 * sysdeps/i386/fpu/math_private.h: Remove.
6610 * sysdeps/mips/math_private.h: Move to ....
6611 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
6612 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
6613 [__mips_hard_float] conditional. Include next <fenv_private.h>.
6614 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
6615 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6616 * sysdeps/powerpc/fpu/math_private.h: Do not include
6618 * sysdeps/riscv/rvf/math_private.h: Move to ....
6619 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
6620 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
6622 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
6623 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6624 * sysdeps/sparc/fpu/math_private.h: Remove.
6625 * sysdeps/i386/fpu/fenv_private.h: Move to ....
6626 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
6627 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
6629 * sysdeps/x86_64/fpu/math_private.h: Do not include
6630 <sysdeps/i386/fpu/fenv_private.h>.
6632 2018-08-28 Florian Weimer <fweimer@redhat.com>
6635 * posix/tst-regcomp-truncated.c: New file.
6636 * posix/Makefile (tests): Add it.
6637 (tst-regcomp-truncated.out): Depend on generated locales.
6639 2018-08-28 Florian Weimer <fweimer@redhat.com>
6641 * support/test-container.c (main): Treat unshare failure with
6642 EPERM as an unsupported test.
6644 2018-08-28 Florian Weimer <fweimer@redhat.com>
6647 nscd: Fix use-after-free in addgetnetgrentX and its callers.
6648 * nscd/netgroupcache.c
6649 (addgetnetgrentX): Add tofreep parameter. Do not free
6650 heap-allocated buffer.
6651 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
6652 (addgetnetgrentX_ignore): New function.
6653 (addgetnetgrent): Call it.
6654 (readdgetnetgrent): Likewise.
6656 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6658 * string/memmem.c: Use memcmp for first match.
6660 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6663 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
6665 2018-08-27 DJ Delorie <dj@redhat.com>
6667 * support/Makefile (others): Don't list programs explicitly as a
6668 dependency of "others".
6670 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6672 * sysdeps/generic/math-tests-trap-force.h: New file.
6673 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
6674 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
6675 * sysdeps/powerpc/math-tests.h: Remove file.
6676 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
6678 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
6679 Torvald Riegel <triegel@redhat.com>
6682 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
6683 Update r to include the set wake-request flag if waiters are
6684 remaining after spinning.
6686 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6688 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
6690 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
6693 regex: fix uninitialized memory access
6694 I introduced this bug into gnulib in commit
6695 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
6696 eventually it was merged into glibc. The bug was found by
6697 project-repo <bugs@feusi.co> and reported here:
6698 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
6699 Diagnosis and draft fix reported by Assaf Gordon here:
6700 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
6701 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
6702 * posix/regex_internal.c (build_wcs_upper_buffer):
6703 Fix bug when mbrtowc returns 0.
6705 2018-08-24 Carlos O'Donell <carlos@redhat.com>
6707 * po/be.po: Update translation.
6709 2018-08-24 DJ Delorie <dj@delorie.com>
6711 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
6714 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6717 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
6718 create temporary files in source tree.
6720 2018-08-24 Joseph Myers <joseph@codesourcery.com>
6722 * sysdeps/generic/math-tests-trap.h: New file.
6723 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
6724 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
6725 * sysdeps/aarch64/math-tests.h: Remove file.
6726 * sysdeps/arm/math-tests.h: Likewise.
6727 * sysdeps/riscv/math-tests.h: Likewise.
6728 * sysdeps/aarch64/math-tests-trap.h: New file.
6729 * sysdeps/arm/math-tests-trap.h: Likewise.
6730 * sysdeps/riscv/math-tests-trap.h: Likewise.
6732 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
6734 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
6735 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
6736 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
6737 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
6738 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
6739 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
6740 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6741 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
6742 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
6743 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6744 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6745 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6746 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6747 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
6748 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
6749 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
6750 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6751 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6753 2018-08-23 Joseph Myers <joseph@codesourcery.com>
6755 * sysdeps/generic/math-tests-exceptions.h: New file.
6756 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
6757 (EXCEPTION_TESTS_float): Do not define here.
6758 (EXCEPTION_TESTS_double): Likewise.
6759 (EXCEPTION_TESTS_long_double): Likewise.
6760 (EXCEPTION_TESTS_float128): Likewise.
6761 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
6763 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
6764 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
6765 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
6766 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
6767 * sysdeps/mips/math-tests.h: Likewise.
6768 * sysdeps/nios2/math-tests.h: Likewise.
6769 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6770 (EXCEPTION_TESTS_float): Do not define here.
6771 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
6772 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
6773 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
6775 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6777 * NEWS: Move optimized sinf entry to 2.29.
6779 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6781 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
6783 2018-08-22 DJ Delorie <dj@redhat.com>
6785 * Makefile (testroot.pristine): New rules to initialize the
6786 test-in-container "testroot".
6787 * Makerules (all-testsuite): Add tests-container.
6788 * Rules (tests-expected): Add tests-container.
6789 (binaries-all-tests): Likewise.
6790 (tests-container): New, run these tests in the testroot container.
6791 * support/Makefile (others): Add *-container, support_paths.c,
6792 xmkdirp, and links-dso-program.
6793 * support/links-dso-program-c.c: New.
6794 * support/links-dso-program.cc: New.
6795 * support/test-container.c: New.
6796 * support/shell-container.c: New.
6797 * support/echo-container.c: New.
6798 * support/true-container.c: New.
6799 * support/xmkdirp.c: New.
6800 * support/xsymlink.c: New.
6801 * support/support_paths.c: New.
6802 * support/support.h: Add support paths prototypes.
6803 * support/xunistd.h: Add xmkdirp () and xsymlink ().
6805 * nss/tst-nss-test3.c: Convert to test-in-container.
6806 * nss/tst-nss-test3.root/: New.
6808 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
6810 regex: port Gnulib code to z/OS POSIX environment
6811 Problem reported by Arnold Robbins in:
6812 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
6813 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
6816 2018-08-22 Joseph Myers <joseph@codesourcery.com>
6818 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
6819 (ROUNDING_TESTS_double): Remove.
6820 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
6821 (ROUNDING_TESTS_double): Remove.
6822 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
6823 (ROUNDING_TESTS_double): Remove.
6824 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
6825 (ROUNDING_TESTS_float): Remove.
6826 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
6827 (ROUNDING_TESTS_float): Remove.
6828 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
6829 (ROUNDING_TESTS_float): Remove.
6830 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
6832 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6833 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6835 * sysdeps/generic/math-tests-rounding.h: New file.
6836 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
6837 (ROUNDING_TESTS_float): Do not define here.
6838 (ROUNDING_TESTS_double): Likewise.
6839 (ROUNDING_TESTS_long_double): Likewise.
6840 (ROUNDING_TESTS_float128): Likewise.
6841 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
6842 (ROUNDING_TESTS_double): Undefine before defining.
6843 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
6844 (ROUNDING_TESTS_double): Undefine before defining.
6845 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
6846 (ROUNDING_TESTS_double): Undefine before defining.
6847 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
6848 (ROUNDING_TESTS_float): Undefine before defining.
6849 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
6850 (ROUNDING_TESTS_float): Undefine before defining.
6851 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
6852 (ROUNDING_TESTS_float): Undefine before defining.
6853 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
6854 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
6856 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
6857 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
6858 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
6859 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6860 (ROUNDING_TESTS_float): Do not define here.
6861 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
6862 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
6863 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
6864 (ROUNDING_TESTS_float): Likewise.
6865 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
6866 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
6867 * sysdeps/mips/math-tests.h [__mips_soft_float]
6868 (ROUNDING_TESTS_float): Likewise.
6869 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
6870 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
6871 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
6872 (ROUNDING_TESTS_double): Likewise.
6873 (ROUNDING_TESTS_long_double): Likewise.
6875 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
6877 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
6878 (PF_XDP): New macro.
6879 (AF_XDP): New macro.
6880 (SOL_XDP): New macro.
6882 2018-08-21 Joseph Myers <joseph@codesourcery.com>
6884 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
6885 (TCP_INQ): Likewise.
6886 (TCP_CM_INQ): Likewise.
6887 (TCP_REPAIR_ON): Likewise.
6888 (TCP_REPAIR_OFF): Likewise.
6889 (TCP_REPAIR_OFF_NO_WP): Likewise.
6890 (struct tcp_zerocopy_receive): New type.
6892 2018-08-21 Florian Weimer <fweimer@redhat.com>
6894 * support/support.h (support_descriptor_supports_holes): Declare.
6895 * support/Makefile (libsupport-routines): Add
6896 support_descriptor_supports_holes.
6897 * support/support_descriptor_supports_holes.c: New file.
6898 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
6899 and stop testing if holes are not supported.
6900 * io/test-lfs.c (do_prepare): Likewise.
6901 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
6903 * timezone/tst-tzset.c (create_tz_file): Likewise.
6904 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
6906 (do_prepare): Set it.
6907 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
6909 2018-08-21 Florian Weimer <fweimer@redhat.com>
6912 * Makeconfig (+cflags): Do not sort (and deduplicate).
6914 2018-08-21 Florian Weimer <fweimer@redhat.com>
6916 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
6917 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
6919 2018-08-20 Florian Weimer <fweimer@redhat.com>
6921 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
6922 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
6924 2018-08-20 Joseph Myers <joseph@codesourcery.com>
6926 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
6927 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
6928 and ssi_arch members.
6930 * elf/elf.c (NT_VMCOREDD): New macro.
6931 (AT_MINSIGSTKSZ): Likewise.
6933 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6935 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6936 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
6937 s_cosf-ppc64 and s_cosf-power8.
6938 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
6939 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6940 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6941 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
6943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
6944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
6945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
6946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
6948 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
6949 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
6951 2018-08-17 Florian Weimer <fweimer@redhat.com>
6953 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6955 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
6957 * malloc/malloc.c (_int_malloc): Additional binning code checks.
6959 2018-08-16 Florian Weimer <fweimer@redhat.com>
6961 * configure.ac: Add --with-nonshared-cflags option.
6962 * config.make.in (extra-nonshared-cflags): Set variable.
6963 * Makeconfig (CFLAGS-.oS): Use it.
6964 * manual/install.texi (Configuring and compiling): Document
6965 --with-nonshared-cflags.
6966 * configure: Regenerate.
6967 * INSTALL: Likewise.
6969 2018-08-16 Florian Weimer <fweimer@redhat.com>
6971 * Makeconfig (ASFLAGS): Always append required assembler flags.
6973 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
6975 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
6976 (malloc_consolidate): Likewise.
6978 2018-08-16 Pochang Chen <johnchen902@gmail.com>
6980 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
6982 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
6984 * benchtests/bench-strlen.c (do_test): Allocate buffers before
6987 * benchtests/bench-strlen.c: Print performance numbers in json.
6989 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6991 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6992 (sysdep_routines): Build strcmp-power9 and strncmp-power9
6993 only for little endian.
6994 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6995 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
6996 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
6997 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
6998 Add check for little endian.
6999 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7000 (__strcmp_power9): Add check for little endian.
7001 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
7002 Add check for little endian.
7003 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7004 (__strncmp_power9): Add check for little endian.
7005 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
7006 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
7007 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
7008 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
7009 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
7011 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
7013 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
7014 [!STRLEN](STRLEN): Set to __strlen.
7015 * sysdeps/aarch64/multiarch/strlen.c: New file.
7016 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
7017 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
7018 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7019 (__libc_ifunc_impl_list): Add strlen.
7020 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7021 strlen_generic and strlen_asimd.
7023 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7025 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
7026 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
7027 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7029 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7031 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
7033 2018-08-14 Florian Weimer <fweimer@redhat.com>
7036 * include/stdio.h (__vfxprintf): Declare.
7037 * stdio-common/fxprintf.c (__vfxprintf): New function.
7038 (__fxprintf): Call it.
7039 * misc/err.c (convert_and_print): Remove function.
7040 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
7041 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
7042 * misc/Makefile (tests): Add tst-warn-wide.
7043 * misc/tst-warn-wide.c: New file.
7045 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
7046 Szabolcs Nagy <szabolcs.nagy@arm.com>
7048 * NEWS: Mention sinf, cosf, sincosf.
7049 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
7050 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
7051 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
7052 constants rather than including generic sincosf.h.
7053 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
7054 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
7055 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
7056 (reduced_cos): Remove.
7057 (sinf_poly): New function.
7058 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
7060 2018-08-14 Florian Weimer <fweimer@redhat.com>
7064 * nss/nss_files/files-alias.c (get_next_alias): During :include:
7065 processing, bail out if no room, and close the stream before
7067 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
7068 (tst-nss-files-alias-leak): Link with libdl.
7069 (tst-nss-files-alias-leak.out): Depend on nss_files.
7071 * nss/tst-nss-files-alias-leak.c: New file.
7073 2018-08-14 Florian Weimer <fweimer@redhat.com>
7075 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
7076 server_user, stat_user.
7078 2018-08-13 Joseph Myers <joseph@codesourcery.com>
7080 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7082 (io_pgetevents): New syscall.
7085 * manual/install.texi (Configuring and compiling): Do not list
7086 tools used for testing pretty printers here.
7087 (Tools for Compilation): List Python, PExpect and GDB here.
7088 Update descriptions of uses of Perl and Python.
7089 * INSTALL: Regenerate.
7091 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7094 2018-08-13 Florian Weimer <fweimer@redhat.com>
7096 * misc/error.c (error): Add missing va_end call.
7097 (error_at_line): Likewise.
7099 2018-08-13 Florian Weimer <fweimer@redhat.com>
7101 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
7103 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
7105 * benchtests/scripts/benchout.schema.json (properties): Add
7108 * benchtests/bench-skeleton.c (main): Add duration and
7109 iterations attributes.
7111 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
7113 regex: Gnulib unibyte RRI uses bytes not chars
7114 Adjust the non-glibc code to agree with what Gawk needs for
7115 rational range interpretation (RRI) for regular expression ranges.
7116 In unibyte locales, Gawk wants ranges to use the underlying byte
7117 rather than the character code point. This change does not affect
7119 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
7120 In unibyte locales, use the byte value rather than
7121 running it through btowc.
7123 2018-08-10 Joseph Myers <joseph@codesourcery.com>
7125 * sysdeps/generic/math-tests-snan.h: New file.
7126 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
7127 (SNAN_TESTS_float): Do not define here.
7128 (SNAN_TESTS_double): Likewise.
7129 (SNAN_TESTS_long_double): Likewise.
7130 (SNAN_TESTS_float128): Likewise.
7131 * sysdeps/i386/fpu/math-tests-snan.h: New file.
7132 * sysdeps/i386/fpu/math-tests.h: Remove file.
7133 * sysdeps/ia64/math-tests-snan.h: New file.
7134 * sysdeps/ia64/math-tests.h: Remove file.
7135 * sysdeps/x86/math-tests.h: Likewise.
7136 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
7138 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7139 Szabolcs Nagy <szabolcs.nagy@arm.com>
7141 * math/Makefile: Add s_sincosf_data.c.
7142 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
7143 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
7144 (sincosf_poly): Likewise.
7145 (reduce_small): Likewise.
7146 (reduce_large): Likewise.
7147 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
7148 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
7149 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
7150 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
7152 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7153 Szabolcs Nagy <szabolcs.nagy@arm.com>
7155 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
7156 (converttoint): Use lround.
7157 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
7158 document the semantics when TOINT_INTRINSICS is set.
7159 (converttoint): Likewise.
7160 (TOINT_RINT): Remove.
7161 (TOINT_SHIFT): Remove.
7162 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
7165 2018-08-10 Florian Weimer <fweimer@redhat.com>
7168 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
7170 (__old_getdents64): Use getdents64. Convert entries without
7172 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
7173 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
7174 tst-readdir64-compat.
7176 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7178 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
7181 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7183 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
7184 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
7185 code to s390x-mcount.h and #include it.
7186 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
7187 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7190 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7192 * stdlib/Versions: Remove __fentry__.
7193 * sysdeps/i386/Versions: Add __fentry__.
7194 * sysdeps/x86_64/Versions: Add __fentry__.
7196 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7198 * sysdeps/s390/Makefile: Register the new tests.
7199 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
7200 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
7201 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
7202 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
7203 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
7204 * sysdeps/s390/tst-dl-runtime.c: New file.
7206 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7208 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7211 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7213 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7216 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7218 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7221 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7223 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7226 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7228 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7229 Use symbolic offsets for stack variables.
7231 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7233 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7234 Use symbolic offsets for stack variables.
7236 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7238 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7239 Use symbolic offsets for stack variables.
7241 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7243 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7244 Use symbolic offsets for stack variables.
7246 2018-08-09 Joseph Myers <joseph@codesourcery.com>
7248 * math/gen-libm-test.py: New file.
7249 * math/gen-libm-test.pl: Remove.
7250 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
7251 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
7253 ($(libm-test-c-noauto-obj)): Likewise.
7254 ($(libm-test-c-auto-obj)): Likewise.
7255 ($(libm-test-c-narrow-obj)): Likewise.
7256 (regen-ulps): Likewise.
7257 * math/README.libm-test: Update references to gen-libm-test.pl.
7258 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
7259 referencing gen-libm-test.pl.
7260 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
7261 * math/libm-test-support.c: Likewise.
7262 * math/libm-test-support.h: Likewise.
7263 * sysdeps/generic/libm-test-ulps: Likewise.
7265 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
7267 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
7270 2018-08-08 Joseph Myers <joseph@codesourcery.com>
7272 * math/libm-test-nextdown.inc (do_test): Move comment to ....
7273 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
7275 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7277 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
7279 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
7280 __pthread_setspecific): Add hidden proto.
7281 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
7282 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
7284 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7286 * benchtests/bench-string.h (buf1_size, buf2_size): New
7288 (init_sizes): New function.
7289 (test_init): Use it.
7290 (alloc_buf, exit_error): New functions.
7291 (alloc_bufs): Use ALLOC_BUF.
7292 (realloc_bufs): Remove.
7293 * benchtests/bench-memcmp.c (do_test): Adjust.
7294 * benchtests/bench-memset-large.c (do_test): Likewise.
7295 * benchtests/bench-memset-walk.c (do_test): Likewise.
7296 * benchtests/bench-memset.c (do_test): Likewise.
7297 * benchtests/bench-strncmp.c (do_test): Likewise.
7299 2018-08-06 Andreas Schwab <schwab@suse.de>
7301 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
7302 of CONST_THREAD_AREA.
7304 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
7306 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
7307 (STATE_SAVE_MASK): Likewise.
7308 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
7309 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
7310 (STATE_SAVE_MASK): Likewise.
7311 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
7312 instead of <cpu-features.h>.
7314 2018-08-03 DJ Delorie <dj@redhat.com>
7316 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
7317 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
7319 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7321 2018-08-03 Joseph Myers <joseph@codesourcery.com>
7323 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
7325 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
7326 * math/libm-test-logb.inc (logb_test_data): Likewise.
7328 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
7330 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
7331 * string/strstr.c (AVAILABLE): Likewise.
7333 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7335 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
7337 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
7338 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
7339 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
7341 2018-08-03 Carlos O'Donell <carlos@redhat.com>
7343 * po/be.po: Update translation.
7345 * po/be.po: Update translation.
7347 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7349 * sysdeps/x86/cpu-features-offsets.sym
7350 (rtld_global_ro_offsetof): Removed.
7351 (CPU_FEATURES_SIZE): Likewise.
7352 (CPUID_OFFSET): Likewise.
7353 (CPUID_SIZE): Likewise.
7354 (CPUID_EAX_OFFSET): Likewise.
7355 (CPUID_EBX_OFFSET): Likewise.
7356 (CPUID_ECX_OFFSET): Likewise.
7357 (CPUID_EDX_OFFSET): Likewise.
7358 (FAMILY_OFFSET): Likewise.
7359 (MODEL_OFFSET): Likewise.
7360 (FEATURE_OFFSET): Likewise.
7361 (FEATURE_SIZ): Likewise.
7362 (COMMON_CPUID_INDEX_1): Likewise.
7363 (COMMON_CPUID_INDEX_7): Likewise.
7364 (FEATURE_INDEX_1): Likewise.
7365 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
7367 2018-08-02 Carlos O'Donell <carlos@redhat.com>
7369 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
7370 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
7371 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
7372 (install-locales): Depend on install-locale-archive.
7373 (install-locale-archive): Define.
7374 (install-locale-files): Define.
7375 (build-one-locale): Define macro.
7376 * manual/install.texi (Running make install): Document.
7377 * manual/INSTALL: Regenerate.
7379 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
7381 * benchtests/scripts/compare_strings.py: Import traceback.
7382 (parse_file): Pretty-print error.
7384 * NEWS: Mention the change.
7385 * elf/dl-tunables.list: Rename tune namespace to cpu.
7386 * sysdeps/powerpc/dl-tunables.list: Likewise.
7387 * sysdeps/x86/dl-tunables.list: Likewise.
7388 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
7390 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
7391 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
7392 * manual/README.tunables: Likewise.
7393 * manual/tunables.texi: Likewise.
7394 * sysdeps/powerpc/cpu-features.c: Likewise.
7395 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
7396 (init_cpu_features): Likewise.
7397 * sysdeps/x86/cpu-features.c: Likewise.
7398 * sysdeps/x86/cpu-features.h: Likewise.
7399 * sysdeps/x86/cpu-tunables.c: Likewise.
7400 * sysdeps/x86_64/Makefile: Likewise.
7401 * sysdeps/x86/dl-cet.c: Likewise.
7403 2018-08-02 Joseph Myers <joseph@codesourcery.com>
7406 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
7407 [__mips_hard_float].
7408 (FE_UNDERFLOW): Likewise.
7409 (FE_OVERFLOW): Likewise.
7410 (FE_DIVBYZERO): Likewise.
7411 (FE_INVALID): Likewise.
7412 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
7413 (FE_TOWARDZERO): Define only if [__mips_hard_float].
7414 (FE_UPWARD): Likewise.
7415 (FE_DOWNWARD): Likewise.
7416 (__FE_UNDEFINED): Define if [!__mips_hard_float]
7417 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
7418 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
7419 [__mips_hard_float].
7420 (FP_ROUNDMODE): Likewise.
7421 (FP_RND_NEAREST): Likewise.
7422 (FP_RND_ZERO): Likewise.
7423 (FP_RND_PINF): Likewise.
7424 (FP_RND_MINF): Likewise.
7425 (FP_EX_INVALID): Likewise.
7426 (FP_EX_OVERFLOW): Likewise.
7427 (FP_EX_UNDERFLOW): Likewise.
7428 (FP_EX_DIVZERO): Likewise.
7429 (FP_EX_INEXACT): Likewise.
7430 (FP_INIT_ROUNDMODE): Likewise.
7431 * sysdeps/mips/nofpu/fesetenv.c: New file.
7432 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
7434 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7436 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
7437 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
7438 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
7439 conditional on [FE_UPWARD].
7441 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
7443 regex: fix memory leak in Gnulib
7444 Problem and fix reported by Assaf Gordon in:
7445 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
7446 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
7447 range_ends members too, as they are defined in 'struct
7448 re_charset_t' even if not _LIBC. This affects only Gnulib.
7450 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
7452 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
7454 (get_common_indices): This.
7455 (init_cpu_features): Updated.
7457 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7459 * sysdeps/generic/math-tests-snan-payload.h: New file.
7460 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
7461 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
7462 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
7463 * sysdeps/generic/math-tests.h: Include
7464 <math-tests-snan-payload.h>.
7465 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7466 * sysdeps/hppa/math-tests.h: Remove file.
7467 * sysdeps/mips/math-tests.h [!__mips_nan2008]
7468 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7469 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
7472 * sysdeps/generic/math-tests-snan-cast.h: New file.
7473 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
7474 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
7475 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
7476 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
7478 2018-08-01 Carlos O'Donel <carlos@redhat.com>
7480 * version.h (RELEASE): Set to "development".
7481 (VERSION): Set to "2.28.9000".
7482 * NEWS (2.29): New section.
7484 * version.h (RELEASE): Set to "stable".
7485 (VERSION): Set to "2.28".
7486 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
7487 * NEWS: Add the list of bugs fixed in 2.28.
7489 * po/ca.po: Update to latest version.
7490 * po/cs.po: Likewise
7491 * po/da.po: Likewise
7492 * po/el.po: Likewise
7493 * po/eo.po: Likewise
7494 * po/es.po: Likewise
7495 * po/fi.po: Likewise
7496 * po/fr.po: Likewise
7497 * po/gl.po: Likewise
7498 * po/hu.po: Likewise
7499 * po/ia.po: Likewise
7500 * po/id.po: Likewise
7501 * po/it.po: Likewise
7502 * po/ja.po: Likewise
7503 * po/ko.po: Likewise
7504 * po/lt.po: Likewise
7505 * po/nb.po: Likewise
7506 * po/nl.po: Likewise
7507 * po/pt_BR.po: Likewise
7508 * po/ru.po: Likewise
7509 * po/rw.po: Likewise
7510 * po/sk.po: Likewise
7511 * po/sl.po: Likewise
7512 * po/tr.po: Likewise
7513 * po/zh_CN.po: Likewise
7514 * po/zh_TW.po: Likewise
7516 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7518 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
7520 (init): ... before initializing libpthread.
7522 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
7523 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
7524 (__mach_setup_tls): ... new function.
7525 (mach_setup_tls): New alias.
7526 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
7527 __mach_setup_thread.
7528 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
7529 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
7530 * mach/Versions [libc] (mach_setup_tls): Add symbol.
7531 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
7533 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7535 * manual/install.texi: Update versions.
7536 * INSTALL: Regenerate.
7538 * manual/contrib.texi (Contributors): Update contributions.
7540 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7542 * po/be.po: Update translations.
7544 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7546 * sysdeps/sh/libm-test-ulps: Update.
7548 2018-07-30 Carlos O'Donell <carlos@redhat.com>
7550 * po/bg.po: Update translations.
7551 * po/de.po: Likewise.
7552 * po/hr.po: Likewise.
7553 * po/pt_BR.po: Likewise.
7554 * po/sv.po: Likewise.
7555 * po/vi.po: Likewise.
7557 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7560 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7561 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
7562 (CFLAGS-tst-cet-property-1.o): New.
7563 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
7564 ($(objpfx)tst-cet-property-2): Likewise.
7565 ($(objpfx)tst-cet-property-2.out): Likewise.
7566 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
7567 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
7568 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
7569 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
7570 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
7572 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7575 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
7577 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7579 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
7580 __sbrk): Do not set attribute_hidden.
7581 * sysdeps/mach/hurd/not-errno.h: New file.
7582 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7583 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
7585 2018-07-27 Carlos O'Donell <carlos@redhat.com>
7587 * po/uk.po: Update translations.
7588 * po/cs.po: Likewise.
7589 * po/pl.po: Likewise.
7591 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
7593 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
7594 parse beyond the note end.
7596 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7598 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
7599 kernel does not support OFD locks.
7600 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
7602 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7604 * sysdeps/mach/hurd/Versions (libc): Make __access and
7605 __access_noerrno external so they can override the ld symbols.
7606 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
7607 __writev, __open64, __access_noerrno extern so they can be overrided.
7608 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
7609 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7611 2018-07-26 Carlos O'Donell <carlos@redhat.com>
7613 * po/libc.pot: Regenerate.
7615 2018-07-26 Joseph Myers <joseph@codesourcery.com>
7617 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7619 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7622 * sysdeps/x86/cpu-features.c (get_extended_indices): New
7624 (init_cpu_features): Call get_extended_indices for both Intel
7626 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
7627 Remove "for AMD" comment.
7629 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7632 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
7633 COMMON_CPUID_INDEX_80000001.
7635 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
7637 * string/tst-xbzero-opt.c (use_test_buffer): New function.
7638 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
7640 2018-07-26 Florian Weimer <fweimer@redhat.com>
7642 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
7643 aliases for symbols not in the implementation namespace.
7645 2018-07-25 Carlos O'Donell <carlos@redhat.com>
7648 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
7649 lowercase in LATIN script.
7650 * localedata/Makefile (test-input): Add en_US.UTF-8.
7651 * localedata/en_US.UTF-8.in: New file.
7652 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
7653 and restore old tests.
7654 * posix/tst-regexloc.c (do_test): Add back range expression test.
7656 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7658 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
7660 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7662 * nptl/threads.h: Move to ...
7663 * sysdeps/nptl/threads.h: ... here.
7664 * sysdeps/hurd/stdc-predef.h: New file.
7666 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7668 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7669 tst-cet-setcontext-1 if CET is enabled.
7670 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
7671 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
7673 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7675 * include/threads.h: Move to ...
7676 * sysdeps/nptl/threads.h: ... here.
7677 * sysdeps/htl/threads.h: New file.
7678 * conform/Makefile (linknamespace-libs-ISO11): Use
7679 static-thread-library instead of linking libpthread.
7680 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
7682 2018-07-25 Florian Weimer <fweimer@redhat.com>
7684 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
7685 nanoseconds into seconds.
7686 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
7687 (do_test): Likewise.
7688 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
7689 (do_test): Likewise. Avoid nanosecond overflow and spurious
7690 timeouts due to system load.
7691 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
7692 (child_wait): Increment it.
7693 (do_test): Wait as long as necessary until all expected threads
7696 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
7697 H.J. Lu <hongjiu.lu@intel.com>
7699 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
7701 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
7702 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
7703 (__push___start_context): New.
7704 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
7706 (__getcontext): Record the current shadow stack base. Save the
7707 caller's shadow stack pointer and base.
7708 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
7709 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
7710 (__push___start_context): New prototype.
7711 (__makecontext): Call __push___start_context to allocate a new
7712 shadow stack, push __start_context onto the new stack as well
7713 as the new shadow stack.
7714 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
7716 (__setcontext): Restore the target shadow stack.
7717 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
7719 (__swapcontext): Record the current shadow stack base. Save
7720 the caller's shadow stack pointer and base. Restore the target
7722 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7723 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
7724 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
7726 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7728 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
7729 tst-setcontext8 and tst-setcontext9.
7730 * stdlib/tst-setcontext6.c: New file.
7731 * stdlib/tst-setcontext7.c: Likewise.
7732 * stdlib/tst-setcontext8.c: Likewise.
7733 * stdlib/tst-setcontext9.c: Likewise.
7735 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7737 * stdlib/Makefile ((tests): Add tst-setcontext5.
7738 * stdlib/tst-setcontext5.c: New file.
7740 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7742 * stdlib/Makefile (tests): Add tst-setcontext4.
7743 * stdlib/tst-setcontext4.c: New file.
7745 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7747 * stdlib/Makefile (tests): Add tst-swapcontext1.
7748 * stdlib/tst-swapcontext1.c: New test.
7750 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7752 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
7753 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
7754 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
7755 and tst-cet-legacy-4c.
7756 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
7757 and tst-cet-legacy-mod-4.
7758 (CFLAGS-tst-cet-legacy-2.c): New.
7759 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
7760 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
7761 (CFLAGS-tst-cet-legacy-3.c): Likewise.
7762 (CFLAGS-tst-cet-legacy-4.c): Likewise.
7763 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
7764 ($(objpfx)tst-cet-legacy-1): Likewise.
7765 ($(objpfx)tst-cet-legacy-2): Likewise.
7766 ($(objpfx)tst-cet-legacy-2.out): Likewise.
7767 ($(objpfx)tst-cet-legacy-2a): Likewise.
7768 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
7769 ($(objpfx)tst-cet-legacy-4): Likewise.
7770 ($(objpfx)tst-cet-legacy-4.out): Likewise.
7771 ($(objpfx)tst-cet-legacy-4a): Likewise.
7772 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
7773 (tst-cet-legacy-4a-ENV): Likewise.
7774 ($(objpfx)tst-cet-legacy-4b): Likewise.
7775 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
7776 (tst-cet-legacy-4b-ENV): Likewise.
7777 ($(objpfx)tst-cet-legacy-4c): Likewise.
7778 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
7779 (tst-cet-legacy-4c-ENV): Likewise.
7780 * sysdeps/x86/tst-cet-legacy-1.c: New file.
7781 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
7782 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
7783 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
7784 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
7785 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
7786 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
7787 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
7788 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
7789 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
7790 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
7792 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7794 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
7795 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
7797 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
7798 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
7801 2018-07-25 Andreas Schwab <schwab@suse.de>
7804 * locale/weightwc.h (findidx): Handle the case where usrc is a
7805 prefix of cp but one character too short.
7807 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7809 * NEWS: Add ISO C threads addition.
7811 2018-07-24 Florian Weimer <fweimer@redhat.com>
7813 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7814 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
7815 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
7818 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7820 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
7821 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
7822 <sys/prctl.h> and <asm/prctl.h>.
7823 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
7824 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
7826 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
7827 ARCH_CET_LEGACY_BITMAP.
7828 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
7829 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
7830 * sysdeps/x86/libc-start.c: Include <startup.h>.
7832 2018-07-24 Florian Weimer <fweimer@redhat.com>
7834 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
7835 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
7837 2018-07-24 Rical Jasan <rj@2c3t.io>
7838 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7839 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
7842 * manual/debug.texi: Update adjacent chapter name.
7843 * manual/probes.texi: Likewise.
7844 * manual/threads.texi (ISO C Threads): New section.
7845 (POSIX Threads): Convert to a section.
7847 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7848 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
7851 * nptl/Makefile (tests): Add new test files.
7852 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
7853 * nptl/tst-cnd-basic.c: Likewise.
7854 * nptl/tst-cnd-broadcast.c: Likewise.
7855 * nptl/tst-cnd-timedwait.c: Likewise.
7856 * nptl/tst-mtx-basic.c: Likewise.
7857 * nptl/tst-mtx-recursive.c: Likewise.
7858 * nptl/tst-mtx-timedlock.c: Likewise.
7859 * nptl/tst-mtx-trylock.c: Likewise.
7860 * nptl/tst-thrd-basic.c: Likewise.
7861 * nptl/tst-thrd-detach.c: Likewise.
7862 * nptl/tst-thrd-sleep.c: Likewise.
7863 * nptl/tst-tss-basic.c: Likewise.
7865 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7868 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
7869 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
7871 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7872 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7873 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7874 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7875 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7876 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7877 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7878 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7879 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7880 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7881 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7882 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7890 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7891 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7892 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7893 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7894 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7895 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7896 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7897 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7898 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
7899 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
7900 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
7901 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
7902 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
7904 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
7905 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
7906 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
7907 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
7908 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
7909 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
7910 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
7911 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
7912 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
7913 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
7914 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
7915 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
7917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
7918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7922 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
7923 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
7924 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
7925 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
7926 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
7927 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
7928 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
7929 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
7932 * conform/data/threads.h-data (thread_local): New macro.
7933 (TSS_DTOR_ITERATIONS): Likewise.
7935 (tss_dtor_t): Likewise.
7936 (tss_create): New function.
7937 (tss_get): Likewise.
7938 (tss_set): Likewise.
7939 (tss_delete): Likewise.
7940 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
7941 tss_get, and tss_set objects.
7942 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
7943 * nptl/tss_create.c: New file.
7944 * nptl/tss_delete.c: Likewise.
7945 * nptl/tss_get.c: Likewise.
7946 * nptl/tss_set.c: Likewise.
7947 * sysdeps/nptl/threads.h (thread_local): New define.
7948 (TSS_DTOR_ITERATIONS): Likewise.
7949 (tss_t): New typedef.
7950 (tss_dtor_t): Likewise.
7951 (tss_create): New prototype.
7952 (tss_get): Likewise.
7953 (tss_set): Likewise.
7954 (tss_delete): Likewise.
7957 * conform/data/threads.h-data (cnd_t): New type.
7958 (cnd_init): New function.
7959 (cnd_signal): Likewise.
7960 (cnd_broadcast): Likewise.
7961 (cnd_wait): Likewise.
7962 (cnd_timedwait): Likewise.
7963 (cnd_destroy): Likewise.
7964 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
7965 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
7967 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
7968 * nptl/cnd_broadcast.c: New file.
7969 * nptl/cnd_destroy.c: Likewise.
7970 * nptl/cnd_init.c: Likewise.
7971 * nptl/cnd_signal.c: Likewise.
7972 * nptl/cnd_timedwait.c: Likewise.
7973 * nptl/cnd_wait.c: Likewise.
7974 * sysdeps/nptl/threads.h (cnd_t): New type.
7975 (cnd_init): New prototype.
7976 (cnd_signa): Likewise.
7977 (cnd_broadcast): Likewise.
7978 (cnd_wait): Likewise.
7979 (cnd_timedwait): Likewise.
7980 (cnd_destroy): Likewise.
7983 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
7984 (once_flag): New type.
7985 (call_once): New function.
7986 * nptl/Makefile (libpthread-routines): Add call_once object.
7987 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
7988 * nptl/call_once.c: New file.
7989 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
7990 (once_flag): New type.
7991 (call_once): New prototype.
7994 * conform/data/threads.h-data (mtx_plain): New constant.
7995 (mtx_recursive): Likewise.
7996 (mtx_timed): Likewise.
7998 (mtx_init): New function.
7999 (mtx_lock): Likewise.
8000 (mtx_timedlock): Likewise.
8001 (mtx_trylock): Likewise.
8002 (mtx_unlock): Likewise.
8003 (mtx_destroy): Likewise.
8004 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
8005 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
8006 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
8007 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
8008 * nptl/mtx_destroy.c: New file.
8009 * nptl/mtx_init.c: Likewise.
8010 * nptl/mtx_lock.c: Likewise.
8011 * nptl/mtx_timedlock.c: Likewise.
8012 * nptl/mtx_trylock.c: Likewise.
8013 * nptl/mtx_unlock.c: Likewise.
8014 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
8015 (mtx_recursive): Likewise.
8016 (mtx_timed): Likewise.
8018 (mtx_init): New prototype.
8019 (mtx_lock): Likewise.
8020 (mtx_timedlock): Likewise.
8021 (mtx_trylock): Likewise.
8022 (mtx_unlock): Likewise.
8023 (mtx_destroy): Likewise.
8026 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
8027 (linknamespace-libs-ISO11): Add libpthread.a.
8028 * conform/data/threads.h-data: New file: add C11 thrd_* types and
8030 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
8031 * nptl/Makefile (headers): Add threads.h.
8032 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
8033 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
8035 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
8036 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
8037 thrd_join, thrd_sleep, and thrd_yield symbols.
8038 * nptl/descr.h (struct pthread): Add c11 field.
8039 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
8040 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
8041 routine with expected function prototype.
8042 (__pthread_create_2_1): Add C11 threads check based on attribute
8044 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
8045 * nptl/thrd_create.c: New file.
8046 * nptl/thrd_current.c: Likewise.
8047 * nptl/thrd_detach.c: Likewise.
8048 * nptl/thrd_equal.c: Likewise.
8049 * nptl/thrd_exit.c: Likewise.
8050 * nptl/thrd_join.c: Likewise.
8051 * nptl/thrd_priv.h: Likewise.
8052 * nptl/thrd_sleep.c: Likewise.
8053 * nptl/thrd_yield.c: Likewise.
8054 * include/threads.h: Likewise.
8056 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8058 * bits/indirect-return.h: New file.
8059 * misc/sys/cdefs.h (__glibc_has_attribute): New.
8060 * sysdeps/x86/bits/indirect-return.h: Likewise.
8061 * stdlib/Makefile (headers): Add bits/indirect-return.h.
8062 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
8063 (swapcontext): Add __INDIRECT_RETURN.
8064 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
8065 (prepare_test_buffer): Use it.
8067 2018-07-24 Andreas Schwab <schwab@suse.de>
8070 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
8071 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
8073 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8075 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
8076 Redefine if shadow stack is enabled.
8077 (SYSCALL_ERROR_LABEL): Likewise.
8078 (__vfork): Pop shadow stack and jump back to to caller directly
8079 when shadow stack is in use.
8080 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
8081 Redefine if shadow stack is enabled.
8082 (SYSCALL_ERROR_LABEL): Likewise.
8083 (__vfork): Pop shadow stack and jump back to to caller directly
8084 when shadow stack is in use.
8086 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8088 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
8091 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
8094 2018-07-20 Joseph Myers <joseph@codesourcery.com>
8096 * scripts/build-many-glibcs.py (Context.checkout): Default
8097 binutils version to 2.31 branch.
8099 2018-07-20 Zong Li <zong@andestech.com>
8101 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
8102 URL of gcc's tarball.
8104 2018-07-20 Florian Weimer <fweimer@redhat.com>
8107 * posix/regcomp.c (build_equiv_class): When comparing weights, do
8108 not compare an extra byte after the end of the weights.
8110 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
8112 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
8114 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
8116 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
8117 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
8118 * scripts/check-execstack.awk: Consider `xfail' variable containing a
8119 list of libraries whose stack executability is expected.
8120 * elf/Makefile ($(objpfx)check-execstack.out): Pass
8121 $(check-execstack-xfail) to check-execstack.awk through `xfail'
8123 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
8124 libc.so libpthread.so.
8126 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
8128 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
8130 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
8132 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
8134 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
8136 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8138 * benchtests/scripts/compare_bench.py (__main__): use the argparse
8139 library to improve command line parsing.
8140 (__main__): make schema file as optional parameter (--schema),
8141 defaulting to benchtests/scripts/benchout.schema.json.
8142 (main): move out of the parsing stuff to __main_ and leave it
8143 only as caller of main comparison functions.
8145 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
8147 * NEWS: Add a note for Intel CET status.
8148 * manual/install.texi: Likewise.
8149 * INSTALL: Regenerated.
8151 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
8154 * localedata/locales/oc_FR (mon): Rename to...
8155 (alt_mon): This, then update October (typo fix).
8156 (mon): New content (genitive case, month names preceded by
8160 * localedata/locales/oc_FR (abday): Update all items.
8161 (day): Update Wednesday and Saturday (typo fixes).
8162 (abmon): Update all items, except May.
8163 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
8164 (LC_IDENTIFICATION): Bump the revision number and date.
8165 Keep the "category" entries in alphabetic order.
8166 (LC_ADDRESS): Remove no longer needed comment.
8167 (LC_COLLATE): Use “copy "ca_ES"”.
8168 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
8171 2018-07-18 Joseph Myers <joseph@codesourcery.com>
8173 * grp/tst_fgetgrent.c: Include <unistd.h>.
8174 (main): Use mkstemp instead of tmpnam.
8175 * io/test-utime.c (main): Likewise.
8176 * posix/annexc.c (macrofile): Change to modifiable array.
8177 (main): Remove macrofile here.
8178 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8180 (check_header): Do not remove macrofile here.
8181 * posix/bug-getopt1.c: Include <stdlib.h>.
8182 (do_test): Use mkstemp instead of tmpnam.
8183 * posix/bug-getopt2.c: Include <stdlib.h>.
8184 (do_test): Use mkstemp instead of tmpnam.
8185 * posix/bug-getopt3.c: Include <stdlib.h>.
8186 (do_test): Use mkstemp instead of tmpnam.
8187 * posix/bug-getopt4.c: Include <stdlib.h>.
8188 (do_test): Use mkstemp instead of tmpnam.
8189 * posix/bug-getopt5.c: Include <stdlib.h>.
8190 (do_test): Use mkstemp instead of tmpnam.
8191 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
8192 (main): Use mkstemp instead of tmpnam.
8193 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
8194 (main): Use mkstemp instead of tmpnam.
8195 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
8196 (main): use mkstemp instead of tmpnam.
8197 * stdlib/isomac.c (macrofile): Change to modifiable array.
8198 (main): Remove macrofile here.
8199 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8201 (check_header): Do not remove macrofile here.
8203 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8205 * manual/tunables.texi: Document glibc.tune.x86_ibt and
8206 glibc.tune.x86_shstk.
8208 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8210 * NEWS: Mention --enable-cet.
8211 * manual/install.texi: Document --enable-cet.
8212 * INSTALL: Regenerated.
8214 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8216 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
8217 Add _CET_NOTRACK before indirect jump to jump table.
8219 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8221 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
8222 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8225 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8227 * sysdeps/i386/i686/multiarch/strcat-sse2.S
8228 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8231 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8233 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
8234 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8237 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8239 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
8240 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8243 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8245 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
8246 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8248 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
8250 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8252 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
8253 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8256 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8258 * sysdeps/i386/i686/multiarch/memset-sse2.S
8259 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8262 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8264 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
8265 indirect jump to jump table.
8267 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8269 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
8270 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8274 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8276 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
8277 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8281 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8283 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8284 _CET_NOTRACK before indirect jump to jump table.
8286 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8288 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
8289 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8292 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8294 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
8295 indirect jump to jump table.
8297 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
8300 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
8301 (LOCALES): Likewise.
8302 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
8303 * localedata/locales/sah_RU: New file.
8304 * localedata/sah_RU.UTF-8.in: New file.
8306 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8308 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
8310 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8311 _CET_ENDBR to indirect jump targets and adjust jump destination
8313 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
8315 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8316 _CET_ENDBR to indirect jump targets and adjust jump destination
8318 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
8320 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
8321 _CET_ENDBR to indirect jump targets and adjust jump destination
8324 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8326 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8329 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8331 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
8333 (_dl_tlsdesc_undefweak): Likewise.
8334 (_dl_tlsdesc_dynamic): Likewise.
8335 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
8336 (_dl_tlsdesc_resolve_rel): Likewise.
8337 (_dl_tlsdesc_resolve_rela): Likewise.
8338 (_dl_tlsdesc_resolve_hold): Likewise.
8339 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
8340 (_dl_tlsdesc_undefweak): Likewise.
8341 (_dl_tlsdesc_dynamic): Likewise.
8342 (_dl_tlsdesc_resolve_rela): Likewise.
8343 (_dl_tlsdesc_resolve_hold): Likewise.
8345 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8347 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
8349 * sysdeps/x86_64/crti.S (_init): Likewise.
8352 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
8355 * localedata/locales/os_RU (mon): Rename to...
8357 (mon): Import from CLDR (genitive case).
8359 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8361 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
8362 cet-tunables.h> when CET is enabled.
8364 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
8367 * configure.ac: Add --enable-cet.
8368 * configure: Regenerated.
8369 * elf/Makefille (all-built-dso): Add a comment.
8370 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
8371 Include <dl-prop.h>.
8372 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
8374 * elf/dl-open.c: Include <dl-prop.h>.
8375 (dl_open_worker): Call _dl_open_check.
8376 * elf/rtld.c: Include <dl-prop.h>.
8377 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
8379 * sysdeps/generic/dl-prop.h: New file.
8380 * sysdeps/i386/dl-cet.c: Likewise.
8381 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
8382 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
8383 * sysdeps/x86/cet-tunables.h: Likewise.
8384 * sysdeps/x86/check-cet.awk: Likewise.
8385 * sysdeps/x86/configure: Likewise.
8386 * sysdeps/x86/configure.ac: Likewise.
8387 * sysdeps/x86/dl-cet.c: Likewise.
8388 * sysdeps/x86/dl-procruntime.c: Likewise.
8389 * sysdeps/x86/dl-prop.h: Likewise.
8390 * sysdeps/x86/libc-start.h: Likewise.
8391 * sysdeps/x86/link_map.h: Likewise.
8392 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
8394 (_dl_runtime_profile): Likewise.
8395 (_dl_runtime_resolve_shstk): New.
8396 (_dl_runtime_profile_shstk): Likewise.
8397 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
8399 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
8400 (CFLAGS-.os): Likewise.
8401 (CFLAGS-.op): Likewise.
8402 (CFLAGS-.oS): Likewise.
8403 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
8405 (tests-special): Add $(objpfx)check-cet.out.
8406 (cet-built-dso): New.
8407 (+$(cet-built-dso:=.note)): Likewise.
8408 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
8409 ($(objpfx)check-cet.out): New.
8410 (generated): Add check-cet.out.
8411 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
8413 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
8414 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8415 (init_cpu_features): Call get_cet_status to check CET status
8416 and update dl_x86_feature_1 with CET status. Call
8417 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
8418 (set_x86_shstk). Disable and lock CET in libc.a.
8419 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
8420 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
8421 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8422 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
8423 (_CET_ENDBR): Define if not defined.
8424 (ENTRY): Add _CET_ENDBR.
8425 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
8427 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
8429 (_dl_runtime_profile): Likewise.
8431 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
8434 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
8435 restore r2 on longjmp.
8436 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
8438 Added rules to build test tst-setjmp-bug21895-static.
8439 Added module setjmp-bug21895 and rules to build a shared object from it.
8440 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
8441 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
8443 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
8445 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
8446 * benchtests/bench-strstr.c: Likewise.
8447 * string/memmem.c (FASTSEARCH): Define.
8448 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
8449 Add support for FASTSEARCH.
8450 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
8451 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
8452 (FASTSEARCH): Define.
8453 * string/test-strcasestr.c: Rename __strnlen to strnlen.
8454 * string/test-strstr.c: Likewise.
8456 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
8458 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
8459 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
8461 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
8462 H.J. Lu <hongjiu.lu@intel.com>
8464 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
8465 (__longjmp): Restore shadow stack pointer if shadow stack is
8466 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8467 isn't defined for __longjmp_cancel.
8468 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
8469 (_setjmp): Save shadow stack pointer if shadow stack is enabled
8470 and SHADOW_STACK_POINTER_OFFSET is defined.
8471 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
8472 (setjmp): Save shadow stack pointer if shadow stack is enabled
8473 and SHADOW_STACK_POINTER_OFFSET is defined.
8474 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
8475 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8476 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8477 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
8479 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8480 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8481 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
8482 Remove jmp_buf-ssp.sym.
8483 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8485 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8486 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8487 * sysdeps/x86/Makefile (gen-as-const-headers): Add
8489 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
8490 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
8491 (__longjmp): Restore shadow stack pointer if shadow stack is
8492 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8493 isn't defined for __longjmp_cancel.
8494 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
8495 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8496 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8498 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
8501 * nptl/pthread_create.c: Include <tls-setup.h>.
8502 (__pthread_create_2_1): Call tls_setup_tcbhead.
8503 * sysdeps/generic/tls-setup.h: New file.
8504 * sysdeps/x86/nptl/tls-setup.h: Likewise.
8505 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
8506 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
8508 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
8510 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
8511 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
8512 (X86_FEATURE_1_SHSTK): Likewise.
8513 (CET_ENABLED): Likewise.
8514 (IBT_ENABLED): Likewise.
8515 (SHSTK_ENABLED): Likewise.
8517 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
8520 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
8521 (LOCALES): Likewise.
8522 * localedata/dsb_DE.UTF-8.in: New file.
8523 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
8525 2018-07-12 Florian Weimer <fweimer@redhat.com>
8527 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
8528 __mprotect, not mprotect.
8530 2018-07-11 Florian Weimer <fweimer@redhat.com>
8532 * io/Makefile (headers): Add bits/statx.h.
8534 2018-07-10 Mike FABIAN <mfabian@redhat.com>
8536 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
8537 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
8539 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
8540 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
8543 2018-07-10 Florian Weimer <fweimer@redhat.com>
8545 * io/Makefile (routines): Add statx.
8546 (tests-internal): Add tst-statx.
8547 * io/Versions (GLIBC_2.28): Export statx.
8548 * io/bits/statx.h: New file.
8549 * io/sys/stat.h [__USE_GNU]: Include it.
8550 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
8551 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
8553 * io/statx.c: New file.
8554 * io/statx_generic.: Likewise.
8555 * io/tst-statx.: Likewise.
8556 * include/bits/statx.h: Likewise.
8557 * sysdeps/unix/sysv/linux/kernel-features.h
8558 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
8559 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8560 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
8561 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
8563 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8564 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
8565 * sysdeps/unix/sysv/linux/statx.c: New file.
8566 * manual/filesys.texi: Note that statx is undocumented.
8567 * sysdeps/**/libc*.abilist: Update.
8569 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8571 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
8572 a kernel issue which lead to test failure in some cases.
8574 2018-07-10 Florian Weimer <fweimer@redhat.com>
8577 * posix/regexec.c (check_node_accept_bytes): When comparing
8578 weights, do not compare an extra byte after the end of the
8581 2018-07-10 Florian Weimer <fweimer@redhat.com>
8583 * libio/readline.c: Fix copyright year.
8584 * libio/tst-readline.c Likewise.
8585 * nss/tst-nss-files-hosts-getent.c: Likewise.
8587 2018-07-06 Florian Weimer <fweimer@redhat.com>
8590 * nss/nss_files/files-XXX.c (internal_getent): Use
8591 __libc_readline_unlocked. Seek back to the start of the line if
8592 parsing failes with ERANGE.
8593 (get_contents_ret, get_contents): Remove.
8594 * nss/tst-nss-files-hosts-getent.c: New file.
8595 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
8596 (tst-nss-files-hosts-getent): Link with -ldl.
8598 2018-07-06 Florian Weimer <fweimer@redhat.com>
8600 * include/stdio.h (__libc_readline_unlocked): Declare.
8601 (__ftello64, __fseeko64): Declare aliases.
8602 * libio/readline.c: New file.
8603 * libio/tst-readline.c: Likewise.
8604 (routines): Add readline.
8605 (tests-internal): Add tst-readlime.
8606 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
8607 __libc_readline_unlocked.
8608 * libio/fseeko.c (__fseeko): Rename from fseeko.
8609 (fseeko): Add alias.
8610 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
8611 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
8612 (fseeko64): Add alias.
8613 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
8614 * libio/ftello64.c (__ftello64): Rename from ftello64.
8615 (ftello64): Add alias.
8617 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8619 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
8622 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8624 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
8625 Use dl_hwcap without masking.
8626 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
8629 2018-07-06 Florian Weimer <fweimer@redhat.com>
8631 * conform/conformtest.pl (checknamespace): Escape literal braces
8632 in regular expressions.
8634 2018-07-06 Amit Pawar <amit.pawar@amd.com>
8636 * sysdeps/x86/cpu-features.c (get_common_indeces):
8637 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
8638 * sysdeps/x86/cpu-features.c (init_cpu_features):
8639 AVX_Fast_Unaligned_Load is disabled for Excavator core.
8641 2018-07-05 Florian Weimer <fweimer@redhat.com>
8643 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
8645 (CFLAGS-elf-init.oS): Likewise.
8647 2018-07-05 Florian Weimer <fweimer@redhat.com>
8648 Carlos O'Donell <carlos@redhat.com>
8650 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
8651 $(no-stack-protector). stack_chk_fail_local.c can be compiled
8652 with stack protector enabled because there is no risk of infinite
8655 2018-07-05 Maciej W. Rozycki <macro@mips.com>
8659 * libc-abis (ABSOLUTE): New ABI.
8660 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
8661 * NEWS: Mention the new ABI.
8663 2018-07-05 Florian Weimer <fweimer@redhat.com>
8666 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
8667 (RENAME_WHITEOUT): Define.
8668 [__USE_GNU] (renameat2): Declare.
8669 * stdio-common/Makefile (routines): Add renameat2.
8670 (tests): Add tst-renameat2.
8671 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
8672 * stdio-common/renameat2.c: New file.
8673 * stdio-common/tst-renameat2.c: Likewise.
8674 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
8675 * manual/filesys.texi (Temporary Files): Note that renameat2 is
8677 * sysdeps/unix/sysv/linux/kernel-features.h
8678 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
8679 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8680 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8681 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8682 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8683 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8684 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
8685 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8686 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
8687 * include/stdio.h (__renameat): Add alias for renameat.
8688 * stdio-common/renameat.c (__renameat): Rename from renameat.
8689 Add hidden definition and alias.
8690 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8691 * sysdeps/mach/hurd/renameat.c: Likewise.
8692 * sysdeps/**/libc*.abilist: Add renameat2.
8694 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8696 * posix/bug-regex33.c: Fix build after regex sync.
8698 2018-07-04 Carlos O'Donell <carlos@redhat.com>
8701 * localedata/tst-langinfo-setlocale.c: New file.
8702 * localedata/tst-langinfo-setlocale-static.c: New file.
8703 * localedata/tst-langinfo-newlocale.c: New file.
8704 * localedata/tst-langinfo-newlocale-static.c: New file.
8705 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
8706 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
8707 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
8708 (tests-static): Remove tst-langinfo-static. Add
8709 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
8710 (tests-special): Remove $(objpfx)tst-langinfo.out,
8711 $(objpfx)tst-langinfo-static.out. Add
8712 $(objpfx)tst-langinfo-setlocale.out,
8713 $(objpfx)tst-langinfo-newlocale.out,
8714 $(objpfx)tst-langinfo-setlocale-static.out,
8715 $(objpfx)tst-langinfo-newlocale-static.out.
8716 ($(objpfx)tst-langinfo.out): Remove.
8717 ($(objpfx)tst-langinfo-static.out): Remove.
8718 ($(objpfx)tst-langinfo-newlocale.out): New target.
8719 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
8720 (test-xfail-tst-langinfo-newlocale-static): Add.
8721 ($(objpfx)tst-langinfo-setlocale.out): New target.
8722 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
8723 * localedata/tst-langinfo.c: Call test_locale.
8724 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
8727 2018-07-04 Florian Weimer <fweimer@redhat.com>
8729 testrun.sh: Implement --tool=strace, --tool=valgrind
8730 * Makefile (testrun-script): Define variable.
8731 (testrun.sh): Use variable.
8732 * manual/install.texi (Tools for Compilation): make 4.0 or later
8734 * configure.ac: Check for make 4.0 or later.
8735 * INSTALL: Regenerate.
8736 * configure: Likewise.
8738 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8744 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
8745 * posix/PCRE.tests: Remove invalid test.
8746 * posix/bug-regex28.c: Fix expected values for used syntax.
8747 * posix/bug-regex37.c: New file.
8748 * posix/bug-regex38.c: Likewise.
8749 * posix/regcomp.c: Sync with gnulib.
8750 * posix/regex.c: Likewise.
8751 * posix/regex.h: Likewise.
8752 * posix/regex_internal.c: Likewise.
8753 * posix/regex_internal.h: Likewise.
8754 * posix/regexec.c: Likewise.
8756 2018-06-26 Mike FABIAN <mfabian@redhat.com>
8759 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
8760 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
8761 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
8762 * localedata/unicode-gen/PropList.txt: likewise.
8763 * localedata/unicode-gen/UnicodeData.txt: likewise.
8764 * localedata/charmaps/UTF-8: Regenerate.
8765 * localedata/locales/i18n_ctype: likewise.
8766 * localedata/locales/tr_TR: likewise.
8767 * localedata/locales/translit_circle: likewise.
8768 * localedata/locales/translit_cjk_compat: likewise.
8769 * localedata/locales/translit_combining: likewise.
8770 * localedata/locales/translit_compat: likewise.
8771 * localedata/locales/translit_font: likewise.
8772 * localedata/locales/translit_fraction: likewise.
8774 2018-07-03 Florian Weimer <fweimer@redhat.com>
8777 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
8778 * stdio-common/tst-printf.sh: Adjust expected output.
8781 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8783 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
8786 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8788 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
8789 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
8790 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
8791 * stdio-common/tst-printfsz-islongdouble.c: New file.
8792 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
8793 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
8794 [subdir == stdio-common] (routines): Add ieee128-printf_size.
8795 [subdir == stdio-common] (tests-internal): Add
8796 test-printf-size-ieee128, and test-printf-size-ibm128.
8797 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
8798 (CFLAGS-test-printf-size-ibm128.c): New variables.
8799 [subdir == stdio-common] (tests-special): Add
8800 $(objpfx)test-printf-size-ieee128.out and
8801 $(objpfx)test-printf-size-ibm128.out.
8802 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
8803 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
8804 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
8805 __printf_sizeieee128.
8806 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
8808 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
8810 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
8813 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
8815 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
8816 (exp2f_inline): Likewise.
8817 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
8818 (__math_uflowf): Likewise.
8819 (__math_may_uflowf): Likewise.
8820 (__math_divzerof): Likewise.
8821 (__math_invalidf): Likewise.
8822 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
8823 (__math_oflowf): Likewise.
8824 (__math_uflowf): Likewise.
8825 (__math_may_uflowf): Likewise.
8826 (__math_divzerof): Likewise.
8827 (__math_invalidf): Likewise.
8829 2018-06-29 DJ Delorie <dj@redhat.com>
8830 Carlos O'Donell <carlos@redhat.com>
8833 * include/libc-symbols.h: Comment the freeres framework.
8834 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
8835 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
8836 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
8837 * dlfcn/dlerror.c: Include libc-symbols.h
8838 (__dlerror_main_freeres): New function.
8839 * dlfcn/dlfreeres.c: New file.
8840 * dlfcn/sdlfreeres.c: New file.
8841 * include/dlfcn.h: Declare __dlerror_main_freeres.
8842 * malloc/set-freeres.c: Declare __libdl_freeres, and
8843 __libpthread_freeres.
8844 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
8845 the releavant libraries are loaded.
8846 * malloc/thread-freeres.c: Add comments.
8847 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
8848 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
8849 * nptl/allocatestack.c (__nptl_free_stacks): New function.
8850 (__free_stacks): Rename to...
8851 (free_stacks): ...this. Mark static.
8852 (queue_stack): Call free_stacks.
8853 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
8854 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
8855 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
8856 ptr_freeres element from struct.
8857 (pthread_functions): Remove .ptr_freeres from struct initializer.
8858 [SHARED] (nptl_freeres): Remove.
8859 * nptl/nptlfreeres.c: New file.
8861 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
8862 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
8864 (__free_stacks): Rename to...
8865 (__nptl_stacks_freeres): ...this.
8866 (__shm_directory_freeres): Declare.
8867 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
8868 (__nptl_unwind_freeres): ...this.
8869 * resolv/res-close.c: Add comment.
8870 * resolv/resolv_conf.c: Include libc-symbols.h.
8871 * string/strerror_l.c: Include libc-symbols.h.
8872 * sunrpc/rpc_thread.c: Include libc-symbols.h.
8873 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
8874 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
8875 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
8877 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8879 * stdlib/tst-strfmon_l.c: Add tests for long double.
8881 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
8884 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
8885 * localedata/locales/dsb_DE: New file.
8887 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
8890 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
8892 (alt_mon): New entry, import from CLDR (nominative case).
8894 2018-06-29 Sylvain Lesage <severo@rednegra.net>
8897 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
8899 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
8901 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
8902 Use vector registers.
8904 * sysdeps/aarch64/multiarch/memmove_falkor.S
8905 (__memcpy_falkor): Use vector registers.
8907 2018-06-29 Martin Sebor <msebor@redhat.com>
8909 * manual/stdio.texi (Customizing Printf): Mention interaction
8912 2018-06-29 Maciej W. Rozycki <macro@mips.com>
8915 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
8916 `st_value' is 0 if `st_shndx' is SHN_ABS.
8917 * elf/tst-absolute-zero.c: New file.
8918 * elf/tst-absolute-zero-lib.c: New file.
8919 * elf/tst-absolute-zero-lib.lds: New file.
8920 * elf/Makefile (tests): Add `tst-absolute-zero'.
8921 (modules-names): Add `tst-absolute-zero-lib'.
8922 (LDLIBS-tst-absolute-zero-lib.so): New variable.
8923 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
8924 ($(objpfx)tst-absolute-zero: New dependency.
8926 2018-06-29 Zack Weinberg <zackw@panix.com>
8928 * configure.ac: New command-line option --disable-crypt.
8929 Force --disable-nss-crypt when --disable-crypt is given, with a
8930 warning if it was explicitly enabled.
8931 * configure: Regenerate.
8932 * config.make.in: New boolean substitution variable $(build-crypt).
8933 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
8934 when $(build-crypt).
8935 * manual/install.texi: Document --disable-crypt.
8936 * INSTALL: Regenerate.
8938 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
8940 * conform/Makefile: Only include libcrypt.a in
8941 linknamespace-libs-xsi and linknamespace-libs-XPG4
8942 when $(build-crypt).
8943 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
8944 USE_CRYPT to 1 when $(build-crypt).
8945 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
8946 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
8947 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
8949 2018-06-29 Zack Weinberg <zackw@panix.com>
8951 * crypt/crypt.h, posix/unistd.h: Update comments and
8952 prototypes for crypt and crypt_r.
8954 * manual/crypt.texi (Cryptographic Functions): New initial
8956 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
8957 (Unpredictable Bytes): Improve initial exposition. Clarify error
8958 behavior of getentropy and getrandom.
8959 * manual/examples/genpass.c: Generate a salt using getentropy
8960 instead of the current time. Use hash $5$ (SHA-2-256).
8961 * manual/examples/testpass.c: Demonstrate validation against
8962 hashes generated with three different one-way functions.
8964 * manual/intro.texi: crypt.texi does not need an overview
8967 * manual/nss.texi, manual/memory.texi, manual/socket.texi
8968 * manual/terminal.texi: Consistently refer to "passphrases"
8969 * instead of "passwords", and to the "user database" instead
8970 * of the "password database".
8971 * manual/users.texi: Similarly. Add notes about how actual
8972 passphrase hashes are now stored in the shadow database.
8973 Remove 20-year-old junk todo note.
8975 2018-06-29 Zack Weinberg <zackw@panix.com>
8977 * manual/crypt.texi: Use a normal top-level @node declaration.
8978 Move most of the introductory text to the 'crypt' section.
8979 Move the example programs below the @deftypefun for 'crypt_r'.
8980 Move the 'getpass' section...
8981 * manual/terminal.texi: ...here.
8983 2018-06-29 Zack Weinberg <zackw@panix.com>
8984 Florian Weimer <fweimer@redhat.com>
8986 * posix/unistd.h: Do not declare encrypt.
8987 (_XOPEN_CRYPT): Remove macro definition.
8988 (crypt): Declare only for _USE_MISC.
8989 * stdlib/stdlib.h: Do not declare setkey.
8990 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
8991 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
8993 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
8994 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
8995 into compat symbols. Don't define initial_perm if it's not
8997 * crypt/cert.c: Link explicitly with the expected versions for
8998 setkey and encrypt. If they are not available at all, mark
8999 the test as unsupported.
9001 * sunrpc/des_crypt.c: Unconditionally block linkage with
9002 cbc_crypt and ecb_crypt for new binaries.
9003 * sunrpc/des_soft.c: Unconditionally block linkage with
9004 des_setparity for new binaries.
9006 * manual/crypt.texi: Remove the entire "DES Encryption"
9007 section. Also remove the paragraph talking about FIPS 140-2
9008 from the introduction.
9009 * manual/string.texi (strfry, memfrob): Revise. Recommend use
9010 of libgcrypt for "real" encryption, not DES.
9011 * manual/conf.texi (Constants for Sysconf): Mention that
9012 _XOPEN_CRYPT is no longer impelemented.
9014 * conform/data/unistd.h-data: Remove crypt function declaration.
9016 2018-06-29 Florian Weimer <fweimer@redhat.com>
9019 * malloc/hooks.c: Update comments on restoring of dumped heaps.
9020 (disallow_malloc_check): Remove variable.
9021 (__malloc_check_init): Adjust.
9022 (malloc_set_state): Update comment.
9023 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
9026 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9029 * localedata/locales/ast_ES (mon): Rename to...
9031 (mon): Import from CLDR (genitive case).
9033 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
9034 Jakub Sitnicki <jkbs@redhat.com>
9037 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
9040 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
9042 * manual/llio.texi: Remove spurious space.
9044 2018-06-28 Florian Weimer <fweimer@redhat.com>
9047 * time/bits/types/struct_timespec.h: Change header inclusion guard to
9050 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9052 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
9053 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
9054 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
9055 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
9056 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
9057 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
9058 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
9060 2018-06-27 Maciej W. Rozycki <macro@mips.com>
9063 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
9064 Copy and null-terminate entries that are not terminated, in
9065 addition to empty ones.
9067 2018-06-27 Florian Weimer <fweimer@redhat.com>
9070 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
9071 (extend_alloca_account): Remove.
9072 * manual/stdio.texi (Variable Arguments Output): Update comment.
9074 2018-06-27 Joseph Myers <joseph@codesourcery.com>
9076 * nptl/sockperf.c: Remove file.
9078 2018-06-27 Florian Weimer <fweimer@redhat.com>
9081 * elf/dl-deps.c (_dl_map_object_deps): Use struct
9082 scratch_buffer instead of extend_alloca.
9084 2018-06-27 Florian Weimer <fweimer@redhat.com>
9087 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
9088 scratch_buffer instead of extend_alloca. Update comments.
9090 2018-06-27 Florian Weimer <fweimer@redhat.com>
9093 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
9094 instead of extend_alloca.
9096 2018-06-26 Joseph Myers <joseph@codesourcery.com>
9099 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
9100 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
9102 * scripts/test-installation.pl: Put temporary files in build
9103 directory, not /tmp.
9104 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
9105 (CFLAGS-bug4.c): Likewise.
9106 (CFLAGS-bug5.c): Likewise.
9107 (CFLAGS-test-fseek.c): Likewise.
9108 (CFLAGS-test-popen.c): Likewise.
9109 (CFLAGS-test_rdwr.c): Likewise.
9110 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
9112 * stdio-common/bug4.c (main): Likewise.
9113 * stdio-common/bug5.c (main): Likewise.
9114 * stdio-common/test-fseek.c (TESTFILE): Likewise.
9115 * stdio-common/test-popen.c (do_test): Likewise.
9116 * stdio-common/test_rdwr.c (main): Likewise.
9118 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
9120 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
9121 (sem_open): Set sem.newsem.pad to zero for valgrind.
9123 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9126 * NEWS: Mention fcntl64 addition.
9127 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
9128 * login/utmp_file.c: Likewise.
9129 * sysdeps/posix/fdopendir.c: Likewise.
9130 * sysdeps/posix/opendir.c: Likewise.
9131 * sysdeps/unix/pt-fcntl.c: Likewise.
9132 * include/fcntl.h (__libc_fcntl64, __fcntl64,
9133 __fcntl64_nocancel_adjusted): New prototype.
9134 (__fcntl_nocancel_adjusted): Remove prototype.
9135 * io/Makefile (routines): Add fcntl64.
9136 (CFLAGS-fcntl64.c): New rule.
9137 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
9138 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
9139 * io/fcntl.h (fcntl64): Add prototype and redirect if
9140 __USE_FILE_OFFSET64 is defined.
9141 * io/fcntl64.c: New file.
9142 * manual/llio.text: Add a note for which commands fcntl acts a
9144 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
9145 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
9146 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
9148 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
9149 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
9151 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
9152 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
9153 to __fcntl64_nocancel.
9154 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
9155 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
9156 to __fcntl64_nocancel.
9157 * sysdeps/generic/not-cancel.h: Likewise.
9158 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
9159 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
9160 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9161 (fcntl64): New symbol.
9162 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9163 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9164 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9167 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9168 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9169 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9170 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9171 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9172 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
9174 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9175 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
9176 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9177 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9178 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9179 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9180 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9181 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9182 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9187 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9188 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9189 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9191 2018-06-26 Florian Weimer <fweimer@redhat.com>
9193 Run thread shutdown functions in an explicit order.
9194 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
9196 (__libc_thread_freeres): Call thread shutdown functions
9198 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
9199 * include/string.h (__strerror_thread_freeres): Declare.
9200 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
9201 arena_thread_freeres. No longer static. Remove thread shutdown
9203 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
9205 * resolv/res-close.c (__res_thread_freeres): Renamed from
9206 res_thread_freeres. No longer static. Remove thread shutdown
9208 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
9209 * resolv/resolv_conf.c (freeres): Remove incorrect section
9210 attribute and use libc_freeres_fn.
9211 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
9212 strerror_thread_freeres. No longer static. Remove thread
9213 shutdown hook registration.
9214 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
9215 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
9216 shutdown hook registration.
9217 * Makerules (shlib.lds): Do not provide section boundary symbols
9218 for __libc_thread_subfreeres.
9219 * manual/memory.texi (Basic Allocation): Update comment.
9221 2018-06-26 Florian Weimer <fweimer@redhat.com>
9223 Remove always-defined _RPC_THREAD_SAFE_ macro.
9224 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
9225 Do not define _RPC_THREAD_SAFE_.
9226 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
9228 * sunrpc/clnt_perr.c: Likewise.
9229 * sunrpc/clnt_raw.c: Likewise.
9230 * sunrpc/clnt_simp.c: Likewise.
9231 * sunrpc/key_call.c: Likewise.
9232 * sunrpc/rpc_common.c: Likewise.
9233 * sunrpc/rpc_main.c: Likewise.
9234 * sunrpc/rpc_thread.c: Likewise.
9235 * sunrpc/svc.c: Likewise.
9236 * sunrpc/svc_raw.c: Likewise.
9237 * sunrpc/svc_simple.c: Likewise.
9238 * sumrpc/svcauth_des.c: Likewise.
9240 2018-06-26 Florian Weimer <fweimer@redhat.com>
9242 * libio/Makefile (tests-internal): Add tst-vtables,
9243 tst-vtables-interposed.
9244 * libio/tst-vtables.c: New file.
9245 * libio/tst-vtables-common.c: Likewise.
9246 * libio/tst-vtables-interposed.c: Likewise.
9248 2018-06-26 Florian Weimer <fweimer@redhat.com>
9250 * support/support_test_main.c (support_test_main): Only call
9251 setvbuf if not disables.
9252 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
9253 * support/test-driver.h (struct test_config): Add no_setvbuf member.
9255 2018-06-26 Florian Weimer <fweimer@redhat.com>
9258 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
9260 2018-06-25 Florian Weimer <fweimer@redhat.com>
9263 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9264 Use struct scratch_buffer instead of extend_alloca.
9266 2018-06-25 Florian Weimer <fweimer@redhat.com>
9269 * nss/getent.c (initgroups_keys): Use dynarray instead of
9272 2018-06-25 Florian Weimer <fweimer@redhat.com>
9275 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
9276 Use struct scratch_buffer instead of extend_alloca.
9278 2018-06-25 Florian Weimer <fweimer@redhat.com>
9281 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
9282 back to malloc directly, without stack allocations.
9284 2018-06-25 Florian Weimer <fweimer@redhat.com>
9287 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
9290 2018-06-25 Florian Weimer <fweimer@redhat.com>
9293 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
9295 * nscd/hstcache.c (addhstbyX): Likewise.
9296 * nscd/pwdcache.c (addpwbyX): Likewise.
9297 * nscd/servicescache.c (addservbyX): Likewise.
9299 2018-06-25 Florian Weimer <fweimer@redhat.com>
9302 * nscd/connections.c (read_cmdline): New function.
9303 (restart): Use it. Update comment.
9305 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9308 * localedata/locales/csb_PL (mon): Rename to...
9310 (abmon): Rename to...
9312 (mon): Add with proper genitive forms, copy from Wikipedia.
9315 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9318 * localedata/locales/csb_PL (mon): Fix typos:
9319 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
9320 (yesstr): Add, value is "jo".
9321 (nostr): Add, value is "nié".
9323 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9325 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
9326 all log1p and significand functions on m680x0.
9327 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
9328 of s_significand.c..
9329 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
9330 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
9331 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
9332 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
9333 s_log1p.c and include it..
9335 2018-06-21 Vincent Chen <vincentc@andestech.com>
9337 * elf/elf.h (R_NDS32_NONE): New define.
9338 (R_NDS32_32_RELA): Likewise.
9339 (R_NDS32_COPY): Likewise.
9340 (R_NDS32_GLOB_DAT): Likewise.
9341 (R_NDS32_JUMP_SLOT): Likewise.
9342 (R_NDS32_RELATIVE): Likewise.
9343 (R_NDS32_TLS_TPOFF): Likewise.
9344 (R_NDS32_TLS_DESC): Likewise.
9346 2018-06-21 Mark Wielaard <mark@klomp.org>
9348 * elf/elf.h (R_BPF_MAP_FD): Removed.
9349 (R_BPF_64_64, R_BPF_64_32): New.
9351 2018-06-21 Florian Weimer <fweimer@redhat.com>
9354 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
9355 Renamed from libc_feholdsetround_ctx.
9356 (default_libc_feresetround_ctx): Renamed from
9357 libc_feresetround_ctx.
9358 (default_libc_feholdsetround_noex_ctx): Renamed from
9359 libc_feholdsetround_noex_ctx.
9360 (default_libc_feresetround_noex_ctx): Renamed from
9361 libc_feresetround_noex_ctx.
9362 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
9363 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
9364 forwardning to the old implementations under the new names.
9365 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
9366 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
9367 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
9368 (libc_feresetround_ctx): Forward to default implements for i386
9369 and MATH_SET_BOTH_ROUNDING_MODES.
9370 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
9371 Add -DMATH_SET_BOTH_ROUNDING_MODES.
9373 2018-06-20 Joseph Myers <joseph@codesourcery.com>
9375 * string/tst-cmp.c: Include <libc-diag.h>.
9376 (strncmp_max): Disable -Wstringop-overflow= around call to
9378 (strncasecmp_max): Disable -Wstringop-overflow= around call to
9381 * string/bug-strpbrk1.c: Include <libc-diag.h>.
9382 (main): Disable -Wunused-value around call to strpbrk.
9383 * string/bug-strspn1.c: Include <libc-diag.h>.
9384 (main): Disable -Wunused-value around call to strspn.
9386 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9387 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9389 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
9390 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
9392 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9394 * math/Makefile (libm-calls): Move s_significandF to...
9395 (gen-libm-calls): ... here.
9396 * math/s_significand_template.c: New file.
9397 * math/s_significand.c: Removed.
9398 * math/s_significandf.c: Removed.
9399 * math/s_significandl.c: Removed.
9400 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
9401 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
9403 * math/e_exp2_template.c (declare_mgen_finite_alias,
9404 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
9405 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
9406 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
9408 2018-06-20 Florian Weimer <fweimer@redhat.com>
9410 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
9412 2018-06-19 Joseph Myers <joseph@codesourcery.com>
9415 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
9416 floating-point number to strtod functions rather than possibly
9417 negating result of those functions.
9418 * stdio-common/tst-scanf-round.c: New file.
9419 * stdio-common/Makefile (tests): Add tst-scanf-round.
9420 ($(objpfx)tst-scanf-round): Depend on $(libm).
9422 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
9424 * sysdeps/mach/hurd/localplt.data: Move to...
9425 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
9426 R_386_GLOB_DAT like on Linux i386.
9428 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9430 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
9431 (SHM_STAT_ANY): New macro.
9432 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
9433 (SHM_STAT_ANY): Likewise.
9434 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
9435 (SHM_STAT_ANY): Likewise.
9436 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
9437 (SHM_STAT_ANY): Likewise.
9438 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
9439 (SHM_STAT_ANY): Likewise.
9440 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
9441 (SHM_STAT_ANY): Likewise.
9442 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
9443 (SHM_STAT_ANY): Likewise.
9444 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
9445 (SHM_STAT_ANY): Likewise.
9446 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
9447 (SHM_STAT_ANY): Likewise.
9448 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
9449 (SHM_STAT_ANY): Likewise.
9450 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
9451 (SHM_STAT_ANY): Likewise.
9452 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
9453 (SHM_STAT_ANY): Likewise.
9455 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
9456 (SEM_STAT_ANY): New macro.
9457 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
9458 (SEM_STAT_ANY): Likewise.
9459 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
9460 (SEM_STAT_ANY): Likewise.
9461 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
9462 (SEM_STAT_ANY): Likewise.
9463 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
9464 (SEM_STAT_ANY): Likewise.
9465 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
9466 (SEM_STAT_ANY): Likewise.
9467 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
9468 (SEM_STAT_ANY): Likewise.
9469 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
9470 (SEM_STAT_ANY): Likewise.
9471 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
9472 (SEM_STAT_ANY): Likewise.
9473 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
9474 (SEM_STAT_ANY): Likewise.
9476 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
9477 (MSG_STAT_ANY): New macro.
9478 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
9479 (MSG_STAT_ANY): Likewise.
9480 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
9481 (MSG_STAT_ANY): Likewise.
9482 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
9483 (MSG_STAT_ANY): Likewise.
9484 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
9485 (MSG_STAT_ANY): Likewise.
9486 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
9487 (MSG_STAT_ANY): Likewise.
9488 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
9489 (MSG_STAT_ANY): Likewise.
9490 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
9491 (MSG_STAT_ANY): Likewise.
9492 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
9493 (MSG_STAT_ANY): Likewise.
9494 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
9495 (MSG_STAT_ANY): Likewise.
9497 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9498 (MAP_TYPE): Change value to 0x2b.
9500 2018-06-18 Florian Weimer <fweimer@redhat.com>
9503 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
9504 socket with SOCK_CLOEXEC.
9506 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9509 * sysdeps/powerpc/powerpc64/le/Makefile
9510 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
9511 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
9512 (gnulib-tests): Also add $(f128-loader-link) for
9513 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
9515 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
9517 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
9518 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
9520 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
9521 (sendfile64): New strong alias.
9522 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
9523 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
9524 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
9525 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
9527 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
9528 ___pthread_get_cleanup_stack.
9529 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
9530 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
9531 * mach/shortcut.awk: Make syscall stubs include
9532 <mach-shortcuts-hidden.h> and add hidden definition.
9533 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
9534 (__mach_msg): Add hidden prototype.
9535 * mach/msg.c: Include <mach.h>.
9536 (__mach_msg): Add hidden definition.
9537 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
9538 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
9539 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
9540 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
9541 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
9542 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
9543 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
9544 prototype and definition.
9545 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
9546 hidden target for _hurd_self_sigstate.
9548 2018-06-15 Joseph Myers <joseph@codesourcery.com>
9551 * stdlib/tst-strtod-nan-sign-main.c: New file.
9552 * stdlib/tst-strtod-nan-sign.c: Likewise.
9553 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
9554 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
9555 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
9556 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
9557 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
9559 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
9562 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
9565 2018-06-14 Florian Weimer <fweimer@redhat.com>
9568 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
9569 that the result stays within the ISO-8859-1 range.
9570 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
9571 characters are defined in IBM273.
9573 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
9575 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
9576 __mach_task_self): Remove attribute_hidden.
9578 2018-06-14 Joseph Myers <joseph@codesourcery.com>
9580 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
9581 ignore -Wrestrict for one test.
9583 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
9584 Szabolcs Nagy <szabolcs.nagy@arm.com>
9586 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
9588 2018-06-14 Florian Weimer <fweimer@redhat.com>
9590 * scripts/update-abilist.sh: Accept empty list of files to patch.
9592 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
9594 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
9595 test-xfail-check-abi-libmachuser): Add.
9596 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
9597 __libc_read and __libc_write to __read and __write.
9598 * sysdeps/hurd/include/hurd/port.h: New file.
9599 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
9600 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
9601 __thread_switch, __evc_wait): Move declarations to...
9602 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
9604 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
9605 use PLT to call _hurd_self_sigstate.
9607 2018-06-13 Joseph Myers <joseph@codesourcery.com>
9610 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
9611 MAX_EXP as overflowing.
9612 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
9614 (round_str): Output also whether result overflows in each rounding
9616 * stdlib/tst-strtod-round-data: Add more tests.
9617 * stdlib/tst-strtod-round-data.h: Regenerated.
9618 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
9619 (TEST): Handle extra arguments for overflow flags.
9620 (struct test_overflow): New type.
9621 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
9622 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
9623 (test_in_one_mode): Take argument with overflow information.
9624 (do_test): Update calls to test_in_one_mode.
9626 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9628 * elf/dl-load (_dl_dst_substitute): Correct comment.
9629 (_dl_dst_count): Likewise.
9631 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
9632 lll_futex_timed_wait.
9634 2018-06-12 Joseph Myers <joseph@codesourcery.com>
9637 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
9639 * math/test-nan-const.c: New file.
9640 * math/Makefile (tests): Add test-nan-const.
9641 (CFLAGS-test-nan-const.c): New variable.
9643 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9645 * benchtests/scripts/compare_strings.py (process_results): Add
9646 funcs argument. Compare only functions which are selected.
9647 (main): Check if base function is among selected functions.
9648 Pass selected functions to process_results.
9649 (__main__): Add -f/--functions argument.
9651 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
9652 Hongbo Zhang <hongbo.zhang@linaro.org>
9654 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
9655 __memcpy_falkor for phecda core.
9656 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
9657 __memmove_falkor for phecda core.
9658 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
9659 __memset_falkor for phecda core.
9660 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
9662 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
9663 macro to identify phecda core.
9665 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9666 Andreas Schwab <schwab@suse.de>
9667 Dmitry V. Levin <ldv@altlinux.org>
9668 Florian Weimer <fweimer@redhat.com>
9675 * elf/dl-dst.h: Remove DL_DST_COUNT.
9676 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
9677 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
9678 (is_dst): Comment. Support ELF gABI.
9679 (_dl_dst_count): Comment. Simplify and count DSTs.
9680 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
9681 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
9684 2018-06-12 Zack Weinberg <zackw@panix.com>
9686 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
9687 * sysdeps/unix/sysv/linux/dl-sysdep.c
9688 Include not-cancel.h. Use __close_nocancel instead of __close,
9689 __open64_nocancel instead of __open, __read_nocancel instead of
9690 __libc_read, and __write_nocancel instead of __libc_write.
9692 * csu/check_fds.c (check_one_fd)
9693 * sysdeps/posix/fdopendir.c (__fdopendir)
9694 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
9695 instead of __fcntl and/or __libc_fcntl.
9697 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
9698 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
9699 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
9700 Use __open64_nocancel instead of __open_nocancel.
9702 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
9703 hidden_proto declarations to the end and issue them if either
9704 IS_IN(libc) or IS_IN(rtld).
9705 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
9706 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
9707 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
9708 read_nocancel, waitpid_nocancel, write_nocancel.
9710 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
9711 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
9712 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
9714 * nptl/pt-fcntl.c: New file.
9715 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
9716 (libpthread-routines): Add pt-fcntl.
9717 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
9718 (__libc_fcntl): Remove attribute_hidden.
9719 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
9720 __fcntl_nocancel_adjusted, not fcntl_common.
9721 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
9722 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
9723 to fcntl_nocancel.c.
9724 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
9725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
9726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9727 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
9729 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
9730 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
9731 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
9732 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
9733 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
9734 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
9735 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
9736 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
9737 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
9738 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
9739 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
9740 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
9741 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
9742 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
9743 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
9744 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
9745 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
9746 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
9747 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
9748 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
9750 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
9751 libpthread-routines.
9752 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
9755 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
9756 __libc_read, and __write instead of __libc_write. Define
9757 __open64 in addition to __open.
9759 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9763 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
9764 to _private_tm[3] and add __glibc_reserved2.
9765 Add _Static_assert of offset of __private_ss == 0x30.
9766 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
9767 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
9769 2018-06-12 Florian Weimer <fweimer@redhat.com>
9771 x86: Make strncmp usable from rtld.
9772 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
9773 __strncmp_ia32 if in libc (and not in rtld).
9774 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
9775 strncmp if not in libc (and not to __strncmp_sse2).
9777 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
9780 * localedata/locales/gd_GB (mon): Rename to...
9782 (mon): Import from CLDR (genitive case).
9783 * localedata/locales/hsb_DE (mon): Rename to...
9785 (mon): Import from CLDR (genitive case).
9786 * localedata/locales/wa_BE (mon): Rename to...
9788 (mon): Add, fill with the proper genitive forms, but CLDR data
9789 is incomplete; completed according to the comments in this file.
9790 (d_t_fmt): Do not use "di" before the month name, no longer needed.
9792 * localedata/locales/wa_BE (country_name): Reword
9793 "Beljike" -> "Beldjike".
9795 2018-06-11 Joseph Myers <joseph@codesourcery.com>
9798 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
9799 cases of non-finite arguments.
9800 * math/libm-test-fma.inc (fma_test_data): Add more tests.
9802 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
9805 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
9807 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9810 * include/unistd.h (__execvpex): New prototype.
9811 * posix/Makefile (tests): Add tst-spawn4.
9812 (tests-internal): Add tst-spawn4-compat.
9813 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
9814 * posix/tst-spawn4-compat.c: New file.
9815 * posix/tst-spawn4.c: Likewise.
9816 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
9817 binaries as shell scripts.
9818 * sysdeps/posix/spawni.c (__spawni): Likewise.
9820 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
9823 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
9824 ($(all-built-dso:=.dynsym): New target.
9825 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
9826 ($(objpfx)check-initfini.out): New target.
9827 (generated): Add check-initfini.out.
9828 * scripts/check-initfini.awk: New file.
9829 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
9831 * sysdeps/alpha/crti.S (_init): Mark as hidden.
9833 * sysdeps/arm/crti.S (_init): Mark as hidden.
9835 * sysdeps/hppa/crti.S (_init): Mark as hidden.
9837 * sysdeps/i386/crti.S (_init): Mark as hidden.
9839 * sysdeps/ia64/crti.S (_init): Mark as hidden.
9841 * sysdeps/m68k/crti.S (_init): Mark as hidden.
9843 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
9845 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
9847 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
9849 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
9851 * sysdeps/nios2/crti.S (_init): Mark as hidden.
9853 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
9855 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
9857 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
9859 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
9861 * sysdeps/sh/crti.S (_init): Mark as hidden.
9863 * sysdeps/sparc/crti.S (_init): Mark as hidden.
9865 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
9868 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9870 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
9871 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
9872 and TF redirection to KFtype and KF only when the default
9873 long double type is not the IEEE 128-bit floating point type.
9875 2018-06-05 Joseph Myers <joseph@codesourcery.com>
9877 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
9879 (HWCAP_USCAT): Likewise.
9880 (HWCAP_ILRCPC): Likewise.
9881 (HWCAP_FLAGM): Likewise.
9882 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
9884 (_dl_aarch64_cap_flags): Add new flag names.
9886 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
9887 (MAP_FIXED_NOREPLACE): New macro.
9888 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
9889 (MAP_FIXED_NOREPLACE): Likewise.
9890 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
9891 (MAP_FIXED_NOREPLACE): Likewise.
9892 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9893 (MAP_FIXED_NOREPLACE): Likewise.
9894 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
9895 (MAP_FIXED_NOREPLACE): Likewise.
9896 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
9897 (MAP_FIXED_NOREPLACE): Likewise.
9898 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
9899 (MAP_FIXED_NOREPLACE): Likewise.
9900 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
9901 (MAP_FIXED_NOREPLACE): Likewise.
9902 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
9903 (MAP_FIXED_NOREPLACE): Likewise.
9904 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
9905 (MAP_FIXED_NOREPLACE): Likewise.
9906 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
9907 (MAP_FIXED_NOREPLACE): Likewise.
9908 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
9909 (MAP_FIXED_NOREPLACE): Likewise.
9910 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
9911 (MAP_FIXED_NOREPLACE): Likewise.
9912 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
9913 (MAP_FIXED_NOREPLACE): Likewise.
9914 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
9915 (MAP_FIXED_NOREPLACE): Likewise.
9917 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9920 2018-06-04 Joseph Myers <joseph@codesourcery.com>
9922 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9925 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9927 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
9929 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
9931 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9933 * benchtests/scripts/compare_string.py: (process_results) Catch
9934 exception in non-existent base_func and catch exception in
9935 non-existent attribute.
9936 (parse_file) Catch exception if input file does not exist.
9938 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9940 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
9941 options to avoid diff calculation and omit header, respectively.
9942 (main): process --no-diff and --no-header
9944 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9945 H.J. Lu <hongjiu.lu@intel.com>
9947 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9948 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
9950 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9951 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
9952 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
9954 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
9955 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
9956 AVX unaligned load is fast and vzeroupper is preferred.
9957 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
9958 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
9959 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
9960 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
9961 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
9962 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
9963 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
9964 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
9965 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
9966 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
9969 2018-06-01 Florian Weimer <fweimer@redhat.com>
9971 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
9972 configuring with --disable-multi-arch, building with
9973 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
9976 2018-06-01 Florian Weimer <fweimer@redhat.com>
9978 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
9979 results from building with “-march=x86-64 -mtune=generic
9980 -mfpmath=sse” and running on a Haswell-era CPU.
9982 2018-06-01 Joseph Myers <joseph@codesourcery.com>
9985 * soft-fp/sqrttf2.c: Remove file.
9986 * soft-fp/sqrtdf2.c: Move to ....
9987 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
9989 (__sqrtdf2): Make conditional on
9990 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
9992 * soft-fp/sqrtsf2.c: Move to ....
9993 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
9995 (__sqrtsf2): Make conditional on
9996 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
9998 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
9999 (gcc-double-routines): Remove sqrtdf2.
10000 (gcc-quad-routines): Remove sqrttf2.
10001 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10002 Do not filter out sqrtsf2 and sqrtdf2.
10003 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10004 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
10006 2018-06-01 Florian Weimer <fweimer@redhat.com>
10008 * sysdeps/generic/libcidn.abilist: Remove file.
10010 2018-06-01 Florian Weimer <fweimer@redhat.com>
10013 * libio/strfile.h (struct _IO_str_fields): Rename members to
10014 discourage their use and add comment.
10015 (_IO_STR_DYNAMIC): Remove unused macro.
10016 * libio/strops.c (_IO_str_init_static_internal): Do not use
10017 callback pointers. Call malloc and free.
10018 (_IO_str_overflow): Do not use callback pointers. Call malloc
10020 (enlarge_userbuf): Likewise.
10021 (_IO_str_finish): Call free.
10022 * libio/wstrops.c (_IO_wstr_init_static): Initialize
10023 _allocate_buffer_unused.
10024 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
10026 (enlarge_userbuf): Likewise.
10027 (_IO_wstr_finish): Call free.
10028 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
10029 _allocate_buffer_unused, _free_buffer_unused.
10030 * libio/memstream.c (__open_memstream): Likewise.
10031 * libio/vasprintf.c (_IO_vasprintf): Likewise.
10032 * libio/wmemstream.c (open_wmemstream): Likewise.
10034 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10036 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
10039 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10041 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
10042 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
10043 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
10045 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
10047 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
10049 2018-05-29 Florian Weimer <fweimer@redhat.com>
10051 * support/Makefile (libsupport-routines): Add
10052 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
10053 xpthread_barrierattr_setpshared.
10054 * support/xpthread_barrierattr_destroy.c: New file.
10055 * support/xpthread_barrierattr_init.c: Likewise.
10056 * support/xpthread_barrierattr_setpshared.c: Likewise.
10058 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
10061 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
10062 _r_debug and update DT_DEBUG for debugger.
10064 2018-05-29 Florian Weimer <fweimer@redhat.com>
10066 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
10067 (tst-strtod5i.out): Likewise.
10069 2018-05-25 Joseph Myers <joseph@codesourcery.com>
10071 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
10072 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
10073 (sparc64-quad-routines): New variable. Moved from ....
10074 [$(subdir) = soft-fp] (sysdep_routines): Add
10075 $(sparc64-quad-routines). Moved from ....
10076 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
10077 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
10078 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
10080 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
10081 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
10082 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
10083 * sysdeps/sparc/sparc64/qp_add.c: ... here.
10084 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
10085 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
10086 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
10087 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
10088 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
10089 * sysdeps/sparc/sparc64/qp_div.c: ... here.
10090 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
10091 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
10092 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
10093 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
10094 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
10095 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
10096 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
10097 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
10098 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
10099 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
10100 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
10101 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
10102 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
10103 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
10104 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
10105 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
10106 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
10107 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
10108 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
10109 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
10110 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
10111 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
10112 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
10113 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
10114 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
10115 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
10116 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
10117 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
10118 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
10119 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
10120 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
10121 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
10122 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
10123 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
10124 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
10125 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
10126 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
10127 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
10128 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
10129 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
10130 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
10131 * sysdeps/sparc/sparc64/qp_util.c: ... here.
10132 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
10133 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
10134 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
10135 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
10136 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
10137 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
10139 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
10140 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
10141 (sparc32-quad-routines): New variable. Moved from ....
10142 [$(subdir) = soft-fp] (sysdep_routines): Add
10143 $(sparc32-quad-routines). Moved from ....
10144 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
10145 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
10147 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
10148 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
10149 * sysdeps/sparc/sparc32/q_add.c: ... here.
10150 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
10151 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
10152 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
10153 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
10154 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
10155 * sysdeps/sparc/sparc32/q_div.c: ... here.
10156 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
10157 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
10158 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
10159 * sysdeps/sparc/sparc32/q_feq.c: ... here.
10160 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
10161 * sysdeps/sparc/sparc32/q_fge.c: ... here.
10162 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
10163 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
10164 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
10165 * sysdeps/sparc/sparc32/q_fle.c: ... here.
10166 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
10167 * sysdeps/sparc/sparc32/q_flt.c: ... here.
10168 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
10169 * sysdeps/sparc/sparc32/q_fne.c: ... here.
10170 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
10171 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
10172 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
10173 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
10174 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
10175 * sysdeps/sparc/sparc32/q_mul.c: ... here.
10176 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
10177 * sysdeps/sparc/sparc32/q_neg.c: ... here.
10178 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
10179 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
10180 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
10181 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
10182 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
10183 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
10184 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
10185 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
10186 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
10187 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
10188 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
10189 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
10190 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
10191 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
10192 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
10193 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
10194 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
10195 * sysdeps/sparc/sparc32/q_sub.c: ... here.
10196 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
10197 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
10198 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
10199 * sysdeps/sparc/sparc32/q_util.c: ... here.
10200 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
10201 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
10202 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
10203 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
10205 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10206 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10208 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
10209 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
10210 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
10211 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
10213 2018-05-24 Joseph Myers <joseph@codesourcery.com>
10215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
10217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10219 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
10220 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
10222 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10225 * math/math.h [C++] (iseqsig): Fix parameter type for the long
10228 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10230 * sysdeps/sh/Implies: Remove sh/soft-fp.
10231 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
10232 * sysdeps/sh/sfp-machine.h: ... here.
10234 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10236 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10237 (__mempcpy_erms): Skip zero length.
10238 (__memmove_erms): Likewise.
10239 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10240 (__memset_erms): Likewise.
10242 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10244 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
10245 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10246 Add functions moved from ....
10247 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
10248 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
10249 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
10251 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
10252 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
10253 * sysdeps/alpha/e_sqrtl.c: ... here.
10254 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
10255 * sysdeps/alpha/local-soft-fp.h: ... here.
10256 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
10257 * sysdeps/alpha/ots_add.c: ... here.
10258 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
10259 * sysdeps/alpha/ots_cmp.c: ... here.
10260 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
10261 * sysdeps/alpha/ots_cmpe.c: ... here.
10262 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
10263 * sysdeps/alpha/ots_cvtqux.c: ... here.
10264 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
10265 * sysdeps/alpha/ots_cvtqx.c: ... here.
10266 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
10267 * sysdeps/alpha/ots_cvttx.c: ... here.
10268 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
10269 * sysdeps/alpha/ots_cvtxq.c: ... here.
10270 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
10271 * sysdeps/alpha/ots_cvtxt.c: ... here.
10272 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
10273 * sysdeps/alpha/ots_div.c: ... here.
10274 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
10275 * sysdeps/alpha/ots_mul.c: ... here.
10276 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
10277 * sysdeps/alpha/ots_nintxq.c: ... here.
10278 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
10279 * sysdeps/alpha/ots_sub.c: ... here.
10280 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
10281 * sysdeps/alpha/sfp-machine.h: ... here.
10283 2018-05-23 Florian Weimer <fweimer@redhat.com>
10291 Switch to extern IDNA implementation (libidn2).
10292 * libidn: Remove subdirectory.
10293 * LICENSES: Do not mention licensing conditions for the removed
10295 * config.h.in (HAVE_LIBIDN): Remove.
10296 * include/dlfcn.h (__libc_dlopen): Update comment.
10297 * include/idna.h: Remove file.
10298 * inet/Makefile (routines): Add idna.
10299 (tests-static, tests-internal): Add tst-idna_name_classify.
10300 (LOCALES): Generate locales for tests.
10301 (tst-idna_name_classify.out): Depend on generated locales.
10302 * inet/idna_name_classify.c: New file.
10303 * inet/tst-idna_name_classify.c: Likewise.
10304 * inet/net-internal.h (__idna_to_dns_encoding)
10305 (__idna_from_dns_encoding): Declare.
10306 * inet/net-internal.h (enum idna_name_classification): Define.
10307 (__idna_name_classify): Declare.
10308 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
10309 __idna_from_dns_encoding.
10310 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
10311 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
10312 name as a fallback in case of encoding errors.
10313 (getnameinfo): Use DEPRECATED_NI_IDN.
10314 * inet/idna.c: New file.
10315 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
10316 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
10317 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
10318 (modules-names): Add tst-no-libidn2.
10319 (extra-test-objs): Add tst-no-libidn2.os.
10320 (LDFLAGS-tst-no-libidn2.so): Set soname.
10321 (LOCALES): Set, and generate locales.
10322 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
10323 (tst-resolv-ai_idn-latin1): Likewise.
10324 (tst-resolv-ai_idn-nolibidn2): Likewise.
10325 (tst-resolv-ai_idn.out): Depend on locales.
10326 (tst-resolv-ai_idn-latin1.out): Depend on locales.
10327 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
10329 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
10330 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
10331 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
10332 * resolv/tst-resolv-ai_idn.c: New file.
10333 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
10334 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
10335 * resolv/tst-no-libidn2.c: Likewise.
10336 * support/support_format_addrinfo.c (format_ai_flags): Do not
10337 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
10338 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
10339 (gaih_inet): Call __idna_to_dns_encoding and
10340 __idna_from_dns_encoding, and use the original (punycode) name if
10341 __idna_from_dns_encoding fails due to an encoding error.
10342 (getaddrinfo): Use DEPRECATED_AI_IDN.
10343 * sysdeps/unix/inet/Subdirs (libidn): Remove.
10344 * sysdeps/unix/inet/configure: Remove file.
10345 * sysdeps/unix/inet/configure.ac: Likewise.
10347 2018-05-23 Florian Weimer <fweimer@redhat.com>
10349 Implement allocate_once.
10350 * include/allocate_once.h: New file.
10351 * misc/allocate_once.c: Likewise.
10352 * misc/tst-allocate_once.c: Likewise.
10353 * misc/Makefile (routines): Add allocate_once.
10354 (tests-internal): Add tst-allocate_once.
10355 (generated): Add tst-allocate_once.mtrace,
10356 tst-allocate_once-mem.out.
10357 (tests-special): Add tst-allocate_once-mem.out.
10358 (tst-allocate_once-ENV): Set MALLOC_TRACE.
10359 (tst-allocate_once-mem.out): Call mtrace.
10360 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
10362 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10365 * string/test-memcpy.c (do_test1): New function.
10366 (test_main): Call it.
10368 2018-05-23 Andreas Schwab <schwab@suse.de>
10372 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
10373 (L(preloop_large)): Save initial destination pointer in %r11 and
10374 use it instead of %rax after the loop.
10375 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
10377 2018-05-22 Joseph Myers <joseph@codesourcery.com>
10379 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
10380 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
10381 -I../soft-fp. Moved from ....
10382 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
10383 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
10384 * sysdeps/aarch64/e_sqrtl.c: ... here.
10385 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
10386 * sysdeps/aarch64/sfp-machine.h: ... here.
10388 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
10389 -Wmaybe-uninitialized around access to fq[0].
10390 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10394 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
10395 aliases for non-libc case of versioned symbols.
10396 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
10397 (llseek): Define as compat symbol if
10398 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
10400 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
10401 Make into a compat symbol, disabled for minimum symbol version
10402 GLIBC_2.28 and later.
10403 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
10405 2018-05-22 Florian Weimer <fweimer@redhat.com>
10407 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
10408 not add -mpreferred-stack-boundary=4.
10409 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
10410 (stack-align-test-flags): Likewise.
10411 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
10413 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
10414 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
10415 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
10416 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
10417 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
10418 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
10419 (CFLAGS-tst-align2.c): Likewise.
10421 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10423 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
10424 (index_arch_Prefer_FSRM): Likewise.
10425 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
10426 Also check Prefer_FSRM.
10427 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
10428 Also return OPTIMIZE (erms) for Prefer_FSRM.
10430 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10432 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
10433 (index_cpu_FSRM): Likewise.
10434 (reg_FSRM): Likewise.
10436 2018-05-18 Joseph Myers <joseph@codesourcery.com>
10438 * math/gen-tgmath-tests.py: Import sys.
10439 (Tests.__init__): Initialize macros_seen.
10440 (Tests.add_tests): Add macro to macros_seen. Only generate tests
10441 if requested to do so for this macro.
10442 (Tests.add_all_tests): Take argument for macro for which to
10444 (Tests.check_macro_list): New function.
10445 (main): Handle check-list argument and argument specifying macro
10446 for which to generate tests.
10447 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
10448 [PYTHON] (tgmath3-macro-tests): Likewise.
10449 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
10450 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
10451 not test-tgmath3.c.
10452 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
10453 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
10455 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
10456 [PYTHON] ($(foreach
10457 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
10459 [PYTHON] (tests-special): Add
10460 $(objpfx)test-tgmath3-macro-list.out.
10461 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
10463 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
10464 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
10468 * time/tzset.c (SECSPERDAY): Cast to time_t.
10469 * time/tst-y2039.c: New file.
10470 * time/Makefile (tests): Add tst-y2039.
10472 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10474 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10475 (PREFETCH_ONE_SET): Remove duplicate line.
10477 2018-05-17 Florian Weimer <fweimer@redhat.com>
10479 * sysdeps/generic/math-type-macros-double.h: Include
10480 <math-nan-payload-double.h> after <libm-alias-double.h>.
10481 * sysdeps/generic/math-type-macros-float.h: Include
10482 <math-nan-payload-float.h> after <libm-alias-float.h>.
10483 * sysdeps/generic/math-type-macros-float128.h: Include
10484 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
10485 * sysdeps/generic/math-type-macros-ldouble.h: Include
10486 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
10488 2018-05-17 Andreas Schwab <schwab@suse.de>
10490 * resolv/res_send.c (__res_context_send): Don't set errno when
10491 returing error after malloc failure.
10493 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
10495 * nptl/allocatestack.c (allocate_stack): Remove the
10496 !__ASSUME_PRIVATE_FUTEX paths.
10497 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
10498 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10500 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
10501 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10502 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10503 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10504 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
10505 !__ASSUME_PRIVATE_FUTEX path.
10506 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
10507 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
10508 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10509 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
10510 !__ASSUME_PRIVATE_FUTEX macros.
10511 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10512 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10513 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10514 * sysdeps/unix/sysv/linux/kernel-features.h
10515 (__ASSUME_PRIVATE_FUTEX): Removed.
10517 2018-05-17 Joseph Myers <joseph@codesourcery.com>
10519 * math/Makefile (libm-narrow-fns): Add div.
10520 (libm-test-funcs-narrow): Likewise.
10521 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
10522 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
10523 * math/gen-auto-libm-tests.c (test_functions): Add div.
10524 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
10525 (NARROW_DIV_ROUND_TO_ODD): Likewise.
10526 (NARROW_DIV_TRIVIAL): Likewise.
10527 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
10529 (__ddivl): Likewise.
10530 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
10532 (CFLAGS-nldbl-ddiv.c): New variable.
10533 (CFLAGS-nldbl-fdiv.c): Likewise.
10534 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10536 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
10538 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
10539 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
10540 * math/auto-libm-test-in: Add tests of div.
10541 * math/auto-libm-test-out-narrow-div: New generated file.
10542 * math/libm-test-narrow-div.inc: New file.
10543 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
10544 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
10545 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
10546 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
10547 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
10548 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
10549 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
10550 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
10551 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
10552 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
10553 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
10554 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
10555 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
10556 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
10557 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
10558 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
10559 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
10560 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
10561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10562 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10563 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10564 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10565 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10566 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10567 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10568 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10569 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10570 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10571 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10572 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10573 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10574 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10579 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10580 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10581 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10582 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10583 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10584 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10585 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10586 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10588 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10591 * nscd/nscd-client.h (sendfileall): Remove prototype.
10592 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
10593 (handle_request): Use writeall instead of sendfileall.
10594 * nscd/aicache.c (addhstaiX): Likewise.
10595 * nscd/grpcache.c (cache_addgr): Likewise.
10596 * nscd/hstcache.c (cache_addhst): Likewise.
10597 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10598 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
10599 * nscd/pwdcache.c (cache_addpw): Likewise.
10600 * nscd/servicescache.c (cache_addserv): Likewise.
10601 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
10602 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
10603 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
10606 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
10608 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
10609 Include <string/strncat.c>.
10610 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
10612 (__GI___strncat): New hidden alias.
10614 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10616 * sysdeps/mips/mips32/libm-test-ulps: Update.
10617 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10619 2018-05-16 Florian Weimer <fweimer@redhat.com>
10621 * support/Makefile (libsupport-routines): Add support_quote_blob,
10622 support_test_compare_blob.
10623 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
10624 * support/check.h (TEST_COMPARE_BLOB): Define.
10625 (support_test_compare_blob): Declare.
10626 * support/support.h (support_quote_blob): Declare.
10627 * support/support_quote_blob.c: New file.
10628 * support/support_test_compare_blob.c: Likewise.
10629 * support/tst-support_quote_blob.c: Likewise.
10630 * support/tst-test_compare_blob.c: Likewise.
10632 2018-05-16 Florian Weimer <fweimer@redhat.com>
10634 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
10635 of <strtod_nan_double.h>.
10636 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
10637 instead of SET_MANTISSA.
10638 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
10639 of include <strtod_nan_float.h>.
10640 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
10641 instead of <strtod_nan_ldouble.h>.
10642 * stdlib/strtod_nan_double.h: Move to ...
10643 * sysdeps/generic/math-nan-payload-double.h: ... here.
10644 (FLOAT): Remove definition.
10645 (SET_MANTISSA): Rename to ...
10646 (SET_NAN_PAYLOAD): ... this.
10647 * stdlib/strtod_nan_float.h: Move to ...
10648 * sysdeps/generic/math-nan-payload-float.h: ... here.
10649 (FLOAT): Remove definition.
10650 (SET_MANTISSA): Rename to ...
10651 (SET_NAN_PAYLOAD): ... this.
10652 * sysdeps/generic/math-type-macros-double.h: Include
10653 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
10654 instead of <math-svid-compat.h>.
10655 * sysdeps/generic/math-type-macros-float.h: Include
10656 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
10657 instead of <math-svid-compat.h>.
10658 * sysdeps/generic/math-type-macros-float128.h: Include
10659 <math-nan-payload-float128.h>.
10660 * sysdeps/generic/math-type-macros-ldouble.h: Include
10661 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
10662 instead of <math-svid-compat.h>.
10663 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
10664 check for definition.
10665 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
10666 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
10667 Include <ieee754_float128.h>.
10668 (FLOAT): Remove definition.
10669 (SET_MANTISSA): Rename to ...
10670 (SET_NAN_PAYLOAD): ... this.
10671 * sysdeps/ieee754/float128/strtof128_nan.c: Include
10672 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
10673 Do not include <float128_private.h>.
10674 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
10675 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
10676 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
10677 (FLOAT): Remove definition.
10678 (SET_MANTISSA): Rename to ...
10679 (SET_NAN_PAYLOAD): ... this.
10680 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
10681 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
10682 (FLOAT): Remove definition.
10683 (SET_MANTISSA): Rename to ...
10684 (SET_NAN_PAYLOAD): ... this.
10685 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
10686 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
10687 (FLOAT): Remove definition.
10688 (SET_MANTISSA): Rename to ...
10689 (SET_NAN_PAYLOAD): ... this.
10690 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
10691 of "../stdlib/strtod_nan_double.h".
10692 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
10693 of "../stdlib/strtod_nan_float.h".
10694 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
10695 instead of "../stdlib/strtod_nan_ldouble.h".
10696 * manual/arith.texi (Parsing of Floats): Adjust comment.
10698 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10700 * math/Makefile (libm-narrow-fns): Add mul.
10701 (libm-test-funcs-narrow): Likewise.
10702 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
10703 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
10704 * math/gen-auto-libm-tests.c (test_functions): Add mul.
10705 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
10706 (NARROW_MUL_ROUND_TO_ODD): Likewise.
10707 (NARROW_MUL_TRIVIAL): Likewise.
10708 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
10709 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
10711 (__dmull): Likewise.
10712 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
10714 (CFLAGS-nldbl-dmul.c): New variable.
10715 (CFLAGS-nldbl-fmul.c): Likewise.
10716 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10718 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
10720 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
10721 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
10722 * math/auto-libm-test-in: Add tests of mul.
10723 * math/auto-libm-test-out-narrow-mul: New generated file.
10724 * math/libm-test-narrow-mul.inc: New file.
10725 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
10726 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
10727 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
10728 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
10729 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
10730 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
10731 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
10732 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
10733 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
10734 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
10735 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
10736 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
10737 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
10738 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
10739 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
10740 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
10741 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
10742 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
10743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10744 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10745 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10746 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10747 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10748 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10749 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10750 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10751 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10752 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10753 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10754 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10755 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10756 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10761 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10762 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10763 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10764 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10765 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10766 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10767 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10768 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10770 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10772 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
10773 with *%eax in call.
10775 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10777 * sysdeps/i386/ldsodefs.h: Removed.
10778 * sysdeps/x86_64/ldsodefs.h: Moved to ...
10779 * sysdeps/x86/ldsodefs.h: This.
10780 (La_i86_regs): New.
10781 (La_i86_retval): Likewise.
10782 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
10783 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
10785 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10787 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
10790 2018-05-13 Alan Modra <amodra@gmail.com>
10792 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
10793 R_PARISC_TLS_DTPOFF32 reloc addend.
10795 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10797 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
10798 * math/math.h: Restrict the prototype definition for the functions
10799 issignaling(_Float128) and iszero(_Float128); and template
10800 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
10801 __HAVE_FLOAT128_UNLIKE_LDBL.
10802 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
10803 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
10804 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
10805 __f128() constants; define the type _Float128 as long double;
10806 and reuse long double in __CFLOAT128.
10808 2018-05-11 Joseph Myers <joseph@codesourcery.com>
10810 * sysdeps/generic/math_private.h: Do not include
10812 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
10814 * math/fromfp.h: Include <math-barriers.h>.
10815 * math/math-narrow.h: Likewise.
10816 * math/s_nextafter.c: Likewise.
10817 * math/s_nexttowardf.c: Likewise.
10818 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
10819 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
10820 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
10821 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
10822 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10823 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10824 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10825 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10826 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10827 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10828 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10829 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10830 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10831 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10832 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10833 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10834 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10835 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10836 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10837 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10838 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10839 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10840 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10841 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10842 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10843 * sysdeps/ieee754/k_standardl.c: Likewise.
10844 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10845 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10846 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10847 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10848 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10849 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10850 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10851 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10852 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10853 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10854 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10855 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10856 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10857 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10858 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10859 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10860 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10861 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10862 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10863 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10864 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
10865 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
10867 2018-05-11 Florian Weimer <fweimer@redhat.com>
10869 Use 64-bit epoch values in the time zone file parser.
10870 * include/time.h (internal_time_t): Define.
10871 (__tzfile_compute): Use it.
10872 * time/tzfile.c (struct leap): Use internal_time_t for epoch
10874 (transitions): Switch to internal_time_t.
10875 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
10877 (__tzfile_compute): Use internal_time_t for timer argument. Check
10878 for truncation before calling __offtime.
10880 2018-05-11 Florian Weimer <fweimer@redhat.com>
10883 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
10884 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
10886 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
10887 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
10888 export without --enable-obsolete-rpc.
10889 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
10890 symbol. This should not have been exported, ever.
10892 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
10895 * localedata/locales/gd_GB (abmon): Fix typo in May:
10896 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
10898 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10900 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10901 Use multiple registers to copy data in loop tail.
10903 * sysdeps/aarch64/multiarch/memmove_falkor.S
10904 (__memmove_falkor): Use multiple registers to move data in
10907 2018-05-10 Joseph Myers <joseph@codesourcery.com>
10909 * math/math-underflow.h: New file.
10910 * sysdeps/generic/math_private.h: Do not include <float.h>.
10911 (fabs_tg): Remove macro. Moved to math-underflow.h.
10912 (min_of_type_f): Likewise.
10913 (min_of_type_): Likewise.
10914 (min_of_type_l): Likewise.
10915 (min_of_type_f128): Likewise.
10916 (min_of_type): Likewise.
10917 (math_check_force_underflow): Likewise.
10918 (math_check_force_underflow_nonneg): Likewise.
10919 (math_check_force_underflow_complex): Likewise.
10920 * math/e_exp2_template.c: Include <math-underflow.h>.
10921 * math/k_casinh_template.c: Likewise.
10922 * math/s_catan_template.c: Likewise.
10923 * math/s_catanh_template.c: Likewise.
10924 * math/s_ccosh_template.c: Likewise.
10925 * math/s_cexp_template.c: Likewise.
10926 * math/s_clog10_template.c: Likewise.
10927 * math/s_clog_template.c: Likewise.
10928 * math/s_csin_template.c: Likewise.
10929 * math/s_csinh_template.c: Likewise.
10930 * math/s_csqrt_template.c: Likewise.
10931 * math/s_ctan_template.c: Likewise.
10932 * math/s_ctanh_template.c: Likewise.
10933 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10934 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10935 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10936 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10937 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10938 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10939 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10940 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10941 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10942 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10943 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10944 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10945 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10946 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10947 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10948 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10949 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10950 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10951 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10952 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10953 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10954 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10955 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10956 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10957 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10958 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10959 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10960 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10961 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10962 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10963 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10964 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10965 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10966 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10967 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10968 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10969 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10970 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10971 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10972 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10973 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10974 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10975 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10976 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10977 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10978 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10979 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10980 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10981 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10982 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10983 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10984 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10985 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10986 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10987 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10988 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10989 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10990 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10991 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10992 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10993 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10994 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10995 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10996 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10997 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10998 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10999 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11000 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11001 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11002 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11003 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11004 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11005 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11006 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
11007 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11008 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11009 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11010 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11011 * sysdeps/x86/fpu/powl_helper.c: Likewise.
11012 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
11013 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
11014 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11015 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
11016 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
11018 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11020 * sysdeps/generic/math-barriers.h: New file.
11021 * sysdeps/generic/math_private.h [!math_opt_barrier]
11022 (math_opt_barrier): Move to math-barriers.h.
11023 [!math_opt_barrier] (math_force_eval): Likewise.
11024 * sysdeps/aarch64/fpu/math-barriers.h: New file.
11025 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
11027 (math_force_eval): Likewise.
11028 * sysdeps/alpha/fpu/math-barriers.h: New file.
11029 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
11031 (math_force_eval): Likewise.
11032 * sysdeps/x86/fpu/math-barriers.h: New file.
11033 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
11035 (math_force_eval): Likewise.
11036 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
11037 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
11038 multiple-include guard for rename.
11039 * sysdeps/powerpc/fpu/math-barriers.h: New file.
11040 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
11042 (math_force_eval): Likewise.
11044 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
11048 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
11050 * stdlib/Makefile (test-bz22786): New test.
11051 * stdlib/test-bz22786.c: New test.
11053 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11055 * include/math-narrow-eval.h: New file. Contents moved from ....
11056 * sysdeps/generic/math_private.h: ... here.
11057 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
11058 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11059 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
11060 * stdlib/strtod_l.c: Likewise.
11061 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11062 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11063 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11064 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11065 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11066 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11067 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11068 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11069 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11070 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11071 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11072 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11073 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11074 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11075 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11076 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11077 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11078 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11079 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11080 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11081 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11082 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11083 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11084 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11085 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11086 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11087 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11088 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11089 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11091 2018-05-08 Andreas Schwab <schwab@suse.de>
11093 * sysdeps/nptl/internaltypes.h: Fix comment.
11095 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
11097 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11098 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
11101 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11103 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
11104 of I into loop header.
11105 * benchtests/bench-memmove-walk.c
11106 (test_main): Likewise.
11108 2018-05-07 Alexandre Oliva <oliva@gnu.org>
11111 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11112 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11114 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11117 * elf/dl-load.c (open_verify): Fix stack overflow.
11118 * elf/Makefile (tst-big-note): New test.
11119 * elf/tst-big-note-lib.S: New.
11120 * elf/tst-big-note.c: New.
11122 2018-05-04 Joseph Myers <joseph@codesourcery.com>
11124 * scripts/abilist.awk: Ignore absolute symbols.
11125 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
11126 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
11127 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
11128 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
11129 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
11130 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
11131 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11132 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
11133 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
11134 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
11135 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
11136 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
11137 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
11138 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
11139 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
11140 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11141 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
11142 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
11143 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11144 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
11145 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11146 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
11147 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
11148 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
11149 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
11150 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
11151 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
11152 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
11153 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11154 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
11155 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
11156 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11157 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
11158 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11159 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
11160 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
11161 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
11162 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
11163 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
11164 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
11165 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
11166 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11167 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
11168 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
11169 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11170 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
11171 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11172 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
11173 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
11174 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
11175 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
11176 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
11177 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
11178 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
11179 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11180 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
11181 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
11182 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11183 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
11184 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11185 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
11186 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
11187 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
11188 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
11189 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
11190 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
11191 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
11192 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11193 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
11194 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
11195 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11196 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
11197 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11198 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
11199 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
11200 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
11201 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
11202 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
11203 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
11204 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
11205 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11206 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
11207 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
11208 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11209 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
11210 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11211 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
11212 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
11213 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
11214 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
11215 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
11216 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11218 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
11219 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11220 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
11221 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
11222 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11223 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
11224 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11225 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
11226 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
11227 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
11228 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
11229 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
11230 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11232 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
11233 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11234 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
11235 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
11236 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11237 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
11238 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11239 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
11240 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
11241 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
11242 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
11243 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
11244 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
11245 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
11246 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11247 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
11248 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
11249 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11250 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
11251 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11252 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
11253 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
11254 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
11255 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
11256 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11257 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
11258 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11260 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
11261 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
11262 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
11263 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
11264 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11265 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
11266 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
11267 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
11268 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
11269 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
11270 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
11271 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
11272 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
11273 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11274 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
11275 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
11276 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
11277 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
11278 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11279 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11281 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
11282 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
11283 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
11284 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11285 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
11286 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11287 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
11288 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
11289 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
11290 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
11291 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11292 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
11293 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
11294 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11295 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
11296 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
11297 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
11298 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
11299 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11300 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
11301 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
11302 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11303 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
11304 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11305 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
11306 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
11307 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
11308 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
11309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
11310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
11312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
11315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
11316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
11317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
11318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
11322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
11323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
11326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
11338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
11339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
11344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
11345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
11346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
11350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
11351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
11359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
11360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
11361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
11368 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
11369 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
11371 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
11372 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11373 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
11374 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
11375 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11376 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
11377 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11378 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
11379 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
11380 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
11381 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
11382 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
11383 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
11384 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11386 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11387 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
11388 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
11389 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11390 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
11391 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11392 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
11393 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
11394 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
11395 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
11396 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
11397 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11399 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11400 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
11401 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
11402 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11403 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
11404 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11405 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
11406 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
11407 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
11408 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
11409 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
11410 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
11411 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
11412 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11413 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
11414 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
11415 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11416 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
11417 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11418 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
11419 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
11420 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
11421 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
11422 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
11423 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11425 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
11426 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11427 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
11428 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
11429 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11430 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
11431 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11432 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
11433 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
11434 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
11435 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
11436 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
11437 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11439 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
11440 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11441 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
11442 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
11443 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11444 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
11445 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11446 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
11447 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
11448 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
11449 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
11450 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
11451 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
11452 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
11453 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11454 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
11455 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
11456 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11457 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
11458 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11459 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
11460 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
11461 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
11462 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
11463 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
11464 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
11465 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
11466 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
11467 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11468 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
11469 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
11470 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11471 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
11472 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11473 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
11474 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
11475 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
11476 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
11478 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
11481 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
11482 Use atomic_load_acquire to load __tid.
11484 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11486 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
11487 Restore the pointer into %rdx, after syscall and use %rdx,
11488 instead of %rsi, to restore context.
11490 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11492 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
11493 Pop the pointer into %rdx after syscall and use %rdx, instead
11494 of %rsi, to restore context.
11496 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11498 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
11499 handlers after setjmp.
11500 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
11502 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
11503 <libc-pointer-arith.h>.
11504 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
11505 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
11506 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
11507 _JUMP_BUF_SIGSET_BITS_PER_WORD.
11508 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
11509 * sysdeps/x86/__longjmp_cancel.S: New file.
11510 * sysdeps/x86/longjmp.c: Likewise.
11511 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
11513 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11515 * NEWS: Add ustat.h deprecation entry.
11516 * bits/ustat.h: Remove file.
11517 * misc/sys/ustat.h: Likewise.
11518 * misc/ustat.h: Likewise.
11519 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
11520 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
11521 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
11522 compatibility mode.
11523 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
11524 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
11525 generic Linux implementation.
11527 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11529 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
11530 * math/w_expl_compat.c: Likewise.
11531 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
11533 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11535 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11537 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11539 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
11540 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
11541 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
11543 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
11544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11545 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11546 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
11547 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
11550 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11552 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
11554 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
11555 * math/w_asin_template.c: Likewise.
11556 * math/w_atanh_template.c: Likewise.
11558 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11560 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
11561 to powerpc/powerpc64/be for big-endian.
11562 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
11565 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
11566 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
11567 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
11568 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
11569 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11570 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
11571 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
11572 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
11573 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
11574 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11575 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
11576 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
11577 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
11578 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
11579 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
11580 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
11581 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
11582 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
11583 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
11584 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
11585 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
11586 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11587 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
11588 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
11589 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
11590 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11591 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
11592 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
11593 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
11594 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11595 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11596 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11598 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
11599 adjusted to imply powerpc64 and older processors on powerpc64/be.
11600 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
11601 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
11602 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
11603 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
11604 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
11605 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
11606 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
11607 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
11608 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
11609 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
11610 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
11611 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
11612 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
11613 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
11614 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
11615 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
11616 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
11617 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
11618 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
11619 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
11620 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
11621 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
11622 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
11623 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
11624 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
11625 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
11626 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
11627 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
11628 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
11629 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
11630 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
11632 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
11633 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
11634 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
11635 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
11637 * sysdeps/powerpc/powerpc64/be/Implies: New file.
11638 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
11639 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
11640 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
11642 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
11643 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
11644 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
11645 * sysdeps/powerpc/powerpc64le/configure: Likewise.
11646 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
11647 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
11648 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
11649 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
11650 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
11651 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
11652 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
11654 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
11655 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
11656 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
11657 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
11658 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
11659 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
11660 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
11661 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
11662 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
11663 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
11664 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
11666 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
11667 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
11668 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
11669 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
11670 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
11671 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
11672 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
11673 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
11674 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
11675 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
11676 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
11677 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
11679 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
11680 and adjusted to imply olders processors.
11681 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
11682 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
11683 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
11684 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
11685 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
11686 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
11687 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
11688 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
11689 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
11690 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
11691 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
11693 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
11695 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
11696 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
11698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
11700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
11701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
11703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
11705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
11707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
11709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
11710 powerpc64 and adjusted.
11711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
11712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
11713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
11716 2018-04-27 Joseph Myers <joseph@codesourcery.com>
11718 * sysdeps/tile: Remove.
11719 * sysdeps/unix/sysv/linux/tile: Likewise.
11720 * README (tilegx-*-linux-gnu): Remove from list of supported
11722 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
11723 contribution of support for generic Linux kernel syscall
11725 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
11726 tilegx configurations.
11727 (Config.install_linux_headers): Do not handle tile.
11728 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
11730 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
11731 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
11732 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11733 conditional undefine and redefine.
11734 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
11736 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11737 conditional undefine and redefine.
11739 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
11741 * signal/tst-sigaction.c: New file to test BZ #23069.
11742 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
11744 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11747 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
11748 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
11749 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
11750 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11752 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11754 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
11755 _DIRENT_MATCHES_DIRENT64 is not defined.
11756 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
11757 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
11759 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
11760 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
11762 2018-04-25 Joseph Myers <joseph@codesourcery.com>
11764 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
11765 version to GCC 8 branch.
11767 2018-04-24 Joseph Myers <joseph@codesourcery.com>
11769 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
11770 (check_no_hidden): Use type of original function when declaring
11773 * sysdeps/unix/sysv/linux/sys/ptrace.h
11774 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
11775 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
11776 (struct __ptrace_seccomp_metadata): New type.
11777 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11778 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11779 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
11780 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11781 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
11782 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11783 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11784 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11785 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
11786 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11787 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
11788 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11789 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
11790 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11791 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
11792 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11794 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11796 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
11798 * dirent/versionsort.c (versionsort): Likewise.
11799 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
11800 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
11801 * dirent/versionsort64.c (versionsort64): Likewise.
11802 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
11803 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
11804 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
11805 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
11806 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
11807 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
11808 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
11809 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
11810 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
11811 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
11812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
11813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
11814 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
11815 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
11817 2018-04-23 Joseph Myers <joseph@codesourcery.com>
11819 * elf/elf.h (NT_PPC_PKEY): New macro.
11821 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
11824 * localedata/locales/hr_HR: fix thousands_sep and
11827 2018-04-20 Joseph Myers <joseph@codesourcery.com>
11829 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
11830 (XTABS): Define to TAB3.
11832 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11834 * sysdeps/hppa/fpu/libm-test-ulps: Update.
11836 * dirent/scandir-tail-common.c: New file.
11837 * dirent/scandir-tail.c: Use scandir-tail-common.c.
11838 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
11839 * dirent/scandir.c: Use scandir-tail-common.c.
11840 * dirent/scandirat.c: Likewise.
11841 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
11842 * dirent/scandir64.c (scandir64): Always build and alias to scandir
11843 if _DIRENT_MATCHES_DIRENT64 is defined.
11844 * dirent/scandirat64.c (scandirat64): Likewise.
11845 * include/dirent.h (__scandir_tail): Only define iff
11846 _DIRENT_MATCHES_DIRENT64 is not defined.
11847 (__scandir64_tail): Define regardless.
11848 (__scandirat, scandirat64): Remove libc_hidden_proto.
11849 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
11850 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
11851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
11852 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
11853 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11854 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
11855 * sysdeps/unix/sysv/linux/scandir64.c: New file.
11857 2018-04-20 Joseph Myers <joseph@codesourcery.com>
11859 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
11861 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11863 (_dl_aarch64_cap_flags): Add asimdfhm.
11865 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
11867 * sysdeps/nios2/libm-test-ulps: Update.
11869 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11871 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
11872 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
11874 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
11876 (_DIRENT_MATCHES_DIRENT64): Undef
11877 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
11878 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
11879 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
11880 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
11881 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
11882 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
11883 use getdents64 syscalls as base.
11884 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
11885 symbol if required.
11886 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
11887 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
11888 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
11889 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
11890 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
11891 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
11892 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
11893 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
11894 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11895 (__get_clockfreq_via_proc_openprom): Use __getdents64.
11896 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
11898 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11900 * scripts/test_printers_common.py (init_test): Disable lock elision.
11902 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11904 * math/test-tgmath.c (count_double, count_float,
11905 count_ldouble, count_cdouble, count_cfloat,
11906 count_cldouble): Use volatile int.
11908 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11910 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11911 (conformtest-xfail-conds): Add i386-gnu.
11912 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
11914 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
11915 ipc_perm.cuid, ipc_perm.cgid): Likewise.
11916 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
11917 msqid_ds.msg_lrpid): Likewise.
11918 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
11920 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
11921 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
11922 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
11923 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
11925 (struct statvfs64): Likewise.
11926 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
11928 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
11929 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
11930 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
11931 instead of wait_queue.
11932 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
11933 instead of vm_area_struct.
11934 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
11935 struct sched_param definition to it.
11936 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11937 * bits/types/struct_sched_param.h: New file.
11938 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
11939 <bits/types/struct_sched_param.h> instead of <sched.h>.
11940 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
11941 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
11942 generic version but include <bits/pthreadtypes.h> to make struct
11943 sigevent's sigev_notify_attributes field a pthread_attr_t*.
11944 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
11946 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
11947 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
11948 [__USE_XOPEN] (OFDEL): New macro.
11949 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
11950 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
11951 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
11953 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
11954 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
11955 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
11957 * sysdeps/i386/sys/ucontext.h: Likewise.
11958 * sysdeps/m68k/sys/ucontext.h: Likewise.
11959 * sysdeps/mips/sys/ucontext.h: Likewise.
11960 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
11961 * sysdeps/mach/hurd/i386/Makefile
11962 (test-xfail-POSIX/fcntl.h/conform): Add.
11963 (test-xfail-POSIX/signal.h/conform): Add.
11964 (test-xfail-POSIX/semaphore.h/conform): Add.
11965 (test-xfail-POSIX/regex.h/conform): Add.
11966 (test-xfail-POSIX/aio.h/conform): Add.
11967 (test-xfail-POSIX/mqueue.h/conform): Add.
11968 (test-xfail-POSIX/sys/types.h/conform): Add.
11969 (test-xfail-UNIX98/fcntl.h/conform): Add.
11970 (test-xfail-UNIX98/netdb.h/conform): Add.
11971 (test-xfail-UNIX98/signal.h/conform): Add.
11972 (test-xfail-UNIX98/semaphore.h/conform): Add.
11973 (test-xfail-UNIX98/regex.h/conform): Add.
11974 (test-xfail-UNIX98/aio.h/conform): Add.
11975 (test-xfail-UNIX98/ftw.h/conform): Add.
11976 (test-xfail-UNIX98/mqueue.h/conform): Add.
11977 (test-xfail-UNIX98/netinet/in.h/conform): Add.
11978 (test-xfail-UNIX98/sys/wait.h/conform): Add.
11979 (test-xfail-UNIX98/sys/sem.h/conform): Add.
11980 (test-xfail-UNIX98/sys/uio.h/conform): Add.
11981 (test-xfail-UNIX98/sys/socket.h/conform): Add.
11982 (test-xfail-UNIX98/sys/types.h/conform): Add.
11983 (test-xfail-UNIX98/stdlib.h/conform): Add.
11984 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
11985 (test-xfail-POSIX2008/fcntl.h/conform): Add.
11986 (test-xfail-POSIX2008/netdb.h/conform): Add.
11987 (test-xfail-POSIX2008/signal.h/conform): Add.
11988 (test-xfail-POSIX2008/semaphore.h/conform): Add.
11989 (test-xfail-POSIX2008/regex.h/conform): Add.
11990 (test-xfail-POSIX2008/aio.h/conform): Add.
11991 (test-xfail-POSIX2008/mqueue.h/conform): Add.
11992 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
11993 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
11994 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
11995 (test-xfail-POSIX2008/sys/types.h/conform): Add.
11996 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
11997 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
11998 (test-xfail-XOPEN2K/netdb.h/conform): Add.
11999 (test-xfail-XOPEN2K/signal.h/conform): Add.
12000 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
12001 (test-xfail-XOPEN2K/regex.h/conform): Add.
12002 (test-xfail-XOPEN2K/aio.h/conform): Add.
12003 (test-xfail-XOPEN2K/ftw.h/conform): Add.
12004 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
12005 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
12006 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
12007 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
12008 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
12009 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
12010 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
12011 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
12012 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
12013 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
12014 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
12015 (test-xfail-XOPEN2K8/signal.h/conform): Add.
12016 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
12017 (test-xfail-XOPEN2K8/regex.h/conform): Add.
12018 (test-xfail-XOPEN2K8/aio.h/conform): Add.
12019 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
12020 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
12021 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
12022 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
12023 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
12024 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
12025 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
12026 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
12027 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
12028 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
12029 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
12031 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
12032 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
12034 2018-04-18 Joseph Myers <joseph@codesourcery.com>
12036 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
12037 --enable-obsolete for powerpc-linux-gnuspe.
12039 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12041 * conform/data/sys/un.h-data: Allow sun_ prefix.
12042 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
12044 * sysdeps/mach/include/mach.h: Likewise.
12045 * sysdeps/mach/include/mach/mig_support.h: Likewise.
12046 * sysdeps/mach/include/mach_error.h: Likewise.
12048 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12050 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
12051 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
12052 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
12053 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
12055 2018-04-16 Andreas Schwab <schwab@suse.de>
12058 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
12060 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
12062 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
12063 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
12065 2018-04-12 DJ Delorie <dj@redhat.com>
12067 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12070 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12072 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
12073 (struct kernel_sigaction): Use the same definition on 31bit as is used
12076 2018-04-09 Florian Weimer <fweimer@redhat.com>
12079 * resolv/res_send.c (send_dg): Use designated initializers instead
12080 of assignment to zero-initialize other fields of struct mmsghdr.
12082 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12084 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
12085 __READDIR_ALIAS): Undefine after usage.
12086 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
12087 __READDIR_R_ALIAS): Likewise.
12088 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
12089 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
12090 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
12091 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
12092 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
12093 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
12094 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12095 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12096 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
12097 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
12098 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
12099 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
12100 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12101 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
12102 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
12103 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
12104 * sysdeps/unix/sysv/linux/readdir.c: New file.
12105 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
12106 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
12107 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
12109 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12111 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
12113 * manual/charset.texi (Converting a Character): Fix typo.
12115 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12119 * sysdeps/arm/libm-test-ulps: Update.
12121 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
12122 as base implementation.
12123 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12124 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12125 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12126 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12127 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12128 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
12129 remove unrequired definitions and update comments.
12130 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
12131 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
12132 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
12133 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
12134 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
12135 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
12136 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
12137 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
12138 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
12139 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
12140 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
12141 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12142 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12143 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
12144 and RESET_SA_RESTORER hooks.
12146 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
12148 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12150 2018-04-05 Florian Weimer <fweimer@redhat.com>
12152 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
12153 integer overflow, memory leak on error, and indeterminate errno
12154 value. Add a null wide character to terminate the result string.
12155 * manual/charset.texi (Converting a Character): Mention embedded
12156 null bytes in the mbrtowc input string. Explain what happens in
12157 the -2 result case. Do not claim that mbrtowc is simple or
12158 obvious to use. Adjust the description of the code example. Use
12159 @code, not @var, for concrete variables.
12161 2018-04-05 Florian Weimer <fweimer@redhat.com>
12163 * manual/examples/mbstouwcs.c: New file.
12164 * manual/charset.texi (Converting a Character): Include it.
12166 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
12168 * include/dirent.h (dirfd): Add hidden proto.
12169 * dirent/dirfd.c (dirfd): Add hidden def.
12170 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
12171 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
12173 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12175 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
12176 sin, cos and sincos to 1 ULP.
12178 2018-04-04 Maciej W. Rozycki <macro@mips.com>
12181 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
12183 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
12184 * elf/tst-absolute-sym.c: New file.
12185 * elf/tst-absolute-sym-lib.c: New file.
12186 * elf/tst-absolute-sym-lib.lds: New file.
12187 * elf/Makefile (tests): Add `tst-absolute-sym'.
12188 (modules-names): Add `tst-absolute-sym-lib'.
12189 (LDLIBS-tst-absolute-sym-lib.so): New variable.
12190 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
12191 ($(objpfx)tst-absolute-sym): New dependency.
12194 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
12196 (SYMBOL_ADDRESS): New macro.
12197 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
12198 SYMBOL_ADDRESS for symbol address calculation.
12199 * elf/dl-runtime.c (_dl_fixup): Likewise.
12200 (_dl_profile_fixup): Likewise.
12201 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
12202 * elf/rtld.c (dl_main): Likewise.
12203 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
12204 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
12205 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
12206 (elf_machine_rela): Likewise.
12207 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
12208 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
12209 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12210 (elf_machine_rela): Likewise.
12211 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12212 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12213 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
12214 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
12216 (elf_machine_reloc): Likewise.
12217 (elf_machine_got_rel): Likewise.
12218 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
12219 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
12220 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12222 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12224 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
12225 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12227 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12229 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12230 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12232 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12234 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
12235 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12237 2018-04-04 Zack Weinberg <zackw@panix.com>
12239 * sysdeps/generic/internal-signals.h: Include signal.h,
12240 sigsetops.h, and stdbool.h.
12241 (__libc_signal_block_all): Actually block all signals.
12242 (__libc_signal_block_app): Likewise.
12243 (__libc_signal_restore_set): Actually restore the signal mask.
12245 2018-04-04 Florian Weimer <fweimer@redhat.com>
12247 inet: Actually build and run tst-deadline.
12248 * inet/Makefile (tests-internal): Add tst-deadline and do not
12249 overwrite the variable.
12250 (tests-static-internal): Remove variable.
12252 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
12255 * bits/uio-ext.h (RWF_APPEND): New.
12256 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
12257 * manual/llio.texi: Document RWF_APPEND.
12258 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
12259 (RWF_SUPPORTED): Add RWF_APPEND.
12261 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12264 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
12265 check for internal nptl signals.
12266 * nptl/sigaction.c (__sigaction): Likewise.
12267 * signal/sigaddset.c (sigaddset): Likewise.
12268 * signal/sigdelset.c (sigdelset): Likewise.
12269 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12270 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
12272 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
12273 to filter out internal nptl signals.
12274 * signal/tst-sigset.c (do_test): Check ech signal indidually and
12275 also check realtime signals using standard macros.
12276 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
12277 __is_internal_signal, __libc_signal_block_all,
12278 __libc_signal_block_app, __libc_signal_restore_set): New functions.
12279 * sysdeps/nptl/sigfillset.c: Remove file.
12280 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
12281 Change return to bool.
12282 (__clear_internal_signals): Remove SIGTIMER clean since it is
12283 equal to SIGCANEL on Linux.
12284 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
12285 signal set was constructed using standard functions.
12287 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
12289 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
12290 ifname is too long.
12291 * hurd/hurdsig.c (interrupted_reply_port_location): Use
12292 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
12293 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
12295 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
12296 * signal/sigaddset.c: Include <sigsetopts.h>.
12297 * signal/sigdelset.c: Likewise.
12299 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12301 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
12303 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
12304 logic as sin and cos.
12306 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12308 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
12309 inputs. Return correct sign.
12310 (do_sincos): Remove small input check before do_sin, let do_sin set
12315 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12317 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
12318 (do_cos_slow): Likewise.
12319 (do_sin_slow): Likewise.
12320 (reduce_and_compute): Likewise.
12325 (sloww1): Likewise.
12326 (sloww2): Likewise.
12328 (bslow1): Likewise.
12329 (bslow2): Likewise.
12330 (cslow2): Likewise.
12332 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12334 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
12335 (do_cos): Remove corp parameter and calculations.
12336 (do_sin): Likewise.
12337 (do_sincos): Remove cor variable.
12338 (__sin): Use do_sincos for huge inputs.
12340 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12341 (reduce_and_compute_sincos): Remove unused function.
12343 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12345 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
12346 reduce_sincos, improve accuracy to 136 bits.
12347 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
12348 (__sin): Use improved reduction and simplified do_sincos calculation.
12350 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12352 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12354 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
12355 (do_sincos_2): Likewise.
12356 (__sin): Remove middle range reduction case.
12358 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
12361 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12363 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
12364 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
12367 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
12369 2018-04-03 Joseph Myers <joseph@codesourcery.com>
12371 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12374 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12376 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
12377 Remove definitions.
12378 (opendir_oflags): Use O_DIRECTORY regardless.
12379 (__opendir, __opendirat): Remove need_isdir_precheck usage.
12380 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
12382 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12384 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
12385 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
12387 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
12388 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
12389 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
12390 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
12391 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
12392 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
12394 * htl/Makefile: Bump licence to LGPL 2.1+.
12395 * htl/alloca_cutoff.c: Likewise.
12396 * htl/cthreads-compat.c: Likewise.
12397 * htl/lockfile.c: Likewise.
12398 * htl/pt-alloc.c: Likewise.
12399 * htl/pt-cancel.c: Likewise.
12400 * htl/pt-cleanup.c: Likewise.
12401 * htl/pt-create.c: Likewise.
12402 * htl/pt-dealloc.c: Likewise.
12403 * htl/pt-detach.c: Likewise.
12404 * htl/pt-exit.c: Likewise.
12405 * htl/pt-getattr.c: Likewise.
12406 * htl/pt-initialize.c: Likewise.
12407 * htl/pt-internal.h: Likewise.
12408 * htl/pt-join.c: Likewise.
12409 * htl/pt-self.c: Likewise.
12410 * htl/pt-setcancelstate.c: Likewise.
12411 * htl/pt-setcanceltype.c: Likewise.
12412 * htl/pt-sigmask.c: Likewise.
12413 * htl/pt-spin-inlines.c: Likewise.
12414 * htl/pt-testcancel.c: Likewise.
12415 * htl/pt-yield.c: Likewise.
12416 * htl/tests/test-1.c: Likewise.
12417 * htl/tests/test-10.c: Likewise.
12418 * htl/tests/test-11.c: Likewise.
12419 * htl/tests/test-12.c: Likewise.
12420 * htl/tests/test-13.c: Likewise.
12421 * htl/tests/test-14.c: Likewise.
12422 * htl/tests/test-15.c: Likewise.
12423 * htl/tests/test-16.c: Likewise.
12424 * htl/tests/test-17.c: Likewise.
12425 * htl/tests/test-2.c: Likewise.
12426 * htl/tests/test-3.c: Likewise.
12427 * htl/tests/test-4.c: Likewise.
12428 * htl/tests/test-5.c: Likewise.
12429 * htl/tests/test-6.c: Likewise.
12430 * htl/tests/test-7.c: Likewise.
12431 * htl/tests/test-8.c: Likewise.
12432 * htl/tests/test-9.c: Likewise.
12433 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
12434 * sysdeps/htl/bits/cancelation.h: Likewise.
12435 * sysdeps/htl/bits/pthread-np.h: Likewise.
12436 * sysdeps/htl/bits/pthread.h: Likewise.
12437 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
12438 * sysdeps/htl/bits/semaphore.h: Likewise.
12439 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
12440 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
12441 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
12442 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
12443 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
12444 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
12445 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
12446 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
12447 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
12448 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
12449 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
12450 * sysdeps/htl/old_pt-atfork.c: Likewise.
12451 * sysdeps/htl/pt-atfork.c: Likewise.
12452 * sysdeps/htl/pt-attr-destroy.c: Likewise.
12453 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
12454 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
12455 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
12456 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
12457 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
12458 * sysdeps/htl/pt-attr-getscope.c: Likewise.
12459 * sysdeps/htl/pt-attr-getstack.c: Likewise.
12460 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
12461 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
12462 * sysdeps/htl/pt-attr-init.c: Likewise.
12463 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
12464 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
12465 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
12466 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
12467 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
12468 * sysdeps/htl/pt-attr-setscope.c: Likewise.
12469 * sysdeps/htl/pt-attr-setstack.c: Likewise.
12470 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
12471 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
12472 * sysdeps/htl/pt-attr.c: Likewise.
12473 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
12474 * sysdeps/htl/pt-barrier-init.c: Likewise.
12475 * sysdeps/htl/pt-barrier-wait.c: Likewise.
12476 * sysdeps/htl/pt-barrier.c: Likewise.
12477 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
12478 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
12479 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
12480 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
12481 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
12482 * sysdeps/htl/pt-cond-destroy.c: Likewise.
12483 * sysdeps/htl/pt-cond-init.c: Likewise.
12484 * sysdeps/htl/pt-cond-signal.c: Likewise.
12485 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
12486 * sysdeps/htl/pt-cond-wait.c: Likewise.
12487 * sysdeps/htl/pt-cond.c: Likewise.
12488 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
12489 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
12490 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
12491 * sysdeps/htl/pt-condattr-init.c: Likewise.
12492 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
12493 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
12494 * sysdeps/htl/pt-destroy-specific.c: Likewise.
12495 * sysdeps/htl/pt-equal.c: Likewise.
12496 * sysdeps/htl/pt-getconcurrency.c: Likewise.
12497 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
12498 * sysdeps/htl/pt-getschedparam.c: Likewise.
12499 * sysdeps/htl/pt-getspecific.c: Likewise.
12500 * sysdeps/htl/pt-init-specific.c: Likewise.
12501 * sysdeps/htl/pt-key-create.c: Likewise.
12502 * sysdeps/htl/pt-key-delete.c: Likewise.
12503 * sysdeps/htl/pt-key.h: Likewise.
12504 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
12505 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
12506 * sysdeps/htl/pt-mutex-init.c: Likewise.
12507 * sysdeps/htl/pt-mutex-lock.c: Likewise.
12508 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
12509 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
12510 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
12511 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
12512 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
12513 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
12514 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
12515 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
12516 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
12517 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
12518 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
12519 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
12520 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
12521 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
12522 * sysdeps/htl/pt-mutexattr.c: Likewise.
12523 * sysdeps/htl/pt-once.c: Likewise.
12524 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
12525 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
12526 * sysdeps/htl/pt-rwlock-init.c: Likewise.
12527 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
12528 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
12529 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
12530 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
12531 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
12532 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
12533 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
12534 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
12535 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
12536 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
12537 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
12538 * sysdeps/htl/pt-setconcurrency.c: Likewise.
12539 * sysdeps/htl/pt-setschedparam.c: Likewise.
12540 * sysdeps/htl/pt-setschedprio.c: Likewise.
12541 * sysdeps/htl/pt-setspecific.c: Likewise.
12542 * sysdeps/htl/pt-spin.c: Likewise.
12543 * sysdeps/htl/pt-startup.c: Likewise.
12544 * sysdeps/htl/pthread.h: Likewise.
12545 * sysdeps/htl/sem-close.c: Likewise.
12546 * sysdeps/htl/sem-destroy.c: Likewise.
12547 * sysdeps/htl/sem-getvalue.c: Likewise.
12548 * sysdeps/htl/sem-init.c: Likewise.
12549 * sysdeps/htl/sem-open.c: Likewise.
12550 * sysdeps/htl/sem-post.c: Likewise.
12551 * sysdeps/htl/sem-timedwait.c: Likewise.
12552 * sysdeps/htl/sem-trywait.c: Likewise.
12553 * sysdeps/htl/sem-unlink.c: Likewise.
12554 * sysdeps/htl/sem-wait.c: Likewise.
12555 * sysdeps/hurd/htl/pt-kill.c: Likewise.
12556 * sysdeps/i386/htl/pt-machdep.h: Likewise.
12557 * sysdeps/mach/htl/pt-block.c: Likewise.
12558 * sysdeps/mach/htl/pt-spin.c: Likewise.
12559 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
12560 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
12561 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
12562 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
12563 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
12564 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
12565 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
12566 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
12567 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
12568 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
12569 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
12570 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
12571 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
12572 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
12573 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
12574 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
12575 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
12576 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
12577 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
12578 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
12579 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
12580 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
12581 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
12582 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
12583 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
12584 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
12585 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
12586 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
12587 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
12588 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
12589 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
12590 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
12591 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
12592 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
12593 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
12594 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
12595 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
12596 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
12597 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
12598 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
12599 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
12600 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
12601 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
12603 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
12604 * README: Remove the mention of out-of-tree patches needed for
12607 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
12608 (UTIME_NOW, UTIME_OMIT): Define macros.
12610 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
12611 instead of pthread_detach.
12612 (__cthread_fork): Call __pthread_create instead of pthread_create.
12613 (__cthread_keycreate): Call __pthread_key_create instead of
12614 pthread_key_create.
12615 (__cthread_getspecific): Call __pthread_getspecific instead of
12616 pthread_getspecific.
12617 (__cthread_setspecific): Call __pthread_setspecific instead of
12618 pthread_setspecific.
12619 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
12620 __pthread_mutex_unlock instead of pthread_mutex_lock and
12621 pthread_mutex_unlock.
12622 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
12623 ___pthread_get_cleanup_stack.
12624 (__pthread_get_cleanup_stack): New strong alias.
12625 * htl/pt-create.c: Include <pthreadP.h>.
12626 (entry_point): Call __pthread_exit instead of pthread_exit.
12627 (pthread_create): Rename to __pthread_create.
12628 (pthread_create): New strong alias.
12629 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
12630 (pthread_detach): New strong alias.
12631 (__pthread_detach): Call __pthread_cond_broadcast instead of
12632 pthread_cond_broadcast.
12633 * htl/pt-exit.c: Include <pthreadP.h>.
12634 (__pthread_exit): Call __pthread_setcancelstate and
12635 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
12636 __pthread_get_cleanup_stack.
12637 * htl/pt-testcancel.c: Include <pthreadP.h>.
12638 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
12639 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
12640 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
12641 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
12642 pthread_attr_getstacksize.
12643 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
12644 Rename to __pthread_attr_getstackaddr.
12645 (pthread_attr_getstackaddr): New strong alias.
12646 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
12647 Rename to __pthread_attr_getstacksize.
12648 (pthread_attr_getstacksize): New strong alias.
12649 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
12650 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
12651 (pthread_attr_setstack): New strong alias.
12652 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
12653 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
12654 pthread_attr_getstacksize, pthread_attr_setstacksize and
12655 pthread_attr_setstackaddr.
12656 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
12657 Rename to __pthread_attr_setstackaddr.
12658 (pthread_attr_setstackaddr): New strong alias.
12659 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
12660 Rename to __pthread_attr_setstacksize.
12661 (pthread_attr_setstacksize): New strong alias.
12662 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
12663 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
12665 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
12666 (__pthread_key_create): New hidden def.
12667 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
12668 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
12669 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
12670 __pthread_exit, __pthread_key_create, __pthread_getspecific,
12671 __pthread_setspecific, __pthread_setcancelstate,
12672 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
12673 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
12674 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
12676 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
12677 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
12678 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
12679 (pthread_attr_setstackaddr): New strong alias.
12680 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
12681 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
12682 (pthread_attr_setstacksize): New strong alias.
12683 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
12684 (call_exit): Call __pthread_exit instead of pthread_exit.
12685 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
12686 (_pthread_mutex_init): New hidden definition.
12687 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
12688 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
12689 instead of pthread_attr_init and pthread_attr_setstack.
12691 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
12692 __vm_deallocate instead of vm_allocate and vm_deallocate.
12693 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
12695 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
12697 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
12699 * hurd/siginfo.c: Include <libioP.h>.
12700 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
12701 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
12703 * mach/devstream.c: Include <libioP.h>.
12704 (dealloc_ref): Call __mach_port_deallocate instead of
12705 mach_port_deallocate.
12706 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
12707 Call __mach_port_deallocate instead of mach_port_deallocate.
12708 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
12710 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
12712 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
12713 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
12714 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
12716 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
12718 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
12719 instead of sysconf.
12720 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
12721 __clock_gettime instead of clock_gettime.
12722 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
12723 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12724 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
12725 * sysdeps/unix/bsd/stty.c (stty): Likewise.
12726 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
12728 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
12729 __clock_gettime and __nanosleep instead of clock_gettime and
12731 * hurd/catch-signal.c (hurd_catch_signal): Rename to
12732 __hurd_catch_signal.
12733 (hurd_catch_signal): New strong alias.
12734 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
12735 __hurd_catch_signal instead of hurd_catch_signal.
12736 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
12737 * hurd/hurdexec.c (_hurd_init): Add hidden def.
12738 * hurd/hurdinit.c (_hurd_init): Add hidden def.
12739 * hurd/hurdsig.c: Include <mach/mig_support.h>.
12740 (_hurd_thread_sigstate): Add hidden def.
12741 (_hurd_internal_post_signal): Use __mutex_unlock instead of
12743 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
12744 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
12745 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
12746 __hurd_file_name_path_lookup.
12747 (hurd_file_name_path_lookup): New strong alias.
12748 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
12749 hurd_file_name_path_lookup.
12750 * mach/errstring.c (mach_error_type): Add hidden def.
12751 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
12752 * mach/mutex-init.c (__mutex_init): Add hidden def.
12753 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
12754 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
12755 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
12756 * sysdeps/mach/hurd/getcwd.c
12757 (_hurd_canonicalize_directory_name_internal): Rename to
12758 __hurd_canonicalize_directory_name_internal.
12759 (_hurd_canonicalize_directory_name_internal): New strong alias.
12760 (__canonicalize_directory_name_internal, __getcwd): Call
12761 __hurd_canonicalize_directory_name_internal instead of
12762 _hurd_canonicalize_directory_name_internal.
12763 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
12764 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
12766 * sysdeps/hurd/include/hurd.h: New file.
12767 * sysdeps/hurd/include/hurd/fd.h: New file.
12768 * sysdeps/hurd/include/hurd/signal.h: New file.
12769 * sysdeps/mach/include/lock-intern.h: New file.
12770 * sysdeps/mach/include/mach.h: New file.
12771 * sysdeps/mach/include/mach/mig_support.h: New file.
12772 * sysdeps/mach/include/mach_error.h: New file.
12773 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
12775 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
12776 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
12777 _HEADER_H_HIDDEN_DEF macro.
12778 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
12779 _hurd_fd_error_signal): Add hidden prototype.
12780 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
12782 * libio/iolibio.h (_IO_puts): New hidden prototype.
12783 * libio/ioputs.c (_IO_puts): New hidden def.
12784 * sysdeps/mach/hurd/localplt.data: New file.
12786 2018-04-02 Agustina Arzille <avarzille@riseup.net>
12787 Amos Jeffries <squid3@treenet.co.nz>
12788 David Michael <fedora.dm0@gmail.com>
12789 Marco Gerards <marco@gnu.org>
12790 Marcus Brinkmann <marcus@gnu.org>
12791 Neal H. Walfield <neal@gnu.org>
12792 Pino Toscano <toscano.pino@tiscali.it>
12793 Richard Braun <rbraun@sceen.net>
12794 Roland McGrath <roland@gnu.org>
12795 Samuel Thibault <samuel.thibault@ens-lyon.org>
12796 Thomas DiModica <ricinwich@yahoo.com>
12797 Thomas Schwinge <tschwinge@gnu.org>
12799 * htl: New directory.
12800 * sysdeps/htl: New directory.
12801 * sysdeps/hurd/htl: New directory.
12802 * sysdeps/i386/htl: New directory.
12803 * sysdeps/mach/htl: New directory.
12804 * sysdeps/mach/hurd/htl: New directory.
12805 * sysdeps/mach/hurd/i386/htl: New directory.
12806 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
12807 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
12808 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
12810 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12812 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
12813 signals in thread created for runing timers.
12815 2018-04-01 Florian Weimer <fweimer@redhat.com>
12817 * support/support_format_addrinfo.c (support_format_addrinfo):
12818 Include unknown error number in formatted result.
12820 2018-03-29 Florian Weimer <fweimer@redhat.com>
12822 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
12825 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12827 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
12828 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
12829 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12830 (__ASSUME_CLONE_BACKWARDS): Define.
12832 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
12835 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
12836 early when linux sentinel value is set.
12838 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12840 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
12842 2018-03-27 Andreas Schwab <schwab@suse.de>
12845 * resolv/res_send.c (__res_context_send): Return ENOMEM if
12846 allocation of private copy of nsaddr_list fails.
12848 2018-03-26 Joseph Myers <joseph@codesourcery.com>
12851 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
12852 * sysdeps/unix/sysv/linux/umount.c: ... here.
12853 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
12854 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
12855 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
12856 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
12857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
12858 * sysdeps/unix/sysv/linux/umount.S: Likewise.
12859 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
12861 2018-03-26 Andreas Schwab <schwab@suse.de>
12863 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
12864 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
12865 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
12866 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
12867 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
12868 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
12869 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
12870 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
12871 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
12872 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
12873 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
12874 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
12875 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
12876 (R_RISCV_NUM): Define.
12878 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
12880 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
12881 TLS declaration of errno.
12882 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
12884 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
12885 (ARCH_SETUP_TLS): Likewise.
12886 * sysdeps/mach/hurd/libc-start.h: New file copied from
12887 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
12888 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
12889 instead of __libc_setup_tls.
12890 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
12891 __libc_setup_tls before initializing libpthread and running _hurd_init
12892 which starts the signal thread.
12893 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
12895 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12897 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
12900 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
12901 after it is defined.
12903 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
12904 Max Horn <max@quendi.de>
12908 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
12910 * string/test-memmove.c (do_test2): New testcase.
12912 2018-03-22 Joseph Myers <joseph@codesourcery.com>
12914 * sysdeps/generic/frame.h: Remove file.
12915 * sysdeps/arm/frame.h: Likewise.
12916 * sysdeps/hppa/frame.h: Likewise.
12917 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
12919 (GET_FRAME): Likewise.
12920 (GET_STACK): Likewise.
12921 (CALL_SIGHANDLER): Likewise.
12922 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
12924 (GET_FRAME): Likewise.
12925 (GET_STACK): Likewise.
12926 (CALL_SIGHANDLER): Likewise.
12927 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
12928 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12929 (GET_FRAME): Likewise.
12930 (GET_STACK): Likewise.
12931 (CALL_SIGHANDLER): Likewise.
12932 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
12933 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12934 (GET_FRAME): Likewise.
12935 (GET_STACK): Likewise.
12936 (ADVANCE_STACK_FRAME): Likewise.
12937 (CALL_SIGHANDLER): Likewise.
12938 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
12939 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12940 (GET_FRAME): Likewise.
12941 (GET_STACK): Likewise.
12942 (CALL_SIGHANDLER): Likewise.
12943 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
12944 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12945 (GET_FRAME): Likewise.
12946 (GET_STACK): Likewise.
12947 (CALL_SIGHANDLER): Likewise.
12948 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
12949 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12950 (GET_FRAME): Likewise.
12951 (GET_STACK): Likewise.
12952 (CALL_SIGHANDLER): Likewise.
12953 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
12954 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12955 (GET_FRAME): Likewise.
12956 (GET_STACK): Likewise.
12957 (CALL_SIGHANDLER): Likewise.
12958 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
12959 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12960 (GET_FRAME): Likewise.
12961 (GET_STACK): Likewise.
12962 (CALL_SIGHANDLER): Likewise.
12963 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
12964 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12965 (GET_FRAME): Likewise.
12966 (GET_STACK): Likewise.
12967 (CALL_SIGHANDLER): Likewise.
12968 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
12969 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12970 (GET_FRAME): Likewise.
12971 (GET_STACK): Likewise.
12972 (CALL_SIGHANDLER): Likewise.
12973 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
12974 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12975 (GET_FRAME): Likewise.
12976 (GET_STACK): Likewise.
12977 (CALL_SIGHANDLER): Likewise.
12978 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
12979 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12980 (GET_FRAME): Likewise.
12981 (GET_STACK): Likewise.
12982 (CALL_SIGHANDLER): Likewise.
12983 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
12984 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12985 (FIRST_FRAME_POINTER): Likewise.
12986 (ADVANCE_STACK_FRAME): Likewise.
12987 (GET_STACK): Likewise.
12988 (GET_FRAME): Likewise.
12989 (CALL_SIGHANDLER): Likewise.
12990 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
12991 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12992 (ADVANCE_STACK_FRAME): Likewise.
12993 (GET_STACK): Likewise.
12994 (GET_FRAME): Likewise.
12995 (CALL_SIGHANDLER): Likewise.
12996 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
12997 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12998 (GET_FRAME): Likewise.
12999 (GET_STACK): Likewise.
13000 (CALL_SIGHANDLER): Likewise.
13001 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
13002 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13003 (GET_FRAME): Likewise.
13004 (GET_STACK): Likewise.
13005 (CALL_SIGHANDLER): Likewise.
13007 2018-03-21 Joseph Myers <joseph@codesourcery.com>
13009 * sysdeps/x86_64/backtrace.c: Move to ....
13010 * debug/backtrace.c: ... here.
13011 * sysdeps/aarch64/backtrace.c: Remove file.
13012 * sysdeps/alpha/backtrace.c: Likewise.
13013 * sysdeps/hppa/backtrace.c: Likewise.
13014 * sysdeps/ia64/backtrace.c: Likewise.
13015 * sysdeps/mips/backtrace.c: Likewise.
13016 * sysdeps/nios2/backtrace.c: Likewise.
13017 * sysdeps/riscv/backtrace.c: Likewise.
13018 * sysdeps/sh/backtrace.c: Likewise.
13019 * sysdeps/tile/backtrace.c: Likewise.
13021 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13024 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
13027 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
13030 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
13031 possibly overflowing computations.
13033 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
13035 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
13036 values from Linux-specific section now that it is in the GNU section.
13037 * sysdeps/gnu/errlist.c: Regenerate.
13039 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13041 * math/Makefile (libm-narrow-fns): Add sub.
13042 (libm-test-funcs-narrow): Likewise.
13043 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
13044 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
13045 * math/gen-auto-libm-tests.c (test_functions): Add sub.
13046 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
13047 (NARROW_SUB_ROUND_TO_ODD): Likewise.
13048 (NARROW_SUB_TRIVIAL): Likewise.
13049 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
13051 (__dsubl): Likewise.
13052 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
13054 (CFLAGS-nldbl-dsub.c): New variable.
13055 (CFLAGS-nldbl-fsub.c): Likewise.
13056 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13058 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
13060 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
13061 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
13062 * math/auto-libm-test-in: Add tests of sub.
13063 * math/auto-libm-test-out-narrow-sub: New generated file.
13064 * math/libm-test-narrow-sub.inc: New file.
13065 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13066 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
13067 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
13068 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
13069 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
13070 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
13071 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
13072 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
13073 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
13074 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
13075 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
13076 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
13077 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
13078 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
13079 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
13080 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
13081 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
13082 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
13083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13084 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13085 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13086 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13087 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13088 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13089 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13090 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13091 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13092 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13093 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13094 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13095 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13096 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13101 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13102 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13103 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13104 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13105 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13106 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13107 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
13108 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
13109 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13110 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13112 2018-03-19 Joseph Myers <joseph@codesourcery.com>
13115 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
13117 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
13119 * benchtests/bench-timing.h (attribute_hidden): Undefine.
13121 2018-03-18 Richard Braun <rbraun@sceen.net>
13123 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
13126 2018-03-18 Agustina Arzille <avarzille@riseup.net>
13128 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
13129 (__libc_cleanup_fct): Define function.
13130 (__libc_cleanup_region_start, __libc_cleanup_region_end,
13131 __libc_cleanup_end): Rewrite implementation using
13132 __attribute__ ((__cleanup__)).
13133 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
13134 * hurd/Makefile (routines): Add hurdlock.
13135 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
13137 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
13138 * hurd/hurdpid.c: Include <lowlevellock.h>
13139 (_S_msg_proc_newids): Use lll_wait to synchronize.
13140 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
13141 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
13142 * mach/Makefile (lock-headers): Remove machine-lock.h.
13143 * mach/lock-intern.h: Include <lowlevellock.h> instead of
13145 (__spin_lock_t): New type.
13146 (__SPIN_LOCK_INITIALIZER): New macro.
13147 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
13148 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
13149 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
13150 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
13151 (__mutex_init): Initialize with lll.
13152 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
13153 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
13155 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13156 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
13157 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
13158 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
13159 (__setpgid): Use lll for synchronization.
13160 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
13161 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
13162 instead of <cthreads.h>.
13163 (_IO_lock_inexpensive): New macro
13164 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
13165 (__libc_lock_self0): New declaration.
13166 (__libc_lock_owner_self): New macro.
13167 (__libc_key_t): Remove type.
13168 (_LIBC_LOCK_INITIALIZER): New macro.
13169 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
13170 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
13171 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
13172 __libc_lock_define_initialized_recursive,
13173 __rtld_lock_define_initialized_recursive,
13174 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
13175 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
13176 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
13177 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
13178 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
13179 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
13180 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
13182 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
13183 * hurd/hurdlock.c: New file.
13184 * hurd/hurdlock.h: New file.
13185 * mach/lowlevellock.h: New file
13187 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13189 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
13190 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
13191 when opening a symlink with O_NOFOLLOW.
13192 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
13193 path when flags contains O_NOFOLLOW.
13194 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
13195 if flags contains O_DIRECTORY and the result is a directory.
13196 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
13197 oneself when the pointer given in D is nul (as set by ext2fs).
13198 * sysdeps/mach/hurd/mlockall.c: New file.
13199 * sysdeps/mach/hurd/munlockall.c: New file.
13201 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
13203 * hurd/hurdsig.c: Include <pthread.h>.
13204 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
13205 get the signal thread stack layout.
13206 * hurd/Makefile (headers): Remove threadvar.h.
13207 (inline-headers): Remove threadvar.h.
13208 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
13209 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
13210 __hurd_threadvar_max, __hurd_errno_location.
13211 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
13212 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
13213 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
13214 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
13215 unless TLS is not initialized yet, in which case we do not need a
13216 critical section yet anyway.
13217 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
13219 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
13221 (__hurd_threadvar_index): Remove enum.
13222 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
13223 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
13225 (__hurd_reply_port0): New variable declaration.
13226 (__hurd_local_reply_port): New macro.
13227 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
13228 (interrupted_reply_port_location): Add thread_t parameter. Use it
13229 with THREAD_TCB to access thread-local variables.
13230 (_hurdsig_abort_rpcs): Pass ss->thread to
13231 interrupted_reply_port_location.
13232 (_hurd_internal_post_signal): Likewise.
13233 (_hurdsig_init): Use presence of cthread_fork instead of
13234 __hurd_threadvar_stack_mask to start signal thread by hand.
13235 Remove signal thread threadvar initialization.
13236 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
13237 * hurd/sigunwind.c: Include <hurd/threadvar.h>
13238 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
13240 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
13242 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
13243 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
13244 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
13245 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
13246 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
13247 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
13248 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
13250 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
13251 <hurd/threadvar.h>.
13252 [IS_IN(rtld)] (rtld_errno): New variable.
13253 [IS_IN(rtld)] (__errno_location): New weak function.
13254 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
13255 * sysdeps/mach/hurd/errno.c: Remove file.
13256 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
13257 (__fork): Remove THREADVAR_SPACE macro and its use.
13258 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
13260 (init): Do not initialize threadvar.
13261 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
13263 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
13264 __hurd_local_reply_port instead of threadvar.
13265 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
13266 _hurd_sigstate fields.
13267 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
13268 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
13269 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
13270 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
13271 instead of threadvar.
13272 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
13273 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
13274 (use_threadvar, global_reply_port): Remove variables.
13275 (__hurd_reply_port0): New variable.
13276 (__mig_get_reply_port): Use __hurd_local_reply_port and
13277 __hurd_reply_port0 instead of threadvar.
13278 (__mig_dealloc_reply_port): Likewise.
13279 (__mig_init): Do not initialize threadvar.
13280 * sysdeps/mach/hurd/profil.c: Fix comment.
13281 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
13282 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
13283 cthread_keycreate, cthread_getspecific, cthread_setspecific to
13284 __cthread_fork, __cthread_detach, __pthread_getattr_np,
13285 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
13286 __cthread_setspecific.
13287 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
13288 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
13289 __cthread_t instead of cthread_fork, cthread_detach,
13290 pthread_getattr_np, pthread_attr_getstack.
13291 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
13292 __cthread_keycreate.
13293 (cthread_getspecific): Rename to __cthread_getspecific.
13294 (cthread_setspecific): Rename to __cthread_setspecific.
13295 (__libc_getspecific): Use __cthread_getspecific instead of
13296 cthread_getspecific.
13297 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
13298 __cthread_keycreate instead of cthread_keycreate.
13299 (__libc_setspecific): Use __cthread_setspecific instead of
13300 cthread_setspecific.
13301 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
13303 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
13304 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
13305 testing whether it is defined.
13307 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13309 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
13311 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
13312 * sysdeps/mach/i386/thread_state.h
13313 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
13315 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
13317 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
13319 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
13320 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
13322 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
13324 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
13325 descriptor instead of creating a new one.
13326 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
13328 * mach/setup-thread.c: Include <ldsodefs.h>.
13329 (__mach_setup_thread): Call _dl_allocate_tls, pass
13330 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
13331 MACHINE_THREAD_STATE_FLAVOR, before getting
13332 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
13333 MACHINE_THREAD_STATE_FLAVOR with the result.
13334 * hurd/hurdfault.c (_hurdsig_fault_init): Call
13335 MACHINE_THREAD_STATE_FIX_NEW.
13336 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
13337 too. Add original thread parameter.
13339 2018-03-16 Joseph Myers <joseph@codesourcery.com>
13341 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
13342 Remove inline function.
13344 * sysdeps/i386/fpu/libm-test-ulps: Update.
13345 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
13347 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
13349 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
13352 2018-03-15 Joseph Myers <joseph@codesourcery.com>
13354 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
13355 (__sincos_code): Remove define and undefine.
13356 [__FAST_MATH__] (__sincos): Remove inline function.
13357 [__FAST_MATH__] (__sincosf): Remove inline function.
13358 [__FAST_MATH__] (__sincosl): Remove inline function.
13359 (__atan2l): Remove inline functions.
13360 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
13361 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
13363 (floor): Remove inline function.
13365 [__FAST_MATH__] (__ldexp_code): Remove macro.
13366 [__FAST_MATH__] (ldexp): Remove inline function.
13367 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
13368 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
13369 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
13370 [__USE_ISOC99] (__lrint_code): Remove macro.
13371 [__USE_ISOC99] (__llrint_code): Likewise.
13372 [__USE_ISOC99] (lrintf): Remove inline function.
13373 [__USE_ISOC99] (lrint): Likewise.
13374 [__USE_ISOC99] (lrintl): Likewise.
13375 [__USE_ISOC99] (llrint): Likewise.
13376 [__USE_ISOC99] (llrintf): Likewise.
13377 [__USE_ISOC99] (llrintl): Likewise.
13379 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13381 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
13382 (__ieee754_sqrtf): Remove.
13383 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
13384 (__ieee754_sqrtf): Remove.
13385 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
13386 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13387 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
13388 (__ieee754_sqrtf): Remove.
13389 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
13390 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
13393 (__ieee754_sqrt): Remove.
13394 (__ieee754_sqrtf): Remove.
13395 (__ieee754_sqrtl): Remove.
13396 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13397 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
13398 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
13399 (__ieee754_sqrtf): Remove.
13400 (__ieee754_sqrtl): Remove.
13402 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13404 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
13405 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13406 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13407 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
13408 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
13409 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13410 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13411 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13413 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
13414 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
13415 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13416 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13417 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13418 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
13419 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
13420 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
13421 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13422 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13423 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
13424 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13425 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
13426 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
13427 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
13428 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13429 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13430 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13431 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
13432 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
13433 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13434 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13435 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
13436 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
13437 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
13438 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
13439 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13440 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13441 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
13442 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13443 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13444 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
13445 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13446 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
13447 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13448 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13449 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
13450 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
13451 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13452 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
13454 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13456 * include/math.h (sqrt): Declare with asm redirect.
13459 (sqrtf128): Likewise.
13460 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
13461 nonlib and libnldbl with -fmath-errno.
13462 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
13463 * math/w_sqrt_template.c: Likewise.
13464 * math/w_sqrtf_compat.c: Likewise.
13465 * math/w_sqrtl_compat.c: Likewise.
13466 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
13467 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
13468 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
13471 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13473 * benchtests/Makefile: Define _ISOMAC.
13474 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
13475 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
13476 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
13477 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
13478 * benchtests/bench-timing.h: Define attribute_hidden.
13480 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13482 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
13485 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13488 * localedata/locales/cs_CZ (mon): Rename to...
13490 (mon): Import from CLDR (genitive case).
13492 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13495 * localedata/locales/el_CY (abmon): Rename to...
13496 (ab_alt_mon): This.
13497 (abmon): Import from CLDR (abbreviated genitive case).
13498 * localedata/locales/el_GR (abmon): Rename to...
13499 (ab_alt_mon): This.
13500 (abmon): Import from CLDR (abbreviated genitive case).
13502 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13505 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
13507 2018-03-15 Robert Buj <robert.buj@gmail.com>
13510 * localedata/locales/ca_ES (abmon): Rename to...
13511 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
13512 (mon): Rename to...
13514 (abmon): Import from CLDR (genitive case, month names preceded by
13517 (abday): Synchronize with CLDR.
13518 (d_t_fmt): Likewise.
13522 (LC_TIME): Improve indentation.
13523 (LC_TELEPHONE): Likewise.
13524 (LC_NAME): Likewise.
13525 (LC_ADDRESS): Likewise.
13527 2018-03-14 Joseph Myers <joseph@codesourcery.com>
13529 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
13530 (lrintf): Remove definitions used only with old GCC.
13531 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
13532 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
13533 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
13534 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
13535 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
13536 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
13537 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
13538 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
13539 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
13540 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
13541 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
13542 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
13543 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
13544 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
13545 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
13546 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
13547 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
13548 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
13549 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
13550 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
13551 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
13552 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
13553 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
13554 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
13555 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
13556 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
13557 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
13558 [__FAST_MATH__] (__M_SQRT2): Remove macro.
13560 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
13562 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
13563 instruction to unbreak builds with binutils 2.26 and older.
13565 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
13567 * sysdeps/aarch64/strncmp.S (count): New macro.
13568 (strncmp): Store misaligned length in SRC1 in COUNT.
13569 (mutual_align): Adjust.
13570 (misaligned8): Load dword at a time when it is safe.
13572 2018-03-12 Zack Weinberg <zackw@panix.com>
13576 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
13577 if the _IO_EOF_SEEN bit is already set; update commentary.
13578 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
13579 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
13581 * support/support_openpty.c, support/tty.h: New files.
13582 * support/Makefile (libsupport-routines): Add support_openpty.
13584 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
13586 * libio/Makefile (tests): Add tst-fgetc-after-eof.
13587 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
13589 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
13591 * po/pt_BR.po: Update translations.
13593 2018-03-12 David Michael <fedora.dm0@gmail.com>
13595 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
13596 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
13597 get a port to the startup server.
13599 2018-03-11 Zack Weinberg <zackw@panix.com>
13601 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
13602 before nldbl-compat.h.
13604 2018-03-10 Zack Weinberg <zackw@panix.com>
13606 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
13607 math.h or math_private.h.
13609 * sysdeps/alpha/fpu/s_isnan.c
13610 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
13611 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
13612 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
13613 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
13614 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
13615 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
13616 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
13617 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
13618 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
13619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
13620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
13621 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
13622 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
13623 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
13624 Include math_private.h.
13626 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
13627 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
13628 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
13629 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
13630 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
13631 * sysdeps/powerpc/power7/fpu/s_logb.c:
13632 Include math.h and math_private.h.
13634 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
13635 uses of $at in .set noat / .set at.
13637 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
13639 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
13640 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
13641 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
13642 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
13645 2018-03-09 Florian Weimer <fweimer@redhat.com>
13647 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
13650 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
13653 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
13654 Add nop before __startcontext, add explaining comments.
13656 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13659 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
13661 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
13662 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
13663 Do not build hardware transactional code for __SPE__.
13664 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13665 (__lll_trylock_elision): Likewise.
13666 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13667 (__lll_unlock_elision): Likewise.
13669 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
13670 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
13671 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
13672 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
13673 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
13674 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
13675 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
13676 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
13677 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
13678 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
13679 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
13680 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
13681 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
13682 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
13683 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
13684 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
13685 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
13686 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
13687 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
13688 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
13689 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
13690 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13691 (__ASSUME_CLONE_BACKWARDS): Define.
13692 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
13693 __clone2 if __NR_clone2 is defined.
13694 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13695 (__ASSUME_CLONE_BACKWARDS): Likewise.
13696 * sysdeps/unix/sysv/linux/i386/kernel-features.h
13697 (__ASSUME_CLONE_BACKWARDS): Likewise.
13698 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13699 (__ASSUME_CLONE2): Likewise.
13700 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13701 (__ASSUME_CLONE_BACKWARDS3): Likewise.
13702 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
13703 variants and the define architecture can use.
13704 (__ASSUME_CLONE_DEFAULT): Define as default.
13705 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13706 (__ASSUME_CLONE_BACKWARDS): Likewise.
13707 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13708 (__ASSUME_CLONE_BACKWARDS): Likewise.
13709 * sysdeps/unix/sysv/linux/s390/kernel-features.h
13710 (__ASSUME_CLONE_BACKWARDS2): Likewise.
13712 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
13714 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
13716 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
13719 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
13720 (do_test_limit): Likewise.
13722 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
13723 for every implementation.
13724 (do_test): Likewise.
13726 * benchtests/bench-strncmp.c: Convert output to json.
13728 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13730 * io/futimens.c: Add missing start-of-file descriptive comment.
13731 * io/utime.c: Likewise.
13732 * misc/futimesat.c: Likewise.
13733 * misc/utimes.c: Likewise.
13734 * sysdeps/mach/hurd/futimesat.c: Likewise.
13735 * sysdeps/mach/hurd/utimes.c: Likewise.
13736 * sysdeps/posix/utime.c: Likewise.
13737 * sysdeps/posix/utimes.c: Likewise.
13738 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
13739 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13740 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
13741 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
13743 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13745 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
13747 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
13748 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
13749 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
13750 (__futimens): Move implementation to...
13751 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
13752 utime_tvalue_from_tspec): ... new helper functions.
13753 (hurd_futimens): New function.
13754 * sysdeps/mach/hurd/futimesat.c: New file.
13755 * sysdeps/mach/hurd/utimensat.c: New file.
13757 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
13759 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
13760 UTIME_OMIT): New macros.
13761 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
13762 before reverting to converting time spec to time value and calling
13764 * sysdeps/mach/hurd/utime-helper.c: New file.
13765 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
13766 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
13767 reverting to utime_tvalue_from_tval and __file_utimes.
13768 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
13769 (__lutimes): Just call hurd_futimens after lookup.
13770 * sysdeps/mach/hurd/utimes.c: Likewise.
13772 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13774 * bits/sigaction.h: Add include guard.
13775 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
13776 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
13777 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
13778 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
13779 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
13780 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
13781 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
13782 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
13783 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
13785 2018-03-05 Joseph Myers <joseph@codesourcery.com>
13787 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
13788 -Wmaybe-uninitialized for -Os.
13789 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
13792 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13794 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
13795 __INO_T_MATCHES_INO64_T is defined.
13796 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
13797 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
13799 * dirent/alphasort64.c: Likewise.
13800 * dirent/scandir.c: Likewise.
13801 * dirent/scandir64-tail.c: Likewise.
13802 * dirent/scandir64.c: Likewise.
13803 * dirent/scandirat.c: Likewise.
13804 * dirent/scandirat64.c: Likewise.
13805 * dirent/versionsort.c: Likewise.
13806 * dirent/versionsort64.c: Likewise.
13807 * include/dirent.h: Likewise.
13809 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
13810 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
13811 for socketpair endpoint.
13812 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
13813 WRITE_BUFFER_SIZE as buffer size for sending socket.
13814 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
13815 issue on system where send is implemented with sendto syscall.
13816 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
13817 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
13818 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
13819 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
13822 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
13823 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
13824 sa_restorer for vDSO case.
13825 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
13827 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13829 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
13830 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
13831 * hurd/hurd/ioctl.h: Include <mach/port.h>
13832 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
13833 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
13834 <mach/mach_types.h> and <mach/message.h>.
13835 (headers): Move mach/param.h to bits/mach/param.h.
13836 * sysdeps/mach/i386/mach/param.h: Move file to ...
13837 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
13838 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
13840 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
13841 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
13842 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
13843 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
13844 trivial, for C++ conformity.
13845 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
13846 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
13847 Process mig output through $(migheadersed).
13848 * hurd/Makefile (migheadersed): Define variable.
13849 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
13850 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
13852 * hurd/hurd.h: Include <bits/types/sigset_t.h>
13853 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
13854 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
13855 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
13856 <bits/types/sigset_t.h>.
13857 [!defined __USE_GNU]: Do not #error out.
13858 (struct hurd_sigstate): Use _NSIG instead of NSIG.
13859 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
13860 Include <stddef.h> and <bits/types/sigset_t.h>
13861 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
13862 instead of sighandler_t.
13863 * stdlib/errno.h (error_t): Move definition to...
13864 * bits/types/error_t.h: ... new header.
13865 * stdlib/Makefile (headers): Add bits/types/error_t.h.
13866 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
13867 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
13868 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
13869 * hurd/hurd.h: Include <bits/types/error_t.h>
13870 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
13871 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
13872 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
13873 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
13874 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
13875 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
13876 * sysdeps/mach/hurd/futimens.c: New file.
13878 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
13881 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
13882 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
13883 * nscd/gai.c (__nss_hosts_database): Readd definition.
13884 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
13885 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
13886 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
13888 2018-03-02 Joseph Myers <joseph@codesourcery.com>
13890 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
13891 (ifunc_one): Likewise.
13893 2018-03-01 DJ Delorie <dj@delorie.com>
13896 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
13899 2018-03-01 Maciej W. Rozycki <macro@mips.com>
13901 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
13902 `match_pid' parameter.
13903 (td_ta_thr_iter): Update accordingly.
13905 2018-03-01 Florian Weimer <fweimer@redhat.com>
13907 * nptl/Makefile (install-lib-ldscripts): Remove.
13908 (install): Remove rule.
13909 ($(inst_libdir)/libpthread.so): Likewise.
13911 2018-03-01 Mike FABIAN <mfabian@redhat.com>
13914 * localedata/locales/an_ES: update month and day names,
13915 improve d_fmt, improve postal_fmt, add country_post,
13918 2018-03-01 Mike FABIAN <mfabian@redhat.com>
13920 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
13921 Ukrainian instead of Bulgarian.
13923 2018-03-01 Florian Weimer <fweimer@redhat.com>
13925 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
13928 2018-03-01 Florian Weimer <fweimer@redhat.com>
13930 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
13931 * nptl/Makefile (routines): Add pthread_atfork.
13932 (static-only-routines): Set to pthread_atfork.
13933 (libpthread-routines): Remove pthread_atfork.
13934 (libpthread-static-only-routines): Remove.
13935 (install): Update comment.
13936 (libpthread.so): Do not install libpthread_nonshared.a.
13937 (tests): Do not link with libpthread_nonshared.a.
13938 (generated): Remove libpthread_nonshared.a.
13939 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
13940 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
13941 with libpthread_nonshared.a.
13943 2018-02-28 Joseph Myers <joseph@codesourcery.com>
13946 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
13947 (libc_feholdexcept_setroundf128): New macro.
13948 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
13951 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
13953 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
13954 * include/inttypes.h: New file.
13956 2018-02-27 Joseph Myers <joseph@codesourcery.com>
13958 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
13959 -Os in two more places.
13961 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13963 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
13964 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
13965 be sorted correctly at the moment because of a bug.
13967 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13969 [BZ #22550] - es_ES locale (and other es_* locales): collation should
13970 treat ñ as a primary different character, sync the collation
13971 for Spanish with CLDR.
13972 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
13973 * localedata/Makefile: Add new test files.
13974 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
13975 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
13977 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
13978 * localedata/am_ET.UTF-8.in: New test file.
13979 * localedata/az_AZ.UTF-8.in: Likewise.
13980 * localedata/be_BY.UTF-8.in: Likewise.
13981 * localedata/ber_DZ.UTF-8.in: Likewise.
13982 * localedata/ber_MA.UTF-8.in: Likewise.
13983 * localedata/bg_BG.UTF-8.in: Likewise.
13984 * localedata/br_FR.UTF-8.in: Likewise.
13985 * localedata/cmn_TW.UTF-8.in: Likewise.
13986 * localedata/crh_UA.UTF-8.in: Likewise.
13987 * localedata/csb_PL.UTF-8.in: Likewise.
13988 * localedata/cv_RU.UTF-8.in: Likewise.
13989 * localedata/cy_GB.UTF-8.in: Likewise.
13990 * localedata/dz_BT.UTF-8.in: Likewise.
13991 * localedata/eo.UTF-8.in: Likewise.
13992 * localedata/es_ES.UTF-8.in: Likewise.
13993 * localedata/fa_IR.UTF-8.in: Likewise.
13994 * localedata/fi_FI.UTF-8.in: Likewise.
13995 * localedata/fil_PH.UTF-8.in: Likewise.
13996 * localedata/fur_IT.UTF-8.in: Likewise.
13997 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
13998 * localedata/ha_NG.UTF-8.in: Likewise.
13999 * localedata/ig_NG.UTF-8.in: Likewise.
14000 * localedata/ik_CA.UTF-8.in: Likewise.
14001 * localedata/kk_KZ.UTF-8.in: Likewise.
14002 * localedata/ku_TR.UTF-8.in: Likewise.
14003 * localedata/ky_KG.UTF-8.in: Likewise.
14004 * localedata/ln_CD.UTF-8.in: Likewise.
14005 * localedata/mi_NZ.UTF-8.in: Likewise.
14006 * localedata/ml_IN.UTF-8.in: Likewise.
14007 * localedata/mn_MN.UTF-8.in: Likewise.
14008 * localedata/mr_IN.UTF-8.in: Likewise.
14009 * localedata/mt_MT.UTF-8.in: Likewise.
14010 * localedata/nb_NO.UTF-8.in: Likewise.
14011 * localedata/om_KE.UTF-8.in: Likewise.
14012 * localedata/os_RU.UTF-8.in: Likewise.
14013 * localedata/ps_AF.UTF-8.in: Likewise.
14014 * localedata/ro_RO.UTF-8.in: Likewise.
14015 * localedata/ru_RU.UTF-8.in: Likewise.
14016 * localedata/sc_IT.UTF-8.in: Likewise.
14017 * localedata/se_NO.UTF-8.in: Likewise.
14018 * localedata/sq_AL.UTF-8.in: Likewise.
14019 * localedata/sv_SE.UTF-8.in: Likewise.
14020 * localedata/szl_PL.UTF-8.in: Likewise.
14021 * localedata/tg_TJ.UTF-8.in: Likewise.
14022 * localedata/tk_TM.UTF-8.in: Likewise.
14023 * localedata/tt_RU.UTF-8.in: Likewise.
14024 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
14025 * localedata/ug_CN.UTF-8.in: Likewise.
14026 * localedata/uz_UZ.UTF-8.in: Likewise.
14027 * localedata/vi_VN.UTF-8.in: Likewise.
14028 * localedata/yi_US.UTF-8.in: Likewise.
14029 * localedata/yo_NG.UTF-8.in: Likewise.
14030 * localedata/zh_CN.UTF-8.in: Likewise.
14031 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
14032 file and fix bugs in the collation.
14033 * localedata/locales/az_AZ: Likewise.
14034 * localedata/locales/be_BY: Likewise.
14035 * localedata/locales/ber_DZ: Likewise.
14036 * localedata/locales/ber_MA: Likewise.
14037 * localedata/locales/bg_BG: Likewise.
14038 * localedata/locales/br_FR: Likewise.
14039 * localedata/locales/br_FR@euro: Likewise.
14040 * localedata/locales/ca_ES: Likewise.
14041 * localedata/locales/cns11643_stroke: Likewise.
14042 * localedata/locales/crh_UA: Likewise.
14043 * localedata/locales/cs_CZ: Likewise.
14044 * localedata/locales/csb_PL: Likewise.
14045 * localedata/locales/cv_RU: Likewise.
14046 * localedata/locales/cy_GB: Likewise.
14047 * localedata/locales/da_DK: Likewise.
14048 * localedata/locales/dz_BT: Likewise.
14049 * localedata/locales/en_CA: Likewise.
14050 * localedata/locales/eo: Likewise.
14051 * localedata/locales/es_CU: Likewise.
14052 * localedata/locales/es_EC: Likewise.
14053 * localedata/locales/es_ES: Likewise.
14054 * localedata/locales/es_US: Likewise.
14055 * localedata/locales/et_EE: Likewise.
14056 * localedata/locales/fa_IR: Likewise.
14057 * localedata/locales/fi_FI: Likewise.
14058 * localedata/locales/fil_PH: Likewise.
14059 * localedata/locales/fur_IT: Likewise.
14060 * localedata/locales/gez_ER@abegede: Likewise.
14061 * localedata/locales/ha_NG: Likewise.
14062 * localedata/locales/hr_HR: Likewise.
14063 * localedata/locales/hsb_DE: Likewise.
14064 * localedata/locales/hu_HU: Likewise.
14065 * localedata/locales/ig_NG: Likewise.
14066 * localedata/locales/ik_CA: Likewise.
14067 * localedata/locales/is_IS: Likewise.
14068 * localedata/locales/iso14651_t1_pinyin: Likewise.
14069 * localedata/locales/kk_KZ: Likewise.
14070 * localedata/locales/ku_TR: Likewise.
14071 * localedata/locales/ky_KG: Likewise.
14072 * localedata/locales/ln_CD: Likewise.
14073 * localedata/locales/lt_LT: Likewise.
14074 * localedata/locales/lv_LV: Likewise.
14075 * localedata/locales/mi_NZ: Likewise.
14076 * localedata/locales/ml_IN: Likewise.
14077 * localedata/locales/mn_MN: Likewise.
14078 * localedata/locales/mr_IN: Likewise.
14079 * localedata/locales/mt_MT: Likewise.
14080 * localedata/locales/nb_NO: Likewise.
14081 * localedata/locales/om_KE: Likewise.
14082 * localedata/locales/os_RU: Likewise.
14083 * localedata/locales/pl_PL: Likewise.
14084 * localedata/locales/ps_AF: Likewise.
14085 * localedata/locales/ro_RO: Likewise.
14086 * localedata/locales/ru_RU: Likewise.
14087 * localedata/locales/ru_UA: Likewise.
14088 * localedata/locales/sc_IT: Likewise.
14089 * localedata/locales/se_NO: Likewise.
14090 * localedata/locales/si_LK: Likewise.
14091 * localedata/locales/sq_AL: Likewise.
14092 * localedata/locales/sv_FI: Likewise.
14093 * localedata/locales/sv_FI@euro: Likewise.
14094 * localedata/locales/sv_SE: Likewise.
14095 * localedata/locales/szl_PL: Likewise.
14096 * localedata/locales/tg_TJ: Likewise.
14097 * localedata/locales/ti_ER: Likewise.
14098 * localedata/locales/tk_TM: Likewise.
14099 * localedata/locales/tl_PH: Likewise.
14100 * localedata/locales/tr_TR: Likewise.
14101 * localedata/locales/tt_RU: Likewise.
14102 * localedata/locales/tt_RU@iqtelif: Likewise.
14103 * localedata/locales/ug_CN: Likewise.
14104 * localedata/locales/uk_UA: Likewise.
14105 * localedata/locales/uz_UZ: Likewise.
14106 * localedata/locales/uz_UZ@cyrillic: Likewise.
14107 * localedata/locales/vi_VN: Likewise.
14108 * localedata/locales/yi_US: Likewise.
14109 * localedata/locales/yo_NG: Likewise.
14111 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14113 * gen-locales.mk: Make test files which contain @ modifiers in their
14115 * localedata/gen-locale.sh: Likewise.
14117 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14119 * posix/tst-fnmatch.input: Fix results for range expressions
14121 * posix/tst-regexloc.c: Do not use a range expression for
14122 de_DE.ISO-8859-1 locale.
14124 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14126 * posix/bug-regex5.c: Fix test case because with the new
14127 iso14651_t1_common file, the da_DK locale now has 6 collating elements
14128 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
14131 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14133 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
14134 downloaded from ISO, the collation order of @-. and space has changed.
14135 Therefore, this test file needed to be adapted.
14136 * localedata/fr_CA.UTF-8.in: Likewise.
14137 * localedata/fr_FR.UTF-8.in: Likewise.
14138 * localedata/uk_UA.UTF-8.in: Likewise.
14140 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14142 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
14143 order of ȥ in the new iso14651_t1_common file.
14144 * localedata/pl_PL.UTF-8.in: Likewise.
14146 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14148 * localedata/locales/iso14651_t1_common: Add sections for various
14149 scripts to the iso14651_t1_common file.
14151 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14153 * localedata/locales/iso14651_t1_common: Use the code point of a
14154 character in the fourth collation level instead of IGNORE for all
14155 entries which have IGNORE on all 4 levels.
14157 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14159 * localedata/locales/iso14651_t1_common: Add some convenient collation
14160 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
14161 rules similar to those in CLDR.
14163 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14165 * localedata/locales/iso14651_t1_common: The new version of this
14166 file downloaded from ISO contained several syntax errors which
14167 are fixed by this patch.
14169 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14171 * localedata/locales/iso14651_t1_common: replace all <U.....>
14172 with <U000.....> because glibc understands only 4 digit or 8 digit
14174 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14176 * localedata/locales/iso14651_t1_common: Necessary changes
14177 to make the file downloaded from ISO usable by glibc.
14179 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14182 * localedata/locales/iso14651_t1_common: Update file to
14183 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
14185 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14187 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
14188 of <nptl/pthreadP.h>
14189 (thread_attr_compare): Move function to...
14190 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
14191 * sysdeps/nptl/timer_routines.h: ... new header.
14192 * sysdeps/mach/hurd/gai_misc.h: New file.
14194 2018-02-26 Joseph Myers <joseph@codesourcery.com>
14196 * string/strcoll_l.c: Include <libc-diag.h>.
14197 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
14198 declarations of seq1 and seq2.
14201 * stdlib/atoi.c (atoi): Use libc_hidden_def.
14202 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
14204 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
14208 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
14209 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
14210 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
14211 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
14212 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
14213 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
14215 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14217 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
14218 macros used in __ptrace_request.
14220 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
14223 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
14225 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
14226 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
14227 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
14230 2018-02-23 Joseph Myers <joseph@codesourcery.com>
14233 * ctype/ctype.c (tolower): Use libc_hidden_def.
14234 (toupper): Likewise.
14235 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
14236 [!_ISOMAC] (toupper): Likewise.
14238 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14240 * localedata/Makefile: Remove --quiet argument when
14243 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14246 * localedata/locales/pt_BR (LC_TIME): use / instead of -
14248 * localedata/locales/pt_PT (LC_TIME): likewise
14250 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14253 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
14254 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
14255 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
14257 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14261 * nptl/Makefile (routines): Remove unregister-atfork.
14262 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
14263 (fork_handler_alloc): Remove function.
14264 (fork_handlers, fork_handler_init): New variables.
14265 (__fork_lock): Rename to atfork_lock.
14266 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
14267 to use a dynamic array to add/remove atfork handlers.
14268 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14269 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
14270 Remove declaration.
14271 (fork_handler): Remove next, refcntr, and need_signal member.
14272 (__run_fork_handler_type): New enum.
14273 (__run_fork_handlers): New prototype.
14274 * nptl/register-atfork.c: Remove file.
14275 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
14277 * sysdeps/nptl/nptl-signals.h: Move to ...
14278 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
14280 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
14281 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
14282 unnecessary check for SIGTIMER.
14283 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
14284 remove unnecessary removal of SIGTIMER.
14285 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
14286 include-signals.h rename.
14287 * nptl/pthreadP.h: Likewise.
14288 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
14289 __is_internal_signal instead of __nptl_is_internal_signal.
14291 2018-02-22 Andrew Waterman <andrew@sifive.com>
14294 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
14295 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
14296 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
14297 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
14299 2018-02-22 DJ Delorie <dj@delorie.com>
14301 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
14303 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
14305 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
14306 do_misaligned, not misaligned8.
14308 2018-02-22 Steve Ellcey <sellcey@cavium.com>
14310 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
14311 Add memcpy_thunderx2.
14312 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
14314 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
14315 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
14316 and IS_THUNDERX2PA checks.
14317 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
14318 Use macro to set name appropriately.
14319 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
14320 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
14321 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
14323 (IS_THUNDERX2): New macro.
14325 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
14327 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14329 2018-02-21 Zack Weinberg <zackw@panix.com>
14331 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
14332 Define here, unconditionally.
14333 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
14334 * libio/libioP.h: Remove #if 0 blocks.
14335 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
14336 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
14337 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
14339 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
14340 Assume weak_alias is always defined.
14342 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
14343 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
14344 Remove #if 0 and #ifdef TODO blocks.
14345 Assume text_set_element is always defined.
14347 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
14348 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
14349 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
14351 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
14352 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
14353 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
14354 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
14355 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
14356 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
14357 Reformat bit flags for _flags field to make occupancy clearer.
14359 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
14360 Keep definitions consistent with those in libio/libio.h.
14362 * libio/libio.h (_IO_file_flags): Remove macro.
14363 All uses changed to _flags.
14365 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
14366 (__HAVE_COLUMN, _IO_BE): Don't define.
14367 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
14368 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
14369 * libio/libioP.h (EOF): Don't define.
14370 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
14371 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
14372 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
14373 testing _IO_UNIFIED_JUMPTABLES.
14375 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
14376 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
14377 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
14378 (_IO_size_t): Delete; all uses changed to size_t.
14379 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
14380 (_IO_off_t): Delete; all uses changed to off_t.
14381 (_IO_off64_t): Delete; all uses changed to off64_t.
14382 (_IO_pid_t): Delete; all uses changed to pid_t.
14383 (_IO_uid_t): Delete; all uses changed to uid_t.
14384 (_IO_wint_t): Delete; all uses changed to wint_t.
14385 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
14386 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
14387 (_IO_cookie_io_functions_t): Delete; all uses changed to
14388 cookie_io_functions_t.
14389 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
14390 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
14391 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
14392 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
14394 * libio/iofopncook.c: Remove unnecessary forward declarations.
14395 * libio/iolibio.h: Correct outdated commentary.
14396 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
14397 * stdio-common/fxprintf.c (__fxprintf_nocancel):
14398 Remove unnecessary casts.
14399 * stdio-common/getline.c: Use _IO_getdelim directly.
14400 Don't redefine ssize_t.
14401 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
14402 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
14403 Remove outdated comments.
14404 * stdio-common/vfscanf.c: Don't redefine va_list.
14406 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
14407 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
14408 Remove preprocessor conditionals on _LIBC and __USE_GNU,
14409 which are always true, and __cplusplus, which is always false.
14411 2018-02-21 Joseph Myers <joseph@codesourcery.com>
14415 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
14416 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
14417 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
14418 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
14420 [!_ISOMAC] (putc_unlocked): Likewise.
14421 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
14422 define inline if [__USE_EXTERN_INLINES].
14423 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
14428 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
14429 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
14430 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
14431 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
14432 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
14434 * time/tzfile.c (__tzfile_read): Likewise.
14436 2018-02-21 Mike FABIAN <mfabian@redhat.com>
14439 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
14441 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14443 * io/fcntl.h: Fix a typo in a comment.
14445 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14448 * include/features.h: Add _ISOC11_SOURCE to test for whether to
14449 define _DEFAULT_SOURCE.
14450 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
14452 2018-02-21 Florian Weimer <fweimer@redhat.com>
14455 * elf/cache.c (save_cache): Call fsync on temporary file before
14457 (save_aux_cache): Call fdatasync on temporary file before renaming
14460 2018-02-21 Florian Weimer <fweimer@redhat.com>
14463 * include/caller.h: Remove file.
14464 * elf/dl-caller.c: Likewise.
14465 * elf/Makefile (dl-routines): Remove dl-caller.
14466 (shared-only-routines): Do not add dl-caller.
14467 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
14469 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
14471 (dl_open_worker): Do not call __check_caller.
14472 (_dl_open): Do not set caller_dl_open member.
14473 * elf/rtld.c (_rtld_global_ro): Do not initialize
14474 _dl_check_caller member.
14475 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
14476 _dl_check_caller member.
14477 (_dl_check_caller): Remove declaration.
14478 * sysdeps/unix/sysv/linux/dl-execstack.c
14479 (_dl_make_stack_executable): Do not call __check_caller.
14481 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
14483 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
14484 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
14486 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14488 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
14491 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14494 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
14495 of 199606L, 200112L, and 200809L.
14496 (_XOPEN_SOURCE): Document special values of 600 and 700.
14497 (_ISOC11_SOURCE): Document macro.
14498 (_ATFILE_SOURCE): Likewise.
14499 (_FORTIFY_SOURCE): Likewise.
14501 2018-02-19 Joseph Myers <joseph@codesourcery.com>
14505 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
14506 and define as weak alias of __ferror_unlocked. Use
14508 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
14510 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
14511 function if [__USE_EXTERN_INLINES].
14512 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
14515 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
14518 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
14520 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14523 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
14524 the GLIBC_2.1 version.
14526 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14529 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
14530 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
14531 intl/tst-gettext-de.po from po/de.po by removing the
14532 POT-Creation-Date line.
14533 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
14535 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
14538 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14540 * mach/Makefile (headers): Add mach/param.h.
14541 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
14542 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
14543 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
14544 (__ptsname_r): Move implementation to...
14545 (__ptsname_internal): ... new function. Add filling the STP
14548 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
14550 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
14553 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
14555 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
14558 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14560 * nptl/Makefile (tst-mutex8-ENV): Delete.
14561 * nptl/tst-mutex8.c (check_type):
14562 Add runtime check if mutex will be elided.
14564 2018-02-15 Joseph Myers <joseph@codesourcery.com>
14568 * manual/install.texi (Configuring and compiling): Describe
14569 passing CC and CFLAGS on configure command line, not as
14570 environment variables. Use @code markup on those variables.
14571 Specify what options go in CC and what go in CFLAGS. Note the
14572 requirement to compile with optimization.
14573 * INSTALL: Regenerated.
14576 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
14577 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
14578 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
14579 __sigprocmask instead of sigprocmask.
14580 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
14582 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
14583 __sigsetjmp and sigprocmask.
14586 * include/argz.h (argz_next): Use libc_hidden_proto.
14587 (__argz_next): Likewise.
14588 * string-argz-next.c (__argz_next): Use libc_hidden_def.
14589 (argz_next): Use libc_hidden_weak.
14592 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
14594 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
14598 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
14600 * libio/iofputs.c (fputs): Use libc_hidden_weak.
14604 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
14605 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
14606 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
14607 (__feof_unlocked): New declaration, and inline function if
14608 [__USE_EXTERN_INLINES].
14609 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
14610 instead of feof_unlocked.
14611 * intl/localealias.c [_LIBC] (FEOF): Likewise.
14612 * nss/nsswitch.c (nss_parse_file): Likewise.
14613 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
14615 * time/getdate.c (__getdate_r): Likewise.
14616 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
14617 Define as macro to call __feof_unlocked.
14619 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14621 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
14623 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14625 * math/Makefile: Remove mpexp.c and mplog.c
14626 * sysdeps/i386/fpu/mpexp.c: Delete file.
14627 * sysdeps/i386/fpu/mplog.c: Likewise.
14628 * sysdeps/ia64/fpu/mpexp.c: Likewise.
14629 * sysdeps/ia64/fpu/mplog.c: Likewise.
14630 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
14631 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
14632 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
14633 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14634 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
14635 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
14636 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
14637 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
14638 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
14639 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14640 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
14641 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
14642 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14643 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
14644 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
14645 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14647 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14649 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14651 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14653 * sysdeps/sh/libm-test-ulps: Update.
14655 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14657 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
14660 2018-02-12 Zack Weinberg <zackw@panix.com>
14663 * posix/sys/types.h: Don't include sys/sysmacros.h.
14664 * misc/sys/sysmacros.h: Remove the conditional deprecation
14665 warnings for the macros defined by this header.
14667 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
14669 * manual/probes.texi: Remove slowexp probes.
14670 * math/Makefile: Remove slowexp.
14671 * sysdeps/generic/math_private.h (__slowexp): Remove.
14672 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
14673 document error bounds.
14674 * sysdeps/i386/fpu/slowexp.c: Remove.
14675 * sysdeps/ia64/fpu/slowexp.c: Remove.
14676 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
14677 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
14678 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
14679 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
14680 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
14681 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
14682 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
14683 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
14684 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
14685 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
14686 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
14688 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
14691 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
14692 * benchtests/pow-inputs: Update comment for slow path cases.
14693 * manual/probes.texi (slowpow_p10): Delete removed probe.
14694 (slowpow_p10): Likewise.
14695 * math/Makefile: Remove halfulp.c and slowpow.c.
14696 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
14697 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
14698 (__halfulp): Remove.
14699 (__slowpow): Remove.
14700 * sysdeps/i386/fpu/halfulp.c: Delete file.
14701 * sysdeps/i386/fpu/slowpow.c: Likewise.
14702 * sysdeps/ia64/fpu/halfulp.c: Likewise.
14703 * sysdeps/ia64/fpu/slowpow.c: Likewise.
14704 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
14705 improve comments and add error analysis.
14706 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
14707 (power1): Remove function:
14708 (log1): Remove error argument, add error analysis.
14709 (my_log2): Remove function.
14710 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
14711 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14712 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
14713 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
14714 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
14715 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
14716 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
14717 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
14718 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
14719 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
14720 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
14721 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14722 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
14723 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14725 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
14727 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
14728 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
14730 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
14733 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
14734 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
14735 and PTRACE_SETHBPREGS.
14737 2018-02-10 Zack Weinberg <zackw@panix.com>
14740 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
14742 * malloc/tst-malloc-stats-cancellation.c: New test case.
14743 * malloc/Makefile: Add new test case.
14745 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
14747 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
14749 2018-02-10 Joseph Myers <joseph@codesourcery.com>
14751 * math/Makefile (libm-narrow-fns): Add add.
14752 (libm-test-funcs-narrow): Likewise.
14753 * math/Versions (GLIBC_2.28): Add narrowing add functions.
14754 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
14755 * math/gen-auto-libm-tests.c (test_functions): Add add.
14756 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
14757 (NARROW_ADD_ROUND_TO_ODD): Likewise.
14758 (NARROW_ADD_TRIVIAL): Likewise.
14759 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
14761 (__daddl): Likewise.
14762 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
14764 (CFLAGS-nldbl-dadd.c): New variable.
14765 (CFLAGS-nldbl-fadd.c): Likewise.
14766 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14768 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
14770 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
14771 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
14772 * math/auto-libm-test-in: Add tests of add.
14773 * math/auto-libm-test-out-narrow-add: New generated file.
14774 * math/libm-test-narrow-add.inc: New file.
14775 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14776 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
14777 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
14778 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
14779 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
14780 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
14781 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
14782 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
14783 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
14784 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
14785 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
14786 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
14787 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
14788 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
14789 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
14790 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
14791 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
14792 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
14793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14794 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14795 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14796 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14797 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14798 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14799 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14800 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14801 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14802 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14803 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14804 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14805 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14806 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14811 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14812 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14813 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14814 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14815 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14816 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14817 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14818 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14819 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14820 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14822 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
14823 (f128-pairs): New variable.
14824 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
14825 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
14827 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
14828 Also make tests add $(f128-loader-link) to gnulib-tests.
14830 2018-02-09 DJ Delorie <dj@redhat.com>
14833 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
14834 64-bit ELF type for 64-bit ELF objects.
14836 2018-02-09 Joseph Myers <joseph@codesourcery.com>
14838 * math/libm-test-driver.c (snan_tests_arg): New variable.
14839 * math/libm-test-support.h (snan_tests_arg): New declaration.
14840 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
14842 * math/Makefile (test-type-pairs): New variable.
14843 (test-type-pairs-f64xf128-yes): Likewise.
14844 (tests): Add test-narrow-macros.
14845 (libm-test-funcs-narrow): New variable.
14846 (libm-test-c-narrow): Likewise.
14847 (generated): Add $(libm-test-c-narrow).
14848 (libm-tests-base-narrow): New variable.
14849 (libm-tests-narrow): Likewise.
14850 (libm-tests): Add $(libm-tests-narrow).
14851 (libm-tests-for-type): Handle $(libm-tests-narrow).
14852 (libm-test-c-narrow-obj): New variable.
14853 ($(libm-test-c-narrow-obj)): New rule.
14854 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
14855 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
14856 $(o-iterator) to set dependencies and CFLAGS.
14857 * math/gen-auto-libm-tests.c: Document use for narrowing
14859 (output_for_one_input_case): Take argument NARROW.
14860 (generate_output): Likewise. Update call to
14861 output_for_one_input_case.
14862 (main): Take --narrow option. Update call to generate_output.
14863 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
14864 (apply_lit): Update call to _apply_lit.
14865 (apply_arglit): New function.
14866 (parse_args): Handle "a" arguments.
14867 (parse_auto_input): Handle format names using ":".
14868 * math/README.libm-test: Document "a" parameter type.
14869 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
14870 (ARG_TYPE_TRUE_MIN): Likewise.
14871 (ARG_TYPE_MAX): Likwise.
14872 (ARG_MIN_EXP): Likewise.
14873 (ARG_MAX_EXP): Likewise.
14874 (ARG_MANT_DIG): Likewise.
14875 (TEST_COND_arg_ibm128): Likewise.
14876 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
14877 (TEST_COND_arg_fmt): New macro.
14878 (init_max_error): Update prototype.
14879 * math/libm-test-support.c (test_ibm128): New variable.
14880 (init_max_error): Take argument testing_ibm128 and set test_ibm128
14881 instead of using [TEST_COND_ibm128] conditional.
14882 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
14883 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
14884 [TEST_NARROW] (TEST_MSG): New definition.
14885 (arg_plus_zero): New macro.
14886 (arg_minus_zero): Likewise.
14887 (arg_plus_infty): Likewise.
14888 (arg_minus_infty): Likewise.
14889 (arg_qnan_value_pl): Likewise.
14890 (arg_qnan_value): Likewise.
14891 (arg_snan_value_pl): Likewise.
14892 (arg_snan_value): Likewise.
14893 (arg_max_value): Likewise.
14894 (arg_min_value): Likewise.
14895 (arg_min_subnorm_value): Likewise.
14896 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
14897 (RUN_TEST_LOOP_aa_f): New macro.
14898 (TEST_SUFF): New macro.
14899 (TEST_SUFF_STR): Likewise.
14900 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
14901 (TEST_COND_any_ibm128): New macro.
14902 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
14903 this_func. Update call to init_max_error.
14904 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
14905 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
14906 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
14907 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
14908 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
14909 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
14910 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
14911 * math/test-math-scalar.h (TEST_NARROW): Likewise.
14912 * math/test-math-vector.h (TEST_NARROW): Likewise.
14913 * math/test-arg-double.h: New file.
14914 * math/test-arg-float128.h: Likewise.
14915 * math/test-arg-float32x.h: Likewise.
14916 * math/test-arg-float64.h: Likewise.
14917 * math/test-arg-float64x.h: Likewise.
14918 * math/test-arg-ldouble.h: Likewise.
14919 * math/test-math-narrow.h: Likewise.
14920 * math/test-narrow-macros.c: Likewise.
14921 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
14922 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
14923 test-narrow-macros-ldbl-64.
14924 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
14926 * math/bits/mathcalls-narrow.h: New file.
14927 * include/bits/mathcalls-narrow.h: Likewise.
14928 * math/math-narrow.h: Likewise.
14929 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
14930 (__MATHCALL_NARROW_ARGS_2): Likewise.
14931 (__MATHCALL_NARROW_ARGS_3): Likewise.
14932 (__MATHCALL_NARROW_NORMAL): Likewise.
14933 (__MATHCALL_NARROW_REDIR): Likewise.
14934 (__MATHCALL_NARROW): Likewise.
14935 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
14936 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
14938 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
14939 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
14940 (libm-narrow-fns): New variable.
14941 (libm-narrow-types-basic): Likewise.
14942 (libm-narrow-types-ldouble-yes): Likewise.
14943 (libm-narrow-types-float128-yes): Likewise.
14944 (libm-narrow-types-float128-alias-yes): Likewise.
14945 (libm-narrow-types): Likewise.
14946 (libm-routines): Add narrowing functions.
14947 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
14948 (libc_feholdexcept_setroundf128): New macro.
14949 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
14950 * sysdeps/ieee754/float128/float128_private.h: Include
14951 <math/math-narrow.h>.
14952 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
14953 Undefine and redefine.
14954 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
14955 (libm_alias_float_ldouble): Undefine and redefine.
14956 (libm_alias_double_ldouble): Likewise.
14958 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
14960 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
14962 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
14965 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
14967 * manual/creature.texi: Convert references to gcc.info to gcc.
14968 * manual/stdio.texi: Likewise.
14969 * manual/string.texi: Likewise.
14971 2018-02-07 Joseph Myers <joseph@codesourcery.com>
14974 * posix/bits/types.h (__int_least8_t): New typedef.
14975 (__uint_least8_t): Likewise.
14976 (__int_least16_t): Likewise.
14977 (__uint_least16_t): Likewise.
14978 (__int_least32_t): Likewise.
14979 (__uint_least32_t): Likewise.
14980 (__int_least64_t): Likewise.
14981 (__uint_least64_t): Likewise.
14982 * sysdeps/generic/stdint.h (int_least8_t): Define using
14984 (int_least16_t): Define using __int_least16_t.
14985 (int_least32_t): Define using __int_least32_t.
14986 (int_least64_t): Define using __int_least64_t.
14987 (uint_least8_t): Define using __uint_least8_t.
14988 (uint_least16_t): Define using __uint_least16_t.
14989 (uint_least32_t): Define using __uint_least32_t.
14990 (uint_least64_t): Define using __uint_least64_t.
14991 * wcsmbs/uchar.h: Include <bits/types.h>.
14992 (char16_t): Define using __uint_least16_t conditional only on
14994 (char32_t): Define using __uint_least32_t conditional only on
14996 * wcsmbs/test-char-types.c: New file.
14997 * wcsmbs/Makefile (tests): Add test-char-types.
14999 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
15002 2018-02-07 Zack Weinberg <zackw@panix.com>
15004 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
15005 Delete all contents except for definitions of _G_HAVE_MMAP and
15006 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
15007 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
15008 sysdeps/unix/sysv/linux/_G_config.h. Make same content
15011 * libio/libio.h: Don't include bits/_G_config.h here.
15012 Include stddef.h with __need_wchar_t defined. Include
15013 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
15014 Define _IO_iconv_t here, directly.
15015 Don't define _IO_HAVE_ST_BLKSIZE.
15016 * libio/libioP.h: Include _G_config.h here. Move include of
15017 shlib-compat.h up with rest of includes. Simplify conditionals
15018 controlling definition of _IO_JUMPS_OFFSET.
15020 * csu/init.c: Remove always-true #if around entire file.
15021 Don't include stdio.h. Set _IO_stdin_used to hardwired
15022 constant 0x20001, and update commentary.
15023 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
15024 Replace all uses of _G_va_list with __gnuc_va_list.
15025 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
15026 instead of #if _IO_HAVE_ST_BLKSIZE.
15027 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
15028 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
15031 * libio/bits/libio.h: Move back to libio/libio.h and adjust
15032 multiple-include guard to match.
15033 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
15035 Remove preprocessor conditionals that are always true and/or
15036 redundant to other preprocessor conditionals in the same nest.
15037 Include shlib-compat.h unconditionally.
15038 Error out if _LIBC is not defined, or if _ISOMAC is defined,
15039 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
15040 defined after including stdio.h.
15041 Use __BEGIN_DECLS/__END_DECLS.
15043 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
15044 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
15045 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
15047 2018-02-07 Zack Weinberg <zackw@panix.com>
15049 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
15050 New single-type headers split from _G_config.h.
15051 * libio/bits/types/cookie_io_functions_t.h
15052 * libio/bits/types/struct_FILE.h
15053 New single-type headers split from libio.h.
15055 * libio/Makefile: Install the above new headers. Don't install
15056 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
15058 * libio/_G_config.h, libio/libio.h: Delete file.
15060 * libio/bits/libio.h: Remove improper-inclusion guard.
15061 Include stdio.h and don't repeat anything that it does.
15062 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
15063 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
15064 __io_read_fn as cookie_read_function_t,
15065 __io_write_fn as cookie_write_function_t,
15066 __io_seek_fn as cookie_seek_function_t,
15067 __io_close_fn as cookie_close_function_t,
15068 and _IO_cookie_io_functions_t as cookie_io_functions_t.
15069 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
15070 here, in the "compatibility defines" section. Remove an #if 0
15071 block. Use the "body" macros from bits/types/struct_FILE.h to
15072 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
15073 and _IO_ferror_unlocked.
15074 Move prototypes of __uflow and __overflow...
15076 * libio/stdio.h: ...here. Don't include bits/libio.h.
15077 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
15078 directly from stdarg.h. Include bits/types/__fpos_t.h,
15079 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
15080 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
15081 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
15082 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
15083 cookie_io_functions_t, not _IO_cookie_io_functions_t;
15084 __ssize_t, not _IO_ssize_t. Unconditionally define
15085 BUFSIZ as 8192 and EOF as (-1).
15087 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
15088 macros from bits/types/struct_FILE.h instead of _IO_* macros
15089 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
15090 instead of _IO_ssize_t.
15091 * libio/bits/stdio2.h: Similarly.
15093 * libio/iolibio.h: Add multiple-include guard.
15094 Include bits/libio.h after stdio.h.
15095 * libio/libioP.h: Add multiple-include guard.
15096 Include stdio.h and bits/libio.h before iolibio.h.
15098 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
15099 * include/bits/types/cookie_io_functions_t.h
15100 * include/bits/types/struct_FILE.h: New wrappers.
15102 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
15103 Get definitions of _G_fpos_t and _G_fpos64_t from
15104 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
15105 respectively. Remove improper-inclusion guards.
15107 * conform/data/stdio.h-data: Update expectations of va_list.
15108 * scripts/check-installed-headers.sh: Remove special case for
15109 libio.h and _G_config.h.
15111 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15115 * include/sys/sysmacros.h [!_ISOMAC]
15116 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
15117 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
15118 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
15119 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
15121 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
15122 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
15124 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
15125 Undefine and redefine to add use __gnu_dev_ prefix.
15126 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
15128 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
15129 and define as hidden inline function.
15130 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
15132 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
15134 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
15135 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
15136 (gnu_dev_minor): Likewise.
15137 (gnu_dev_makedev): Likewise.
15138 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
15140 * posix/wordexp.c (exec_comm_child): Likewise.
15141 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
15142 instead of minor and __gnu_dev_major instead of major.
15143 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
15144 __gnu_dev_major instead of major.
15145 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
15146 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
15147 instead of gnu_dev_minor.
15148 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
15149 (SLAVE_P): Likewise.
15150 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
15151 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
15155 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
15157 * locale/weightwc.h (findidx): Likewise.
15159 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
15161 * manual/probes.texi (slowlog): Delete documentation of removed probe.
15162 (slowlog_inexact): Likewise
15163 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
15164 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
15166 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
15169 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
15170 missing second underscore to parameter name.
15172 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15178 * bits/byteswap.h: Update file comment. Do not include
15179 <bits/byteswap-16.h>.
15180 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
15182 (__bswap_16): Define as inline function.
15183 (__bswap_constant_32): Reformat definition.
15184 (__bswap_32): Always define as inline function, not macro, using
15185 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
15186 otherwise __bswap_constant_32.
15187 (__bswap_constant_64): Reformat definition. Do not use
15188 __extension__ here.
15189 (__bswap_64): Always define as inline function, not macro. Use
15190 __extension__ on function definition. Use __builtin_bswap64 if
15191 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
15192 * string/test-endian-file-scope.c: New file.
15193 * string/test-endian-sign-conversion.c: Likewise.
15194 * string/Makefile (headers): Remove bits/byteswap-16.h.
15195 (tests): Add test-endian-file-scope and
15196 test-endian-sign-conversion.
15197 (CFLAGS-test-endian-sign-conversion.c): New variable.
15198 * bits/byteswap-16.h: Remove file.
15199 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
15200 * sysdeps/ia64/bits/byteswap.h: Likewise.
15201 * sysdeps/m68k/bits/byteswap.h: Likewise.
15202 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15203 * sysdeps/s390/bits/byteswap.h: Likewise.
15204 * sysdeps/tile/bits/byteswap.h: Likewise.
15205 * sysdeps/x86/bits/byteswap-16.h: Likewise.
15206 * sysdeps/x86/bits/byteswap.h: Likewise.
15209 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
15210 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
15211 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
15212 199901L] (__restrict): Define to restrict.
15215 * string/testcopy.c: Include <support/support.h>. Do not include
15216 <malloc.h>. Use <support/test-driver.c>.
15217 (main): Rename to do_test. Make static. Use xmalloc instead of
15221 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
15222 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
15223 (SSIZE_MAX): Define to INT_MAX.
15224 * posix/test-ssize-max.c: New file.
15225 * posix/Makefile (tests): Add test-ssize-max.
15228 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
15229 <support/support.h>. Do not include <malloc.h>.
15230 (query_auxv): Use xmalloc instead of malloc.
15233 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
15234 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
15237 2018-02-06 Florian Weimer <fweimer@redhat.com>
15240 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15241 Use scratch_buffer instead of extend_alloca.
15243 2018-02-06 Zack Weinberg <zackw@panix.com>
15245 * libio/stdio.h: Don't define getc or putc as macros.
15246 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
15247 not _IO_getc and _IO_putc.
15249 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
15250 * stdio-common/tstgetln.c: Don't redefine ssize_t.
15252 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15254 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
15255 (TCP_FASTOPEN_NO_COOKIE): Likewise.
15257 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
15260 * elf/elf.h (NT_PRFPREG): New macro.
15261 (NT_S390_VXRS_LOW): Likewise.
15262 (NT_S390_VXRS_HIGH): Likewise.
15263 (NT_S390_GS_CB): Likewise.
15264 (NT_S390_GS_BC): Likewise.
15265 (NT_S390_RI_CB): Likewise.
15267 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
15268 (MAP_SYNC): New macro.
15269 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
15271 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
15272 (MAP_SYNC): Likewise.
15273 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
15274 (MAP_SYNC): Likewise.
15275 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
15276 (MAP_SYNC): Likewise.
15277 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
15278 (MAP_SYNC): Likewise.
15279 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
15280 (MAP_SYNC): Likewise.
15281 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
15282 (MAP_SYNC): Likewise.
15283 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
15285 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
15288 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
15289 (MAP_SHARED_VALIDATE): New macro.
15290 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15291 (MAP_SHARED_VALIDATE): Likewise.
15293 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15295 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
15296 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
15297 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
15299 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15301 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
15302 (DT_NUM): Updated to 35.
15304 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15306 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
15307 __builtin_expect with __glibc_likely and __glibc_unlikely.
15308 (elf_machine_rela): Likewise.
15309 (elf_machine_lazy_rel): Likewise.
15311 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15313 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
15314 __builtin_expect with __glibc_likely and __glibc_unlikely.
15315 (elf_machine_lazy_rel): Likewise.
15317 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15320 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
15322 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
15324 2018-02-05 Andreas Schwab <schwab@suse.de>
15327 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
15330 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15332 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
15333 not check against PTHREAD_STACK_MIN.
15335 2018-02-02 Sean McKean <smckean83@gmail.com>
15338 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
15340 2018-02-02 Florian Weimer <fweimer@redhat.com>
15343 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
15344 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
15345 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
15346 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
15347 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
15348 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
15349 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
15350 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
15351 * manual/llio.texi (Scatter-Gather): Mention offset -1.
15352 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
15353 * misc/tst-preadvwritev2.c (do_test): Call it.
15354 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
15356 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
15358 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
15360 * benchtests/bench-memcmp.c: Print json instead of plain text.
15362 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
15365 2018-02-01 Joseph Myers <joseph@codesourcery.com>
15367 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15369 (s390_sthyi): New syscall.
15371 * sysdeps/generic/ldbl-classify-compat.h: New file.
15372 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
15373 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
15374 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
15375 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
15376 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
15377 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
15378 * sysdeps/ieee754/dbl-64/s_finite.c: Include
15379 <ldbl-classify-compat.h>.
15380 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15381 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
15382 <ldbl-classify-compat.h>.
15383 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15384 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
15385 <ldbl-classify-compat.h>.
15386 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15387 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
15388 <ldbl-classify-compat.h>.
15389 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15390 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
15391 <ldbl-classify-compat.h>.
15392 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15393 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
15394 <ldbl-classify-compat.h>.
15395 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15396 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
15397 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15398 * sysdeps/m68k/coldfire/math_private.h: Remove file.
15399 * sysdeps/microblaze/math_private.h: Likewise.
15400 * sysdeps/nios2/math_private.h: Likewise.
15401 * sysdeps/sh/math_private.h: Likewise.
15403 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
15404 * sysdeps/m68k/coldfire/math_private.h: ... here.
15405 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
15406 * sysdeps/tile/math_private.h: Likewise.
15407 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
15409 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
15412 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
15414 (libc_fetestexcept): Likewise.
15415 (libc_feupdateenv_test): Likewise.
15416 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
15417 (libc_fetestexcept): Likewise.
15418 (libc_feupdateenv_test): Likewise.
15419 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
15420 (libc_fetestexcept): Likewise.
15421 (libc_feupdateenv_test): Likewise.
15422 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
15423 (libc_fetestexcept): Likewise.
15424 (libc_feupdateenv_test): Likewise.
15426 * sysdeps/generic/math_private.h
15427 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
15428 New inline function.
15429 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
15432 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
15433 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
15434 * sysdeps/generic/math_private.h
15435 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
15437 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
15439 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
15441 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
15443 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
15445 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
15447 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
15448 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
15449 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
15450 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
15451 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
15452 (__fegetenv): Likewise.
15453 (fesetenv): Likewise.
15454 (__fesetenv): Likewise.
15455 (feupdateenv): Likewise.
15456 (__feupdateenv): Likewise.
15457 (fegetround): Likewise.
15458 (__fegetround): Likewise.
15459 (fesetround): Likewise.
15460 (__fesetround): Likewise.
15462 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
15463 (feraiseexcept): New macro.
15464 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
15465 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
15467 (__feraiseexcept): Likewise.
15468 (feclearexcept): Likewise.
15469 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
15470 (__feraiseexcept): Likewise.
15471 (feclearexcept): Likewise.
15472 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
15473 (__feraiseexcept): Likewise.
15474 (feclearexcept): Likewise.
15475 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
15476 (__feraiseexcept): Likewise.
15477 (feclearexcept): Likewise.
15478 (fetestexcept): Likewise.
15480 * sysdeps/m68k/coldfire/math-tests.h: New file.
15482 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
15483 * sysdeps/m68k/bits/fenv.h: ... here.
15484 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
15486 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
15488 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
15490 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
15492 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
15494 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
15496 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
15497 (__FE_UNDEFINED): New enum constant.
15498 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
15500 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
15502 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
15504 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
15505 to match generic bits/fenv.h.
15506 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
15509 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
15511 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
15512 * soft-fp/half.h (union _FP_UNION_H): Likewise.
15513 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
15514 * soft-fp/single.h (union _FP_UNION_S): Likewise.
15516 2018-02-01 Carlos O'Donell <carlos@redhat.com>
15517 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
15518 Joseph Myers <joseph@codesourcery.com>
15521 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
15522 (__log1p): Disable -Wmaybe-uninitialized for -Os around
15523 computation using c.
15524 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
15525 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
15526 computation using c.
15528 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15530 * version.h (RELEASE): Set to "development".
15531 (VERSION): Set to "2.27.9000".
15532 * NEWS (2.28): New section.
15534 * version.h (RELEASE): Set to "stable".
15535 (VERSION): Set to "2.27".
15536 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
15538 * NEWS: Add the list of bugs fixed in 2.27.
15540 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15542 * stdlib/test-atexit-race-common.c (do_test): Check stack size
15543 against PTHREAD_STACK_MIN.
15545 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15547 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
15549 (Rafal Luzynski, Andreas Schwab): Update.
15551 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
15554 * NEWS: List the languages which actually use the alternative
15555 months feature in this release. Also explain that "alt_mon" and
15556 "ab_alt_mon" are optional.
15558 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
15561 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
15563 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
15565 * manual/install.texi (Tools for Compilation): Update the newest
15566 versions of gcc, binutils, texinfo, gawk, bison, and sed.
15567 * INSTALL: Regenerated.
15569 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15571 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
15572 instead of __builtin_expect.
15574 2018-01-30 Florian Weimer <fweimer@redhat.com>
15576 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
15578 * nss/tst-nss-getpwent.c (do_test): Likewise.
15580 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
15583 * localedata/locales/hr_HR (mon): Rename to...
15585 (mon): Import from CLDR (genitive case).
15586 (d_t_fmt): Update the comment.
15588 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
15590 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
15591 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
15592 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
15594 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15596 * mach/Versions: Fix version when __mach_host_self_ was added.
15597 * hurd/Versions: Fix version when _hurd_exec_paths was added.
15598 * sysdeps/mach/hurd/i386/ld.abilist: New file.
15599 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
15600 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
15601 * sysdeps/mach/hurd/i386/libc.abilist: New file.
15602 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
15603 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
15604 * sysdeps/mach/hurd/i386/libm.abilist: New file.
15605 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
15606 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
15607 * sysdeps/mach/hurd/i386/librt.abilist: New file.
15608 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
15609 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
15610 || to respect codestyle.
15611 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
15612 (do_test_bz20181): Rename accordingly.
15613 * malloc/malloc.c: Include <assert.h>.
15614 (assert): Do not define.
15615 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
15616 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
15617 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
15618 * sysdeps/mach/hurd/hp-timing.h: New file.
15619 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
15621 2018-01-29 Darius Rad <darius@bluespec.com>
15623 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
15625 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
15627 * sysdeps/init_array/crti.S (.section .init_array): Add
15628 PREINIT_FUNCTION when defined.
15629 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
15630 * config.h.in: Regenerate.
15631 * manual/platform.texi: Add RISC-V documenation for
15632 __riscv_flush_icache.
15633 * sysdeps/riscv/__longjmp.S: New file.
15634 * sysdeps/riscv/backtrace.c: Likewise.
15635 * sysdeps/riscv/bits/endian.h: Likewise.
15636 * sysdeps/riscv/bits/setjmp.h: Likewise.
15637 * sysdeps/riscv/bits/wordsize.h: Likewise.
15638 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
15639 * sysdeps/riscv/bsd-setjmp.c: Likewise.
15640 * sysdeps/riscv/dl-trampoline.S: Likewise.
15641 * sysdeps/riscv/gccframe.h: Likewise.
15642 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
15643 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
15644 * sysdeps/riscv/machine-gmon.h: Likewise.
15645 * sysdeps/riscv/memusage.h: Likewise.
15646 * sysdeps/riscv/setjmp.S: Likewise.
15647 * sysdeps/riscv/sys/asm.h: Likewise.
15648 * sysdeps/riscv/tls-macros.h: Likewise.
15649 * sysdeps/riscv/dl-tls.h: New file.
15650 * sysdeps/riscv/libc-tls.c: Likewise.
15651 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
15652 * sysdeps/riscv/nptl/tls.h: Likewise.
15653 * sysdeps/riscv/stackinfo.h: Likewise.
15654 * sysdeps/riscv/bits/fenv.h: New file.
15655 * sysdeps/riscv/e_sqrtl.c: Likewise.
15656 * sysdeps/riscv/fpu_control.h: Likewise.
15657 * sysdeps/riscv/math-tests.h: Likewise.
15658 * sysdeps/riscv/nofpu/Implies: Likewise.
15659 * sysdeps/riscv/sfp-machine.h: Likewise.
15660 * sysdeps/riscv/tininess.h: Likewise.
15661 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
15662 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
15663 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
15664 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
15665 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
15666 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
15667 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
15668 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
15669 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
15670 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
15671 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
15672 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
15673 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
15674 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
15675 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
15676 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
15677 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
15678 * sysdeps/riscv/rvd/s_finite.c: Likewise.
15679 * sysdeps/riscv/rvd/s_fma.c: Likewise.
15680 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
15681 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
15682 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
15683 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
15684 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
15685 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
15686 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
15687 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
15688 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
15689 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
15690 * sysdeps/riscv/rvf/fegetround.c: Likewise.
15691 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
15692 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
15693 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
15694 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
15695 * sysdeps/riscv/rvf/fesetround.c: Likewise.
15696 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
15697 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
15698 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
15699 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
15700 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
15701 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
15702 * sysdeps/riscv/rvf/math_private.h: Likewise.
15703 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
15704 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
15705 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
15706 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
15707 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
15708 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
15709 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
15710 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
15711 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
15712 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
15713 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
15714 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
15715 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
15716 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
15717 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
15718 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
15719 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
15720 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
15721 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
15722 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
15723 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
15724 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15725 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
15726 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
15727 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
15728 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
15729 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
15730 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
15731 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
15732 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
15733 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
15734 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
15735 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
15736 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
15737 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
15738 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
15739 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
15740 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
15741 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
15742 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
15743 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
15744 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
15745 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
15746 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
15747 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
15748 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
15749 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
15750 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
15751 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
15752 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
15753 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
15754 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
15755 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
15756 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
15757 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
15758 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
15759 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
15760 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
15761 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
15762 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
15763 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15764 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15765 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15766 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15767 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15768 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15769 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15770 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15771 * sysdeps/riscv/Implies: New file.
15772 * sysdeps/riscv/Makefile: Likewise.
15773 * sysdeps/riscv/configure: Likewise.
15774 * sysdeps/riscv/configure.ac: Likewise.
15775 * sysdeps/riscv/nptl/Makefile: Likewise.
15776 * sysdeps/riscv/preconfigure: Likewise.
15777 * sysdeps/riscv/rv64/Implies-after: Likewise.
15778 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
15779 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
15780 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
15781 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
15782 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
15783 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
15784 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
15785 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
15786 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
15787 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
15788 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
15789 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
15790 (Config): Likewise.
15792 2018-01-29 Florian Weimer <fweimer@redhat.com>
15795 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
15796 libnsl_hidden_proto.
15797 * include/rpcsvc/yp.h (yp_xdrall): Declare with
15798 libnsl_hidden_proto.
15799 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
15800 * nis/Makefile (libnsl-routines): Add nss-default only for
15801 build-obsolete-nsl.
15802 * nis/nis_defaults.c (__nis_default_ttl): Add
15803 libnsl_hidden_nolink_def.
15804 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
15806 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
15807 * nis/ypclnt.c (yp_maplist): Likewise.
15809 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
15811 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15812 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
15814 2018-01-29 Joseph Myers <joseph@codesourcery.com>
15816 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
15817 clean -dxfq for git updates when replacing sources.
15819 * scripts/build-many-glibcs.py (Config.build_gcc): Use
15820 --disable-libcilkrts unconditionally, not just for the final GCC
15823 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15826 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15829 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
15832 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15835 * localedata/locales/be_BY (mon): Rename to...
15836 (alt_mon): This, then synchronize with CLDR (nominative case).
15837 (abmon): Rename to...
15838 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15839 (mon): Import from CLDR (genitive case).
15841 * localedata/locales/be_BY@latin (mon): Rename to...
15843 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
15845 * localedata/locales/be_BY@latin (lang_name): Reworded to
15846 "biełaruskaja mova".
15848 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15851 * localedata/locales/el_CY (mon): Renamed to...
15853 (mon): Import from CLDR (genitive case).
15854 * localedata/locales/el_GR: Likewise.
15856 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15859 * localedata/locales/ru_RU (mon): Rename to...
15861 (abmon): Rename to...
15862 (ab_alt_mon): This.
15863 (mon): Import from CLDR (genitive case).
15864 (abmon): Copy from the old content except the 5th month which is
15865 now in the genitive case, even when abbreviated.
15866 * localedata/locales/ru_UA: Likewise.
15867 * time/tst-strptime.c (day_tests): Add an actual example of
15868 a difference between %b and %Ob in Russian.
15870 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15872 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
15873 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
15875 * resolv/res-close.c: Include <stdlib.h>.
15876 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
15877 <sys/wait.h>, <time.h>, <sys/uio.h>.
15878 (NOT_CANCEL_H): Add inclusion guard.
15879 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
15880 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
15881 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
15883 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
15884 vm_address_t * to ElfW(Addr) * for dl_main parameter.
15885 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
15887 * sysdeps/pthread/timer_create.c (timer_create): Do not use
15888 timer_ptr2id to cast struct timer_node * to void *.
15889 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
15890 --disable-libcilkrts to gcc configure.
15891 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
15892 and make them the default for now.
15893 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
15894 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
15895 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
15896 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
15897 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
15899 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
15900 __task_terminate would ever return successfully.
15901 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
15903 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
15904 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
15905 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
15906 critical section to make code simpler and avoid warning.
15907 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
15908 critical section to make code simpler and avoid warning.
15909 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
15910 const char * instead of char *.
15911 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
15912 __hurd_file_name_split, hurd_file_name_split,
15913 __hurd_directory_name_split, hurd_directory_name_split,
15914 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
15915 hurd_file_name_path_lookup): Make lookup function parameter take a
15916 const char *name instead of char *name.
15917 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
15918 __hurd_directory_name_split): Likewise.
15919 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
15920 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
15921 * sysdeps/mach/hurd/check_native.c: New file.
15922 * sysdeps/mach/hurd/check_pf.c: New file.
15923 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
15924 (__freeifaddrs): Define macro to freeifaddrs.
15925 * sysdeps/mach/hurd/libhurduser.abilist: New file.
15926 * sysdeps/mach/libmachuser.abilist: New file.
15927 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
15928 (do_test_bz20181): Rename accordingly.
15929 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
15930 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
15932 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
15933 version only if __USE_EXTERN_INLINES is defined.
15934 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
15935 __hurd_sockfail): Likewise.
15936 (_hurd_fd_get): Always declare functions, and provide inline versions
15937 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
15938 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
15939 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
15940 _hurd_port_set): Always declare functions, and provide inline versions
15941 only if __USE_EXTERN_INLINES and _LIBC are defined and
15943 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
15944 _hurd_critical_section_unlock): Likewise.
15945 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
15946 * __hurd_threadvar_location): Likewise.
15947 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
15948 _hurd_userlink_clear): Likewise.
15949 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
15950 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
15951 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
15952 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
15953 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
15954 __spin_lock_locked): Likewise.
15955 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
15956 __spin_lock_locked): Likewise.
15957 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
15958 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
15959 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
15960 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
15961 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
15962 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
15963 _POSIX_NO_TRUNC): Define to 0.
15964 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
15965 check size against PTHREAD_STACK_MIN.
15966 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
15967 IS_IN(libpthread)]: Include <sigsetops.h>.
15968 * mach/Makefile (user-interfaces): Add mach/gnumach.
15969 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
15970 * sysdeps/mach/configure (mach_interface_list): Regenerate.
15971 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
15972 instead of invalid -1.
15973 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
15974 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
15975 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
15978 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
15980 * hurd/fcntl-internal.h: New file.
15982 2018-01-27 James Clarke <jrtc27@jrtc27.com>
15984 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15986 * sysdeps/alpha/fpu/libm-test-ulps: Update.
15988 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
15991 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
15992 Build only shared objects.
15994 2018-01-26 Carlos O'Donell <carlos@redhat.com>
15996 * README: Update for hppa.
15998 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16000 * sysdeps/sparc/fpu/libm-test-ulps: Update
16001 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
16003 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16007 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16010 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16011 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
16012 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16013 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
16016 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16019 * bits/types/__cancel_jmp_buf_tag.h: New file.
16020 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
16021 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
16022 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
16023 * nptl/Makefile (headers): Add
16024 bits/types/__cancel_jmp_buf_tag.h.
16025 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
16026 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
16027 * sysdeps/nptl/pthread.h: Include
16028 <bits/types/__cancel_jmp_buf_tag.h>.
16029 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
16031 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
16033 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
16036 * localedata/locales/uk_UA (mon): Renamed to...
16038 (alt_digits): "0" removed and then renamed to...
16040 (date_fmt): Definition changed not to use the alternative
16043 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
16045 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
16046 FLAG_RISCV_FLOAT_ABI_DOUBLE.
16047 * elf/elf.h (EF_RISCV_RVC): New define.
16048 (EF_RISCV_FLOAT_ABI): Likewise.
16049 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
16050 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
16051 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16052 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
16053 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
16055 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16057 2018-01-25 Andreas Schwab <schwab@suse.de>
16059 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
16061 * sysdeps/gnu/configure: Regenerate.
16062 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
16063 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16065 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
16066 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
16067 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
16068 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
16069 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
16071 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16073 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
16074 URL, and run autoconf, make it the default for now.
16076 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16078 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16079 soft-float ColdFire configuration.
16081 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
16082 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
16083 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
16085 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
16088 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
16090 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
16092 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
16095 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
16096 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
16097 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
16100 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
16103 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
16104 Rename to __reserved and add comment.
16105 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
16106 Rename to __reserved.
16108 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16110 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16111 i686-gnu configurations.
16112 (Context.run_builds): Include mig, gnumach and hurd in components
16114 (Context.checkout): Add mig, gnumach and hurd to components.
16115 (Context.checkout_tar): Add URL mappings for mig, gnumach and
16117 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
16118 (Config.build): Install gnumach headers, build mig and install
16119 hurd headers for 'gnu' OS.
16120 (Config.install_gnumach_headers): New function.
16121 (Config.install_hurd_headers): Likewise.
16122 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
16123 when building for 'gnu' OS.
16125 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
16127 * manual/tunables.texi (Hardware Capability Tunables): Fix
16130 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
16132 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
16133 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
16134 (ALTMON_11, ALTMON_12): Improve documentation.
16135 * manual/time.texi (strftime): Likewise.
16137 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16140 * localedata/locales/pl_PL: Alternative month names added,
16141 primary month names are genitive now.
16142 * time/tst-strptime.c (day_tests): Actually use a genitive case
16143 of a month name in Polish language.
16145 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16148 * manual/locale.texi: Document ALTMON_1..12 constants for
16149 nl_langinfo. Specify when to use ALTMON instead of MON.
16150 * manual/time.texi (strftime, strptime): Document GNU extension
16151 permitting O modifier with %B and %b. Specify when to use
16154 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16157 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
16158 names, define them as the same as abbreviated month names explicitly.
16159 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
16160 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
16161 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
16162 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
16163 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
16164 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
16165 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
16166 _NL_WABALTMON_12): New enum constants.
16167 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
16168 wab_alt_mon, and ab_alt_mon_defined members.
16169 (time_output): Output ab_alt_mon and wab_alt_mon members.
16170 (time_read): Read them, initialize them as copies of abmon and wabmon
16171 respectively if they are missing, initialize ab_alt_mon_defined.
16172 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
16173 * locale/programs/locfile-kw.h: Regenerate.
16174 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
16175 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
16177 * time/strftime_l.c (a_altmonth, aam_len): New macros.
16178 [!COMPILE_WIDE] (ABALTMON_1): New macro.
16179 (__strftime_internal): Handle %Ob and %Oh formats.
16180 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
16181 (__strptime_internal): Handle %Ob and %Oh formats.
16182 * time/tst-strptime.c (day_tests): Add more tests to parse different
16183 forms of month names including the new %Ob format specifier.
16185 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16188 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
16189 define them as the same as primary full month names explicitly.
16190 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
16191 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
16192 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
16193 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
16194 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
16195 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
16196 _NL_WALTMON_12): New enum constants.
16197 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
16198 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
16200 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
16201 walt_mon, and alt_mon_defined members.
16202 (time_output): Output alt_mon and walt_mon members.
16203 (time_read): Read them, initialize them as copies of mon and wmon
16204 respectively if they are missing, initialize alt_mon_defined.
16205 * locale/programs/locfile-kw.gperf (alt_mon): Define.
16206 * locale/programs/locfile-kw.h: Regenerate.
16207 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
16208 * localedata/tst-langinfo.c (map): Add tests for the new constants
16209 ALTMON_1 .. ALTMON_12.
16210 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
16212 * time/strftime_l.c (f_altmonth): New macro.
16213 (__strftime_internal): Handle %OB format.
16214 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
16215 (__strptime_internal): Handle %OB format.
16216 * time/tst-strptime.c (day_tests): Add tests to parse different forms
16217 of month names including the new %OB format specifier.
16219 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16222 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
16223 from ABORT_TRANSACTION.
16224 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
16225 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
16226 ABORT_TRANSACTION_IMPL): Likewise.
16227 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
16228 Linux code, but remove the code that aborts transactions.
16230 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16232 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
16234 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
16236 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
16237 in date: "2004-14-09" should be "2004-09-14".
16238 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
16239 "2003-15-09" should be "2003-09-15".
16241 2018-01-18 Arjun Shankar <arjun@redhat.com>
16247 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
16249 (_int_memalign): check for integer overflow before calling
16251 * malloc/tst-malloc-too-large.c: New test.
16252 * malloc/Makefile: Add tst-malloc-too-large.
16254 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
16256 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
16257 in date: "2017-24-07" should be "2017-07-24".
16258 * localedata/locales/mai_IN: Likewise.
16259 * localedata/locales/mai_NP: Likewise.
16261 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
16263 * po/ru.po: Update translations.
16265 2018-01-17 Joseph Myers <joseph@codesourcery.com>
16268 * sysdeps/hppa/backtrace.c: New file.
16270 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
16273 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
16274 align La_x86_64_retval to VEC_SIZE.
16276 2018-01-16 Joseph Myers <joseph@codesourcery.com>
16278 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
16279 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
16281 2018-01-16 Florian Weimer <fweimer@redhat.com>
16283 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
16284 Move tst-thread-exit-clobber ...
16285 [$(CXX)] (tests-unsupported): ... to here.
16287 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16289 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
16290 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
16291 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16292 (_dl_aarch64_cap_flags): Update.
16293 (_DL_HWCAP_COUNT): Update.
16295 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16297 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
16298 (_DL_HWCAP_LAST): Remove.
16299 (_DL_HWCAP_COUNT): Move to ...
16300 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16301 (_DL_HWCAP_COUNT): ... here.
16303 2018-01-16 Florian Weimer <fweimer@redhat.com>
16305 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
16306 mode with GNU extensions.
16308 2018-01-15 Alan Hayward <alan.hayward@arm.com>
16310 * elf/elf.h (NT_ARM_SVE): Define.
16312 2018-01-15 Florian Weimer <fweimer@redhat.com>
16315 * nptl/tst-minstack-throw.cc: New file.
16316 * nptl/Makefile (tests): Add tst-minstack-throw.
16317 (LDLIBS-tst-minstack-throw): Link with libstdc++.
16318 [!CXX] (tests-unsupported): Add tst-minstack-throw.
16320 2018-01-15 Joseph Myers <joseph@codesourcery.com>
16322 * scripts/build-many-glibcs.py (Context.checkout): Default
16323 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
16326 2018-01-13 Carlos O'Donell <carlos@redhat.com>
16329 * elf/elf.h (DF_1_STUB): Define.
16330 (DF_1_PIE): Define.
16332 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16335 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
16336 Do not add 0.5 to integer or out-of-range arguments.
16338 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16340 * po/bg.po: Update translations.
16341 * po/cs.po: Likewise.
16342 * po/de.po: Likewise.
16343 * po/ko.po: Likewise.
16344 * po/pl.po: Likewise.
16345 * po/sv.po: Likewise.
16346 * po/uk.po: Likewise.
16347 * po/vi.po: Likewise.
16349 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16351 * aarch64/start.S (_start): Use __wrap_main.
16352 (__wrap_main): New local symbol.
16354 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16358 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
16359 generic_getcwd if the path returned by getcwd syscall is not absolute.
16360 * io/tst-getcwd-abspath.c: New test.
16361 * io/Makefile (tests): Add tst-getcwd-abspath.
16363 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
16365 * malloc/malloc.c (malloc_consolidate): Add size check.
16367 2018-01-12 Florian Weimer <fweimer@redhat.com>
16369 * support/write_message.c (write_message): Preserve errno.
16370 * support/check.c (print_failure): Likewise.
16371 * support/support_test_verify_impl.c (support_test_verify_impl):
16373 * support/support_test_compare_failure.c
16374 (support_test_compare_failure): Likewise.
16376 2018-01-12 Florian Weimer <fweimer@redhat.com>
16379 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
16380 Prevent installation of libnsl.so.
16381 (libnsl-inhibit-o): Do not build (or install) static libraries.
16383 2018-01-12 Egmont Koblinger <egmont@gmail.com>
16386 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
16387 before the day number which may produce a double space.
16388 (date_fmt): Likewise.
16390 2018-01-12 Joseph Myers <joseph@codesourcery.com>
16392 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
16393 instead of fegetenv.
16395 2018-01-11 Joseph Myers <joseph@codesourcery.com>
16398 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
16399 comment to say exceptions are discarded.
16400 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
16402 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
16405 2018-01-11 Florian Weimer <fweimer@redhat.com>
16407 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
16410 2018-01-11 Florian Weimer <fweimer@redhat.com>
16413 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
16414 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
16416 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16419 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
16420 negative arguments in test for NaN or infinity argument.
16422 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
16424 * po/libc.pot: Regenerate.
16426 2018-01-10 Florian Weimer <fweimer@redhat.com>
16429 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
16430 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
16432 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16434 * hurd/hurd/fd.h: Include <fcntl.h>
16435 (__hurd_at_flags): New function.
16436 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
16437 with call to __hurd_at_flags.
16438 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
16439 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
16441 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
16442 (__access_noerrno): Use __faccessat_common instead of access_common.
16443 (__access): Likewise.
16444 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
16445 with a call to __faccessat.
16446 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
16447 (__faccessat_common): ... this. Move implementation of __access into it when
16448 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
16449 reauthenticate_cwdir_at helper to implement AT mechanism.
16450 (__faccessat_noerrno): New function, just calls __faccessat_common.
16451 (__faccessat): New function, just calls __faccessat_common.
16452 (faccessat): Define weak alias.
16454 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16457 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16458 (CFLAGS-s_fmaxmagl.c): New variable.
16459 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
16462 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
16463 long int for arguments of possibly overflowing addition or
16465 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16467 2018-01-09 Joseph Myers <joseph@codesourcery.com>
16470 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16471 (CFLAGS-e_remainderl.c): New variable.
16474 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
16476 (CFLAGS-s_cacoshl.c): Likewise.
16477 (CFLAGS-s_casinhl.c): Likewise.
16478 (CFLAGS-s_catanl.c): Likewise.
16479 (CFLAGS-s_catanhl.c): Likewise.
16480 (CFLAGS-s_cexpl.c): Likewise.
16481 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
16482 (CFLAGS-s_csinhl.c): Likewise.
16483 (CFLAGS-s_clogl.c): Likewise.
16484 (CFLAGS-s_clog10l.c): Likewise.
16485 (CFLAGS-s_csinl.c): Likewise.
16486 (CFLAGS-s_csqrtl.c): Likewise.
16488 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
16489 2017-01-09 Svante Signell <svante.signell@gmail.com>
16491 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
16492 (_hurd_exec_paths): New function.
16493 * hurd/hurd.h (_hurd_exec): Deprecate function.
16494 (_hurd_exec_paths): Declare function.
16495 * hurd/Versions: Export _hurd_exec_paths.
16496 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
16497 (__execve): Use __getcwd to build absolute path, and use
16498 _hurd_exec_paths instead of _hurd_exec.
16499 * sysdeps/mach/hurd/spawni.c: Likewise.
16500 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
16503 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
16505 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
16506 test instead of failing in case of ENOENT returned by posix_openpt.
16508 2018-01-08 Florian Weimer <fweimer@redhat.com>
16510 resolv: Support binary labels in test framework.
16511 * support/resolv_test.c (struct to_be_freed): Remove.
16512 (struct compressed_name): New.
16513 (allocate_compressed_name, ascii_tolower)
16514 (compare_compressed_name): New functions.
16515 (struct resolv_response_builder): Update type of
16516 compression_offsets for use with tsearch. Rempve to_be_freed.
16517 (response_push_pointer_to_free): Remove function.
16518 (resolv_response_add_name): Rewrite using struct compressed_name
16519 and tsearch instead of hsearch_r.
16520 (response_builder_allocate): Remove initialization of
16521 compression_offsets.
16522 (response_builder_free): Update for removal of to_be_freed. Use
16523 tdestroy instead of hdestroy_r.
16524 * resolv/Makefile (tests): Add tst-resolv-binary.
16525 (tst-resolv-binary): Link with -lresolv -lpthread.
16527 2018-01-08 Florian Weimer <fweimer@redhat.com>
16529 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
16530 time. Pass positive flag instead of negative flag to
16531 support_test_compare_failure.
16532 (support_test_compare_failure): Change negative parameter to
16534 * support/support_test_compare_failure.c (report)
16535 (support_test_compare_failure): Likewise.
16536 * support/tst-test_compare.c (return_ssize_t, return_int): New.
16537 (do_test): Check int/size_t, ssize_t/size_t comparisons.
16539 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
16542 * nptl/descr.h (stackblock, stackblock_size): Update comments.
16543 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
16544 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
16546 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16548 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
16550 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16551 Add s_sincosf-sse2 and s_sincosf-fma.
16552 (CFLAGS-s_sincosf-fma.c): New.
16553 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
16554 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
16555 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
16556 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
16557 __sincosf is defined.
16559 2018-01-08 Florian Weimer <fweimer@redhat.com>
16561 * nptl/tst-thread-exit-clobber.cc: New file.
16562 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
16564 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
16565 (tests): Add tst-thread-exit-clobber.
16566 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
16568 2018-01-08 Florian Weimer <fweimer@redhat.com>
16570 * support/check.h (support_static_assert): Define.
16571 (TEST_COMPARE): Use it.
16573 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
16575 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
16576 [!__RLIM_T_MATCHES_RLIM64_T]
16577 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
16578 __getrlimit64. Add libc_hidden_weak.
16580 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
16582 * elf/elf.h (R_RISCV_NONE): New define.
16583 (R_RISCV_32): Likewise.
16584 (R_RISCV_64): Likewise.
16585 (R_RISCV_RELATIVE): Likewise.
16586 (R_RISCV_COPY): Likewise.
16587 (R_RISCV_JUMP_SLOT): Likewise.
16588 (R_RISCV_TLS_DTPMOD32): Likewise.
16589 (R_RISCV_TLS_DTPMOD64): Likewise.
16590 (R_RISCV_TLS_DTPREL32): Likewise.
16591 (R_RISCV_TLS_DTPREL64): Likewise.
16592 (R_RISCV_TLS_TPREL32): Likewise.
16593 (R_RISCV_TLS_TPREL64): Likewise.
16594 * Makerules (make-link-multidir): Make directories before linking into
16596 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
16598 (VDSO_HASH_LINUX_4_15): Likewise.
16599 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
16600 in subdirectories of lib.
16601 * nptl/Makefile (/librt.so): Always depend on
16602 "$(shared-thread-library)".
16604 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16606 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
16607 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
16608 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
16610 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
16611 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
16613 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
16614 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
16615 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
16616 * sysdeps/gnu/glob-lstat-compat.c: New file.
16617 * sysdeps/gnu/glob64-lstat-compat.c: New file.
16618 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
16620 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16622 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
16623 Reserve 16 chars to reloc_addr before calling _itoa_word.
16625 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16628 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
16629 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
16631 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
16632 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
16634 * resource/tst-getrlimit.c: Add copyright header.
16636 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16637 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16639 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16640 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
16641 Define __GI_getrlimit64 as weak alias of __getrlimit64.
16642 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
16644 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16645 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
16646 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
16647 RLIM64_INFINITY): Fix values to match the kernel ones.
16648 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
16649 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
16650 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
16651 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
16652 getrlimit64@@GLIBC_2_27.
16653 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
16655 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
16656 getrlimit, setrlimit, getrlimit64 and setrlimit64.
16657 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
16658 setrlimit, getrlimit64 and setrlimit64.
16660 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16663 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
16664 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
16666 2018-01-04 Joseph Myers <joseph@codesourcery.com>
16668 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
16669 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
16670 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
16672 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16676 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
16677 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
16681 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
16682 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
16683 * sysdeps/alpha/fpu/s_floor.c: Likewise.
16684 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
16686 2018-01-04 Florian Weimer <fweimer@redhat.com>
16689 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16690 Align the stack before calling exit.
16691 * stdlib/tst-makecontext-align.c: New file.
16692 * stdlib/Makefile (tests): Add tst-makecontext-align.
16694 2018-01-04 Florian Weimer <fweimer@redhat.com>
16696 Add support for calling dlvsym from libc.so.
16697 * include/dlfcn.h (__libc_dlvsym): Declare.
16698 * elf/Makefile (tests-static-internal): Add
16699 tst-libc_dlvsym-static.
16700 (tests-internal): Add tst-libc_dlvsym.
16701 (modules-names): Add tst-libc_dlvsym-dso.
16702 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
16703 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
16704 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
16705 object tst-libc_dlvsym-dso.so needs to be built before running
16707 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
16708 * elf/Versions: Export __libc_dlvsym.
16709 * elf/dl-libc.c (struct do_dlvsym_args): New.
16710 (do_dlvsym, __libc_dlvsym): New functions.
16711 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
16712 (_dl_open_hook2): New variable.
16713 (__libc_register_dl_open_hook): Set it.
16714 * elf/tst-libc_dlvsym-dso.c: New file.
16715 * elf/tst-libc_dlvsym-static.c: Likewise.
16716 * elf/tst-libc_dlvsym.c: Likewise.
16717 * elf/tst-libc_dlvsym.h: Likewise.
16719 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16721 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
16722 include <sys/mount.h>.
16724 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
16726 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
16727 Add __NO_MATH_ERRNO__ check.
16729 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16731 * sysdeps/mips/mips32/libm-test-ulps: Update.
16732 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16734 2018-01-02 Florian Weimer <fweimer@redhat.com>
16736 * misc/tst-pselect.c: Add copyright header.
16738 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16740 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
16742 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
16744 (settrlimit): Rename into setrlimit.
16745 (__sttrlimit): Rename into __setrlimit.
16747 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
16748 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
16749 never defined in that case.
16751 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16753 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
16755 * sysdeps/arm/libm-test-ulps: Update.
16757 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
16758 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
16760 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16762 * NEWS: Add cosf and sincosf to list of optimized functions.
16764 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16767 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
16768 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
16769 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
16770 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
16772 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
16775 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
16777 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
16778 making a copy of it.
16780 2018-01-01 Joseph Myers <joseph@codesourcery.com>
16782 * manual/texinfo.tex: Update to version 2017-12-26.21 with
16783 trailing whitespace removed.
16784 * scripts/config.guess: Update to version 2018-01-01.
16785 * scripts/config.sub: Update to version 2018-01-01.
16786 * scripts/move-if-change: Update from gnulib.
16788 * NEWS: Update copyright dates.
16789 * catgets/gencat.c (print_version): Likewise.
16790 * csu/version.c (banner): Likewise.
16791 * debug/catchsegv.sh: Likewise.
16792 * debug/pcprofiledump.c (print_version): Likewise.
16793 * debug/xtrace.sh (do_version): Likewise.
16794 * elf/ldconfig.c (print_version): Likewise.
16795 * elf/ldd.bash.in: Likewise.
16796 * elf/pldd.c (print_version): Likewise.
16797 * elf/sotruss.sh: Likewise.
16798 * elf/sprof.c (print_version): Likewise.
16799 * iconv/iconv_prog.c (print_version): Likewise.
16800 * iconv/iconvconfig.c (print_version): Likewise.
16801 * locale/programs/locale.c (print_version): Likewise.
16802 * locale/programs/localedef.c (print_version): Likewise.
16803 * login/programs/pt_chown.c (print_version): Likewise.
16804 * malloc/memusage.sh (do_version): Likewise.
16805 * malloc/memusagestat.c (print_version): Likewise.
16806 * malloc/mtrace.pl: Likewise.
16807 * manual/libc.texinfo: Likewise.
16808 * nptl/version.c (banner): Likewise.
16809 * nscd/nscd.c (print_version): Likewise.
16810 * nss/getent.c (print_version): Likewise.
16811 * nss/makedb.c (print_version): Likewise.
16812 * posix/getconf.c (main): Likewise.
16813 * scripts/test-installation.pl: Likewise.
16814 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16816 * All files with FSF copyright notices: Update copyright dates
16817 using scripts/update-copyrights.
16818 * locale/programs/charmap-kw.h: Regenerated.
16819 * locale/programs/locfile-kw.h: Likewise.
16821 2017-12-31 Zack Weinberg <zackw@panix.com>
16823 * libio/bits/libio-ldbl.h: Correct check for improper
16824 inclusion. Add own multiple include guard.
16826 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
16827 Dmitry V. Levin <ldv@altlinux.org>
16831 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
16832 string token expansion. Check for NULL pointer or empty string possibly
16833 returned by expand_dynamic_string_token.
16834 (decompose_rpath): Check for empty path after dynamic string
16837 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
16840 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
16842 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
16843 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
16844 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
16845 and PTRACE_SYSCALL.
16846 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
16847 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16848 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16849 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16850 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16851 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
16853 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
16854 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
16855 __ptrace_peeksiginfo_flags, ptrace): Move to ...
16856 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
16857 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16858 bits/ptrace-shared.h.
16859 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
16860 <bits/ptrace-shared.h>.
16861 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
16862 __ptrace_peeksiginfo_flags, ptrace): Remove.
16863 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16864 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16865 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16866 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16867 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
16869 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
16872 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
16873 end of the loop. Improve comments.
16875 2017-12-29 Zack Weinberg <zackw@panix.com>
16878 * manual/errno.texi (Checking for Errors): Explicitly say that errno
16879 might be set on success.
16881 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
16884 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
16885 is unchanged on success.
16887 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
16889 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
16891 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
16892 expand_dynamic_string_token): Likewise.
16893 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
16896 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
16899 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
16900 is set and name contains ':', and all code depending on these checks.
16902 2017-12-24 Zack Weinberg <zackw@panix.com>
16904 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
16905 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
16907 * libio/libio.h: Rename the original version of this file to
16908 libio/bits/libio.h. Error out if not included by stdio.h or the
16910 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
16911 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
16912 if not included by bits/libio.h or the stub _G_config.h.
16913 * sysdeps/unix/sysv/linux/_G_config.h: Move to
16914 sysdeps/unix/sysv/linux/bits. Error out if not included by
16915 bits/libio.h or the stub _G_config.h.
16916 * libio/stdio.h: Include bits/libio.h, not libio.h.
16917 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
16918 well as libio.h and _G_config.h.
16920 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
16921 * libio/strfile.h, stdio-common/vfscanf.c
16922 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
16923 Include stdio.h, not _G_config.h nor libio.h.
16924 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
16925 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
16927 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
16929 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
16932 * stdlib/getrandom.c (getrandom): Fix comment.
16933 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
16935 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
16938 * manual/arith.texi (strtoul): Fix a typo.
16941 * manual/arith.texi (finite): Fix the description of the return
16944 2017-12-22 Eric Blake <ebb9@byu.net>
16946 Avoid gcc warnings on cygwin
16947 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
16948 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
16949 Avoid unused variable.
16951 2017-12-22 Florian Weimer <fweimer@redhat.com>
16953 * io/Makefile (routines): Add copy_file_range.
16954 (tests): Add tst-copy_file_range.
16955 (tests-static, tests-internal): Add tst-copy_file_range-compat.
16956 * io/Versions (GLIBC_2.27): Export copy_file_range.
16957 * io/copy_file_range-compat.c: New file.
16958 * io/copy_file_range.c: Likewise.
16959 * io/tst-copy_file_range-compat.c: Likewise.
16960 * io/tst-copy_file_range.c: Likewise.
16961 * manual/llio.texi (Copying File Data): New section.
16962 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
16963 * support/Makefile (libsupport-routines): Add support-xfstat,
16964 xftruncate, xlseek.
16965 * support/support-xfstat.c: New file.
16966 * support/xftruncate.c: Likewise.
16967 * support/xlseek.c: Likewise.
16968 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
16969 * sysdeps/unix/sysv/linux/**.abilist: Update.
16970 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
16972 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
16974 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16975 disable-multi-arch variant to aarch64-linux-gnu.
16977 2017-12-20 Joseph Myers <joseph@codesourcery.com>
16979 * manual/texinfo.tex: Update to version 2017-12-18.20 with
16980 trailing whitespace removed.
16981 * scripts/config.guess: Update to version 2017-12-17.
16982 * scripts/config.sub: Update to version 2017-11-23.
16983 * scripts/install-sh: Update to version 2017-09-23.17.
16984 * scripts/move-if-change: Update to version 2017-09-13 06:45.
16986 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16988 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
16989 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
16990 * sysdeps/tile/_mcount.S (__mcount): Likewise.
16991 * sysdeps/tile/crti.S (_init, _fini): Likewise.
16992 * sysdeps/tile/crtn.S: Likewise.
16993 * sysdeps/tile/dl-start.S (_start): Likewise.
16994 * sysdeps/tile/dl-trampoline.S: Likewise.
16995 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
16996 * sysdeps/tile/start.S (_start): Likewise.
16997 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
16998 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
16999 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
17000 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
17001 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
17002 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
17003 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
17005 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
17007 * sysdeps/tile/preconfigure: Remove tilegx folder.
17008 * sysdeps/tile/tilegx/Implies: Move definitions to ...
17009 * sysdeps/tile/Implies: ... here.
17010 * sysdeps/tile/tilegx/Makefile: Move rules to ...
17011 * sysdeps/tile/Makefile: ... here.
17012 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
17013 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
17014 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
17015 * sysdeps/tile/bits/wordsize.h: ... here.
17016 * sysdeps/tile/tilegx/*: Move to ...
17017 * sysdeps/tile/*: ... here.
17018 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
17019 * sysdeps/tile/tilegx32/Implies: ... here.
17020 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
17021 * sysdeps/tile/tilegx64/Implies: ... here.
17022 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
17024 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17025 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
17026 * sysdeps/unix/sysv/linux/tile/*: ... here.
17027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
17028 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
17029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
17030 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
17032 * README: Remove tilepro-*-linux-gnu from supported architecture.
17033 * scripts/build-many-glibcs.py: Likewise.
17034 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17035 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
17036 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
17037 elf_machine_matches_host, elf_machine_dynamic,
17038 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
17039 howto, elf_machine_rela): Likewise.
17040 * sysdeps/tile/dl-start.S (_start): Likewise.
17041 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
17042 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
17043 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
17044 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
17045 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
17046 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
17048 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
17049 * sysdeps/tile/preconfigure: Likewise.
17050 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
17051 POINTER_CHK_GUARD): Likewise.
17052 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
17053 * sysdeps/tile/start.S (_start): Likewise.
17054 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
17056 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
17057 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
17059 * sysdeps/unix/sysv/linux/tile/bits/environments.h
17060 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
17061 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
17063 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
17064 * sysdeps/tile/tilepro/Implies: Remove file.
17065 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
17066 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
17067 * sysdeps/tile/tilepro/memchr.c: Likewise.
17068 * sysdeps/tile/tilepro/memcpy.S: Likewise.
17069 * sysdeps/tile/tilepro/memset.c: Likewise.
17070 * sysdeps/tile/tilepro/memusage.h: Likewise.
17071 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
17072 * sysdeps/tile/tilepro/strchr.c: Likewise.
17073 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
17074 * sysdeps/tile/tilepro/strlen.c: Likewise.
17075 * sysdeps/tile/tilepro/strrchr.c: Likewise.
17076 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
17077 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
17078 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
17079 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
17080 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
17081 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17083 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
17084 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17085 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
17086 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
17087 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17088 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
17089 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
17090 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
17091 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
17092 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
17093 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
17094 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
17095 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
17096 tilepro mention in comment.
17098 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
17099 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
17100 * nptl/pthread_join_common.c: New file: common function used on
17101 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
17102 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
17103 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
17104 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17105 (cleanup): Move definition to pthread_join_common.c.
17106 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
17107 Remove superflous checks.
17108 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
17111 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
17113 * sysdeps/aarch64/libm-test-ulps: Update.
17115 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17117 * sysdeps/aarch64/memset.S (MEMSET): Define.
17119 2017-12-20 Florian Weimer <fweimer@redhat.com>
17122 nptl: Provide full implementation of pthread_self in libc.so.
17123 * nptl/Makefile (routines): Add pthread_self.
17124 (libpthread-routines): Replace pthread_self with
17125 compat-pthread_self.
17126 * nptl/forward.c (pthread_self): Remove.
17127 * nptl/nptl-init.c (pthread_functions): Do not initialize
17129 * nptl/pthread_self.c (pthread_self): Remove weak alias.
17130 * nptl/compat-pthread_self.c: New file.
17131 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
17132 Remove ptr_pthread_self.
17134 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
17136 * posix/regcomp.c: Fix spelling in comments.
17137 * posix/regex.h: Likewise.
17138 * posix/regex_internal.c: Likewise.
17139 * posix/regexec.c: Likewise.
17141 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17144 * math/Makefile [C++] (tests): Add test for iseqsig.
17145 * math/math.h [C++] (iseqsig): New implementation, which does
17146 not rely on __MATH_TG/__builtin_types_compatible_p.
17147 * math/test-math-iseqsig.cc: New file.
17148 * sysdeps/powerpc/powerpc64le/Makefile
17149 (CFLAGS-test-math-iseqsig.cc): New variable.
17151 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
17153 * elf/dl-load.c (is_trusted_path): Remove.
17154 (fillin_rpath): Remove check_trusted argument and its use,
17155 all callers changed.
17157 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17160 * Makeconfig (link-pie-before-libc): Replace -pie with
17161 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
17162 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
17163 (tst-dlopen-aout-no-pie): New.
17164 (LDFLAGS-tst-prelink): Removed.
17165 (tst-prelink-no-pie): New.
17166 (LDFLAGS-tst-main1): Removed.
17167 (tst-main1-no-pie): New.
17168 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
17169 (tst-gmon-no-pie): New.
17171 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17173 * manual/install.texi: Document that --enable-static-pie
17175 * INSTALL: Regenerated.
17177 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
17180 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
17183 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17187 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17191 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17193 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17194 <errno.h>. Include "eexp.tbl".
17195 (half): New constant.
17197 (__ieee754_exp): Rewrite.
17198 (__slowexp): Remove prototype.
17199 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17200 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17201 * sysdeps/i386/fpu/slowexp.c: Likewise.
17202 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17203 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17204 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17205 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17206 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17207 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17208 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17210 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17211 (CPPFLAGS-slowexp.c): Remove variable.
17212 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17213 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17214 (CFLAGS-slowexp-fma.c): Remove variable.
17215 (CFLAGS-slowexp-fma4.c): Likewise.
17216 (CFLAGS-slowexp-avx.c): Likewise.
17217 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17219 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17220 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17221 * math/Makefile (type-double-routines): Remove slowexp.
17222 * manual/probes.texi (slowexp_p6): Remove.
17223 (slowexp_p32): Likewise.
17225 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17227 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
17230 * lib/glob.c (glob): Do not pass NULL to mempcpy.
17232 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17234 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17236 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17238 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17239 <errno.h>. Include "eexp.tbl".
17240 (half): New constant.
17242 (__ieee754_exp): Rewrite.
17243 (__slowexp): Remove prototype.
17244 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17245 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17246 * sysdeps/i386/fpu/slowexp.c: Likewise.
17247 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17248 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17249 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17250 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17251 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17252 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17253 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17255 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17256 (CPPFLAGS-slowexp.c): Remove variable.
17257 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17258 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17259 (CFLAGS-slowexp-fma.c): Remove variable.
17260 (CFLAGS-slowexp-fma4.c): Likewise.
17261 (CFLAGS-slowexp-avx.c): Likewise.
17262 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17264 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17265 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17266 * math/Makefile (type-double-routines): Remove slowexp.
17267 * manual/probes.texi (slowexp_p6): Remove.
17268 (slowexp_p32): Likewise.
17270 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17271 James Clarke <jrtc27@jrtc27.com>
17274 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
17277 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17280 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
17283 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17286 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17287 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17288 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17289 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17292 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17295 * bits/types/__cancel_jmp_buf_tag.h: New file.
17296 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17297 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17298 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17299 * nptl/Makefile (headers): Add
17300 bits/types/__cancel_jmp_buf_tag.h.
17301 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17302 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17303 * sysdeps/nptl/pthread.h: Include
17304 <bits/types/__cancel_jmp_buf_tag.h>.
17305 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17307 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17309 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17311 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17312 --enable-static-pie variants to x86_64, x32 and i686.
17314 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17317 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
17318 argument for attrubutes. All callers changed.
17319 (__inline_mathop1): Likewise. All callers changed.
17320 (__inline_mathop): Likewise. All callers changed.
17321 [__USE_MISC] (scalbn): Use __inline_forward instead of
17322 __inline_forward_c.
17323 [__USE_ISOC99] (scalbln): Likewise.
17324 [__USE_ISOC99] (nearbyint): Likewise.
17325 [__USE_ISOC99] (lrint): Likewise.
17326 [__USE_MISC] (scalbnf): Likewise.
17327 [__USE_ISOC99] (scalblnf): Likewise.
17328 [__USE_ISOC99] (nearbyintf): Likewise.
17329 [__USE_ISOC99] (lrintf): Likewise.
17330 [__USE_MISC] (scalbnl): Likewise.
17331 [__USE_ISOC99] (scalblnl): Likewise.
17332 [__USE_ISOC99] (nearbyintl): Likewise.
17333 [__USE_ISOC99] (lrintl): Likewise.
17334 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
17335 __inline_mathop and __m81_defun changed.
17337 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
17338 CPU or FPU for ARM hard-float configurations.
17340 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17342 * nptl/tst-attr3.c: Include <libc-diag.h>.
17343 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
17345 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
17347 * string/tester.c (test_strncat): Also disable -Warray-bounds
17348 warnings for two tests.
17350 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17353 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
17354 $(cc-pie-default) == yes.
17355 * config.make.in (cc-pie-default): New.
17356 * configure.ac (libc_cv_pie_default): Renamed to ...
17357 (libc_cv_cc_pie_default): This.
17358 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
17359 * configure: Regenerated.
17361 2017-12-18 Florian Weimer <fweimer@redhat.com>
17364 ld.so: Harden dl-libc/libdl hooks.
17365 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
17366 (rtld_active): New function.
17367 * dlfcn/dladdr.c (__dladdr): Call it.
17368 * dlfcn/dladdr1.c (__dladdr1): Likewise.
17369 * dlfcn/dlclose.c (__dlcose): Likewise.
17370 * dlfcn/dlerror.c (__dlerror): Likewise.
17371 * dlfcn/dlinfo.c (__dlinfo): Likewise.
17372 * dlfcn/dlmopen.c (__dlmopen): Likewise.
17373 * dlfcn/dlopen.c (__dlopen): Likewise.
17374 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17375 * dlfcn/dlsym.c (__dlsym): Likewise.
17376 * dlfcn/dlvsym.c (__dlvsym): Likewise.
17377 * libio/vtables.c (_IO_vtable_check): Likewise.
17378 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
17379 (__libc_dlclose): Likewise.
17380 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
17383 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17386 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
17387 buffers for readlink input and output.
17389 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
17392 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
17393 inhibit_stack_protector.
17396 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
17397 inhibit_stack_protector.
17399 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
17402 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
17403 code and invocation.
17405 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
17407 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
17409 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
17412 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
17414 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17416 * sysdeps/s390/fpu/libm-test-ulps: Update.
17418 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17422 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17424 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
17425 constants to s_sincosf.h file.
17426 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17427 * sysdeps/ieee754/flt-32/s_sincosf.c: New
17429 * sysdeps/ieee754/flt-32/s_sincosf.h:
17432 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17435 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
17438 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
17441 * INSTALL: Regenerated.
17442 * Makeconfig (real-static-start-installed-name): New.
17443 (pic-default): Updated for --enable-static-pie.
17444 (pie-default): New for --enable-static-pie.
17445 (default-pie-ldflag): Likewise.
17446 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
17447 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
17448 Replace $(static-start-installed-name) with
17449 $(real-static-start-installed-name).
17450 (+prectorT): Updated for --enable-static-pie.
17451 (+postctorT): Likewise.
17452 (CFLAGS-.o): Add $(pie-default).
17453 (CFLAGS-.op): Likewise.
17454 * NEWS: Mention --enable-static-pie.
17455 * config.h.in (ENABLE_STATIC_PIE): New.
17456 * configure.ac (--enable-static-pie): New configure option.
17457 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
17458 (have-static-pie): Likewise.
17459 Enable static PIE if linker supports --no-dynamic-linker.
17460 (ENABLE_STATIC_PIE): New AC_DEFINE.
17461 (enable-static-pie): New LIBC_CONFIG_VAR.
17462 * configure: Regenerated.
17463 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
17464 gr$(start-installed-name) for --enable-static-pie.
17465 (extra-objs): Likewise.
17466 (install-lib): Likewise.
17467 (extra-objs): Add static-reloc.o and static-reloc.os
17468 ($(objpfx)$(start-installed-name)): Also depend on
17469 $(objpfx)static-reloc.o.
17470 ($(objpfx)r$(start-installed-name)): New.
17471 ($(objpfx)g$(start-installed-name)): Also depend on
17472 $(objpfx)static-reloc.os.
17473 ($(objpfx)gr$(start-installed-name)): New.
17474 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
17476 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
17478 * csu/static-reloc.c: New file.
17479 * elf/Makefile (routines): Add dl-reloc-static-pie.
17480 (elide-routines.os): Likewise.
17481 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
17482 (tst-tls1-static-non-pie-no-pie): New.
17483 * elf/dl-reloc-static-pie.c: New file.
17484 * elf/dl-support.c (_dl_get_dl_main_map): New function.
17485 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
17486 STATIC_PIE_BOOTSTRAP.
17487 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17488 * gmon/Makefile (tests): Add tst-gmon-static-pie.
17489 (tests-static): Likewise.
17490 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
17491 (tst-gmon-static-no-pie): New.
17492 (CFLAGS-tst-gmon-static-pie.c): Likewise.
17493 (CRT-tst-gmon-static-pie): Likewise.
17494 (tst-gmon-static-pie-ENV): Likewise.
17495 (tests-special): Likewise.
17496 ($(objpfx)tst-gmon-static-pie.out): Likewise.
17497 (clean-tst-gmon-static-pie-data): Likewise.
17498 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
17499 * gmon/tst-gmon-static-pie.c: New file.
17500 * manual/install.texi: Document --enable-static-pie.
17501 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
17502 (_dl_get_dl_main_map): Likewise.
17503 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
17504 * sysdeps/x86_64/configure.ac: Likewise.
17505 * sysdeps/i386/configure: Regenerated.
17506 * sysdeps/x86_64/configure: Likewise.
17507 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
17508 (ASFLAGS-.op): Likewise.
17510 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17512 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
17513 * posix/tst-mmap-offset.c (fname): Use /tmp.
17514 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
17516 2017-12-15 Steve Ellcey <sellcey@cavium.com>
17518 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
17520 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
17522 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
17525 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17527 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
17528 --with-float=hard for arm-linux-gnueabihf configurations.
17531 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
17532 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
17533 ($(mo-installed)): Use $(objpfx)%.mo.
17534 (realclean): Remove rule.
17536 * po/Makefile (linguas): Remove rule and dependencies.
17537 (linguas.mo): Likewise.
17538 (.PHONY): Do not depend on linguas and linguas.mo.
17539 (podir): Remove variable.
17540 (pofiles): Likewise.
17541 [$(pofiles)] (%.po): Remove rule.
17543 * sysdeps/sparc/sparc32/Makefile
17544 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
17545 start-of-line whitespace in argument of echo.
17546 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
17547 with whitespace. Generate __wrap_.udiv alias.
17548 * sysdeps/sparc/sparc32/rem.S: Regenerated.
17549 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17550 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17551 * sysdeps/sparc/sparc32/urem.S: Likewise.
17553 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17555 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
17556 for aligned inputs.
17558 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17560 * benchtests/bench-strcmp.c: Print output in JSON format.
17562 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
17564 2017-12-14 Florian Weimer <fweimer@redhat.com>
17568 * elf/dl-load.c (_dl_init_paths): Compute number of components in
17569 the expanded path string.
17571 2017-12-14 Florian Weimer <fweimer@redhat.com>
17575 * elf/dl-load.c (system_dirs): Update comment.
17576 (nsystem_dirs_len): Use array_length.
17577 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
17579 2017-12-14 Florian Weimer <fweimer@redhat.com>
17581 Simplify compiling most of support/ outside of glibc.
17582 * support/check_addrinfo.c: Include <string.h>.
17583 * support/check_dns_packet.c: Likewise.
17584 * support/check_hostent.c: Likewise.
17585 * support/support_can_chroot.c: Include <support/xunistd.h>.
17586 * support/support_format_addrinfo.c: Include <stdlib.h>
17587 * support/support_format_dns_packet.c: Include <stdbool.h>.
17588 * support/support_format_hostent.c: Include <stdlib.h>.
17589 * support/support_format_netent.c: Likewise.
17590 * support/support_write_string.c: Include <support/xunistd.h>.
17591 * support/xdlfcn.c: Include <stddef.h>.
17593 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
17595 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
17597 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17598 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17600 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17601 (sysdeps_routines): Add memset-niagara7.
17602 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
17604 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
17606 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
17607 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17608 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
17609 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
17610 Add niagara7 option.
17611 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
17614 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17615 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
17616 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
17618 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
17620 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
17621 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
17622 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17623 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
17624 and __memmove_niagara7.
17625 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
17626 Add niagara7 option.
17627 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
17628 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
17629 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
17630 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
17631 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
17633 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
17635 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
17636 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
17637 * sysdeps/sparc/sparc64/memmove.S: Likewise.
17638 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
17640 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
17641 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
17642 _dl_sparc_cap_flags array.
17643 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
17645 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17647 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
17648 time whenever possible.
17650 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17652 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
17653 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
17655 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17657 * soft-fp/fmadf4.c: Move to ....
17658 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
17659 * soft-fp/fmasf4.c: Move to ....
17660 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
17661 * soft-fp/fmatf4.c: Move to ....
17662 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
17663 * sysdeps/ieee754/soft-fp/Makefile: New file.
17664 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
17665 * sysdeps/arm/preconfigure: Regenerated.
17666 * sysdeps/arm/nofpu/Implies: New file.
17667 * sysdeps/arm/s_fma.c: Remove file.
17668 * sysdeps/arm/s_fmaf.c: Likewise.
17669 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
17670 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
17671 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17672 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
17673 * sysdeps/microblaze/s_fma.c: Remove file.
17674 * sysdeps/microblaze/s_fmaf.c: Likewise.
17675 * sysdeps/mips/mips32/nofpu/Implies: New file.
17676 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
17677 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
17678 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
17679 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
17680 * sysdeps/mips/ieee754/s_fma.c: Remove file.
17681 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
17682 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
17684 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
17685 * sysdeps/nios2/s_fma.c: Remove file.
17686 * sysdeps/nios2/s_fmaf.c: Likewise.
17687 * sysdeps/sh/nofpu/Implies: New file.
17688 * sysdeps/sh/s_fma.c: Remove file.
17689 * sysdeps/sh/s_fmaf.c: Likewise.
17690 * sysdeps/tile/Implies: Add ieee754/soft-fp.
17691 * sysdeps/tile/s_fma.c: Remove file.
17692 * sysdeps/tile/s_fmaf.c: Likewise.
17694 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
17696 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17697 Add s_cosf-sse2 and s_cosf-fma.
17698 (CFLAGS-s_cosf-fma.c): New.
17699 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
17700 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
17701 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
17703 2017-12-12 Steve Ellcey <sellcey@cavium.com>
17705 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
17707 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17709 * libio/Makefile (tests): Add tst-bz22415.
17710 (tst-bz22415-ENV): New rule.
17711 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
17712 (tests-special): Add tst-bz22415-mem.out.
17713 ($(objpfx)tst-bz22415-mem.out): New rule.
17714 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
17715 in case of a successful seek operation.
17716 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17717 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
17718 buffer is required.
17719 * libio/tst-bz22415.c: New test.
17721 * sysdeps/ia64/fpu/libm-test-ulps: Update.
17723 2017-12-12 James Clarke <jrtc27@jrtc27.com>
17725 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
17726 __IPC_64 to 0 to avoid IPC_64 being set.
17728 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17731 * math/bits/mathcalls.h (nextafter): Remove const.
17732 (nexttoward): Likewise.
17734 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17736 * configure.ac (--with-fp): Remove configure option.
17737 (with_fp_cond): New variable.
17738 (libc_cv_with_fp): New configure test. Use this variable instead
17740 * configure: Regenerated.
17741 * config.make.in (with-fp): Use @libc_cv_with_fp@.
17742 * manual/install.texi (Configuring and compiling): Remove
17744 * INSTALL: Regenerated.
17745 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
17746 * sysdeps/mips/preconfigure (with_fp_cond): Define.
17747 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
17748 * sysdeps/sh/preconfigure (with_fp_cond): Define.
17749 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
17750 use --without-fp to configure glibc.
17752 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
17754 * manual/locale.texi (nl_langinfo): Fix a typo.
17756 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
17759 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
17761 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
17763 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
17764 (CFLAGS-argp-parse.c): Likewise.
17765 (CFLAGS-argp-fmtstream.c): Likewise.
17766 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
17767 (CPPFLAGS-sha512-crypt.c): Likewise.
17768 (CPPFLAGS-md5-crypt.c): Likewise.
17769 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
17770 (CFLAGS-stack_chk_fail_local.c): Likewise.
17771 (CFLAGS-backtrace.c): Likewise.
17772 (CFLAGS-sprintf_chk.c): Likewise.
17773 (CFLAGS-snprintf_chk.c): Likewise.
17774 (CFLAGS-vsprintf_chk.c): Likewise.
17775 (CFLAGS-vsnprintf_chk.c): Likewise.
17776 (CFLAGS-asprintf_chk.c): Likewise.
17777 (CFLAGS-vasprintf_chk.c): Likewise.
17778 (CFLAGS-obprintf_chk.c): Likewise.
17779 (CFLAGS-dprintf_chk.c): Likewise.
17780 (CFLAGS-vdprintf_chk.c): Likewise.
17781 (CFLAGS-printf_chk.c): Likewise.
17782 (CFLAGS-fprintf_chk.c): Likewise.
17783 (CFLAGS-vprintf_chk.c): Likewise.
17784 (CFLAGS-vfprintf_chk.c): Likewise.
17785 (CFLAGS-gets_chk.c): Likewise.
17786 (CFLAGS-fgets_chk.c): Likewise.
17787 (CFLAGS-fgets_u_chk.c): Likewise.
17788 (CFLAGS-fread_chk.c): Likewise.
17789 (CFLAGS-fread_u_chk.c): Likewise.
17790 (CFLAGS-swprintf_chk.c): Likewise.
17791 (CFLAGS-vswprintf_chk.c): Likewise.
17792 (CFLAGS-wprintf_chk.c): Likewise.
17793 (CFLAGS-fwprintf_chk.c): Likewise.
17794 (CFLAGS-vwprintf_chk.c): Likewise.
17795 (CFLAGS-vfwprintf_chk.c): Likewise.
17796 (CFLAGS-fgetws_chk.c): Likewise.
17797 (CFLAGS-fgetws_u_chk.c): Likewise.
17798 (CFLAGS-read_chk.c): Likewise.
17799 (CFLAGS-pread_chk.c): Likewise.
17800 (CFLAGS-pread64_chk.c): Likewise.
17801 (CFLAGS-recv_chk.c): Likewise.
17802 (CFLAGS-recvfrom_chk.c): Likewise.
17803 (CFLAGS-tst-longjmp_chk.c): Likewise.
17804 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
17805 (CFLAGS-tst-longjmp_chk2.c): Likewise.
17806 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
17807 (CFLAGS-tst-longjmp_chk3.c): Likewise.
17808 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17809 (CFLAGS-tst-chk1.c): Likewise.
17810 (CFLAGS-tst-chk2.c): Likewise.
17811 (CFLAGS-tst-chk3.c): Likewise.
17812 (CFLAGS-tst-chk4.cc): Likewise.
17813 (CFLAGS-tst-chk5.cc): Likewise.
17814 (CFLAGS-tst-chk6.cc): Likewise.
17815 (CFLAGS-tst-lfschk1.c): Likewise.
17816 (CFLAGS-tst-lfschk2.c): Likewise.
17817 (CFLAGS-tst-lfschk3.c): Likewise.
17818 (CFLAGS-tst-lfschk4.cc): Likewise.
17819 (CFLAGS-tst-lfschk5.cc): Likewise.
17820 (CFLAGS-tst-lfschk6.cc): Likewise.
17821 (CFLAGS-tst-ssp-1.c): Likewise.
17822 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
17823 (CFLAGS-scandir64.c): Likewise.
17824 (CFLAGS-scandir-tail.c): Likewise.
17825 (CFLAGS-scandir64-tail.c): Likewise.
17826 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
17827 (CFLAGS-dl-tunables.c): Likewise.
17828 (CFLAGS-dl-runtime.c): Likewise.
17829 (CFLAGS-dl-lookup.c): Likewise.
17830 (CFLAGS-dl-iterate-phdr.c): Likewise.
17831 (CFLAGS-vismain.c): Likewise.
17832 (CFLAGS-tst-linkall-static.c): Likewise.
17833 (CFLAGS-tst-linkall-static.c): Likewise.
17834 (CPPFLAGS-dl-load.c): Likewise.
17835 (CFLAGS-ldconfig.c): Likewise.
17836 (CFLAGS-dl-cache.c): Likewise.
17837 (CFLAGS-cache.c): Likewise.
17838 (CFLAGS-rtld.c): Likewise.
17839 (CFLAGS-multiload.c): Likewise.
17840 (CFLAGS-filtmod1.c): Likewise.
17841 (CFLAGS-tst-align.c): Likewise.
17842 (CFLAGS-tst-align2.c): Likewise.
17843 (CFLAGS-tst-alignmod.c): Likewise.
17844 (CFLAGS-tst-alignmod2.c): Likewise.
17845 (CPPFLAGS-tst-execstack.c): Likewise.
17846 (CFLAGS-tst-ptrguard1-static.c): Likewise.
17847 (CFLAGS-tst-latepthreadmod.c): Likewise.
17848 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
17849 (CFLAGS-getgrnam_r.c): Likewise.
17850 (CFLAGS-getgrent_r.c): Likewise.
17851 (CFLAGS-getgrent.c): Likewise.
17852 (CFLAGS-fgetgrent.c): Likewise.
17853 (CFLAGS-fgetgrent_r.c): Likewise.
17854 (CFLAGS-putgrent.c): Likewise.
17855 (CFLAGS-initgroups.c): Likewise.
17856 (CFLAGS-getgrgid.c): Likewise.
17857 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
17858 (CFLAGS-getsgent.c): Likewise.
17859 (CFLAGS-fgetsgent.c): Likewise.
17860 (CFLAGS-fgetsgent_r.c): Likewise.
17861 (CFLAGS-putsgent.c): Likewise.
17862 (CFLAGS-getsgnam.c): Likewise.
17863 (CFLAGS-getsgnam_r.c): Likewise.
17864 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
17865 (CFLAGS-iconv_charmap.c): Likewise.
17866 (CFLAGS-dummy-repertoire.c): Likewise.
17867 (CFLAGS-charmap.c): Likewise.
17868 (CFLAGS-linereader.c): Likewise.
17869 (CFLAGS-simple-hash.c): Likewise.
17870 (CFLAGS-gconv_conf.c): Likewise.
17871 (CFLAGS-iconvconfig.c): Likewise.
17872 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17873 (CFLAGS-gethstbyad.c): Likewise.
17874 (CFLAGS-gethstbynm_r.c): Likewise.
17875 (CFLAGS-gethstbynm.c): Likewise.
17876 (CFLAGS-gethstbynm2_r.c): Likewise.
17877 (CFLAGS-gethstbynm2.c): Likewise.
17878 (CFLAGS-gethstent_r.c): Likewise.
17879 (CFLAGS-gethstent.c): Likewise.
17880 (CFLAGS-rcmd.c): Likewise.
17881 (CFLAGS-getnetbynm_r.c): Likewise.
17882 (CFLAGS-getnetbynm.c): Likewise.
17883 (CFLAGS-getnetbyad_r.c): Likewise.
17884 (CFLAGS-getnetbyad.c): Likewise.
17885 (CFLAGS-getnetent_r.c): Likewise.
17886 (CFLAGS-getnetent.c): Likewise.
17887 (CFLAGS-getaliasent_r.c): Likewise.
17888 (CFLAGS-getaliasent.c): Likewise.
17889 (CFLAGS-getrpcent_r.c): Likewise.
17890 (CFLAGS-getrpcent.c): Likewise.
17891 (CFLAGS-getservent_r.c): Likewise.
17892 (CFLAGS-getservent.c): Likewise.
17893 (CFLAGS-getprtent_r.c): Likewise.
17894 (CFLAGS-getprtent.c): Likewise.
17895 (CFLAGS-either_ntoh.c): Likewise.
17896 (CFLAGS-either_hton.c): Likewise.
17897 (CFLAGS-getnetgrent.c): Likewise.
17898 (CFLAGS-getnetgrent_r.c): Likewise.
17899 (CFLAGS-tst-checks-posix.c): Likewise.
17900 (CFLAGS-tst-sockaddr.c): Likewise.
17901 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
17902 (CFLAGS-tst-translit.c): Likewise.
17903 (CFLAGS-tst-gettext2.c): Likewise.
17904 (CFLAGS-tst-codeset.c): Likewise.
17905 (CFLAGS-tst-gettext3.c): Likewise.
17906 (CFLAGS-tst-gettext4.c): Likewise.
17907 (CFLAGS-tst-gettext5.c): Likewise.
17908 (CFLAGS-tst-gettext6.c): Likewise.
17909 * io/Makefile (CFLAGS-open.c): Likewise.
17910 (CFLAGS-open64.c): Likewise.
17911 (CFLAGS-creat.c): Likewise.
17912 (CFLAGS-creat64.c): Likewise.
17913 (CFLAGS-fcntl.c): Likewise.
17914 (CFLAGS-poll.c): Likewise.
17915 (CFLAGS-ppoll.c): Likewise.
17916 (CFLAGS-lockf.c): Likewise.
17917 (CFLAGS-statfs.c): Likewise.
17918 (CFLAGS-fstatfs.c): Likewise.
17919 (CFLAGS-statvfs.c): Likewise.
17920 (CFLAGS-fstatvfs.c): Likewise.
17921 (CFLAGS-fts.c): Likewise.
17922 (CFLAGS-fts64.c): Likewise.
17923 (CFLAGS-ftw.c): Likewise.
17924 (CFLAGS-ftw64.c): Likewise.
17925 (CFLAGS-lockf.c): Likewise.
17926 (CFLAGS-posix_fallocate.c): Likewise.
17927 (CFLAGS-posix_fallocate64.c): Likewise.
17928 (CFLAGS-fallocate.c): Likewise.
17929 (CFLAGS-fallocate64.c): Likewise.
17930 (CFLAGS-read.c): Likewise.
17931 (CFLAGS-write.c): Likewise.
17932 (CFLAGS-test-stat.c): Likewise.
17933 (CFLAGS-test-lfs.c): Likewise.
17934 * libio/Makefile (CFLAGS-fileops.c): Likewise.
17935 (CFLAGS-fputc.c): Likewise.
17936 (CFLAGS-fputwc.c): Likewise.
17937 (CFLAGS-freopen64.c): Likewise.
17938 (CFLAGS-freopen.c): Likewise.
17939 (CFLAGS-fseek.c): Likewise.
17940 (CFLAGS-fseeko64.c): Likewise.
17941 (CFLAGS-fseeko.c): Likewise.
17942 (CFLAGS-ftello64.c): Likewise.
17943 (CFLAGS-ftello.c): Likewise.
17944 (CFLAGS-fwide.c): Likewise.
17945 (CFLAGS-genops.c): Likewise.
17946 (CFLAGS-getc.c): Likewise.
17947 (CFLAGS-getchar.c): Likewise.
17948 (CFLAGS-getwc.c): Likewise.
17949 (CFLAGS-getwchar.c): Likewise.
17950 (CFLAGS-iofclose.c): Likewise.
17951 (CFLAGS-iofflush.c): Likewise.
17952 (CFLAGS-iofgetpos64.c): Likewise.
17953 (CFLAGS-iofgetpos.c): Likewise.
17954 (CFLAGS-iofgets.c): Likewise.
17955 (CFLAGS-iofgetws.c): Likewise.
17956 (CFLAGS-iofputs.c): Likewise.
17957 (CFLAGS-iofputws.c): Likewise.
17958 (CFLAGS-iofread.c): Likewise.
17959 (CFLAGS-iofsetpos64.c): Likewise.
17960 (CFLAGS-iofsetpos.c): Likewise.
17961 (CFLAGS-ioftell.c): Likewise.
17962 (CFLAGS-iofwrite.c): Likewise.
17963 (CFLAGS-iogetdelim.c): Likewise.
17964 (CFLAGS-iogetline.c): Likewise.
17965 (CFLAGS-iogets.c): Likewise.
17966 (CFLAGS-iogetwline.c): Likewise.
17967 (CFLAGS-ioputs.c): Likewise.
17968 (CFLAGS-ioseekoff.c): Likewise.
17969 (CFLAGS-ioseekpos.c): Likewise.
17970 (CFLAGS-iosetbuffer.c): Likewise.
17971 (CFLAGS-iosetvbuf.c): Likewise.
17972 (CFLAGS-ioungetc.c): Likewise.
17973 (CFLAGS-ioungetwc.c): Likewise.
17974 (CFLAGS-oldfileops.c): Likewise.
17975 (CFLAGS-oldiofclose.c): Likewise.
17976 (CFLAGS-oldiofgetpos64.c): Likewise.
17977 (CFLAGS-oldiofgetpos.c): Likewise.
17978 (CFLAGS-oldiofsetpos64.c): Likewise.
17979 (CFLAGS-oldiofsetpos.c): Likewise.
17980 (CFLAGS-peekc.c): Likewise.
17981 (CFLAGS-putc.c): Likewise.
17982 (CFLAGS-putchar.c): Likewise.
17983 (CFLAGS-putwc.c): Likewise.
17984 (CFLAGS-putwchar.c): Likewise.
17985 (CFLAGS-rewind.c): Likewise.
17986 (CFLAGS-wfileops.c): Likewise.
17987 (CFLAGS-wgenops.c): Likewise.
17988 (CFLAGS-oldiofopen.c): Likewise.
17989 (CFLAGS-iofopen.c): Likewise.
17990 (CFLAGS-iofopen64.c): Likewise.
17991 (CFLAGS-oldtmpfile.c): Likewise.
17992 (CFLAGS-tst_putwc.c): Likewise.
17993 * locale/Makefile (CFLAGS-md5.c): Likewise.
17994 (CFLAGS-charmap.c): Likewise.
17995 (CFLAGS-locfile.c): Likewise.
17996 (CFLAGS-charmap-dir.c): Likewise.
17997 * login/Makefile (CFLAGS-grantpt.c): Likewise.
17998 (CFLAGS-getpt.c): Likewise.
17999 (CFLAGS-pt_chown.c): Likewise.
18000 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
18001 (CFLAGS-obstack.c): Likewise.
18002 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
18003 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
18004 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
18005 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
18006 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
18007 (CFLAGS-test-tgmath.c): Likewise.
18008 (CFLAGS-test-tgmath2.c): Likewise.
18009 (CFLAGS-test-tgmath-ret.c): Likewise.
18010 (CFLAGS-test-powl.c): Likewise.
18011 (CFLAGS-test-snan.c): Likewise.
18012 (CFLAGS-test-signgam-finite.c): Likewise.
18013 (CFLAGS-test-signgam-finite-c99.c): Likewise.
18014 (CFLAGS-test-signgam-finite-c11.c): Likewise.
18015 (CFLAGS-test-signgam-uchar.c): Likewise.
18016 (CFLAGS-test-signgam-uchar-init.c): Likewise.
18017 (CFLAGS-test-signgam-uchar-static.c): Likewise.
18018 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18019 (CFLAGS-test-signgam-uint.c): Likewise.
18020 (CFLAGS-test-signgam-uint-init.c): Likewise.
18021 (CFLAGS-test-signgam-uint-static.c): Likewise.
18022 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18023 (CFLAGS-test-signgam-ullong.c): Likewise.
18024 (CFLAGS-test-signgam-ullong-init.c): Likewise.
18025 (CFLAGS-test-signgam-ullong-static.c): Likewise.
18026 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18027 (CFLAGS-test-math-cxx11.cc): Likewise.
18028 (CFLAGS-test-math-isinff.cc): Likewise.
18029 (CFLAGS-test-math-iszero.cc): Likewise.
18030 (CFLAGS-test-math-issignaling.cc): Likewise.
18031 (CFLAGS-test-math-iscanonical.cc): Likewise.
18032 (CFLAGS-test-iszero-excess-precision.c): Likewise.
18033 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
18034 (CFLAGS-test-flt-eval-method.c): Likewise.
18035 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
18036 (CFLAGS-test-finite-macros.c): Likewise.
18037 * misc/Makefile (CFLAGS-select.c): Likewise.
18038 (CFLAGS-tsearch.c): Likewise.
18039 (CFLAGS-lsearch.c): Likewise.
18040 (CFLAGS-pselect.c): Likewise.
18041 (CFLAGS-readv.c): Likewise.
18042 (CFLAGS-writev.c): Likewise.
18043 (CFLAGS-preadv.c): Likewise.
18044 (CFLAGS-preadv64.c): Likewise.
18045 (CFLAGS-pwritev.c): Likewise.
18046 (CFLAGS-pwritev64.c): Likewise.
18047 (CFLAGS-preadv2.c): Likewise.
18048 (CFLAGS-preadv64v2.c): Likewise.
18049 (CFLAGS-pwritev2.c): Likewise.
18050 (CFLAGS-pwritev64v2.c): Likewise.
18051 (CFLAGS-usleep.c): Likewise.
18052 (CFLAGS-syslog.c): Likewise.
18053 (CFLAGS-error.c): Likewise.
18054 (CFLAGS-getpass.c): Likewise.
18055 (CFLAGS-mkstemp.c): Likewise.
18056 (CFLAGS-mkstemp64.c): Likewise.
18057 (CFLAGS-getsysstats.c): Likewise.
18058 (CFLAGS-getusershell.c): Likewise.
18059 (CFLAGS-err.c): Likewise.
18060 (CFLAGS-tst-tsearch.c): Likewise.
18061 (CFLAGS-msync.c): Likewise.
18062 (CFLAGS-fdatasync.c): Likewise.
18063 (CFLAGS-fsync.c): Likewise.
18064 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
18065 (CFLAGS-unwind.c): Likewise.
18066 (CFLAGS-unwind-forcedunwind.c): Likewise.
18067 (CFLAGS-pthread_cancel.c): Likewise.
18068 (CFLAGS-pthread_setcancelstate.c): Likewise.
18069 (CFLAGS-pthread_setcanceltype.c): Likewise.
18070 (CFLAGS-cancellation.c): Likewise.
18071 (CFLAGS-libc-cancellation.c): Likewise.
18072 (CFLAGS-pthread_exit.c): Likewise.
18073 (CFLAGS-forward.c): Likewise.
18074 (CFLAGS-pthread_testcancel.c): Likewise.
18075 (CFLAGS-pthread_join.c): Likewise.
18076 (CFLAGS-pthread_timedjoin.c): Likewise.
18077 (CFLAGS-pthread_once.c): Likewise.
18078 (CFLAGS-pthread_cond_wait.c): Likewise.
18079 (CFLAGS-sem_wait.c): Likewise.
18080 (CFLAGS-sem_timedwait.c): Likewise.
18081 (CFLAGS-fcntl.c): Likewise.
18082 (CFLAGS-lockf.c): Likewise.
18083 (CFLAGS-pread.c): Likewise.
18084 (CFLAGS-pread64.c): Likewise.
18085 (CFLAGS-pwrite.c): Likewise.
18086 (CFLAGS-pwrite64.c): Likewise.
18087 (CFLAGS-wait.c): Likewise.
18088 (CFLAGS-waitpid.c): Likewise.
18089 (CFLAGS-sigwait.c): Likewise.
18090 (CFLAGS-msgrcv.c): Likewise.
18091 (CFLAGS-msgsnd.c): Likewise.
18092 (CFLAGS-tcdrain.c): Likewise.
18093 (CFLAGS-open.c): Likewise.
18094 (CFLAGS-open64.c): Likewise.
18095 (CFLAGS-pause.c): Likewise.
18096 (CFLAGS-recv.c): Likewise.
18097 (CFLAGS-send.c): Likewise.
18098 (CFLAGS-accept.c): Likewise.
18099 (CFLAGS-sendto.c): Likewise.
18100 (CFLAGS-connect.c): Likewise.
18101 (CFLAGS-recvfrom.c): Likewise.
18102 (CFLAGS-recvmsg.c): Likewise.
18103 (CFLAGS-sendmsg.c): Likewise.
18104 (CFLAGS-close.c): Likewise.
18105 (CFLAGS-read.c): Likewise.
18106 (CFLAGS-write.c): Likewise.
18107 (CFLAGS-nanosleep.c): Likewise.
18108 (CFLAGS-sigsuspend.c): Likewise.
18109 (CFLAGS-msync.c): Likewise.
18110 (CFLAGS-fdatasync.c): Likewise.
18111 (CFLAGS-fsync.c): Likewise.
18112 (CFLAGS-pt-system.c): Likewise.
18113 (CFLAGS-tst-cleanup2.c): Likewise.
18114 (CFLAGS-tst-cleanupx2.c): Likewise.
18115 (CFLAGS-flockfile.c): Likewise.
18116 (CFLAGS-ftrylockfile.c): Likewise.
18117 (CFLAGS-funlockfile.c): Likewise.
18118 (CFLAGS-tst-initializers1.c): Likewise.
18119 (CFLAGS-tst-initializers1-c89.c): Likewise.
18120 (CFLAGS-tst-initializers1-c99.c): Likewise.
18121 (CFLAGS-tst-initializers1-c11.c): Likewise.
18122 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
18123 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
18124 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
18125 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
18126 (CFLAGS-nscd_getgr_r.c): Likewise.
18127 (CFLAGS-nscd_gethst_r.c): Likewise.
18128 (CFLAGS-nscd_getai.c): Likewise.
18129 (CFLAGS-nscd_initgroups.c): Likewise.
18130 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
18131 (CFLAGS-pause.c): Likewise.
18132 (CFLAGS-pread.c): Likewise.
18133 (CFLAGS-pread64.c): Likewise.
18134 (CFLAGS-pwrite.c): Likewise.
18135 (CFLAGS-pwrite64.c): Likewise.
18136 (CFLAGS-sleep.c): Likewise.
18137 (CFLAGS-wait.c): Likewise.
18138 (CFLAGS-waitid.c): Likewise.
18139 (CFLAGS-waitpid.c): Likewise.
18140 (CFLAGS-getopt.c): Likewise.
18141 (CFLAGS-wordexp.c): Likewise.
18142 (CFLAGS-sysconf.c): Likewise.
18143 (CFLAGS-pathconf.c): Likewise.
18144 (CFLAGS-fpathconf.c): Likewise.
18145 (CFLAGS-spawn.c): Likewise.
18146 (CFLAGS-spawnp.c): Likewise.
18147 (CFLAGS-spawni.c): Likewise.
18148 (CFLAGS-glob.c): Likewise.
18149 (CFLAGS-glob64.c): Likewise.
18150 (CFLAGS-getconf.c): Likewise.
18151 (CFLAGS-nanosleep.c): Likewise.
18152 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
18153 (CFLAGS-getpwent.c): Likewise.
18154 (CFLAGS-getpw.c): Likewise.
18155 (CFLAGS-fgetpwent_r.c): Likewise.
18156 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
18157 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
18158 (CFLAGS-mq_timedreceive.c): Likewise.
18159 (CFLAGS-mq_timedsend.c): Likewise.
18160 (CFLAGS-clock_nanosleep.c): Likewise.
18161 (CFLAGS-librt-cancellation.c): Likewise.
18162 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
18163 (CFLAGS-getspent.c): Likewise.
18164 (CFLAGS-fgetspent.c): Likewise.
18165 (CFLAGS-fgetspent_r.c): Likewise.
18166 (CFLAGS-putspent.c): Likewise.
18167 (CFLAGS-getspnam.c): Likewise.
18168 (CFLAGS-getspnam_r.c): Likewise.
18169 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
18170 (CFLAGS-sigsuspend.c): Likewise.
18171 (CFLAGS-sigtimedwait.c): Likewise.
18172 (CFLAGS-sigwait.c): Likewise.
18173 (CFLAGS-sigwaitinfo.c): Likewise.
18174 (CFLAGS-sigreturn.c): Likewise.
18175 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18176 (CFLAGS-vfwprintf.c): Likewise.
18177 (CFLAGS-tmpfile.c): Likewise.
18178 (CFLAGS-tmpfile64.c): Likewise.
18179 (CFLAGS-tempname.c): Likewise.
18180 (CFLAGS-psignal.c): Likewise.
18181 (CFLAGS-vprintf.c): Likewise.
18182 (CFLAGS-cuserid.c): Likewise.
18183 (CFLAGS-errlist.c): Likewise.
18184 (CFLAGS-siglist.c): Likewise.
18185 (CFLAGS-scanf15.c): Likewise.
18186 (CFLAGS-scanf17.c): Likewise.
18187 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
18188 (CFLAGS-msort.c): Likewise.
18189 (CFLAGS-qsort.c): Likewise.
18190 (CFLAGS-system.c): Likewise.
18191 (CFLAGS-fmtmsg.c): Likewise.
18192 (CFLAGS-strfmon.c): Likewise.
18193 (CFLAGS-strfmon_l.c): Likewise.
18194 (CFLAGS-strfromd.c): Likewise.
18195 (CFLAGS-strfromf.c): Likewise.
18196 (CFLAGS-strfroml.c): Likewise.
18197 (CFLAGS-tst-bsearch.c): Likewise.
18198 (CFLAGS-tst-qsort.c): Likewise.
18199 (CFLAGS-tst-makecontext2.c): Likewise.
18200 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
18201 (CFLAGS-xnlm_prot.c): Likewise.
18202 (CFLAGS-xrstat.c): Likewise.
18203 (CFLAGS-xyppasswd.c): Likewise.
18204 (CFLAGS-xklm_prot.c): Likewise.
18205 (CFLAGS-xrex.c): Likewise.
18206 (CFLAGS-xsm_inter.c): Likewise.
18207 (CFLAGS-xmount.c): Likewise.
18208 (CFLAGS-xrusers.c): Likewise.
18209 (CFLAGS-xspray.c): Likewise.
18210 (CFLAGS-xnfs_prot.c): Likewise.
18211 (CFLAGS-xrquota.c): Likewise.
18212 (CFLAGS-xkey_prot.c): Likewise.
18213 (CFLAGS-auth_unix.c): Likewise.
18214 (CFLAGS-key_call.c): Likewise.
18215 (CFLAGS-pmap_rmt.c): Likewise.
18216 (CFLAGS-clnt_perr.c): Likewise.
18217 (CFLAGS-openchild.c): Likewise.
18218 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
18219 (CFLAGS-msgsnd.c): Likewise.
18220 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
18221 * time/Makefile (CFLAGS-tzfile.c): Likewise.
18222 (CFLAGS-tzset.c): Likewise.
18223 (CFLAGS-getdate.c): Likewise.
18224 (CFLAGS-test_time.c): Likewise.
18225 (CPPFLAGS-tst-tzname.c): Likewise.
18226 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
18227 (CFLAGS-zic.c): Likewise.
18228 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
18229 (CFLAGS-wcswidth.c): Likewise.
18230 (CFLAGS-wcstol.c): Likewise.
18231 (CFLAGS-wcstoul.c): Likewise.
18232 (CFLAGS-wcstoll.c): Likewise.
18233 (CFLAGS-wcstoull.c): Likewise.
18234 (CFLAGS-wcstod.c): Likewise.
18235 (CFLAGS-wcstold.c): Likewise.
18236 (CFLAGS-wcstof128.c): Likewise.
18237 (CFLAGS-wcstof.c): Likewise.
18238 (CFLAGS-wcstol_l.c): Likewise.
18239 (CFLAGS-wcstoul_l.c): Likewise.
18240 (CFLAGS-wcstoll_l.c): Likewise.
18241 (CFLAGS-wcstoull_l.c): Likewise.
18242 (CFLAGS-wcstod_l.c): Likewise.
18243 (CFLAGS-wcstold_l.c): Likewise.
18244 (CFLAGS-wcstof128_l.c): Likewise.
18245 (CFLAGS-wcstof_l.c): Likewise.
18246 (CPPFLAGS-tst-wchar-h.c): Likewise.
18247 (CPPFLAGS-wcstold_l.c): Likewise.
18249 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
18251 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
18253 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18254 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18256 * manual/tunables.texi (Hardware Capability Tunables): Document
18257 glibc.tune.cached_memopt.
18258 * sysdeps/powerpc/cpu-features.c: New file.
18259 * sysdeps/powerpc/cpu-features.h: New file.
18260 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
18261 _dl_powerpc_cpu_features.
18262 * sysdeps/powerpc/dl-tunables.list: New file.
18263 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
18264 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18265 (INIT_ARCH): Initialize use_aligned_memopt.
18266 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
18267 IS_IN(rtld))]: Restrict dl_platform_init availability and
18268 initialize CPU features used by tunables.
18269 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
18270 Add memcpy-power8-cached.
18271 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
18272 __memcpy_power8_cached.
18273 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18274 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
18277 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18279 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
18280 (CFLAGS-noinl-tester.c): Likewise.
18281 (CFLAGS-tst-strlen.c): Likewise.
18282 (CFLAGS-stratcliff.c): Likewise.
18283 (CFLAGS-test-ffs.c): Likewise.
18284 (CFLAGS-tst-inlcall.c): Likewise.
18285 (CFLAGS-tst-xbzero-opt.c): Likewise.
18286 (CFLAGS-memcpy.c): Likewise.
18287 (CFLAGS-wordcopy.c): Likewise.
18289 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18291 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
18292 Store r15 on stack and add cfi rule.
18293 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
18296 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
18299 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
18302 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18304 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18305 Add s_sinf-sse2 and s_sinf-fma.
18306 (CFLAGS-s_sinf-fma.c): New.
18307 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
18308 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
18309 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
18311 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18313 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
18315 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18318 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
18319 part of result to imaginary part of argument if it is zero and the
18320 real part of the argument is not finite.
18321 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
18322 of result to real part of argument if it is zero and the imaginary
18323 part of the argument is not finite.
18325 2017-12-07 Mike FABIAN <mfabian@redhat.com>
18328 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
18329 and to the list of locales to be built for testing.
18330 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
18331 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
18332 and build the collation rules upon that.
18334 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18336 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
18337 * manual/math.texi (Mathematics): Document support for _Float32.
18338 * math/Makefile (test-types): Add float32.
18339 * math/Versions (GLIBC_2.27): Add _Float32 functions.
18340 * stdlib/Versions (GLIBC_2.27): Likewise.
18341 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18342 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18343 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18344 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18345 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18346 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18347 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18348 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18349 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18350 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18351 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18352 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18353 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18354 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18355 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18356 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18357 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18358 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18359 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18360 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18361 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18362 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18364 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18365 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18366 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18367 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18368 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18386 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18387 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18388 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18389 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18390 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18391 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18392 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18393 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18394 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18395 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18396 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18398 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18404 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18405 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18406 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18407 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18408 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18409 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18410 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18411 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18413 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18415 * stdlib/strtof.c: Include <bits/floatn.h>
18416 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
18417 and later undefine as macro. Define as weak alias if
18419 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
18420 and later undefine as macro. Define as weak alias if
18422 * stdlib/strtof_l.c: Include <bits/floatn.h>
18423 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
18424 and later undefine as macro. Define as weak alias if
18426 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
18427 and later undefine as macro. Define as weak alias if
18430 * stdlib/strfromf.c: Include <bits/floatn.h>.
18431 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
18432 and later undefine as macro and define as weak alias.
18434 * math/test-float32.h: New file.
18436 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
18437 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
18438 (libm_alias_float_other_r): Create f32 alias.
18439 (libm_alias_float_r): Use semicolon before call to
18440 libm_alias_float_other_r.
18442 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
18443 second argument to libm_alias_float_other.
18444 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
18445 second argument to libm_alias_float_other.
18446 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
18447 argument to libm_alias_float_other.
18450 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
18451 real part of result for argument 0 + i * NaN.
18452 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
18453 results for tests of 0 + i * NaN.
18455 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18457 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18459 2017-12-06 David S. Miller <davem@davemloft.net>
18461 * sysdeps/sparc/fpu/libm-test-ulps: Update
18462 exp_{downward,towardzero,upward} ulps.
18464 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18466 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
18469 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
18471 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
18473 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
18475 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
18478 2017-12-06 Mike FABIAN <mfabian@redhat.com>
18481 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
18482 and to the list of locales to be built for testing.
18483 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
18484 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
18485 and build the collation rules upon that.
18487 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18489 * NEWS: Add sinf to list of optimized functions.
18491 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18493 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
18494 (__HAVE_FLOAT32X): Likewise.
18495 * manual/math.texi (Mathematics): Document support for _Float64
18497 * math/Makefile (test-types): Add float64 and float32x.
18498 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
18500 * stdlib/Versions (GLIBC_2.27): Likewise.
18501 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18502 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18503 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18504 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18505 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18506 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18507 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18508 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18509 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18510 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18511 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18512 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18513 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18514 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18515 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18516 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18517 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18518 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18519 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18520 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18521 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18522 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18524 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18525 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18526 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18527 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18528 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18545 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18546 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18547 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18548 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18549 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18550 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18551 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18552 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18553 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18554 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18563 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18564 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18565 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18566 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18567 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18568 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18569 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18570 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18572 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18574 * bits/floatn-common.h: Include <bits/long-double.h>.
18575 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18576 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
18577 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18578 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
18579 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18580 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
18581 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18582 (__builtin_huge_valf64): Use __builtin_huge_vall.
18583 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18584 (__builtin_inff64): Use __builtin_infl.
18585 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18586 (__builtin_nanf64): Use __builtin_nanl.
18587 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18588 (__builtin_nansf64): Use __builtin_nansl.
18590 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
18591 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18592 Carlos O'Donnell <carlos@redhat.com>
18594 * elf/dl-tunables.list: Add elision parameters.
18595 * manual/tunables.texi: Add entries about elision tunable.
18596 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
18597 Add callback functions to dynamically enable/disable elision.
18598 Add multiple callbacks functions to set elision parameters.
18599 Deleted __libc_enable_secure check.
18600 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
18601 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
18602 * configure: Regenerated.
18603 * configure.ac: Option enable_lock_elision was deleted.
18604 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
18605 * config.make.in: Remove references to enable_lock_elision.
18606 * manual/install.texi: Elision configure option was removed.
18607 * INSTALL: Regenerated to remove enable_lock_elision.
18609 Disable elision so it can verify error case for destroying a mutex.
18610 * sysdeps/powerpc/nptl/elide.h:
18611 Cleanup ENABLE_LOCK_ELISION check.
18612 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
18613 * sysdeps/s390/configure: Regenerated.
18614 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
18615 * nptl/tst-mutex8.c:
18616 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
18617 * sysdeps/powerpc/powerpc32/sysdep.h:
18618 Deleted all ENABLE_LOCK_ELISION checks.
18619 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18620 * sysdeps/powerpc/sysdep.h: Likewise.
18621 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
18622 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
18623 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18624 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18625 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18626 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
18627 enable-lock-elision.
18629 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18631 * stdlib/strtod.c: Include <bits/floatn.h>.
18632 (BUILD_DOUBLE): New macro.
18633 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18634 (strtof64): Define and later undefine as macro. Define as weak
18635 alias if [!USE_WIDE_CHAR].
18636 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18637 (wcstof64): Define and later undefine as macro. Define as weak
18638 alias if [USE_WIDE_CHAR].
18639 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18640 (strtof32x): Define and later undefine as macro. Define as weak
18641 alias if [!USE_WIDE_CHAR].
18642 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18643 (wcstof32x): Define and later undefine as macro. Define as weak
18644 alias if [USE_WIDE_CHAR].
18645 * stdlib/strtod_l.c: Include <bits/floatn.h>.
18646 (BUILD_DOUBLE): New macro.
18647 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18648 (strtof64_l): Define and later undefine as macro. Define as weak
18649 alias if [!USE_WIDE_CHAR].
18650 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18651 (wcstof64_l): Define and later undefine as macro. Define as weak
18652 alias if [USE_WIDE_CHAR].
18653 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18654 (strtof32x_l): Define and later undefine as macro. Define as weak
18655 alias if [!USE_WIDE_CHAR].
18656 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18657 (wcstof32x_l): Define and later undefine as macro. Define as weak
18658 alias if [USE_WIDE_CHAR].
18660 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18662 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
18663 (reduced): Use ones as double instead of integer.
18665 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
18667 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
18669 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18671 * stdlib/strfromd.c: Include <bits/floatn.h>.
18672 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
18673 and later undefine as macro and define as weak alias.
18674 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
18677 * math/test-float32x.h: New file.
18678 * math/test-float64.h: Likewise.
18680 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
18681 (libm_alias_double_other_r_f64): New macro.
18682 (libm_alias_double_other_r_f32x): Likewise.
18683 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18684 libm_alias_double_other_r_f32x.
18685 (libm_alias_double_r): Use semicolon before call to
18686 libm_alias_double_other_r.
18687 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
18689 (libm_alias_double_other_r_f64): New macro.
18690 (libm_alias_double_other_r_f32x): Likewise.
18691 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18692 libm_alias_double_other_r_f32x.
18694 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
18696 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
18698 (SINF_FUNC): Likewise. Replace floor with simple casts.
18700 2017-12-05 Mike FABIAN <mfabian@redhat.com>
18703 * localedata/Makefile: Add et_EE.UTF-8 to test-input
18704 and to the list of locales to be built for testing.
18705 * localedata/et_EE.UTF-8.in: New file for testing the collation.
18706 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
18707 and build the collation rules upon that.
18709 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
18711 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
18712 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
18713 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
18714 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
18715 instead of __insn__xxx.
18716 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
18717 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
18718 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
18719 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
18720 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
18721 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
18723 2017-12-05 Florian Weimer <fweimer@redhat.com>
18725 Linux: Implement interfaces for memory protection keys
18726 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
18728 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
18729 * support/xunistd.h (xsysconf): Declare.
18730 * support/xraise.c: New file.
18731 * support/xsigaction.c: Likewise.
18732 * support/xsignal.c: Likewise.
18733 * support/xsysconf.c: Likewise.
18734 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
18735 pkey_set, pkey_get, pkey_mprotect.
18736 [misc] (tests): Add tst-pkey.
18737 (tst-pkey): Link with -lpthread.
18738 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
18739 pkey_free, pkey_set, pkey_get, pkey_mprotect.
18740 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
18741 (PKEY_DISABLE_WRITE): Define.
18742 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
18744 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
18745 (SEGV_PKUERR): Add.
18746 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
18747 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
18748 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
18749 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
18751 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
18752 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
18753 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
18754 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
18755 * sysdeps/unix/sysv/linux/**.abilist: Update.
18757 2017-12-05 Florian Weimer <fweimer@redhat.com>
18759 * support/tst-test_compare.c (subprocess): Use long long instead
18760 of long argument for consistent type width across 32-bit and
18761 64-bit architectures.
18762 (do_test): Adjust expected output.
18764 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18766 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
18767 (cosf): Define using libm_alias_float.
18768 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
18769 (fabsf): Define using libm_alias_float.
18770 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
18771 (fmaf): Define using libm_alias_float.
18772 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
18773 (rintf): Define using libm_alias_float.
18774 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
18775 (sinf): Define using libm_alias_float.
18776 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
18777 <libm-alias-float.h>.
18778 (modff): Define using libm_alias_float.
18779 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
18780 <libm-alias-float.h>.
18781 (logbf): Define using libm_alias_float.
18782 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
18783 <libm-alias-float.h>.
18784 (ceilf): Define using libm_alias_float.
18785 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
18786 <libm-alias-float.h>.
18787 (copysignf): Define using libm_alias_float.
18788 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
18789 <libm-alias-float.h>.
18790 (floorf): Define using libm_alias_float.
18791 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18792 <libm-alias-float.h>.
18793 (llrintf): Define using libm_alias_float.
18794 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18795 <libm-alias-float.h>.
18796 (llroundf): Define using libm_alias_float.
18797 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
18798 <libm-alias-float.h>.
18799 (lrintf): Define using libm_alias_float.
18800 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
18801 <libm-alias-float.h>.
18802 (lroundf): Define using libm_alias_float.
18803 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
18804 <libm-alias-float.h>.
18805 (nearbyintf): Define using libm_alias_float.
18806 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
18807 <libm-alias-float.h>.
18808 (rintf): Define using libm_alias_float.
18809 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
18810 <libm-alias-float.h>.
18811 (roundf): Define using libm_alias_float.
18812 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
18813 <libm-alias-float.h>.
18814 (truncf): Define using libm_alias_float.
18815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
18816 Include <libm-alias-float.h>.
18817 (ceilf): Define using libm_alias_float.
18818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
18819 Include <libm-alias-float.h>.
18820 (copysignf): Define using libm_alias_float.
18821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
18822 Include <libm-alias-float.h>.
18823 (floorf): Define using libm_alias_float.
18824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
18825 Include <libm-alias-float.h>.
18826 (llrintf): Define using libm_alias_float.
18827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
18828 Include <libm-alias-float.h>.
18829 (llroundf): Define using libm_alias_float.
18830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
18831 Include <libm-alias-float.h>.
18832 (logbf): Define using libm_alias_float.
18833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
18834 Include <libm-alias-float.h>.
18835 (lrintf): Define using libm_alias_float.
18836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
18837 Include <libm-alias-float.h>.
18838 (lroundf): Define using libm_alias_float.
18839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
18840 Include <libm-alias-float.h>.
18841 (modff): Define using libm_alias_float.
18842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
18843 Include <libm-alias-float.h>.
18844 (roundf): Define using libm_alias_float.
18845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
18846 Include <libm-alias-float.h>.
18847 (truncf): Define using libm_alias_float.
18848 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
18849 <libm-alias-float.h>.
18850 (llrintf): Define using libm_alias_float.
18851 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
18852 <libm-alias-float.h>.
18853 (llroundf): Define using libm_alias_float.
18854 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
18855 <libm-alias-float.h>.
18856 (ceilf): Define using libm_alias_float.
18857 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
18858 <libm-alias-float.h>.
18859 (floorf): Define using libm_alias_float.
18860 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
18861 <libm-alias-float.h>.
18862 (llroundf): Define using libm_alias_float.
18863 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
18864 <libm-alias-float.h>.
18865 (lroundf): Define using libm_alias_float.
18866 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
18867 <libm-alias-float.h>.
18868 (roundf): Define using libm_alias_float.
18869 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
18870 <libm-alias-float.h>.
18871 (truncf): Define using libm_alias_float.
18872 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
18873 <libm-alias-float.h>.
18874 (copysignf): Define using libm_alias_float.
18875 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
18876 <libm-alias-float.h>.
18877 (llrintf): Define using libm_alias_float.
18878 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
18879 <libm-alias-float.h>.
18880 (llroundf): Define using libm_alias_float.
18881 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
18882 <libm-alias-float.h>.
18883 (lrintf): Define using libm_alias_float.
18884 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
18885 <libm-alias-float.h>.
18886 (lroundf): Define using libm_alias_float.
18887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
18888 <libm-alias-float.h>.
18889 (ceilf): Define using libm_alias_float.
18890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
18891 <libm-alias-float.h>.
18892 (copysignf): Define using libm_alias_float.
18893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
18894 <libm-alias-float.h>.
18895 (cosf): Define using libm_alias_float.
18896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
18897 <libm-alias-float.h>.
18898 (floorf): Define using libm_alias_float.
18899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
18900 <libm-alias-float.h>.
18901 (llrintf): Define using libm_alias_float.
18902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
18903 <libm-alias-float.h>.
18904 (llroundf): Define using libm_alias_float.
18905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
18906 <libm-alias-float.h>.
18907 (logbf): Define using libm_alias_float.
18908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
18909 <libm-alias-float.h>.
18910 (modff): Define using libm_alias_float.
18911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
18912 <libm-alias-float.h>.
18913 (roundf): Define using libm_alias_float.
18914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
18915 <libm-alias-float.h>.
18916 (sinf): Define using libm_alias_float.
18917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
18918 <libm-alias-float.h>.
18919 (truncf): Define using libm_alias_float.
18920 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
18921 <libm-alias-float.h>.
18922 (ceilf): Define using libm_alias_float.
18923 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
18924 <libm-alias-float.h>.
18925 (copysignf): Define using libm_alias_float.
18926 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
18927 <libm-alias-float.h>.
18928 (floorf): Define using libm_alias_float.
18929 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
18930 <libm-alias-float.h>.
18931 (llrintf): Define using libm_alias_float.
18932 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
18933 <libm-alias-float.h>.
18934 (llroundf): Define using libm_alias_float.
18935 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
18936 <libm-alias-float.h>.
18937 (nearbyintf): Define using libm_alias_float.
18938 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
18939 <libm-alias-float.h>.
18940 (rintf): Define using libm_alias_float.
18941 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
18942 <libm-alias-float.h>.
18943 (roundf): Define using libm_alias_float.
18944 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
18945 <libm-alias-float.h>.
18946 (truncf): Define using libm_alias_float.
18947 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
18948 <libm-alias-float.h>.
18949 (ceilf): Define using libm_alias_float.
18950 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
18951 <libm-alias-float.h>.
18952 (floorf): Define using libm_alias_float.
18953 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
18954 <libm-alias-float.h>.
18955 (llroundf): Define using libm_alias_float.
18956 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
18957 <libm-alias-float.h>.
18958 (roundf): Define using libm_alias_float.
18959 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
18960 <libm-alias-float.h>.
18961 (truncf): Define using libm_alias_float.
18962 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
18963 <libm-alias-float.h>.
18964 (copysignf): Define using libm_alias_float.
18965 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
18966 <libm-alias-float.h>.
18967 (llrintf): Define using libm_alias_float.
18968 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
18969 <libm-alias-float.h>.
18970 (llroundf): Define using libm_alias_float.
18971 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
18972 <libm-alias-float.h>.
18973 (cosf): Define using libm_alias_float.
18974 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
18975 <libm-alias-float.h>.
18976 (llrintf): Define using libm_alias_float.
18977 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
18978 <libm-alias-float.h>.
18979 (llroundf): Define using libm_alias_float.
18980 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
18981 <libm-alias-float.h>.
18982 (sinf): Define using libm_alias_float.
18984 2017-12-04 Florian Weimer <fweimer@redhat.com>
18986 * support/check.h (TEST_COMPARE): Define.
18987 (support_test_compare_failure): Declare.
18988 * support/Makefile (libsupport-routines): Add
18989 support_test_compare_failure.
18990 (tests): Add tst-test_compare.
18991 * support /support_test_compare_failure.c: New file.
18992 * support/tst-test_compare.c: Likewise.
18994 2017-12-04 Mike FABIAN <mfabian@redhat.com>
18997 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
18998 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
18999 available, this rewrite of the collation rules does reproduce
19000 the test file in the same order.
19002 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19005 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
19006 digraphs in the month and day names. Using single code points for
19007 digraphs is deprecated. While there are dedicated Unicode
19008 codepoints, for the digraphs, these are included for backwards
19009 compatibility and modern texts use a sequence of Basic Latin
19010 characters. See: https://www.unicode.org/faq/ligature_digraph.html
19011 This makes the month and day names agree exactly with CLDR now,
19012 CLDR does not use the single code points for the digraphs either.
19014 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
19016 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
19018 2017-12-04 Joseph Myers <joseph@codesourcery.com>
19020 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
19023 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
19025 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
19026 Define only for libc.so.
19028 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
19030 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19031 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
19032 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
19033 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
19034 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19036 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19039 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
19041 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
19044 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
19045 PREINIT_FUNCTION_WEAK is nonzero.
19046 (gmon_initializer): New function. Put procedure label for it in
19047 .init_array section.
19048 (_init): Don't call PREINIT_FUNCTION.
19049 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
19050 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
19051 value when map argument is null.
19053 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
19054 depi instruction from PIC pc-relative sequence.
19055 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
19056 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
19057 (elf_machine_load_address): Likewise.
19058 (elf_machine_runtime_setup): Likewise.
19060 2017-12-02 Joseph Myers <joseph@codesourcery.com>
19062 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
19063 <libm-alias-double.h>.
19064 (logb): Define using libm_alias_double.
19065 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19066 <libm-alias-double.h>.
19067 (copysign): Define using libm_alias_double.
19068 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
19069 <libm-alias-double.h>.
19070 (llrint): Define using libm_alias_double.
19071 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
19072 <libm-alias-double.h>.
19073 (llround): Define using libm_alias_double.
19074 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19075 <libm-alias-double.h>.
19076 (lrint): Define using libm_alias_double.
19077 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19078 <libm-alias-double.h>.
19079 (lround): Define using libm_alias_double.
19080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19081 Include <libm-alias-double.h>.
19082 (copysign): Define using libm_alias_double.
19083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
19084 Include <libm-alias-double.h>.
19085 (llrint): Define using libm_alias_double.
19086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
19087 Include <libm-alias-double.h>.
19088 (llround): Define using libm_alias_double.
19089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
19090 <libm-alias-double.h>.
19091 (logb): Define using libm_alias_double.
19092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
19093 Include <libm-alias-double.h>.
19094 (lrint): Define using libm_alias_double.
19095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
19096 Include <libm-alias-double.h>.
19097 (lround): Define using libm_alias_double.
19098 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
19099 <libm-alias-double.h>.
19100 (llrint): Define using libm_alias_double.
19101 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19102 <libm-alias-double.h>.
19103 (llround): Define using libm_alias_double.
19104 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19105 <libm-alias-double.h>.
19106 (llround): Define using libm_alias_double.
19107 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19108 <libm-alias-double.h>.
19109 (lround): Define using libm_alias_double.
19110 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19111 <libm-alias-double.h>.
19112 (copysign): Define using libm_alias_double.
19113 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
19114 <libm-alias-double.h>.
19115 (llrint): Define using libm_alias_double.
19116 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19117 <libm-alias-double.h>.
19118 (llround): Define using libm_alias_double.
19119 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19120 <libm-alias-double.h>.
19121 (lrint): Define using libm_alias_double.
19122 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19123 <libm-alias-double.h>.
19124 (lround): Define using libm_alias_double.
19125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
19126 <libm-alias-double.h>.
19127 (copysign): Define using libm_alias_double.
19128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
19129 <libm-alias-double.h>.
19130 (llrint): Define using libm_alias_double.
19132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
19133 <libm-alias-double.h>.
19134 (llround): Define using libm_alias_double.
19135 (lround): Likewise.
19136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
19137 <libm-alias-double.h>.
19138 (logb): Define using libm_alias_double.
19139 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19140 <libm-alias-double.h>.
19141 (copysign): Define using libm_alias_double.
19142 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19143 <libm-alias-double.h>.
19144 (llrint): Define using libm_alias_double.
19146 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
19147 <libm-alias-double.h>.
19148 (llround): Define using libm_alias_double.
19149 (lround): Likewise.
19150 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19151 <libm-alias-double.h>.
19152 (llround): Define using libm_alias_double.
19153 (lround): Likewise.
19154 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19155 <libm-alias-double.h>.
19156 (copysign): Define using libm_alias_double.
19157 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19158 <libm-alias-double.h>.
19159 (llrint): Define using libm_alias_double.
19161 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19162 <libm-alias-double.h>.
19163 (llround): Define using libm_alias_double.
19164 (lround): Likewise.
19165 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19166 <libm-alias-double.h>.
19167 (llrint): Define using libm_alias_double.
19169 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19170 <libm-alias-double.h>.
19171 (llround): Define using libm_alias_double.
19172 (lround): Likewise.
19174 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19177 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
19178 compat symbol based on llround.
19180 * sysdeps/powerpc/power7/fpu/s_logb.c
19181 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
19182 symbol based on __logb, not on logb.
19183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
19184 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
19186 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19188 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
19189 (rint): Define using libm_alias_double.
19190 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
19191 <libm-alias-double.h>.
19192 (modf): Define using libm_alias_double.
19193 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
19194 <libm-alias-double.h>.
19195 (ceil): Define using libm_alias_double.
19196 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
19197 <libm-alias-double.h>.
19198 (floor): Define using libm_alias_double.
19199 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
19200 <libm-alias-double.h>.
19201 (nearbyint): Define using libm_alias_double.
19202 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
19203 <libm-alias-double.h>.
19204 (rint): Define using libm_alias_double.
19205 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
19206 <libm-alias-double.h>.
19207 (round): Define using libm_alias_double.
19208 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
19209 <libm-alias-double.h>.
19210 (trunc): Define using libm_alias_double.
19211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
19212 <libm-alias-double.h>.
19213 (ceil): Define using libm_alias_double.
19214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
19215 Include <libm-alias-double.h>.
19216 (floor): Define using libm_alias_double.
19217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
19218 <libm-alias-double.h>.
19219 (modf): Define using libm_alias_double.
19220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
19221 Include <libm-alias-double.h>.
19222 (round): Define using libm_alias_double.
19223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
19224 Include <libm-alias-double.h>.
19225 (trunc): Define using libm_alias_double.
19226 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
19227 <libm-alias-double.h>.
19228 (ceil): Define using libm_alias_double.
19229 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
19230 <libm-alias-double.h>.
19231 (floor): Define using libm_alias_double.
19232 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
19233 <libm-alias-double.h>.
19234 (round): Define using libm_alias_double.
19235 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
19236 <libm-alias-double.h>.
19237 (trunc): Define using libm_alias_double.
19238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
19239 <libm-alias-double.h>.
19240 (ceil): Define using libm_alias_double.
19241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
19242 <libm-alias-double.h>.
19243 (floor): Define using libm_alias_double.
19244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
19245 <libm-alias-double.h>.
19246 (modf): Define using libm_alias_double.
19247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
19248 <libm-alias-double.h>.
19249 (round): Define using libm_alias_double.
19250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
19251 <libm-alias-double.h>.
19252 (trunc): Define using libm_alias_double.
19253 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
19254 <libm-alias-double.h>.
19255 (ceil): Define using libm_alias_double.
19256 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
19257 <libm-alias-double.h>.
19258 (floor): Define using libm_alias_double.
19259 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
19260 <libm-alias-double.h>.
19261 (nearbyint): Define using libm_alias_double.
19262 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
19263 <libm-alias-double.h>.
19264 (rint): Define using libm_alias_double.
19265 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
19266 <libm-alias-double.h>.
19267 (round): Define using libm_alias_double.
19268 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
19269 <libm-alias-double.h>.
19270 (trunc): Define using libm_alias_double.
19271 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
19272 <libm-alias-double.h>.
19273 (ceil): Define using libm_alias_double.
19274 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
19275 <libm-alias-double.h>.
19276 (floor): Define using libm_alias_double.
19277 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
19278 <libm-alias-double.h>.
19279 (round): Define using libm_alias_double.
19280 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
19281 <libm-alias-double.h>.
19282 (trunc): Define using libm_alias_double.
19284 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
19285 (fabs): Define using libm_alias_double.
19286 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
19287 (fma): Define using libm_alias_double.
19288 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
19289 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
19290 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
19291 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
19293 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19295 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
19297 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
19298 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
19299 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
19301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
19302 due redirect macro.
19304 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
19306 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
19308 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19310 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
19311 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
19312 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
19313 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
19315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19316 (libm-sysdep_routines): Add s_nearbyintf-generic and
19317 s_nearbyint-generic.
19318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
19320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
19321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
19323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
19325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
19327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19331 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
19332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
19334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
19335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
19337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
19338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
19339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19342 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
19343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
19345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
19346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
19348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
19349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
19350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
19352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19353 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
19354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
19356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
19357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
19359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
19360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
19361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19364 (sysdep_calls): New rule.
19365 (sysdep_routines): Use sysdep_calls as base.
19366 (libm-sysdep_routines): Add generic rule for symbols shared with
19367 libc. Add s_copysign-generic and s_copysign-generic objects.
19368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
19370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
19371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
19373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
19374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
19375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
19377 2017-12-01 Mike FABIAN <mfabian@redhat.com>
19380 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
19381 the list of locales to be built for testing.
19382 * localedata/is_IS.UTF-8.in: New file.
19383 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
19386 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19388 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
19389 <libm-alias-float.h>.
19390 (fabsf): Define using libm_alias_float.
19392 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19394 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
19396 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19398 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
19399 <libm-alias-float.h>.
19400 (fabsf): Define using libm_alias_float.
19401 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
19402 <libm-alias-float.h>.
19403 (lrintf): Define using libm_alias_float.
19404 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
19405 <libm-alias-float.h>.
19406 (rintf): Define using libm_alias_float.
19408 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
19409 <libm-alias-double.h>.
19410 (fabs): Define using libm_alias_double.
19411 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
19412 <libm-alias-double.h>.
19413 (lrint): Define using libm_alias_double.
19414 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
19415 <libm-alias-double.h>.
19416 (rint): Define using libm_alias_double.
19418 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
19419 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
19420 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
19421 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
19422 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
19423 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
19424 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
19425 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
19426 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
19427 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
19428 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
19429 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
19430 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
19431 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
19432 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
19433 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
19434 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
19435 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
19437 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
19438 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
19439 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
19441 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
19442 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
19443 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
19445 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
19446 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
19447 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
19448 s_expm1_template.c.
19449 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
19450 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
19451 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
19453 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
19454 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
19455 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
19456 s_floor_template.c.
19457 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
19458 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
19459 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
19460 s_frexp_template.c.
19461 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
19462 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
19463 s_lrint_template.c.
19464 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
19465 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
19466 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
19468 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
19469 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
19470 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
19471 s_nearbyint_template.c.
19472 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
19473 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
19474 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
19475 s_remquo_template.c.
19476 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
19477 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
19478 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
19480 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
19481 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
19482 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
19484 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
19485 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
19486 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
19487 s_sincos_template.c.
19488 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
19489 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
19490 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
19492 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
19493 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
19494 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
19496 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
19497 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
19498 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
19499 s_trunc_template.c.
19500 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
19501 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
19502 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
19503 s_atan.c instead of including s_atan.c.
19504 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
19505 s_atanf.c instead of including s_atanf.c.
19506 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
19507 s_atanl.c instead of including s_atanl.c.
19508 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
19509 instead of s_atan.c.
19510 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
19511 instead of s_atanf.c.
19512 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
19513 instead of s_atanl.c.
19515 * scripts/update-copyrights: Do not handle intl/plural.c
19518 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
19521 * configure.ac (BISON): Require to be present.
19522 * configure: Regenerated.
19523 * intl/Makefile (generated): Add plural.c.
19524 [$(BISON) != no]: Make code unconditional.
19525 (plural.c): Change rule to $(objpfx)plural.c.
19526 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
19527 * intl/plural.c: Remove.
19528 * manual/install.texi (Tools for Compilation): Document bison as
19530 * INSTALL: Regenerated.
19532 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19534 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
19535 <libm-alias-double.h>.
19536 (llrint): Define using libm_alias_double.
19537 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
19538 <libm-alias-float.h>.
19539 (llrintf): Define using libm_alias_float.
19540 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
19541 <libm-alias-ldouble.h>.
19542 (llrintl): Define using libm_alias_ldouble.
19544 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
19545 declare_mgen_alias instead of weak_alias.
19546 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
19547 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
19548 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
19550 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19552 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19554 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
19555 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
19556 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
19558 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19559 Add submul_1-generic.
19560 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
19561 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
19562 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
19564 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19565 Add addmul_1-generic.
19566 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
19567 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
19568 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
19570 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19572 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
19573 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
19574 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
19576 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19578 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
19579 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
19580 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
19582 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19584 According to CLDR, collation rules for Serbian and Bosnian
19585 should be the same as for Croatian.
19588 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
19589 and to the list of locales to be built for testing.
19590 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19591 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19592 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
19593 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
19595 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19597 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
19598 to make test case pass.
19599 * localedata/hr_HR.UTF-8.in: Add more test strings.
19601 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19603 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
19605 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19607 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
19608 the list of locales to built for testing.
19609 * localedata/hr_HR.UTF-8.in: New file.
19611 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19614 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
19616 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
19617 CLDR (except use ligatures for the digraphs, CLDR does not use
19618 the ligatures), add first_workday, some fixes in the date and time
19620 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
19622 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
19623 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
19624 Add int_p_cs_precedes and int_n_cs_precedes.
19625 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
19626 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
19628 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
19629 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
19631 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
19632 and lang_lib. Change postal_fmt.
19634 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19636 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
19638 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19639 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
19640 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19641 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
19642 * sysdeps/generic/setjmpP.h: New file.
19643 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
19644 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
19645 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
19646 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
19647 Add jmp_buf-ssp.sym.
19648 (tests): Add tst-saved_mask-1.
19650 2017-11-30 Arjun Shankar <arjun@redhat.com>
19654 * malloc/malloc.c (__libc_malloc): Use checked_request2size
19655 instead of request2size.
19657 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
19660 (__lllrint): Remove alias.
19661 (lllrint): Likewise.
19662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
19663 (__lllrintf): Likewise.
19664 (lllrintf): Likewise.
19666 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
19667 <libm-alias-float.h>.
19668 (copysignf): Define using libm_alias_float.
19669 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
19670 <libm-alias-float.h>.
19671 (fabsf): Define using libm_alias_float.
19672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19673 Include <libm-alias-float.h>.
19674 (copysignf): Define using libm_alias_float.
19675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
19676 <libm-alias-float.h>.
19677 (fabsf): Define using libm_alias_float.
19678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
19679 <libm-alias-float.h>.
19680 (fdimf): Define using libm_alias_float.
19681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
19682 <libm-alias-float.h>.
19683 (fmaf): Define using libm_alias_float.
19684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
19685 <libm-alias-float.h>.
19686 (llrintf): Define using libm_alias_float.
19687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19688 Include <libm-alias-float.h>.
19689 (nearbyintf): Define using libm_alias_float.
19690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
19691 <libm-alias-float.h>.
19692 (rintf): Define using libm_alias_float.
19693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
19694 <libm-alias-float.h>.
19695 (llrintf): Define using libm_alias_float.
19696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
19697 <libm-alias-float.h>.
19698 (lrintf): Define using libm_alias_float.
19699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
19700 <libm-alias-float.h>.
19701 (nearbyintf): Define using libm_alias_float.
19702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
19703 <libm-alias-float.h>.
19704 (rintf): Define using libm_alias_float.
19705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
19706 <libm-alias-float.h>.
19707 (ceilf): Define using libm_alias_float.
19708 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
19709 <libm-alias-float.h>.
19710 (floorf): Define using libm_alias_float.
19711 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
19712 <libm-alias-float.h>.
19713 (fmaf): Define using libm_alias_float.
19714 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
19715 <libm-alias-float.h>.
19716 (lrintf): Define using libm_alias_float.
19717 (llrintf): Likewise.
19718 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
19719 <libm-alias-float.h>.
19720 (nearbyintf): Define using libm_alias_float.
19721 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
19722 <libm-alias-float.h>.
19723 (rintf): Define using libm_alias_float.
19724 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
19725 <libm-alias-float.h>.
19726 (truncf): Define using libm_alias_float.
19727 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
19728 <libm-alias-float.h>.
19729 (copysignf): Define using libm_alias_float.
19730 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
19731 <libm-alias-float.h>.
19732 (fabsf): Define using libm_alias_float.
19733 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
19734 <libm-alias-float.h>.
19735 (lrintf): Define using libm_alias_float.
19736 (llrintf): Likewise.
19737 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
19738 <libm-alias-float.h>.
19739 (nearbyintf): Define using libm_alias_float.
19740 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
19741 <libm-alias-float.h>.
19742 (rintf): Define using libm_alias_float.
19744 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19746 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
19747 <libm-alias-double.h>.
19748 (copysign): Define using libm_alias_double.
19749 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
19750 <libm-alias-double.h>.
19751 (fabs): Define using libm_alias_double.
19752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19753 Include <libm-alias-double.h>.
19754 (copysign): Define using libm_alias_double.
19755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
19756 <libm-alias-double.h>.
19757 (fabs): Define using libm_alias_double.
19758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
19759 <libm-alias-double.h>.
19760 (fdim): Define using libm_alias_double.
19761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
19762 <libm-alias-double.h>.
19763 (fma): Define using libm_alias_double.
19764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
19765 <libm-alias-double.h>.
19766 (llrint): Define using libm_alias_double.
19767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
19768 Include <libm-alias-double.h>.
19769 (nearbyint): Define using libm_alias_double.
19770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
19771 <libm-alias-double.h>.
19772 (rint): Define using libm_alias_double.
19773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19774 <libm-alias-double.h>.
19775 (fabs): Define using libm_alias_double.
19776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
19777 <libm-alias-double.h>.
19778 (llrint): Define using libm_alias_double.
19779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
19780 <libm-alias-double.h>.
19781 (nearbyint): Define using libm_alias_double.
19782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
19783 <libm-alias-double.h>.
19784 (rint): Define using libm_alias_double.
19785 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
19786 <libm-alias-double.h>.
19787 (ceil): Define using libm_alias_double.
19788 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
19789 <libm-alias-double.h>.
19790 (floor): Define using libm_alias_double.
19791 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
19792 <libm-alias-double.h>.
19793 (fma): Define using libm_alias_double.
19794 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
19795 <libm-alias-double.h>.
19796 (lrint): Define using libm_alias_double.
19797 (llrint): Likewise.
19798 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
19799 <libm-alias-double.h>.
19800 (nearbyint): Define using libm_alias_double.
19801 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
19802 <libm-alias-double.h>.
19803 (rint): Define using libm_alias_double.
19804 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
19805 <libm-alias-double.h>.
19806 (trunc): Define using libm_alias_double.
19807 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
19808 <libm-alias-double.h>.
19809 (copysign): Define using libm_alias_double.
19810 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
19811 <libm-alias-double.h>.
19812 (fabs): Define using libm_alias_double.
19813 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
19814 <libm-alias-double.h>.
19815 (lrint): Define using libm_alias_double.
19816 (llrint): Likewise.
19817 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
19818 <libm-alias-double.h>.
19819 (nearbyint): Define using libm_alias_double.
19820 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
19821 <libm-alias-double.h>.
19822 (rint): Define using libm_alias_double.
19825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19827 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
19829 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19830 SPARC --disable-multi-arch glibc variants.
19832 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
19833 <libm-alias-float.h>.
19834 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19836 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
19837 <libm-alias-float.h>.
19838 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19840 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
19841 <libm-alias-float.h>.
19842 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19844 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
19845 <libm-alias-float.h>.
19846 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19848 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
19849 <libm-alias-float.h>.
19850 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19852 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
19853 <libm-alias-float.h>.
19854 (ceilf): Define using libm_alias_float.
19855 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
19856 <libm-alias-float.h>.
19857 (floorf): Define using libm_alias_float.
19858 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
19859 <libm-alias-float.h>.
19860 (fmaf): Define using libm_alias_float.
19861 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
19862 <libm-alias-float.h>.
19863 (nearbyintf): Define using libm_alias_float.
19864 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
19865 <libm-alias-float.h>.
19866 (rintf): Define using libm_alias_float.
19867 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
19868 <libm-alias-float.h>.
19869 (truncf): Define using libm_alias_float.
19870 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
19871 (copysignf): Define using libm_alias_float.
19872 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
19873 (cosf): Define using libm_alias_float.
19874 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
19875 (fabsf): Define using libm_alias_float.
19876 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19877 (fmaxf): Define using libm_alias_float.
19878 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
19879 (fminf): Define using libm_alias_float.
19880 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
19881 (llrintf): Define using libm_alias_float.
19882 [!__ILP32__] (lrintf): Likewise.
19883 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
19884 (sincosf): Define using libm_alias_float.
19885 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
19886 (sinf): Define using libm_alias_float.
19887 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
19888 (lrintf): Define using libm_alias_float.
19890 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
19891 <libm-alias-double.h>.
19892 (atan): Define using libm_alias_double.
19893 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
19894 <libm-alias-double.h>.
19895 (ceil): Define using libm_alias_double.
19896 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
19897 <libm-alias-double.h>.
19898 (floor): Define using libm_alias_double.
19899 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
19900 <libm-alias-double.h>.
19901 (fma): Define using libm_alias_double.
19902 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
19903 <libm-alias-double.h>.
19904 (nearbyint): Define using libm_alias_double.
19905 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
19906 <libm-alias-double.h>.
19907 (rint): Define using libm_alias_double.
19908 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
19909 <libm-alias-double.h>.
19910 (sin): Define using libm_alias_double.
19912 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
19913 <libm-alias-double.h>.
19914 (tan): Define using libm_alias_double.
19915 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
19916 <libm-alias-double.h>.
19917 (trunc): Define using libm_alias_double.
19918 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
19919 (copysign): Define using libm_alias_double.
19920 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
19921 (fabs): Define using libm_alias_double.
19922 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
19923 (fmax): Define using libm_alias_double.
19924 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
19925 (fmin): Define using libm_alias_double.
19926 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
19927 (llrint): Define using libm_alias_double.
19928 [!__ILP32__] (lrint): Likewise.
19929 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
19930 (lrint): Define using libm_alias_double.
19932 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19934 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19935 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
19937 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
19938 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
19939 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
19940 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
19941 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
19942 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
19944 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19945 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
19947 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
19948 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
19949 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
19950 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
19951 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
19952 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
19954 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19955 (libm-sysdep_routines): Add s_nearbyint-generic and
19956 s_nearbyintf-generic objects.
19957 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
19958 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
19959 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
19960 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
19961 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
19962 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
19964 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19965 Add s_finitef-generic and s_finite-generic objects.
19966 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
19967 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
19968 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
19969 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
19970 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
19971 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
19973 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19974 Add s_isinff-generic and s_isinf-generic objects.
19975 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
19976 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
19977 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
19978 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
19979 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
19980 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
19982 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19983 Add s_isnanf-generic and s_isnan-generic objects.
19984 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
19985 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
19986 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
19987 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
19988 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
19989 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
19991 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
19993 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
19995 (sysdep_routines): Use sysdep_calls as base.
19996 (libm-sysdep_routines): Add generic rule for symbols shared with
19997 libc. Add s_signbit-generic and s_signbitf-generic objects.
19998 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
19999 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
20000 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
20001 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
20002 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
20003 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20005 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20007 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
20008 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
20009 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
20010 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
20011 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
20012 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
20013 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
20014 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
20015 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
20016 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
20017 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
20018 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
20019 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
20020 libm_alias_float_r.
20021 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
20022 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
20024 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
20025 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
20026 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
20027 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
20028 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
20029 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
20030 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
20031 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
20032 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
20033 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
20035 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
20037 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
20038 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
20039 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
20040 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
20041 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
20042 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
20043 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
20044 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
20045 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
20046 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
20047 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
20048 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
20049 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
20050 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
20051 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
20052 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
20053 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
20054 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
20055 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
20057 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
20058 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
20059 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
20060 * sysdeps/ia64/fpu/w_lgammaf_main.c
20061 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
20062 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
20064 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20065 Alexandre Oliva <aoliva@redhat.com>
20068 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
20069 * localedata/fr_CA.UTF-8.in: New file with test data for backward
20071 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
20073 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
20074 * localedata/locales/de_DE (LC_COLLATE): Likewise.
20075 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
20076 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
20077 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
20078 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
20079 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
20080 instead of “ifdef DIACRIT_BACKWARD”.
20082 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20084 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
20085 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
20086 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
20087 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
20088 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
20089 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
20090 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
20091 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
20092 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
20093 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
20094 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
20095 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
20096 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
20097 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
20098 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
20099 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20100 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
20101 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
20102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20103 ($(have-as-vis3) == yes): Remove conditional.
20104 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
20106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
20108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
20110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
20112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
20114 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
20115 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
20116 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
20117 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
20118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
20119 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
20120 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
20121 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
20123 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20125 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
20126 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
20127 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
20128 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
20129 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
20130 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
20131 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
20132 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
20133 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
20134 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
20135 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
20136 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
20137 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
20138 libm_alias_double_r.
20139 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
20141 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
20142 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
20143 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
20144 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
20145 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
20146 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
20147 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
20148 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
20149 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
20150 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
20151 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
20153 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
20155 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
20156 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
20157 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
20158 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
20159 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
20160 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
20161 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
20162 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
20163 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
20164 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
20165 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
20166 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
20167 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
20168 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
20169 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
20170 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
20171 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
20172 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
20174 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
20175 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
20176 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
20177 * sysdeps/ia64/fpu/w_lgamma_main.c
20178 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
20179 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
20181 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
20183 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
20184 address of $global$ into %dp register earlier. Use pc-relative
20185 instruction sequence for PIC case.
20187 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20189 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
20190 (asinhf): Define using libm_alias_float.
20191 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
20192 (atanf): Define using libm_alias_float.
20193 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
20194 (cbrtf): Define using libm_alias_float.
20195 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
20196 (ceilf): Define using libm_alias_float.
20197 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20198 (copysignf): Define using libm_alias_float.
20199 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
20200 (expm1f): Define using libm_alias_float.
20201 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
20202 (fabsf): Define using libm_alias_float.
20203 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
20204 (floorf): Define using libm_alias_float.
20205 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20206 (fmaxf): Define using libm_alias_float.
20207 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
20208 (fminf): Define using libm_alias_float.
20209 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
20210 (frexpf): Define using libm_alias_float.
20211 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20212 (llrintf): Define using libm_alias_float.
20213 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
20214 (logbf): Define using libm_alias_float.
20215 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20216 (lrintf): Define using libm_alias_float.
20217 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
20218 (nearbyintf): Define using libm_alias_float.
20219 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
20220 (remquof): Define using libm_alias_float.
20221 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
20222 (rintf): Define using libm_alias_float.
20223 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
20224 (truncf): Define using libm_alias_float.
20225 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
20226 <libm-alias-float.h>.
20227 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20229 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
20230 <libm-alias-float.h>.
20231 (expf): Define using libm_alias_float, or libm_alias_float_other
20233 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
20234 <libm-alias-float.h>.
20235 (log2f): Define using libm_alias_float, or libm_alias_float_other
20237 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
20238 <libm-alias-float.h>.
20239 (logf): Define using libm_alias_float, or libm_alias_float_other
20241 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
20242 <libm-alias-float.h>.
20243 (powf): Define using libm_alias_float, or libm_alias_float_other
20245 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
20246 <libm-alias-float.h>.
20247 (cosf): Define using libm_alias_float.
20248 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
20249 <libm-alias-float.h>.
20250 (sincosf): Define using libm_alias_float.
20251 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
20252 <libm-alias-float.h>.
20253 (sinf): Define using libm_alias_float.
20254 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20255 (fmaxf): Define using libm_alias_float.
20256 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
20257 (fminf): Define using libm_alias_float.
20258 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20259 <libm-alias-float.h>.
20260 (fmaf): Define using libm_alias_float.
20262 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
20263 (asinh): Define using libm_alias_double.
20264 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
20265 (atan): Define using libm_alias_double.
20266 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
20267 (cbrt): Define using libm_alias_double.
20268 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
20269 (ceil): Define using libm_alias_double.
20270 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
20271 (copysign): Define using libm_alias_double.
20272 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
20273 (expm1): Define using libm_alias_double.
20274 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
20275 (fabs): Define using libm_alias_double.
20276 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
20277 (fdim): Define using libm_alias_double.
20278 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
20279 (floor): Define using libm_alias_double.
20280 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
20281 (fmax): Define using libm_alias_double.
20282 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
20283 (fmin): Define using libm_alias_double.
20284 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
20285 (frexp): Define using libm_alias_double.
20286 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
20287 (llrint): Define using libm_alias_double.
20288 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
20289 (logb): Define using libm_alias_double.
20290 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
20291 (lrint): Define using libm_alias_double.
20292 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
20293 (nearbyint): Define using libm_alias_double.
20294 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
20295 (remquo): Define using libm_alias_double.
20296 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
20297 (rint): Define using libm_alias_double.
20298 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
20299 (trunc): Define using libm_alias_double.
20300 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
20301 (fmax): Define using libm_alias_double.
20302 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
20303 (fmin): Define using libm_alias_double.
20304 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
20305 (fma): Define using libm_alias_double.
20307 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
20310 * elf/dl-hwcaps.c (ROUND): Removed.
20311 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
20312 and ELF_NOTE_NEXT_OFFSET.
20313 * elf/dl-load.c (ROUND): Removed.
20314 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20315 * elf/readelflib.c (ROUND): Removed.
20316 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20317 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
20318 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
20319 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
20321 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20323 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20324 [!__fmaf] (fmaf): Define using libm_alias_float.
20326 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
20327 [!__fma] (fma): Define using libm_alias_double.
20328 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
20330 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20333 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
20334 and implement the collation rules for cs from CLDR on top of that.
20335 * Makefile: Add cs_CZ.UTF-8 to test-input.
20336 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
20338 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
20340 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
20342 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20343 Icarus Sparry <icarus.w.sparry@intel.com>
20345 * benchtests/Makefile:Add BENCHSET to allow subsets of
20346 benchmarks to be run.
20347 * benchtests/README: Add documentation for: Running subsets of
20350 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20352 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
20353 range of tests names.
20355 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
20356 result from property and remove "max", min" and "mean" from
20357 required properties based on benchtests/bench-skeleton.c.
20359 2017-11-28 Florian Weimer <fweimer@redhat.com>
20362 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
20363 due to Internet requirement.
20364 * posix/Makefile (tests): Remove tst-getaddrinfo4,
20366 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
20368 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20370 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20371 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
20372 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20373 (sysdep_routines): Add memset-ultra1.
20374 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
20376 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
20377 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
20378 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
20379 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
20380 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
20381 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
20382 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
20383 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20385 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
20387 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
20388 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
20389 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
20390 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
20391 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
20392 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
20393 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
20395 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20396 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
20397 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20398 (sysdep_routines): Add memcpy-ultra1.
20399 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
20400 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
20402 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20404 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
20405 (cfloat_versions): Take function argument without trailing 'f'.
20406 Call libm_alias_float_other.
20407 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
20408 * sysdeps/alpha/fpu/cargf.c: Likewise.
20409 * sysdeps/alpha/fpu/cimagf.c: Likewise.
20410 * sysdeps/alpha/fpu/conjf.c: Likewise.
20411 * sysdeps/alpha/fpu/crealf.c: Likewise.
20412 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
20413 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
20414 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
20415 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
20416 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
20417 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
20418 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
20419 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
20420 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
20421 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
20422 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
20423 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
20424 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
20425 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
20426 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
20427 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
20428 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
20429 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
20430 (clog10f): Use libm_alias_float_other.
20431 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20432 (ceilf): Define using libm_alias_float.
20433 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
20434 (copysignf): Define using libm_alias_float.
20435 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20436 (fabsf): Define using libm_alias_float.
20437 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
20438 (floorf): Define using libm_alias_float.
20439 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
20440 (fmaxf): Define using libm_alias_float.
20441 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
20442 (fminf): Define using libm_alias_float.
20443 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20444 (lrintf): Define using libm_alias_float.
20445 (llrintf): Likewise.
20446 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20447 (lroundf): Define using libm_alias_float.
20448 (llroundf): Likewise.
20449 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
20450 (rintf): Define using libm_alias_float.
20451 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
20452 (truncf): Define using libm_alias_float.
20454 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20455 (ceilf): Define using libm_alias_float.
20456 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
20457 (floorf): Define using libm_alias_float.
20458 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20459 (fmaf): Define using libm_alias_float.
20460 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
20461 (fmaxf): Define using libm_alias_float.
20462 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
20463 (fminf): Define using libm_alias_float.
20464 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
20465 (llrintf): Define using libm_alias_float.
20466 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
20467 (llroundf): Define using libm_alias_float.
20468 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20469 (lrintf): Define using libm_alias_float.
20470 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20471 (lroundf): Define using libm_alias_float.
20472 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
20473 <libm-alias-float.h>.
20474 (nearbyintf): Define using libm_alias_float.
20475 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
20476 (rintf): Define using libm_alias_float.
20477 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
20478 (roundf): Define using libm_alias_float.
20479 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
20480 (truncf): Define using libm_alias_float.
20482 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
20483 (ceil): Define using libm_alias_double.
20484 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
20485 (copysign): Define using libm_alias_double.
20486 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
20487 (fabs): Define using libm_alias_double.
20488 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
20489 (floor): Define using libm_alias_double.
20490 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
20491 (fmax): Define using libm_alias_double.
20492 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
20493 (fmin): Define using libm_alias_double.
20494 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
20495 (lrint): Define using libm_alias_double.
20496 (llrint): Likewise.
20497 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
20498 (lround): Define using libm_alias_double.
20499 (llround): Likewise.
20500 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
20501 (rint): Define using libm_alias_double.
20502 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
20503 (trunc): Define using libm_alias_double.
20505 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
20506 (libm_alias_double_r): Add semicolon after weak_alias call.
20508 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20510 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
20511 (ceil): Define using libm_alias_double.
20512 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
20513 (floor): Define using libm_alias_double.
20514 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
20515 (fma): Define using libm_alias_double.
20516 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
20517 (fmax): Define using libm_alias_double.
20518 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
20519 (fmin): Define using libm_alias_double.
20520 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
20521 (llrint): Define using libm_alias_double.
20522 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
20523 (llround): Define using libm_alias_double.
20524 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
20525 (lrint): Define using libm_alias_double.
20526 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
20527 (lround): Define using libm_alias_double.
20528 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
20529 (nearbyint): Define using libm_alias_double.
20530 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
20531 (rint): Define using libm_alias_double.
20532 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
20533 (round): Define using libm_alias_double.
20534 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
20535 (trunc): Define using libm_alias_double.
20537 2017-11-27 Florian Weimer <fweimer@redhat.com>
20539 * sysdeps/unix/sysv/linux/mlock2.c: New file.
20540 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
20541 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
20542 (tests): Add tst-mlock2.
20543 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
20544 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
20545 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
20546 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
20547 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
20548 for mlock. Document mlock2.
20550 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20552 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
20553 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
20555 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
20557 * sysdeps/x86/Makeconfig: New file.
20558 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
20559 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20560 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
20561 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20562 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20563 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20564 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
20566 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20567 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20568 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20569 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20570 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20571 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20572 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20573 * manual/math.texi (Mathematics): Document support for _Float64x.
20574 * math/Versions (GLIBC_2.27): Add _Float64x functions.
20575 * stdlib/Versions (GLIBC_2.27): Likewise.
20576 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20577 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20578 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20579 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20580 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20581 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20582 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20583 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20584 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20585 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20586 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20587 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20592 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20593 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20594 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20595 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20596 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20597 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20598 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20599 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20600 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20601 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20602 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20603 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20604 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20605 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20607 2017-11-27 Andreas Schwab <schwab@suse.de>
20609 * elf/Makefile (dl-routines): Add dl-sort-maps.
20610 * elf/dl-sort-maps.c: New file.
20611 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
20612 (_dl_sort_maps): Declare.
20613 * elf/dl-fini.c (_dl_sort_fini): Remove.
20614 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
20615 * elf/dl-close.c (_dl_close_worker): Likewise.
20616 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
20618 * elf/dl-open.c (dl_open_worker): Likewise.
20620 2017-11-24 Joseph Myers <joseph@codesourcery.com>
20622 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
20623 using libm_alias_float128.
20624 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
20626 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
20628 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
20629 (setpayloadsigf128): Likewise.
20630 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
20632 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
20635 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
20636 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
20637 -mfloat128 to CFLAGS.
20639 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
20641 (CFLAGS-libm-test-support-float64x.c): New variable.
20642 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
20643 $(f128-loader-link) to gnulib-tests.
20645 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
20646 (libm_alias_float128_other_r): If
20647 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
20649 (libm_alias_float128_r): Add semicolon after weak_alias call.
20650 * sysdeps/generic/libm-alias-ldouble.h
20651 (libm_alias_ldouble_other_r_f128): New macro.
20652 (libm_alias_ldouble_other_r_f64x): Likewise.
20653 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20654 and libm_alias_ldouble_other_r_f64x.
20655 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
20656 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
20657 (libm_alias_ldouble_other_r_f128): New macro.
20658 (libm_alias_ldouble_other_r_f64x): Likewise.
20659 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20660 and libm_alias_ldouble_other_r_f64x.
20662 * stdlib/strfroml.c: Always include <stdlib.h>.
20663 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
20664 undefine as macro and define as weak alias.
20665 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
20666 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
20668 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
20669 Define and later undefine as macro and define as weak alias.
20671 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20672 Define and later undefine as macro. Define as weak alias if
20674 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
20675 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20676 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
20677 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20678 Define and later undefine as macro. Define as weak alias if
20680 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
20681 Define and later undefine as macro. Define as weak alias if
20683 * sysdeps/ieee754/float128/strtof128_l.c
20684 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
20685 Define and later undefine as macro. Define as weak alias if
20687 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
20688 Define and later undefine as macro. Define as weak alias if
20690 * sysdeps/ieee754/ldbl-128/strtold_l.c
20691 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20692 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20693 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20694 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20695 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
20696 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20697 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20698 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20699 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20700 * sysdeps/ieee754/ldbl-96/strtold_l.c
20701 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20702 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20703 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20704 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20706 * math/test-float64x.h: New file.
20707 * math/Makefile (type-float64x-yes): New variable.
20708 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
20710 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
20711 function-like macro.
20712 (min_of_type_): Likewise.
20713 (min_of_type_l): Likewise.
20714 (min_of_type_f128): Likewise.
20715 (min_of_type): Pass () as last argument of __MATH_TG.
20717 * stdlib/tst-strtod-round-skeleton.c
20718 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
20721 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
20722 for combinations of long double with _Float64 and _Float64x.
20724 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
20725 (__DECL_SIMD_cosf32): Likewise.
20726 (__DECL_SIMD_cosf64): Likewise.
20727 (__DECL_SIMD_cosf32x): Likewise.
20728 (__DECL_SIMD_cosf64x): Likewise.
20729 (__DECL_SIMD_cosf128x): Likewise.
20730 (__DECL_SIMD_sinf16): Likewise.
20731 (__DECL_SIMD_sinf32): Likewise.
20732 (__DECL_SIMD_sinf64): Likewise.
20733 (__DECL_SIMD_sinf32x): Likewise.
20734 (__DECL_SIMD_sinf64x): Likewise.
20735 (__DECL_SIMD_sinf128x): Likewise.
20736 (__DECL_SIMD_sincosf16): Likewise.
20737 (__DECL_SIMD_sincosf32): Likewise.
20738 (__DECL_SIMD_sincosf64): Likewise.
20739 (__DECL_SIMD_sincosf32x): Likewise.
20740 (__DECL_SIMD_sincosf64x): Likewise.
20741 (__DECL_SIMD_sincosf128x): Likewise.
20742 (__DECL_SIMD_logf16): Likewise.
20743 (__DECL_SIMD_logf32): Likewise.
20744 (__DECL_SIMD_logf64): Likewise.
20745 (__DECL_SIMD_logf32x): Likewise.
20746 (__DECL_SIMD_logf64x): Likewise.
20747 (__DECL_SIMD_logf128x): Likewise.
20748 (__DECL_SIMD_expf16): Likewise.
20749 (__DECL_SIMD_expf32): Likewise.
20750 (__DECL_SIMD_expf64): Likewise.
20751 (__DECL_SIMD_expf32x): Likewise.
20752 (__DECL_SIMD_expf64x): Likewise.
20753 (__DECL_SIMD_expf128x): Likewise.
20754 (__DECL_SIMD_powf16): Likewise.
20755 (__DECL_SIMD_powf32): Likewise.
20756 (__DECL_SIMD_powf64): Likewise.
20757 (__DECL_SIMD_powf32x): Likewise.
20758 (__DECL_SIMD_powf64x): Likewise.
20759 (__DECL_SIMD_powf128x): Likewise.
20761 * stdlib/Versions (libc): Move entries for wcstof128 and
20762 wcstof128_l to ....
20763 * wcsmbs/Versions (libc): ... here.
20764 Include <float128-abi.h>.
20766 2017-11-24 Florian Weimer <fweimer@redhat.com>
20768 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20769 bits/mman-shared.h.
20770 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
20771 <bits/mman-shared.h>.
20772 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
20774 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
20775 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
20776 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
20777 <bits/mman-shared.h>.
20779 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20782 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
20783 posix_memalign/free.
20784 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
20786 2017-11-22 Mike FABIAN <mfabian@redhat.com>
20789 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
20790 and implement the collation rules for pl from CLDR on top of that.
20791 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
20792 of locales to be built for testing.
20793 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
20795 2017-11-23 Joseph Myers <joseph@codesourcery.com>
20797 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
20798 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
20799 libm_alias_ldouble_other.
20800 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
20801 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
20802 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
20803 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
20804 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
20805 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
20806 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
20807 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
20808 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
20809 libm_alias_ldouble_r.
20810 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
20811 libm_alias_ldouble_other.
20812 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
20813 (log10l): Likewise.
20814 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
20815 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
20816 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
20817 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
20818 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
20819 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
20820 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
20821 (atan2l): Likewise.
20822 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
20823 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
20824 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
20825 libm_alias_ldouble.
20826 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
20828 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
20829 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
20830 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
20832 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
20833 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
20834 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
20835 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
20836 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
20837 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
20838 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
20839 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
20840 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
20841 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
20842 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
20843 libm_alias_ldouble.
20844 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
20845 libm_alias_ldouble_other.
20846 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
20847 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
20848 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
20849 libm_alias_ldouble.
20850 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
20851 libm_alias_ldouble_other.
20852 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
20853 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
20854 * sysdeps/ia64/fpu/w_lgammal_main.c
20855 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
20856 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
20858 2017-11-23 Florian Weimer <fweimer@redhat.com>
20860 * malloc/malloc.c (tcache_thread_shutdown): Rename from
20861 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
20862 alike. Remove freeres marker.
20863 * malloc/arena.c (arena_thread_freeres): Call
20864 tcache_thread_shutdown.
20866 2017-11-23 Florian Weimer <fweimer@redhat.com>
20869 Export nscd hash function as __nss_hash.
20870 * include/nss.h (__nss_hash): Declare.
20871 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
20873 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
20874 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
20876 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
20877 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
20878 * nss/Makefiles (routines): Add nss_hash.
20879 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
20880 * nss/nss_hash.c: Rename from nis/nis_hash.c.
20881 (__nss_hash): Rename from __nis_hash. Define hidden alias.
20882 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
20884 2017-11-23 Florian Weimer <fweimer@redhat.com>
20887 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
20888 Return error code, not -1.
20889 * signal/tst-sigwait-eintr.c: New file.
20890 * signal/Makefile (tests): Add tst-sigwait-eintr.
20892 2017-11-23 Florian Weimer <fweimer@redhat.com>
20894 Linux: Add memfd_create system call wrapper
20895 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
20897 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
20898 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
20899 [__USE_GNU] (memfd_create): Declare.
20900 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
20901 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
20902 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
20903 * sysdeps/unix/sysv/linux/**.abilist: Update.
20904 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
20906 2017-11-22 Joseph Myers <joseph@codesourcery.com>
20908 * localedata/gen-locale.sh: Fix typo in variable name.
20910 * resolv/res_debug.c (p_secstodate): Condition definition on
20911 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
20912 directly as __p_secstodate, and as a compat symbol. Do not use
20913 libresolv_hidden_def.
20914 * resolv/resolv.h (p_secstodate): Remove macro and function
20916 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
20917 using p_secstodate.
20918 * include/resolv.h (__p_secstodate): Do not use
20919 libresolv_hidden_proto.
20920 * resolv/Makefile (tests): Move tst-p_secstodate to ....
20921 (tests-internal): ... here.
20922 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
20923 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
20924 and declare and use __p_secstodate and use compat_symbol_reference
20926 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
20927 implementation returning 77.
20930 * resolv/res_debug.c: Include <libc-diag.h>.
20931 (p_secstodate): Assert time_t at least as wide as u_long. On
20932 overflow, use integer seconds since the epoch as output, or use
20933 "<overflow>" as output and set errno to EOVERFLOW if integer
20934 seconds since the epoch would be 14 or more characters.
20935 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
20937 * resolv/tst-p_secstodate.c: New file.
20938 * resolv/Makefile (tests): Add tst-p_secstodate.
20939 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
20941 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
20942 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
20943 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
20945 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
20947 * posix/regcomp.c (init_word_char): Add comments.
20949 2017-11-22 Joseph Myers <joseph@codesourcery.com>
20952 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
20953 strlen to compute length of ut_user and set trailing NUL byte of
20956 2017-11-21 Mike FABIAN <mfabian@redhat.com>
20959 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
20960 using “copy "iso14651_t1"” and then implementing the
20961 collation rules for lv from CLDR on top of that.
20962 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
20963 of locales to be built for testing.
20964 * lv_LV.UTF-8.in: New file with test data to test the Latvian
20967 2017-11-21 Joseph Myers <joseph@codesourcery.com>
20969 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
20970 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
20971 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
20972 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
20973 [__USE_MISC] (MADV_HWPOISON): New macro.
20974 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
20976 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20978 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
20979 -Wmissing-braces on GCC 4.9.
20981 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
20983 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
20984 * sysdeps/s390/s390-32/start.S (_start): Likewise
20985 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
20986 (thread_start): Likewise.
20987 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
20988 (thread_start): Likewise.
20989 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
20990 (__makecontext_ret): Likewise.
20991 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
20992 (__makecontext_ret): Likewise.
20994 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
20996 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
20997 __wcschrnul): Remove attribute_hidden.
20999 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
21001 regex: don't assume uint64_t or uint32_t
21002 This avoids -Werror=overflow errors for 32-bit systems in
21003 the 64-bit case. Problem reported by Joseph Myers in:
21004 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
21005 Also, when this code is used in Gnulib it ports to platforms
21006 that lack uint64_t and uint32_t. The C standard doesn't guarantee
21007 them, and on some 32-bit compilers there is no uint64_t.
21008 Problem reported by Gianluigi Tiesi in:
21009 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
21010 * posix/regcomp.c (init_word_char): Don't assume that the types
21011 uint64_t and uint32_t exist. Adapted from Gnulib patch
21012 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
21013 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
21015 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
21017 * sysdeps/aarch64/memset-reg.h: New file.
21018 * sysdeps/aarch64/memset.S: Use it.
21019 (__memset): Rename to MEMSET macro.
21020 [ZVA_MACRO]: Use zva_macro.
21021 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21022 Add memset_generic and memset_falkor.
21023 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
21024 (__libc_ifunc_impl_list): Add memset ifuncs.
21025 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
21026 local variable zva_size.
21027 * sysdeps/aarch64/multiarch/memset.c: New file.
21028 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
21029 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
21030 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
21031 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
21032 (DCZID_DZP_MASK): New macro.
21033 (DCZID_BS_MASK): Likewise.
21034 (init_cpu_features): Read and set zva_size.
21035 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
21036 (struct cpu_features): New member zva_size.
21038 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
21039 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
21040 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
21042 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
21043 backwards. Fix timing computation.
21044 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
21045 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
21046 on memset by N at a time. Fix timing computation.
21048 2017-11-20 Florian Weimer <fweimer@redhat.com>
21050 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
21051 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
21053 2017-11-19 Florian Weimer <fweimer@redhat.com>
21055 manual: Document mprotect
21056 * manual/memory.texi (Memory Protection): New section.
21057 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
21058 documentation of PROT_* flags and reference the Memory Protection
21061 2017-11-19 Florian Weimer <fweimer@redhat.com>
21063 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
21064 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
21065 (Scatter-Gather): ... to here. Remove misleading comment.
21067 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
21069 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
21072 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
21073 when /proc/<pid>/setgroups does not exist.
21075 2017-11-18 Florian Weimer <fweimer@redhat.com>
21077 * sysdeps/unix/sysv/linux/tst-ttyname.c
21078 (become_root_in_mount_ns): Remove.
21079 (do_in_chroot_1): Call support_enter_mount_namespace.
21080 (do_in_chroot_2): Likewise.
21081 (do_test): Call support_become_root early.
21083 2017-11-18 Florian Weimer <fweimer@redhat.com>
21085 * support/namespace.h (support_enter_mount_namespace): Declare.
21086 * support/support_enter_mount_namespace.c: New file.
21087 * support/Makefile (libsupport-routines): Add
21088 support_enter_mount_namespace.
21090 2017-11-18 Florian Weimer <fweimer@redhat.com>
21092 * support/temp_file.c (support_create_temp_directory): Use
21093 test_dir and do not rely on the presence of the XXXXXX suffix.
21094 * support/temp_file.h (support_create_temp_directory): Update
21096 * support/tst-xreadlink.c (do_test): Adjust.
21097 * support/support_chroot.c (support_chroot_create): Likewise.
21099 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21101 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
21103 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
21106 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21108 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21109 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21110 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21111 (ceill): Define using libm_alias_ldouble.
21112 * sysdeps/x86_64/fpu/s_copysignl.S: Include
21113 <libm-alias-ldouble.h>.
21114 (copysignl): Define using libm_alias_ldouble.
21115 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21116 (fabsl): Define using libm_alias_ldouble.
21117 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21118 (floorl): Define using libm_alias_ldouble.
21119 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21120 (fmaxl): Define using libm_alias_ldouble.
21121 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21122 (fminl): Define using libm_alias_ldouble.
21123 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21124 (llrintl): Define using libm_alias_ldouble.
21125 (lrintl): Likewise.
21126 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
21127 <libm-alias-ldouble.h>.
21128 (nearbyintl): Define using libm_alias_ldouble.
21129 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21130 (truncl): Define using libm_alias_ldouble.
21131 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
21132 <libm-alias-ldouble.h>.
21133 (lrintl): Define using libm_alias_ldouble.
21135 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21136 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21137 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
21138 (asinhl): Define using libm_alias_ldouble.
21139 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
21140 (atanl): Define using libm_alias_ldouble.
21141 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
21142 (cbrtl): Define using libm_alias_ldouble.
21143 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21144 (ceill): Define using libm_alias_ldouble.
21145 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
21146 (copysignl): Define using libm_alias_ldouble.
21147 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21148 (fabsl): Define using libm_alias_ldouble.
21149 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21150 (floorl): Define using libm_alias_ldouble.
21151 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21152 (fmaxl): Define using libm_alias_ldouble.
21153 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21154 (fminl): Define using libm_alias_ldouble.
21155 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
21156 (frexpl): Define using libm_alias_ldouble.
21157 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21158 (llrintl): Define using libm_alias_ldouble.
21159 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
21160 (logbl): Define using libm_alias_ldouble.
21161 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
21162 (lrintl): Define using libm_alias_ldouble.
21163 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
21164 (nearbyintl): Define using libm_alias_ldouble.
21165 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
21166 (nextafterl): Define using libm_alias_ldouble.
21167 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
21168 (remquol): Define using libm_alias_ldouble.
21169 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
21170 (rintl): Define using libm_alias_ldouble.
21171 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21172 (truncl): Define using libm_alias_ldouble.
21173 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21174 (fmaxl): Define using libm_alias_ldouble.
21175 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21176 (fminl): Define using libm_alias_ldouble.
21178 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
21179 to C syntax instead of availability and properties of types.
21180 * bits/floatn.h [!__ASSEMBLER]: Likewise.
21181 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
21182 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
21183 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
21184 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
21185 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
21187 2017-11-17 Florian Weimer <fweimer@redhat.com>
21189 support_become_root: Enable file creation in namespaces.
21190 * support/support_become_root.c (setup_mapping): New function.
21191 (support_become_root): Call it.
21193 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21195 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
21198 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21200 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
21201 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
21203 2017-11-16 Joseph Myers <joseph@codesourcery.com>
21205 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
21207 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21210 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
21212 * INSTALL: Fix botched up regeneration.
21214 * NEWS: Update sourceare link to https.
21215 * configure.ac: Likewise.
21216 * crypt/md5test-giant.c: Likewise.
21217 * dlfcn/bug-atexit1.c: Likewise.
21218 * dlfcn/bug-atexit2.c: Likewise.
21219 * localedata/README: Likewise.
21220 * malloc/tst-mallocfork.c: Likewise.
21221 * manual/install.texi: Likewise.
21222 * nptl/tst-pthread-getattr.c: Likewise.
21223 * stdio-common/tst-fgets.c: Likewise.
21224 * stdio-common/tst-fwrite.c: Likewise.
21225 * sunrpc/Makefile: Likewise.
21226 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
21227 * wcsmbs/tst-mbrtowc2.c: Likewise.
21228 * configure: Regenerate.
21229 * INSTALL: Regenerate.
21231 2017-11-15 Martin Sebor <msebor@redhat.com>
21233 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
21234 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
21235 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
21237 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21240 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
21241 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
21244 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
21245 Defer is_pty check until end of the function.
21246 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21249 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
21250 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
21251 (ttyname): Likewise.
21252 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
21253 (__ttyname_r): Likewise.
21255 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
21258 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
21260 * manual/terminal.texi (Is It a Terminal):
21261 Mention ENODEV for ttyname and ttyname_r.
21263 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21265 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
21266 constant and macro.
21268 * sysdeps/unix/sysv/linux/bits/mman-linux.h
21269 [__USE_MISC] (MADV_WIPEONFORK): New macro.
21270 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21271 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21272 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
21273 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21275 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21277 * signal/sigrelse.c (sigrelse): Optimize implementation.
21279 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
21280 (__sigpause): Rely on __sigsuspend to implement single thread
21281 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
21283 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21285 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
21286 kernel version to 4.14.
21288 2017-11-15 Steve Ellcey <sellcey@cavium.com>
21291 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
21292 Check if ifname is too long.
21294 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21296 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
21298 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21300 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
21301 was accidentally lost.
21303 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21305 * localedata/locales/az_IR: Add standard copyright header.
21307 2017-11-15 Florian Weimer <fweimer@redhat.com>
21310 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
21311 not just the top one. Output a new "subheaps" statistic.
21313 2017-11-15 Florian Weimer <fweimer@redhat.com>
21316 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
21317 under the per-arena lock.
21318 * malloc/Makefile (tests): Add tst-malloc_info.
21319 (tst-malloc_info): Link with libpthread.
21320 * malloc/tst-malloc_info.c: New file.
21322 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21325 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
21326 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
21327 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
21328 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
21329 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
21330 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
21331 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
21332 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
21333 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
21334 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
21335 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
21336 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
21337 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
21338 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
21339 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
21340 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
21341 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
21342 (__floating_type): Likewise.
21343 (__real_integer_type): Likewise.
21344 (__complex_integer_type): Likewise.
21345 (__expr_is_real): Likewise.
21346 (__tgmath_real_type_sub): Likewise.
21347 (__tgmath_real_type): Likewise.
21348 (__tgmath_complex_type_sub): Likewise.
21349 (__tgmath_complex_type): Likewise.
21350 (__TGMATH_F128): Likewise.
21351 (__TGMATH_CF128): Likewise.
21352 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
21354 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
21355 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
21357 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
21359 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
21360 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
21361 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
21362 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
21364 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
21365 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
21367 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
21368 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
21369 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
21371 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
21372 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
21373 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
21377 2017-11-14 Joseph Myers <joseph@codesourcery.com>
21379 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
21380 for stpncpy calls for GCC 8.
21381 (test_strncat): Disable -Wstringop-truncation warning for strncat
21382 calls for GCC 8. Disable -Wstringop-overflow= warning for one
21383 strncat call for GCC 7.
21384 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
21386 (test_memcmp): Use memcpy instead of strncpy for calls not copying
21389 * string/bug-strncat1.c: Include <libc-diag.h>.
21390 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
21392 2017-11-13 Claude Paroz <claude@2xlibre.net>
21395 * localedata/locales/aa_DJ: Improved readibility by replacing
21396 <Uxxxx> sequences in the ASCII printable range by their ASCII
21397 character equivalents.
21398 * localedata/locales/aa_ER: Likewise.
21399 * localedata/locales/aa_ER@saaho: Likewise.
21400 * localedata/locales/aa_ET: Likewise.
21401 * localedata/locales/af_ZA: Likewise.
21402 * localedata/locales/agr_PE: Likewise.
21403 * localedata/locales/ak_GH: Likewise.
21404 * localedata/locales/am_ET: Likewise.
21405 * localedata/locales/anp_IN: Likewise.
21406 * localedata/locales/ar_AE: Likewise.
21407 * localedata/locales/ar_BH: Likewise.
21408 * localedata/locales/ar_DZ: Likewise.
21409 * localedata/locales/ar_EG: Likewise.
21410 * localedata/locales/ar_IN: Likewise.
21411 * localedata/locales/ar_IQ: Likewise.
21412 * localedata/locales/ar_JO: Likewise.
21413 * localedata/locales/ar_KW: Likewise.
21414 * localedata/locales/ar_LB: Likewise.
21415 * localedata/locales/ar_LY: Likewise.
21416 * localedata/locales/ar_MA: Likewise.
21417 * localedata/locales/ar_OM: Likewise.
21418 * localedata/locales/ar_QA: Likewise.
21419 * localedata/locales/ar_SA: Likewise.
21420 * localedata/locales/ar_SD: Likewise.
21421 * localedata/locales/ar_SS: Likewise.
21422 * localedata/locales/ar_SY: Likewise.
21423 * localedata/locales/ar_TN: Likewise.
21424 * localedata/locales/ar_YE: Likewise.
21425 * localedata/locales/as_IN: Likewise.
21426 * localedata/locales/ast_ES: Likewise.
21427 * localedata/locales/ayc_PE: Likewise.
21428 * localedata/locales/az_AZ: Likewise.
21429 * localedata/locales/az_IR: Likewise.
21430 * localedata/locales/be_BY: Likewise.
21431 * localedata/locales/be_BY@latin: Likewise.
21432 * localedata/locales/bem_ZM: Likewise.
21433 * localedata/locales/ber_DZ: Likewise.
21434 * localedata/locales/ber_MA: Likewise.
21435 * localedata/locales/bg_BG: Likewise.
21436 * localedata/locales/bhb_IN: Likewise.
21437 * localedata/locales/bho_IN: Likewise.
21438 * localedata/locales/bi_VU: Likewise.
21439 * localedata/locales/bn_BD: Likewise.
21440 * localedata/locales/bn_IN: Likewise.
21441 * localedata/locales/bo_CN: Likewise.
21442 * localedata/locales/bo_IN: Likewise.
21443 * localedata/locales/br_FR: Likewise.
21444 * localedata/locales/brx_IN: Likewise.
21445 * localedata/locales/bs_BA: Likewise.
21446 * localedata/locales/byn_ER: Likewise.
21447 * localedata/locales/ca_AD: Likewise.
21448 * localedata/locales/ca_ES: Likewise.
21449 * localedata/locales/ca_FR: Likewise.
21450 * localedata/locales/ca_IT: Likewise.
21451 * localedata/locales/ce_RU: Likewise.
21452 * localedata/locales/chr_US: Likewise.
21453 * localedata/locales/cmn_TW: Likewise.
21454 * localedata/locales/crh_UA: Likewise.
21455 * localedata/locales/cs_CZ: Likewise.
21456 * localedata/locales/csb_PL: Likewise.
21457 * localedata/locales/cv_RU: Likewise.
21458 * localedata/locales/cy_GB: Likewise.
21459 * localedata/locales/da_DK: Likewise.
21460 * localedata/locales/de_AT: Likewise.
21461 * localedata/locales/de_BE: Likewise.
21462 * localedata/locales/de_CH: Likewise.
21463 * localedata/locales/de_DE: Likewise.
21464 * localedata/locales/de_IT: Likewise.
21465 * localedata/locales/de_LI: Likewise.
21466 * localedata/locales/de_LU: Likewise.
21467 * localedata/locales/doi_IN: Likewise.
21468 * localedata/locales/dv_MV: Likewise.
21469 * localedata/locales/dz_BT: Likewise.
21470 * localedata/locales/el_CY: Likewise.
21471 * localedata/locales/el_GR: Likewise.
21472 * localedata/locales/en_AG: Likewise.
21473 * localedata/locales/en_AU: Likewise.
21474 * localedata/locales/en_BW: Likewise.
21475 * localedata/locales/en_CA: Likewise.
21476 * localedata/locales/en_DK: Likewise.
21477 * localedata/locales/en_GB: Likewise.
21478 * localedata/locales/en_HK: Likewise.
21479 * localedata/locales/en_IE: Likewise.
21480 * localedata/locales/en_IL: Likewise.
21481 * localedata/locales/en_IN: Likewise.
21482 * localedata/locales/en_NG: Likewise.
21483 * localedata/locales/en_NZ: Likewise.
21484 * localedata/locales/en_PH: Likewise.
21485 * localedata/locales/en_SG: Likewise.
21486 * localedata/locales/en_US: Likewise.
21487 * localedata/locales/en_ZA: Likewise.
21488 * localedata/locales/en_ZM: Likewise.
21489 * localedata/locales/en_ZW: Likewise.
21490 * localedata/locales/eo: Likewise.
21491 * localedata/locales/es_AR: Likewise.
21492 * localedata/locales/es_BO: Likewise.
21493 * localedata/locales/es_CL: Likewise.
21494 * localedata/locales/es_CO: Likewise.
21495 * localedata/locales/es_CR: Likewise.
21496 * localedata/locales/es_CU: Likewise.
21497 * localedata/locales/es_DO: Likewise.
21498 * localedata/locales/es_EC: Likewise.
21499 * localedata/locales/es_ES: Likewise.
21500 * localedata/locales/es_GT: Likewise.
21501 * localedata/locales/es_HN: Likewise.
21502 * localedata/locales/es_MX: Likewise.
21503 * localedata/locales/es_NI: Likewise.
21504 * localedata/locales/es_PA: Likewise.
21505 * localedata/locales/es_PE: Likewise.
21506 * localedata/locales/es_PR: Likewise.
21507 * localedata/locales/es_PY: Likewise.
21508 * localedata/locales/es_SV: Likewise.
21509 * localedata/locales/es_US: Likewise.
21510 * localedata/locales/es_UY: Likewise.
21511 * localedata/locales/es_VE: Likewise.
21512 * localedata/locales/et_EE: Likewise.
21513 * localedata/locales/eu_ES: Likewise.
21514 * localedata/locales/eu_ES@euro: Likewise.
21515 * localedata/locales/fa_IR: Likewise.
21516 * localedata/locales/ff_SN: Likewise.
21517 * localedata/locales/fi_FI: Likewise.
21518 * localedata/locales/fil_PH: Likewise.
21519 * localedata/locales/fo_FO: Likewise.
21520 * localedata/locales/fr_BE: Likewise.
21521 * localedata/locales/fr_CA: Likewise.
21522 * localedata/locales/fr_CH: Likewise.
21523 * localedata/locales/fr_FR: Likewise.
21524 * localedata/locales/fr_LU: Likewise.
21525 * localedata/locales/fur_IT: Likewise.
21526 * localedata/locales/fy_DE: Likewise.
21527 * localedata/locales/fy_NL: Likewise.
21528 * localedata/locales/ga_IE: Likewise.
21529 * localedata/locales/gd_GB: Likewise.
21530 * localedata/locales/gez_ER: Likewise.
21531 * localedata/locales/gez_ET: Likewise.
21532 * localedata/locales/gl_ES: Likewise.
21533 * localedata/locales/gu_IN: Likewise.
21534 * localedata/locales/gv_GB: Likewise.
21535 * localedata/locales/ha_NG: Likewise.
21536 * localedata/locales/hak_TW: Likewise.
21537 * localedata/locales/he_IL: Likewise.
21538 * localedata/locales/hi_IN: Likewise.
21539 * localedata/locales/hif_FJ: Likewise.
21540 * localedata/locales/hne_IN: Likewise.
21541 * localedata/locales/hr_HR: Likewise.
21542 * localedata/locales/hsb_DE: Likewise.
21543 * localedata/locales/ht_HT: Likewise.
21544 * localedata/locales/hu_HU: Likewise.
21545 * localedata/locales/hy_AM: Likewise.
21546 * localedata/locales/i18n: Likewise.
21547 * localedata/locales/ia_FR: Likewise.
21548 * localedata/locales/id_ID: Likewise.
21549 * localedata/locales/ig_NG: Likewise.
21550 * localedata/locales/ik_CA: Likewise.
21551 * localedata/locales/is_IS: Likewise.
21552 * localedata/locales/it_CH: Likewise.
21553 * localedata/locales/it_IT: Likewise.
21554 * localedata/locales/iu_CA: Likewise.
21555 * localedata/locales/ja_JP: Likewise.
21556 * localedata/locales/ka_GE: Likewise.
21557 * localedata/locales/kk_KZ: Likewise.
21558 * localedata/locales/kl_GL: Likewise.
21559 * localedata/locales/kn_IN: Likewise.
21560 * localedata/locales/ko_KR: Likewise.
21561 * localedata/locales/kok_IN: Likewise.
21562 * localedata/locales/ks_IN: Likewise.
21563 * localedata/locales/ks_IN@devanagari: Likewise.
21564 * localedata/locales/ku_TR: Likewise.
21565 * localedata/locales/kw_GB: Likewise.
21566 * localedata/locales/ky_KG: Likewise.
21567 * localedata/locales/lb_LU: Likewise.
21568 * localedata/locales/lg_UG: Likewise.
21569 * localedata/locales/li_BE: Likewise.
21570 * localedata/locales/li_NL: Likewise.
21571 * localedata/locales/lij_IT: Likewise.
21572 * localedata/locales/ln_CD: Likewise.
21573 * localedata/locales/lo_LA: Likewise.
21574 * localedata/locales/lt_LT: Likewise.
21575 * localedata/locales/lv_LV: Likewise.
21576 * localedata/locales/lzh_TW: Likewise.
21577 * localedata/locales/mag_IN: Likewise.
21578 * localedata/locales/mai_IN: Likewise.
21579 * localedata/locales/mg_MG: Likewise.
21580 * localedata/locales/mhr_RU: Likewise.
21581 * localedata/locales/mi_NZ: Likewise.
21582 * localedata/locales/mk_MK: Likewise.
21583 * localedata/locales/ml_IN: Likewise.
21584 * localedata/locales/mn_MN: Likewise.
21585 * localedata/locales/mni_IN: Likewise.
21586 * localedata/locales/mr_IN: Likewise.
21587 * localedata/locales/ms_MY: Likewise.
21588 * localedata/locales/mt_MT: Likewise.
21589 * localedata/locales/my_MM: Likewise.
21590 * localedata/locales/nan_TW: Likewise.
21591 * localedata/locales/nan_TW@latin: Likewise.
21592 * localedata/locales/nb_NO: Likewise.
21593 * localedata/locales/nds_DE: Likewise.
21594 * localedata/locales/nds_NL: Likewise.
21595 * localedata/locales/ne_NP: Likewise.
21596 * localedata/locales/nhn_MX: Likewise.
21597 * localedata/locales/niu_NU: Likewise.
21598 * localedata/locales/niu_NZ: Likewise.
21599 * localedata/locales/nl_AW: Likewise.
21600 * localedata/locales/nl_BE: Likewise.
21601 * localedata/locales/nl_NL: Likewise.
21602 * localedata/locales/nn_NO: Likewise.
21603 * localedata/locales/nr_ZA: Likewise.
21604 * localedata/locales/nso_ZA: Likewise.
21605 * localedata/locales/oc_FR: Likewise.
21606 * localedata/locales/om_ET: Likewise.
21607 * localedata/locales/om_KE: Likewise.
21608 * localedata/locales/or_IN: Likewise.
21609 * localedata/locales/os_RU: Likewise.
21610 * localedata/locales/pa_IN: Likewise.
21611 * localedata/locales/pa_PK: Likewise.
21612 * localedata/locales/pap_AW: Likewise.
21613 * localedata/locales/pap_CW: Likewise.
21614 * localedata/locales/pl_PL: Likewise.
21615 * localedata/locales/ps_AF: Likewise.
21616 * localedata/locales/pt_BR: Likewise.
21617 * localedata/locales/pt_PT: Likewise.
21618 * localedata/locales/quz_PE: Likewise.
21619 * localedata/locales/raj_IN: Likewise.
21620 * localedata/locales/ro_RO: Likewise.
21621 * localedata/locales/ru_RU: Likewise.
21622 * localedata/locales/ru_UA: Likewise.
21623 * localedata/locales/rw_RW: Likewise.
21624 * localedata/locales/sa_IN: Likewise.
21625 * localedata/locales/sat_IN: Likewise.
21626 * localedata/locales/sc_IT: Likewise.
21627 * localedata/locales/sd_IN: Likewise.
21628 * localedata/locales/sd_IN@devanagari: Likewise.
21629 * localedata/locales/se_NO: Likewise.
21630 * localedata/locales/sgs_LT: Likewise.
21631 * localedata/locales/shs_CA: Likewise.
21632 * localedata/locales/si_LK: Likewise.
21633 * localedata/locales/sid_ET: Likewise.
21634 * localedata/locales/sk_SK: Likewise.
21635 * localedata/locales/sl_SI: Likewise.
21636 * localedata/locales/sm_WS: Likewise.
21637 * localedata/locales/so_DJ: Likewise.
21638 * localedata/locales/so_ET: Likewise.
21639 * localedata/locales/so_KE: Likewise.
21640 * localedata/locales/so_SO: Likewise.
21641 * localedata/locales/sq_AL: Likewise.
21642 * localedata/locales/sq_MK: Likewise.
21643 * localedata/locales/sr_ME: Likewise.
21644 * localedata/locales/sr_RS: Likewise.
21645 * localedata/locales/sr_RS@latin: Likewise.
21646 * localedata/locales/ss_ZA: Likewise.
21647 * localedata/locales/st_ZA: Likewise.
21648 * localedata/locales/sv_FI: Likewise.
21649 * localedata/locales/sv_SE: Likewise.
21650 * localedata/locales/sw_KE: Likewise.
21651 * localedata/locales/sw_TZ: Likewise.
21652 * localedata/locales/szl_PL: Likewise.
21653 * localedata/locales/ta_IN: Likewise.
21654 * localedata/locales/ta_LK: Likewise.
21655 * localedata/locales/tcy_IN: Likewise.
21656 * localedata/locales/te_IN: Likewise.
21657 * localedata/locales/tg_TJ: Likewise.
21658 * localedata/locales/th_TH: Likewise.
21659 * localedata/locales/the_NP: Likewise.
21660 * localedata/locales/ti_ER: Likewise.
21661 * localedata/locales/ti_ET: Likewise.
21662 * localedata/locales/tig_ER: Likewise.
21663 * localedata/locales/tk_TM: Likewise.
21664 * localedata/locales/tl_PH: Likewise.
21665 * localedata/locales/tn_ZA: Likewise.
21666 * localedata/locales/to_TO: Likewise.
21667 * localedata/locales/tpi_PG: Likewise.
21668 * localedata/locales/tr_CY: Likewise.
21669 * localedata/locales/tr_TR: Likewise.
21670 * localedata/locales/ts_ZA: Likewise.
21671 * localedata/locales/tt_RU: Likewise.
21672 * localedata/locales/tt_RU@iqtelif: Likewise.
21673 * localedata/locales/ug_CN: Likewise.
21674 * localedata/locales/uk_UA: Likewise.
21675 * localedata/locales/unm_US: Likewise.
21676 * localedata/locales/ur_IN: Likewise.
21677 * localedata/locales/ur_PK: Likewise.
21678 * localedata/locales/uz_UZ: Likewise.
21679 * localedata/locales/uz_UZ@cyrillic: Likewise.
21680 * localedata/locales/ve_ZA: Likewise.
21681 * localedata/locales/vi_VN: Likewise.
21682 * localedata/locales/wa_BE: Likewise.
21683 * localedata/locales/wae_CH: Likewise.
21684 * localedata/locales/wal_ET: Likewise.
21685 * localedata/locales/wo_SN: Likewise.
21686 * localedata/locales/xh_ZA: Likewise.
21687 * localedata/locales/yi_US: Likewise.
21688 * localedata/locales/yo_NG: Likewise.
21689 * localedata/locales/yue_HK: Likewise.
21690 * localedata/locales/yuw_PG: Likewise.
21691 * localedata/locales/zh_CN: Likewise.
21692 * localedata/locales/zh_HK: Likewise.
21693 * localedata/locales/zh_SG: Likewise.
21694 * localedata/locales/zh_TW: Likewise.
21695 * localedata/locales/zu_ZA: Likewise.
21697 2017-11-13 Florian Weimer <fweimer@redhat.com>
21699 * support/next_to_fault.h, support/next_to_fault.c: New files.
21700 * support/Makefile (libsupport-routines): Add next_to_fault.
21701 * resolv/tst-inet_pton.c (struct next_to_fault)
21702 (next_to_fault_allocate, next_to_fault_free): Remove.
21703 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
21705 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
21707 * elf/dl-support.c: Include <dl-procruntime.c>.
21708 * include/link.h: Include <link_map.h>.
21709 * sysdeps/generic/dl-procruntime.c: New file.
21710 * sysdeps/generic/link_map.h: Likewise.
21711 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
21712 the writable ld.so namespace.
21714 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
21716 timezone: pacify GCC -Wstringop-truncation
21717 Problem reported by Martin Sebor in:
21718 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
21719 * timezone/zic.c (writezone): Use memcpy, not strncpy.
21721 2017-11-12 Florian Weimer <fweimer@redhat.com>
21723 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
21725 (tests): Add tst-xreadlink.
21726 * support/support.h (xstrndup): Declare.
21727 * support/xunistd.h (xunlink, xreadlink): Declare.
21728 * support/temp_file.h (support_create_temp_directory): Declare.
21729 * support/temp_file.c (support_create_temp_directory): New function.
21730 * support/support_chroot.c (support_chroot_create): Use it.
21731 * support/xreadlink.c: New file.
21732 * support/xstrndup.c: Likewise.
21733 * support/xunlink.c: Likewise.
21734 * support/tst-xreadlink.c: Likewise.
21736 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
21738 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
21740 2017-11-11 Florian Weimer <fweimer@redhat.com>
21744 * resolv/res_comp.c (printable_string, binary_hnok)
21745 (binary_leading_dash): New functions.
21746 (res_hnok): Reimplement using these functions and ns_name_pton.
21747 (res_ownok): Likewise.
21748 (res_mailok): Reimplement using printable_string, ns_name_pton and
21750 (res_dnok): Reimplement using printable_string and ns_name_pton.
21751 * resolv/tst-res_hnok.c (tests): Add additional tests.
21752 (LETTERDIGITS, PRINTABLE): Define.
21753 (do_test): Adjust one_char results.
21755 2017-11-11 Florian Weimer <fweimer@redhat.com>
21758 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
21759 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
21761 2017-11-11 Florian Weimer <fweimer@redhat.com>
21763 * resolv/tst-ns_name_pton.c: New file.
21764 * resolv/Makefile (tests): Add tst-ns_name_pton.
21765 (tst-ns_name_pton): Link against libresolv.
21767 2017-11-11 Florian Weimer <fweimer@redhat.com>
21769 * resolv/tst-res_hnok.c: New file.
21770 * resolv/Makefile (tests): Add tst-res_hnok.
21771 (tst-res_hnok): Link against libresolv.
21773 2017-11-11 Florian Weimer <fweimer@redhat.com>
21775 * resolv/tst-resolv-network.c: Use test framework instead explicit
21778 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
21780 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
21781 <jmp_buf-macros.h>.
21782 [!_ISOMAC] (STR_HELPER): New.
21783 [!_ISOMAC] (STR): Likewise.
21784 [!_ISOMAC] (TEST_SIZE): Likewise.
21785 [!_ISOMAC] (TEST_ALIGN): Likewise.
21786 [!_ISOMAC] (TEST_OFFSET): Likewise.
21787 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
21788 field offsets of jmp_buf as well as sigjmp_buf.
21789 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
21790 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
21791 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
21792 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
21793 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
21794 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
21795 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
21796 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
21797 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
21798 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
21800 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
21802 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
21803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
21805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
21807 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
21808 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
21809 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
21810 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
21811 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
21812 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
21814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
21816 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21817 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
21818 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
21820 2017-11-07 Joseph Myers <joseph@codesourcery.com>
21823 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21824 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
21825 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21826 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
21827 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21828 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
21829 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21830 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
21831 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21832 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
21833 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21834 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
21835 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21836 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
21837 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21838 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
21839 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21840 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
21841 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21842 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
21843 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21844 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
21845 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21846 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
21847 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21848 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
21849 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21850 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
21851 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21852 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
21853 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21854 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
21855 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21856 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
21857 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21858 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
21859 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21860 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
21861 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21862 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
21863 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21864 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
21865 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21866 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
21867 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21868 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
21869 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21870 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
21871 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21872 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
21873 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21874 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
21875 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21876 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
21877 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21878 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
21879 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21880 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
21881 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21882 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
21883 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21884 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
21885 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21886 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
21887 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21888 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
21889 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21890 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
21891 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21892 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
21893 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21894 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
21895 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21896 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
21897 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21898 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
21899 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21900 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
21901 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21902 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
21903 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21904 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
21905 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21906 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
21907 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21908 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
21909 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21910 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
21912 * stdlib/tst-strtod.h (F16): New macro.
21918 (IF_FLOAT16): Likewise.
21919 (IF_FLOAT32): Likewise.
21920 (IF_FLOAT64): Likewise.
21921 (IF_FLOAT32X): Likewise.
21922 (IF_FLOAT64X): Likewise.
21923 (IF_FLOAT128X): Likewise.
21924 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
21925 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
21926 (STRTOD_TEST_FOREACH): Likewise.
21927 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
21928 (CHOOSE_f64): Likewise.
21929 (CHOOSE_f32x): Likewise.
21930 (CHOOSE_f64x): Likewise.
21932 2017-11-07 Andreas Schwab <schwab@suse.de>
21934 * nptl/Makefile (tests-internal): Remove tst-typesizes.
21936 2017-11-07 Mike FABIAN <mfabian@redhat.com>
21939 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
21941 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
21944 2017-11-07 Claude Paroz <claude@2xlibre.net>
21947 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
21949 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
21951 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
21954 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21957 * nptl/allocatestack.c (allocate_stack): Check if
21958 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
21959 __PTHREAD_MUTEX_HAVE_PREV is defined.
21960 * nptl/descr.h (pthread): Likewise.
21961 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21963 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
21964 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21965 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
21966 * sysdeps/nptl/bits/thread-shared-types.h
21967 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
21969 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
21970 of __WORDSIZE for internal layout.
21971 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
21972 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
21973 instead of __WORDSIZE whether to use an union for __spins and __list
21975 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
21977 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
21978 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
21980 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
21981 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21983 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
21984 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21986 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
21987 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21989 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
21990 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21992 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
21993 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21995 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
21996 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21998 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
21999 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22001 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
22002 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22004 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
22005 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22007 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
22008 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22010 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
22011 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22013 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
22014 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22016 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
22017 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22019 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
22020 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22023 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
22025 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
22026 checks for expected input type size.
22027 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
22028 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22030 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22031 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
22032 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22033 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
22034 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
22035 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
22036 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
22037 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
22038 superflous runtime assert check.
22039 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
22041 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
22043 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
22045 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
22047 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
22049 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
22051 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
22052 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
22053 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
22055 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
22057 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
22059 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
22061 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
22063 * nptl/pthread_attr_setinheritsched.c
22064 (__pthread_attr_setinheritsched): Likewise.
22065 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
22067 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
22069 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
22070 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
22071 __old_pthread_attr_setstack): Likewise.
22072 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
22074 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
22076 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
22078 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
22079 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
22081 * nptl/tst-typesizes.c: Remove file.
22083 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
22084 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
22085 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
22086 checks for internal pthread_mutex_t offsets.
22087 * sysdeps/aarch64/nptl/pthread-offsets.h
22088 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
22089 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
22090 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
22091 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
22092 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
22093 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
22094 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
22095 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
22096 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
22097 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
22098 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
22099 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
22100 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
22101 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
22102 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
22103 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
22104 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
22105 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
22107 2017-11-07 Florian Weimer <fweimer@redhat.com>
22109 * bits/mman-linux.h: Move ...
22110 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
22112 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
22115 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22117 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
22118 Redefine STRNLEN as __strnlen_power8.
22120 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22122 * signal/sighold.c (sighold): Optimize implementation.
22124 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
22125 __NR_rt_sigqueueinfo.
22127 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
22129 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
22130 assume __NR_rt_sigtimedwait.
22131 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
22132 and add LIBC_CANCEL_HANDLED for cancellation marking.
22133 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22135 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22136 (sysdeps_routines): Add memchr_noneon.
22137 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
22138 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
22139 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
22140 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
22141 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
22142 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
22143 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
22145 * sysdeps/arm/arm-ifunc.h: New file.
22146 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
22147 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
22148 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
22149 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
22150 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
22151 (__memcpy_neon): Avoid create hidden alias.
22152 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
22153 (__memcpy_vfp): Likewise.
22154 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22155 (sysdep_routines): Add memcpy_arm.
22156 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
22158 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
22161 * Makerules (make-link-multidir): New.
22162 * config.make.in (multidir): New.
22163 * configure.ac (libc_cv_multidir): New. AC_SUBST.
22164 * configure: Regenerated.
22165 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
22166 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
22167 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
22170 2017-11-06 Joseph Myers <joseph@codesourcery.com>
22173 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
22174 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
22176 2017-11-04 Mike FABIAN <mfabian@redhat.com>
22178 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
22181 2017-11-04 Florian Weimer <fweimer@redhat.com>
22183 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
22185 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22187 * math/math.h [__HAVE_DISTINCT_FLOAT16
22188 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22189 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22190 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22191 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
22192 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
22193 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
22194 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22195 (__MATH_TG_F32): New macro.
22196 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22197 (__MATH_TG_F64X): Likewise.
22198 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22199 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
22201 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
22203 * po/de.po: Update translations.
22204 * po/ru.po: Likewise.
22206 2017-11-03 Florian Weimer <fweimer@redhat.com>
22208 * manual/filesys.texi (Hard Links): Document linkat.
22210 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22212 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
22213 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22214 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22215 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22216 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22217 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22218 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
22219 the same as _Float128.
22220 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22221 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22222 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
22225 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
22227 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
22229 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
22231 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22232 (strtof32x): Likewise.
22233 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22234 (strtof64x): Likewise.
22235 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22236 (strtof128x): Likewise.
22237 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22238 (strfromf16): Likewise.
22239 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22240 (strfromf32): Likewise.
22241 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22242 (strfromf64): Likewise.
22243 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22244 (strfromf32x): Likewise.
22245 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22246 (strfromf64x): Likewise.
22247 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22248 (strfromf128x): Likewise.
22249 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
22250 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
22251 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
22252 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
22253 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
22254 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
22256 2017-11-03 Richard Henderson <rth@twiddle.net>
22258 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
22260 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22262 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
22264 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22266 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
22267 DT_TLSDESC_GOT initialization.
22268 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
22269 (_dl_tlsdesc_resolve_hold): Likewise.
22270 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
22271 (_dl_tlsdesc_resolve_hold): Likewise.
22272 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
22273 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22275 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22277 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
22279 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22282 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
22283 non-lazily for R_ARM_TLS_DESC.
22285 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22288 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
22289 R_ARM_TLS_DESC case.
22290 (elf_machine_lazy_rel): Remove the prelink check.
22292 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22294 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
22295 DT_TLSDESC_GOT initialization.
22296 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
22297 (_dl_tlsdesc_resolve_rela): Likewise.
22298 (_dl_tlsdesc_resolve_hold): Likewise.
22299 (_dl_tlsdesc_undefweak): Remove ldar.
22300 (_dl_tlsdesc_dynamic): Likewise.
22301 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
22302 (_dl_tlsdesc_resolve_rela): Likewise.
22303 (_dl_tlsdesc_resolve_hold): Likewise.
22304 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
22305 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22306 (_dl_tlsdesc_resolve_rela): Likewise.
22307 (_dl_tlsdesc_resolve_hold): Likewise.
22309 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22311 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
22312 binding and initialization non-lazily for R_AARCH64_TLSDESC.
22314 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22316 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
22317 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22319 2017-11-02 Joseph Myers <joseph@codesourcery.com>
22321 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
22323 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
22324 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
22325 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
22326 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
22327 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
22328 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
22329 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
22330 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
22331 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
22332 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
22333 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
22335 2017-11-02 Mike FABIAN <mfabian@redhat.com>
22338 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
22339 * localedata/locales/tpi_PG: Add standard header.
22341 2017-11-02 Florian Weimer <fweimer@redhat.com>
22343 test-errno-linux: quotactl can fail with EPERM in containers.
22344 * sysdeps/unix/sysv/linux/test-errno-linux.c
22345 (LIST, LIST_FORWARD): New macros.
22346 (check_error_in_list): New function.
22347 (test_wrp_rv): Accept list of permitted error codes.
22348 (test_wrp_rv2): Remove.
22349 (test_wrp): Call test_wrp_rv with list of error codes.
22350 (test_wrp2): Accept list of error codes.
22351 (do_test): Adjust. Allow EPERM for quotactl.
22353 2017-11-02 Florian Weimer <fweimer@redhat.com>
22355 * stdio-common/bug16.c (do_test): Use array_length.
22356 * stdio-common/errlist.c (_sys_nerr): Likewise.
22357 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
22358 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
22359 * stdio-common/psiginfo.c (psiginfo): Use array_length.
22360 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
22361 (do_test): Use array_length.
22362 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
22363 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
22364 * stdio-common/tst-printf-round.c (do_test): Likewise.
22365 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
22366 (CHECK): Use array_length.
22367 * stdio-common/tstdiomisc.c (t3, F): Likewise.
22368 * stdio-common/tstscanf.c (main): Likewise.
22369 * stdio-common/vfprintf.c (process_string_arg): Likewise.
22371 2017-11-02 Florian Weimer <fweimer@redhat.com>
22373 Add array_length and array_end macros.
22374 * include/array_length.h: New file.
22376 2017-11-02 Florian Weimer <fweimer@redhat.com>
22379 * posix/tst-glob-tilde.c (do_noescape): New variable.
22380 (one_test): Process it.
22381 (do_test): Set do_noescape. Add unescaping test case.
22383 2017-11-01 Joseph Myers <joseph@codesourcery.com>
22386 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
22387 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
22388 with appropriate macros defined and undefined.
22389 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
22390 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22391 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
22392 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22393 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
22394 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22395 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
22396 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22397 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
22398 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22401 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
22402 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
22403 that for long double. Do not condition define and undefine of
22404 _Mdouble_complex_ on [__CFLOAT128].
22406 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
22408 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22409 of <sysdeps/generic/sysdep.h>.
22410 (ALIGNARG): Removed.
22411 (ASM_SIZE_DIRECTIVE): Likewise.
22414 (ENTRY_CHK): Likewise.
22415 (END_CHK): Likewise.
22416 (syscall_error): Likewise.
22417 (mcount): Likewise.
22418 (PSEUDO_END): Likewise.
22420 (atom_text_section): Likewise.
22421 * sysdeps/x86/sysdep.h: New file.
22422 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22423 of <sysdeps/generic/sysdep.h>.
22424 (ALIGNARG): Removed.
22425 (ASM_SIZE_DIRECTIVE): Likewise.
22428 (ENTRY_CHK): Likewise.
22429 (END_CHK): Likewise.
22430 (syscall_error): Likewise.
22431 (mcount): Likewise.
22432 (PSEUDO_END): Likewise.
22434 (atom_text_section): Likewise.
22436 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
22438 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
22439 category of LC_CTYPE set to "i18n:2012".
22440 * localedata/locales/i18n_ctype: Regenerate.
22442 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
22444 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
22445 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
22446 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
22447 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22449 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
22450 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
22451 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
22452 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
22454 2017-10-31 Joseph Myers <joseph@codesourcery.com>
22457 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
22459 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
22461 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
22463 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22464 (CMPLXF32X): Likewise.
22465 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22466 (CMPLXF64X): Likewise.
22467 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22468 (CMPLXF128X): Likewise.
22471 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
22472 (__MATH_EVAL_FMT2): Define to add 0.0f.
22474 2017-10-31 Alan Modra <amodra@gmail.com>
22476 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
22478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
22479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
22480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
22481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
22482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
22483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
22484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
22485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
22486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
22487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
22488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
22489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
22490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
22491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
22492 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
22493 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
22494 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
22495 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
22496 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
22497 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
22498 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
22499 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
22500 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
22501 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
22502 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
22503 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
22504 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
22505 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
22506 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
22507 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
22508 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22509 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22510 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
22511 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
22512 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
22513 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
22514 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
22515 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
22516 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
22517 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22518 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
22519 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
22520 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
22521 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
22522 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
22523 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
22524 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
22525 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
22526 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22527 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22528 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
22529 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
22530 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
22531 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
22532 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22533 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
22534 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
22535 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
22536 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22537 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22538 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22539 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
22540 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
22541 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22542 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
22543 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
22544 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
22545 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
22546 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
22548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
22549 include sysdep.h and math_ldbl_opt.h.
22551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
22552 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
22553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
22554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
22555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
22556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
22557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
22558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
22559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
22560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
22561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
22562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
22563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
22564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
22565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
22566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
22567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
22568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
22569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
22570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
22571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
22572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
22573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
22574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
22575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
22576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
22578 2017-10-31 Alan Modra <amodra@gmail.com>
22580 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
22581 string/strncase_l.c, not string/strncase.c.
22582 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
22583 (libc_hidden_def): Redefine.
22585 2017-10-31 Alan Modra <amodra@gmail.com>
22587 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
22588 (__STRCMP, STRCMP, __strcasecmp_l): Define.
22589 (__strcasecmp): Don't define.
22591 2017-10-31 Alan Modra <amodra@gmail.com>
22593 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
22595 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22596 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22597 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22599 2017-10-31 Alan Modra <amodra@gmail.com>
22601 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
22604 2017-10-31 Alan Modra <amodra@gmail.com>
22606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
22607 Redefine only when SHARED.
22609 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22611 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22612 Include <bits/math-finite.h> with appropriate macros defined and
22614 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22615 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22616 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22617 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22618 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22620 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
22621 [!_Mlong_double_] (_Mlong_double_): Likewise.
22622 [!_Mfloat16_] (_Mfloat16_): Likewise.
22623 [!_Mfloat32_] (_Mfloat32_): Likewise.
22624 [!_Mfloat64_] (_Mfloat64_): Likewise.
22625 [!_Mfloat128_] (_Mfloat128_): Likewise.
22626 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
22627 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
22628 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
22629 (_Mdouble_): Define without indirection through those macros.
22630 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
22631 [!_Mfloat128_] (_Mfloat128_): Likewise.
22632 [_Mlong_double_] (_Mlong_double_): Likewise.
22633 (_Mdouble_): Define without indirection through those macros.
22634 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
22635 not add -D_Mlong_double_=double.
22636 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
22637 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
22639 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22641 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
22643 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22645 * sysdeps/x86/libc-start.c: Reformat.
22647 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22650 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
22651 (1): Renamed to ...
22654 (L(Src2)): Likewise.
22655 (L(1)): Renamed to ...
22658 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22660 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
22661 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
22662 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
22663 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
22664 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
22665 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
22666 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
22667 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
22668 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
22669 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
22670 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
22671 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
22672 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
22673 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
22674 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
22675 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
22676 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
22677 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
22678 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
22679 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
22680 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
22681 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
22682 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
22683 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
22684 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
22685 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
22686 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
22687 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
22688 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
22689 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
22690 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
22691 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
22692 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
22693 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
22694 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
22695 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
22696 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
22697 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
22698 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
22699 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
22700 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
22701 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
22702 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
22703 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
22704 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
22705 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
22706 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
22707 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
22708 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
22709 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
22710 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
22711 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
22712 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
22713 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
22714 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
22715 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
22716 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
22717 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
22718 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
22719 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
22720 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
22721 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
22722 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
22723 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
22724 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
22725 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
22727 2017-10-30 Florian Weimer <fweimer@redhat.com>
22729 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
22731 * io/tst-mkdirat.c (do_test): Likewise.
22732 * io/tst-mkfifoat.c (do_test): Likewise.
22733 * io/tst-mknodat.c (do_test): Likewise.
22734 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
22735 * locale/programs/locale.c (select_dirs): Likewise.
22736 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
22737 * posix/bug-glob2.c (my_readdir): Likewise.
22738 * posix/tst-dir.c (main): Likewise.
22739 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
22740 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
22742 2017-10-30 Florian Weimer <fweimer@redhat.com>
22744 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
22747 2017-10-30 Florian Weimer <fweimer@redhat.com>
22749 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
22750 Convert to support/test-driver.c.
22751 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
22752 New macro parameters.
22753 (PRINTF): Remove macro. Use test_verbose conditionals instead.
22754 * posix/tst-gnuglob.c: New file.
22755 * posix/tst-gnuglob64.c: Likewise.
22756 * posix/Makefile (tests): Add tst-gnuglob64.
22758 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
22761 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
22762 and use a better translation for March in “mon”.
22763 * localedata/locales/csb_PL: Use more ASCII to improve the
22764 readability of the source.
22766 2017-10-30 Mike FABIAN <mfabian@redhat.com>
22769 * localedata/locales/km_KH: Use ASCII as much
22770 as possible for better readability of the source and
22771 remove useless comments.
22772 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
22773 was commented out and apparently wrong anyway because it was
22774 using Lao characters. If Buddhist era should be used
22775 for km_KH, a native speaker should write the correct formaat
22777 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
22778 (According to CLDR, the first weekday for Cambodia is Sunday).
22779 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
22780 (These were using Lao characters which must be wrong. If we get
22781 the correct data from a native speaker, we could add it back, until
22782 then it is better not to have name_mr and name_mrs at all than
22785 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
22787 * locale/loadlocale.c: Correct size of
22788 _nl_value_type_LC_<category> arrays.
22790 2017-10-27 Joseph Myers <joseph@codesourcery.com>
22792 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22793 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
22794 with appropriate macros defined and undefined.
22795 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22796 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22797 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22798 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22799 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22801 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
22803 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
22806 2017-10-27 Mike FABIAN <mfabian@redhat.com>
22808 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
22809 with lowercase letters to make it agree with CLDR.
22811 2017-10-27 Mike FABIAN <mfabian@redhat.com>
22814 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
22815 first letters of yesstr and nostr in yesexpr and noexpr,
22816 not for the full words.
22817 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
22818 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
22819 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
22820 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
22821 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
22822 first letters of yesstr and nostr in yesexpr and noexpr,
22823 until now only English was matched in yesexpr and noexpr.
22824 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
22825 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
22826 fil but not for tl. As tl and fil are very similar, using fil
22827 is probably better than using English.
22829 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
22832 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
22833 in yesstr and nostr.
22835 2017-10-26 Joseph Myers <joseph@codesourcery.com>
22837 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
22838 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
22839 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
22841 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
22843 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
22845 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
22847 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22848 (SNANF128X): Likewise.
22850 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
22851 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
22852 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22853 (HUGE_VAL_F32): Likewise.
22854 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22855 (HUGE_VAL_F64): Likewise.
22856 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22857 (HUGE_VAL_F32X): Likewise.
22858 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22859 (HUGE_VAL_F64X): Likewise.
22860 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22861 (HUGE_VAL_F128X): Likewise.
22863 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
22865 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
22866 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
22867 for the br_FR locale.
22869 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
22872 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
22874 2017-10-25 Carlos O'Donell <carlos@redhat.com>
22876 * locale/programs/record-status.h: Define globals, and function
22877 prototypes. Move function bodies...
22878 * locale/programs/record-status.c: ... to here. New file.
22879 * iconv/Makefile (iconv_prog-modules): Add record-status.
22880 * locale/Makefile (lib-modules): Likewise.
22881 * iconv/iconv_prog.c: Remove verbose.
22882 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
22883 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
22884 record a warning about ASCII compatibility.
22885 * locale/programs/ld-monetary.c (monetary_finish): If
22886 warn_int_curr_symbol is true then record a warning about the symbol
22887 not being in our ISO 4217 list.
22888 * locale/programs/locale.c: Include record-status.h. Remove verbose.
22889 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
22890 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
22891 (OPT_NO_WARN): Define.
22892 (OPT_WARN): Define.
22893 (options): Add entry for --no-warnings, and --warnings.
22894 (set_warnings): New function to enable/disable warnings.
22895 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
22896 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
22897 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
22898 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
22899 Pass flags to generate_locale.
22900 (generate_locale): Accept new flag argument and pass it to localedef
22902 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
22903 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
22905 * localedata/Makefile (test-input-data): Use full file name.
22906 * localedata/da_DK.in: Rename to...
22907 * localedata/da_DK.ISO-8859-1.in: ...this.
22908 * localedata/de_DE.in: Rename to...
22909 * localedata/de_DE.ISO-8859-1.in: ...this.
22910 * localedata/en_US.in: Rename to...
22911 * localedata/en_US.ISO-8859-1.in: ...this.
22912 * localedata/fr_FR.in: Rename to...
22913 * localedata/fr_FR.UTF-8.in: ... this.
22914 * localedata/hr_HR.in: Rename to...
22915 * localedata/hr_HR.ISO-8859-2.in: ...this.
22916 * localedata/hu_HU.in: Rename to...
22917 * localedata/hu_HU.UTF-8.in: ...this.
22918 * localedata/si_LK.in: Rename to...
22919 * localedata/si_LK.UTF-8.in: ...this.
22920 * localedata/sv_SE.in: Rename to...
22921 * localedata/sv_SE.ISO-8859-1.in: ...this.
22922 * localedata/tr_TR.in: Rename to...
22923 * localedata/tr_TR.UTF-8.in: ...this.
22924 * localedata/uk_UA.in: Rename to...
22925 * localedata/uk_UA.UTF-8.in: ...this.
22926 * localedata/sort-test.sh: Test file is locale name with the
22929 * localedata/unicode-gen/Makefile (check_i18n): Rename to
22930 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
22932 * localedata/locales/i18n_ctype: Regenerate.
22933 * localedata/locales/tr_TR: Likewise.
22934 * localedata/locales/translit_circle: Likewise.
22935 * localedata/locales/translit_cjk_compat: Likewise.
22936 * localedata/locales/translit_combining: Likewise.
22937 * localedata/locales/translit_compat: Likewise.
22938 * localedata/locales/translit_font: Likewise.
22939 * localedata/locales/translit_fraction: Likewise.
22941 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22943 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
22944 lxvd2x/stxvd2x with lvx/stvx.
22945 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
22947 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
22949 * include/alloc_buffer.h: Replace "if if " with "if " in
22951 * sysdeps/mips/memcpy.S: Likkewise.
22952 * sysdeps/mips/memset.S: Likewise.
22953 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
22955 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
22957 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
22960 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22963 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
22964 yesexpr and noexpr.
22965 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
22966 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
22967 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
22968 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
22969 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
22970 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
22971 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
22973 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22975 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
22976 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
22977 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
22978 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
22979 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
22980 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
22981 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
22982 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
22983 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
22984 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
22985 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
22986 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
22988 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22990 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
22991 as possible for better readability of the source.
22992 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
22993 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
22994 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
22995 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
22996 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
22997 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
22998 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
22999 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
23000 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23001 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
23002 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
23003 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
23004 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
23005 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
23006 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
23007 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
23008 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
23009 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
23010 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
23011 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
23012 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
23013 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
23014 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
23015 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
23016 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
23017 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
23018 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
23019 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
23020 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
23021 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
23022 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
23023 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23024 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
23025 * localedata/locales/en_US (LC_MESSAGES): Likewise.
23026 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
23027 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
23028 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
23029 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
23030 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
23031 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
23032 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
23033 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
23034 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
23035 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
23036 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
23037 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
23038 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
23039 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
23040 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
23041 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
23042 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
23043 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
23044 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
23045 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23046 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23047 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
23048 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
23049 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23050 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
23051 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
23052 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
23053 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
23054 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
23055 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
23056 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
23057 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
23058 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
23059 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
23060 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
23061 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
23062 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
23063 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
23064 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
23065 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
23066 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23067 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
23068 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
23069 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
23070 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
23071 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
23072 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
23073 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
23074 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
23075 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23076 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
23077 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
23078 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
23079 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23080 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
23081 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
23082 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
23083 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
23084 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23085 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
23086 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
23087 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23088 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
23089 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23090 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
23091 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
23092 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
23093 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
23094 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
23095 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
23096 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
23097 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
23098 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
23099 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
23100 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
23101 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
23102 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
23103 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
23104 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23105 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
23106 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
23107 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
23108 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
23109 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
23110 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
23111 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
23112 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
23113 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
23114 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
23115 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
23116 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
23117 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
23118 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
23119 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
23120 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
23121 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
23122 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
23123 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
23124 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
23125 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
23126 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
23127 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
23128 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
23129 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
23130 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
23131 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
23132 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
23133 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
23134 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
23135 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
23136 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
23137 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23138 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
23139 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
23140 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
23141 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
23142 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
23143 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
23144 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
23145 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
23146 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23147 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
23148 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
23149 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
23150 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
23151 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
23152 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
23153 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
23154 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
23155 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
23156 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
23157 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23158 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
23159 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
23160 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
23161 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
23162 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23163 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23164 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23165 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
23167 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23169 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
23170 (Use first letters of yesstr and nostr correctly instead of using
23173 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23175 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
23176 (Use first letters of yesstr and nostr correctly).
23178 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23180 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
23181 also check for the first characters of yesstr and nostr.
23182 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
23183 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
23185 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23187 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
23188 also check for Chinese characters.
23190 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23192 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
23193 match also for the contents of yesstr and nostr. As the first letter
23194 of yesstr and nostr is equal, checking only for the first letter
23197 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23199 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
23200 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
23202 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23204 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
23205 of main contributor.
23207 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23209 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
23210 instead of using English.
23212 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23214 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
23215 by including the first letters of nostr and yesexpr in the regexp.
23216 Also make it more readable by using ASCII where possible.
23218 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23220 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
23221 the first letter of nostr in the regexp. It agrees with CLDR now.
23222 Also make it more readable by using ASCII where possible.
23224 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23226 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
23227 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
23228 these strings contain a U+17D6 (which somewhat looks like a colon)
23229 instead of a real colon to separate the full words for “yes”
23230 and “no” from the single letter responses.
23232 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23234 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
23235 it agree with CLDR (include the first letter of yesstr).
23236 Also make it more readable by using ASCII where possible.
23238 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23240 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
23241 and improve yesexpr and noexpr. The yesstr and nostr apparently
23242 came from CLDR. And CLDR has a bug there: these strings contain
23243 a U+0903 (which looks like a colon) instead of a real colon
23244 to separate the full words for “yes” and “no” from the single
23247 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23249 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
23250 letters of the full yesstr and nostr in yesexpr and noexpr.
23252 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23254 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
23255 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
23256 * localedata/locales/an_ES: Make source more readable by using ASCII
23259 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23262 * localedata/locales/yuw_PG: New file.
23263 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
23264 * locale/iso-639.def: Add Yau (Uruwa).
23266 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23268 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
23270 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23272 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
23273 (__libc_realloc): Likewise.
23274 (_mid_memalign): Likewise.
23275 (__libc_calloc): Likewise.
23277 2017-10-23 Mike FABIAN <mfabian@redhat.com>
23279 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
23280 by adding the generic +1 and -0 as in all other locales.
23281 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
23282 day names and make it more readable by using ASCII where possible.
23284 2017-10-24 Joseph Myers <joseph@codesourcery.com>
23286 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
23287 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
23289 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23291 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
23292 WNOHANG in waitpid call.
23294 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
23296 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
23297 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
23299 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
23300 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
23301 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
23302 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
23303 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
23304 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
23305 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
23306 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
23309 2017-10-23 Michael Collison <michael.collison@arm.com>
23311 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
23312 with __builtin_sqrt.
23313 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
23314 with __builtin_sqrtf.
23315 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
23316 with __builtin_ceil.
23317 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
23318 with __builtin_ceilf.
23319 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
23320 with __builtin_floor.
23321 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
23322 with __builtin_floorf.
23323 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
23324 with __builtin_fma.
23325 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
23326 with __builtin_fmaf.
23327 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
23328 with __builtin_fmax.
23329 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
23330 with __builtin_fmaxf.
23331 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
23332 with __builtin_fmin.
23333 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
23334 with __builtin_fminf.
23335 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
23336 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
23337 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
23338 with builtin_rint and conversion to int.
23339 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
23340 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
23341 with builtin_llround.
23342 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
23343 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
23344 with builtin_rint and conversion to long int.
23345 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
23346 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
23347 with builtin_lround.
23348 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
23349 with builtin_lroundf.
23350 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
23351 statements with __builtin_nearbyint.
23352 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
23353 statements with __builtin_nearbyintf.
23354 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
23355 with __builtin_rint.
23356 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
23357 with __builtin_rintf.
23358 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
23359 with __builtin_round.
23360 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
23361 with __builtin_roundf.
23362 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
23363 with __builtin_trunc.
23364 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
23365 with __builtin_truncf.
23366 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
23367 and s_l[l]round[f].c too.
23369 2017-10-23 Alan Modra <amodra@gmail.com>
23371 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
23372 Adjust stack after restoring regs. Add missing LR cfi_restore.
23374 2017-10-23 Alan Modra <amodra@gmail.com>
23376 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
23377 Move LR save and frame setup/teardown and LR restore to
23378 immediately around memset call. Provide cfi.
23380 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23382 * sysdeps/i386/fpu/e_powf.S: Removed.
23383 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
23384 * sysdeps/i386/fpu/w_powf.c: Likewise.
23385 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
23386 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23387 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23389 (CFLAGS-e_powf-sse2.c): New.
23390 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
23391 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
23393 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23395 * sysdeps/i386/fpu/e_log2f.S: Removed.
23396 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
23397 * sysdeps/i386/fpu/w_log2f.c: Likewise.
23398 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
23399 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23400 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23402 (CFLAGS-e_log2f-sse2.c): New.
23403 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
23404 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
23406 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23408 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23410 (CFLAGS-e_powf-fma.c): New.
23411 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
23412 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
23414 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23416 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23418 (CFLAGS-e_log2f-fma.c): New.
23419 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
23420 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
23422 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23424 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23426 (CFLAGS-e_logf-fma.c): New.
23427 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
23428 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
23430 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23432 * sysdeps/i386/fpu/e_logf.S: Removed.
23433 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
23434 * sysdeps/i386/fpu/w_logf.c: Likewise.
23435 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
23436 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
23437 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23438 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23440 (CFLAGS-e_logf-sse2.c): New.
23441 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
23442 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
23444 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23446 * sysdeps/i386/fpu/e_exp2f.S: Removed.
23447 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
23448 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
23449 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23450 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23452 (CFLAGS-e_exp2f-sse2.c): New.
23453 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
23454 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
23456 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23458 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23460 (CFLAGS-e_exp2f-fma.c): New.
23461 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
23462 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
23464 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23466 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
23467 * sysdeps/i386/fpu/e_expf.S: Likewise.
23468 * sysdeps/i386/fpu/math_errf.c: Likewise.
23469 * sysdeps/i386/fpu/w_expf.c: Likewise.
23470 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
23471 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
23472 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
23473 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
23474 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23475 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23476 Remove e_expf-ia32.
23477 (CFLAGS-e_expf-sse2.c): New.
23478 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
23479 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
23481 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23483 * sysdeps/x86_64/fpu/e_expf.S: Removed.
23484 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
23485 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
23486 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
23488 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
23490 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
23491 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
23493 (__redirect_expf): This.
23494 (SYMBOL_NAME): Changed to expf.
23495 (__ieee754_expf): Renamed to ...
23497 (__GI___expf): This.
23498 (__ieee754_expf): Add strong_alias.
23499 (__expf_finite): Likewise.
23501 Include <sysdeps/ieee754/flt-32/e_expf.c>.
23503 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
23506 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
23509 2017-10-21 Florian Weimer <fweimer@redhat.com>
23511 * posix/Makefile (tests): Add tst-glob-tilde.
23512 (tests-special): Add tst-glob-tilde-mem.out
23513 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
23514 (tst-glob-tilde-mem.out): Add mtrace check.
23515 * posix/tst-glob-tilde.c: New file.
23517 2017-10-20 Joseph Myers <joseph@codesourcery.com>
23519 * bits/floatn-common.h: New file.
23520 * math/Makefile (headers): Add bits/floatn-common.h.
23521 * bits/floatn.h: Include <bits/floatn-common.h>.
23522 * sysdeps/ia64/bits/floatn.h: Likewise.
23523 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23524 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
23525 * sysdeps/powerpc/bits/floatn.h: Likewise.
23526 * sysdeps/x86/bits/floatn.h: Likewise.
23528 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23530 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
23531 indicates whether compiler emits an warning for alias for
23532 functions with incompatible types.
23535 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
23536 the auxiliary process is terminated by a signal before calling _exit
23539 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23542 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
23544 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
23545 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
23546 and bit_arch_XSAVEC_Usable if needed.
23547 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
23548 and bit_arch_Use_dl_runtime_resolve_opt.
23549 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
23551 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
23552 (bit_arch_Prefer_No_AVX512): Updated.
23553 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
23554 (bit_arch_XSAVEC_Usable): New.
23555 (STATE_SAVE_OFFSET): Likewise.
23556 (STATE_SAVE_MASK): Likewise.
23557 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
23558 (cpu_features): Add xsave_state_size and xsave_state_full_size.
23559 (index_arch_Use_dl_runtime_resolve_opt): Removed.
23560 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
23561 (index_arch_XSAVEC_Usable): New.
23562 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
23563 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
23564 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
23566 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
23567 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
23568 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
23569 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
23570 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
23571 _dl_runtime_resolve_xsavec.
23572 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
23574 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
23575 instead of VEC_SIZE.
23576 (REGISTER_SAVE_BND0): Removed.
23577 (REGISTER_SAVE_BND1): Likewise.
23578 (REGISTER_SAVE_BND3): Likewise.
23579 (REGISTER_SAVE_RAX): Always defined to 0.
23581 (_dl_runtime_resolve_avx): Likewise.
23582 (_dl_runtime_resolve_avx_slow): Likewise.
23583 (_dl_runtime_resolve_avx_opt): Likewise.
23584 (_dl_runtime_resolve_avx512): Likewise.
23585 (_dl_runtime_resolve_avx512_opt): Likewise.
23586 (_dl_runtime_resolve_sse): Likewise.
23587 (_dl_runtime_resolve_sse_vex): Likewise.
23589 (_dl_runtime_resolve_fxsave): Likewise.
23590 (USE_XSAVE): Likewise.
23591 (_dl_runtime_resolve_xsave): Likewise.
23592 (USE_XSAVEC): Likewise.
23593 (_dl_runtime_resolve_xsavec): Likewise.
23594 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
23596 (_dl_runtime_resolve_avx512_opt): Likewise.
23597 (_dl_runtime_resolve_avx): Likewise.
23598 (_dl_runtime_resolve_avx_opt): Likewise.
23599 (_dl_runtime_resolve_sse): Likewise.
23600 (_dl_runtime_resolve_sse_vex): Likewise.
23601 (_dl_runtime_resolve_fxsave): New.
23602 (_dl_runtime_resolve_xsave): Likewise.
23603 (_dl_runtime_resolve_xsavec): Likewise.
23605 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
23609 * posix/glob.c (__glob): Fix one-byte overflow.
23611 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23613 * malloc/malloc.c (sysdep-cancel.h): Add include.
23615 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23617 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
23619 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
23621 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
23622 (tests): Remove $(objpfx)ga_test depdendency.
23623 * resolv/ga_test.c: Remove file.
23625 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23628 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
23629 * localedata/locales/kab_DZ: New file.
23631 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23633 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
23634 _dl_relocate_static_pie instead of _dl_start to compute load
23635 address in static PIE.
23637 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23639 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
23641 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23644 * localedata/SUPPORTED: Add shn_MM/UTF-8.
23645 * localedata/locales/shn_MM: New file.
23647 2017-10-20 Florian Weimer <fweimer@redhat.com>
23650 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
23651 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
23652 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
23653 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
23654 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
23655 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
23657 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
23659 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23661 2017-10-19 Joseph Myers <joseph@codesourcery.com>
23663 * sysdeps/mips/ieee754/bits/floatn.h: New file.
23666 * sysdeps/mips/bits/long-double.h: Move to ....
23667 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
23669 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
23671 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
23673 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
23674 H.J. Lu <hongjiu.lu@intel.com>
23677 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23678 GLRO(dl_platform) to NULL.
23679 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
23680 (modules-names): Add tst-platformmod-1 and
23681 x86_64/tst-platformmod-2.
23682 (CFLAGS-tst-platform-1.c): New.
23683 (CFLAGS-tst-platformmod-1.c): Likewise.
23684 (CFLAGS-tst-platformmod-2.c): Likewise.
23685 (LDFLAGS-tst-platformmod-2.so): Likewise.
23686 ($(objpfx)tst-platform-1): Likewise.
23687 ($(objpfx)tst-platform-1.out): Likewise.
23688 (tst-platform-1-ENV): Likewise.
23689 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
23690 * sysdeps/x86_64/tst-platform-1.c: New file.
23691 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
23692 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
23694 2017-10-19 Mike FABIAN <mfabian@redhat.com>
23697 * locale/iso-639.def: Add Karbi.
23698 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
23699 * localedata/locales/mjw_IN: New file.
23701 2017-10-18 Joseph Myers <joseph@codesourcery.com>
23703 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
23704 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23705 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
23706 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
23707 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23708 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23709 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
23711 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23712 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23713 * manual/math.texi (Mathematics): Document additional architecture
23714 support for _Float128.
23715 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23716 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23717 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23718 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23719 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23720 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23721 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23722 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23723 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23724 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23725 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23726 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23727 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23728 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23729 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23731 2017-10-18 Renlin Li <renlin.li@arm.com>
23733 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
23734 _DYNAMIC symbol to calculate load address.
23736 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
23738 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
23739 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
23741 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
23742 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
23744 2017-10-18 Mike FABIAN <mfabian@redhat.com>
23747 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
23748 and improve readability by using more ASCII.
23749 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
23750 and improve readability by using more ASCII.
23752 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
23754 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
23755 not all targets support atomics on bool.
23757 2017-10-17 Joseph Myers <joseph@codesourcery.com>
23759 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
23760 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
23762 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23763 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
23764 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23765 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
23766 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23767 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
23769 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23771 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
23774 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23777 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
23778 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
23779 (do_check_remalloced_chunk): Fix build bug.
23780 (do_check_malloc_state): Add assert that checks arena->top.
23781 (malloc_consolidate): Remove initialization.
23782 (int_mallinfo): Remove call to malloc_consolidate.
23783 (__libc_mallopt): Clarify why malloc_consolidate is needed.
23785 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23787 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
23788 (have_fastchunks): Remove.
23789 (clear_fastchunks): Remove.
23790 (set_fastchunks): Remove.
23791 (malloc_state): Add have_fastchunks.
23792 (malloc_init_state): Use have_fastchunks.
23793 (do_check_malloc_state): Remove incorrect invariant checks.
23794 (_int_malloc): Use have_fastchunks.
23795 (_int_free): Likewise.
23796 (malloc_consolidate): Likewise.
23798 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23800 * malloc/malloc.c (tcache_put): Inline.
23801 (tcache_get): Inline.
23803 2017-10-17 Jordi Mallach <jordi@gnu.org>
23805 Aurelien Jarno <aurelien@aurel32.net>
23807 * localedata/locales/ca_ES@valencia: New file.
23808 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
23810 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
23813 * math/math.h: Let signbit use the builtin in C++ mode with gcc
23816 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23818 * scripts/build-many-glibcs.py (Context.add_all_configs):
23819 Add arm-linux-gnueabihf multiarch extra_glibcs.
23821 * sysdeps/generic/ifunc-init.h: New file.
23822 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
23824 2017-10-17 Mike FABIAN <mfabian@redhat.com>
23827 * localedata/locales/el_GR: Set n_cs_precedes to 0.
23828 * localedata/locales/el_CY: copy "el_GR" because it is identical.
23829 * stdlib/tst-strfmon_l.c: adapt test case.
23831 2017-10-16 Joseph Myers <joseph@codesourcery.com>
23833 * sysdeps/generic/float128-abi.h: New file.
23834 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
23835 non-__prefixed symbols to ....
23836 * math/Versions: ... here. Include <float128-abi.h>.
23837 * stdlib/Versions ... and here. Include <float128-abi.h>
23839 2017-10-16 Florian Weimer <fweimer@redhat.com>
23841 * version.h (VERSION): Switch to ".9000" as the development
23844 2017-10-16 Florian Weimer <fweimer@redhat.com>
23847 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
23848 compat_symbol_reference to access non-default version.
23850 2017-10-16 Florian Weimer <fweimer@redhat.com>
23852 * malloc/Makefile (others-extras): Set to mcheck-init.o.
23854 2017-10-16 Carlos O'Donell <carlos@redhat.com>
23856 * include/shlib-compat.h (compat_symbol_reference): Update
23859 2017-10-16 Joseph Myers <joseph@codesourcery.com>
23861 * math/Makefile (test-types): Add
23862 $(type-float128-$(float128-alias-fcts)).
23863 * math/test-float128.h (TYPE_STR): Define conditional on
23864 [FLT128_MANT_DIG == LDBL_MANT_DIG].
23865 (ULP_IDX): Likewise.
23866 (ULP_I_IDX): Likewise.
23868 * stdlib/strtold.c: Include <bits/floatn.h>
23869 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
23870 and later undefine as macro. Define as weak alias if
23872 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
23873 and later undefine as macro. Define as weak alias if
23875 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
23876 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
23877 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23878 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
23879 Define and later undefine as macro. Define as weak alias if
23881 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
23883 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
23884 Define and later undefine as macro. Define as weak alias if
23886 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
23887 Define and later undefine as macro. Define as weak alias if
23890 2017-10-15 Carlos O'Donell <carlos@redhat.com>
23892 * localedata/collate-test.c (allocate_arrays): Don't use \n in
23893 record_verbose messages.
23895 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
23898 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
23899 to silence -O3 -Wall warning with GCC 7.
23901 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
23903 * Makeconfig (+link-static-before-libc): Use the first of
23904 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
23905 * gmon/Makefile (tests): Add tst-gmon-static.
23906 (tests-static): Likewise.
23907 (CFLAGS-tst-gmon-static.c): New.
23908 (CRT-tst-gmon-static): Likewise.
23909 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
23910 (tst-gmon-static-ENV): Likewise.
23911 (tests-special): Likewise.
23912 ($(objpfx)tst-gmon-static.out): Likewise.
23913 (clean-tst-gmon-static-data): Likewise.
23914 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
23915 * gmon/tst-gmon-static-gprof.sh: New file.
23916 * gmon/tst-gmon-static.c: Likewise.
23918 2017-10-13 Carlos O'Donell <carlos@redhat.com>
23921 * locale/programs/linereader.c (get_string): Don't warn on
23922 non-symbolic character.
23925 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
23929 * locale/programs/record-status.h: New file
23930 * locale/programs/locale.c: Add comment.
23931 * locale/programs/charmap-dir.c: Don't include error.h.
23932 (charmap_opendir): Use record_error.
23933 * locale/programs/charmap.c: Don't include error.h.
23934 (charmap_read): Use record_error, and record_warning.
23935 (parse_charmap): Likewise.
23936 * locale/programs/ld-address.c: Don't include error.h.
23937 (address_finish): Use record_error, and record_warning.
23938 * locale/programs/ld-collate.c: Don't include error.h.
23939 (collate_finish): Use record_error, and record_error_at_line.
23940 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
23941 (ctype_class_new): Likewise.
23942 (ctype_map_new): Likewise.
23943 (set_one_default): Likewise.
23944 (set_class_defaults): Likewise.
23945 (translit_flatten): Likewise.
23946 (allocate_arrays): Use record_error, and record_verbose.
23947 * locale/programs/ld-identification.c: Don't include error.h.
23948 (indentation_finish): Use record_error and record_warning.
23949 * locale/programs/ld-measurement.c: Don't include error.h.
23950 (measurement_finish): Use record_error.
23951 * locale/programs/ld-messages.c
23952 (message_finish): Likewise.
23953 * locale/programs/ld-monetary.c
23954 (monetary_finish): Likewise.
23955 * locale/programs/ld-name.c (name_finish): Use record_error
23956 and record_warning.
23957 * locale/programs/ld-numeric.c
23958 (numeric_finish): Use record_error.
23959 * locale/programs/ld-paper.c: Don't include error.h.
23960 (paper_finish): Use record_error.
23961 * locale/programs/ld-telephone.c: Don't include error.h.
23962 (telephone_finish): Use record_error.
23963 * locale/programs/ld-time.c (time_finish): Likewise.
23964 * locale/programs/linereader.h (lr_error): Make inline func.
23965 * locale/programs/localedef.c: Define recorded_warning_count,
23966 and recorded_error_count.
23967 (main): Use record_error. Use recorded_error_count and
23968 recorded_warning_count to issue correct error returns.
23969 (add_to_readlist): Use record_error.
23970 (find_locale): Likewise.
23971 (load_locale): Likewise.
23972 * locale/programs/localedef.h: Remove be_quiet
23973 and WITH_CUR_LOCALE.
23974 * locale/programs/locarchive.c (compare_from_file): Use
23976 * locale/programs/locfile.c (write_locale_data): Use
23978 * locale/programs/repertoire.c: Dont include error.h.
23979 (repertoire_complain): Use record_error.
23980 * localedata/tst-fmon.sh: Expect failures from localedef.
23981 * localedata/tst-locale.sh: Likewise.
23982 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
23984 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
23985 (REPORTS): Likewise.
23987 (i18n): Rename to...
23988 (i18n_ctype): ...this.
23989 (i18n-report): Rename to...
23990 (i18n_ctype-report): ...this.
23991 * localedata/locales/i18n_ctype: Regenerate.
23992 * localedata/locales/i18n: copy i18n_ctype.
23994 2017-10-13 Joseph Myers <joseph@codesourcery.com>
23996 * stdlib/strfroml.c: Include <bits/floatn.h>.
23997 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
23998 Define before include of <stdlib.h> and undefine afterwards, then
23999 define as weak alias.
24001 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
24002 Undefine and restore default definition. Use
24003 libm_alias_ldouble_other.
24005 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
24008 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
24011 2017-10-13 James Clarke <jrtc27@jrtc27.com>
24013 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24014 Assign sym_map to be map for local symbols, as TLS relocations
24015 use sym_map to determine whether the symbol is defined and to
24016 extract the TLS information.
24017 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24018 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24020 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24023 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
24024 (math_force_eval): Add powerpc version.
24027 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
24029 (do_test): Likewise.
24030 * stdio-common/tst-printf.sh: Likewise.
24031 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
24032 ifdef clause in order to set the carry bit right. Replace r0 by
24033 0 without changing the behavior.
24035 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24037 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
24038 <libm-alias-ldouble.h>.
24039 (fabsl): Define using libm_alias_ldouble.
24040 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
24041 <libm-alias-ldouble.h>.
24042 (fabsl): Define using libm_alias_ldouble.
24044 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
24045 Remove conditional code.
24047 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
24048 Rename to __clog10_internal_l.
24049 (__clog10_internal_l): Define aliases using
24050 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
24053 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24055 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
24056 * benchtests/sincosf-inputs: New file.
24057 * benchtests/cosf-inputs: New file.
24058 * benchtests/sinf-inputs: New file.
24060 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24062 * posix/tst-spawn.c (do_test): Wait for both children.
24064 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
24067 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
24068 tests-pie): Add tst-gmon-pie.
24069 (CFLAGS-tst-gmon-pie.c): New.
24070 (CRT-tst-gmon-pie): Likewise.
24071 (tst-gmon-pie-ENV): Likewise.
24072 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
24073 ($(objpfx)tst-gmon-pie.out): Likewise.
24074 (clean-tst-gmon-pie-data): Likewise.
24075 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
24076 * gmon/gmon.c [PIC]: Include <link.h>.
24077 [PIC] (callback): New function.
24078 (write_hist): Add an argument for load address. Subtract load
24080 (write_call_graph): Likewise.
24081 (write_gmon): Call __dl_iterate_phdr to get load address, pass
24082 it to write_hist and write_call_graph.
24083 * gmon/tst-gmon-pie.c: New file.
24085 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24087 * math/Makefile (test-types-basic): New variable.
24088 (test-types): Likewise.
24089 (libm-test-support): Use $(test-types) instead of $(types).
24090 (libm-tests-base-normal): Likewise.
24091 (libm-tests-base-finite): Likewise.
24092 (libm-tests-base-inline): Likewise.
24093 (generated): Likewise.
24094 ($(objpfx)libm-test-support-$(t).c): Likewise.
24095 (libm-tests-for-type iterator): Likewise.
24096 (libm-test-support iterator): Likewise.
24097 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
24098 (ulp_idx): Use ULP_IDX.
24099 * math/test-ldouble.h: Include <float.h>.
24100 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
24101 (ULP_IDX): New macro.
24102 (ULP_I_IDX): Likewise.
24103 * math/test-double.h (ULP_IDX): Likewise.
24104 (ULP_I_IDX): Likewise.
24105 * math/test-float.h (ULP_IDX): Likewise.
24106 (ULP_I_IDX): Likewise.
24107 * math/test-float128.h (ULP_IDX): Likewise.
24108 (ULP_I_IDX): Likewise.
24110 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24112 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
24113 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24114 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24115 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
24116 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24117 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
24118 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
24119 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24120 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24121 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24122 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
24123 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24124 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24125 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24126 (SINGLE_THREAD_BY_GLOBAL): Define.
24127 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24129 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24131 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24133 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24135 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
24136 (SINGLE_THREAD_BY_GLOBAL): Likewise.
24137 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24140 2017-10-11 Andreas Schwab <schwab@suse.de>
24142 * nis/Makefile (aux): Remove.
24143 * nscd/Makefile (aux): Add nscd_hash.
24144 (nscd-modules): Likewise.
24145 ($(objpfx)nscd): Don't depend on libnsl.
24146 * nscd/nscd_hash.c: New file.
24147 * nscd/nscd_hash.h: Likewise.
24148 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
24149 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
24150 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
24151 instead of <nis/rpcsvc/nis.h>.
24152 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
24154 2017-10-11 Florian Weimer <fweimer@redhat.com>
24157 Avoid large NSS buffers with many addresses, aliases.
24158 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
24159 using dynarrays and struct alloc_buffer.
24160 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
24161 (tst-nss-files-hosts-multi): Link with -ldl.
24162 * nss/tst-nss-files-hosts-multi.c: New file.
24164 2017-10-11 Florian Weimer <fweimer@redhat.com>
24167 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
24168 scratch_buffer. Eliminate gotos.
24170 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24172 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
24173 libm_alias_ldouble_other.
24174 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
24175 undefine and redefine.
24176 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
24177 (exp10l): Do not define here.
24178 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
24179 (weak_alias): Undefine and redefine.
24180 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
24181 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
24182 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
24183 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
24185 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
24186 [!__fma] (fma): Define using libm_alias_double.
24187 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
24188 [!__fmaf] (fmaf): Define using libm_alias_float.
24189 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
24190 (fmal): Define using libm_alias_ldouble.
24192 2017-10-10 Joseph Myers <joseph@codesourcery.com>
24194 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
24196 (libm_alias_double_other): Likewise.
24197 (libm_alias_double_r): Use libm_alias_double_other_r.
24198 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
24200 (libm_alias_float_other): Likewise.
24201 (libm_alias_float_r): Use libm_alias_float_other_r.
24202 * sysdeps/generic/libm-alias-float128.h
24203 (libm_alias_float128_other_r): New macro.
24204 (libm_alias_float128_other): Likewise.
24205 (libm_alias_float128_r): Use libm_alias_float128_other_r.
24206 * sysdeps/generic/libm-alias-ldouble.h
24207 (libm_alias_ldouble_other_r): New macro.
24208 (libm_alias_ldouble_other): Likewise.
24209 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24210 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24211 (libm_alias_double_other_r): New macro.
24212 (libm_alias_double_other): Likewise.
24213 (libm_alias_double_r): Use libm_alias_double_other_r.
24214 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24215 (libm_alias_ldouble_other_r): New macro.
24216 (libm_alias_ldouble_other): Likewise.
24217 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24218 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
24219 [!USE_AS_COMPAT]: Use libm_alias_double_other.
24220 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
24221 [!USE_AS_COMPAT]: Use libm_alias_float_other.
24222 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
24223 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
24224 * math/w_exp2f.c: Use libm_alias_float_other.
24225 * math/w_expf.c: Likewise.
24226 * math/w_log2f.c: Likewise.
24227 * math/w_logf.c: Likewise.
24228 * math/w_powf.c: Likewise.
24229 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
24230 [!__exp2f]: Use libm_alias_float_other.
24231 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
24232 [!__expf]: Use libm_alias_float_other.
24233 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
24234 [!__log2f]: Use libm_alias_float_other.
24235 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
24236 [!__logf]: Use libm_alias_float_other.
24237 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
24238 [!__powf]: Use libm_alias_float_other.
24240 2017-10-10 Florian Weimer <fweimer@redhat.com>
24242 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
24244 (_nss_files_gethostbyname3_r): Call it.
24246 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24248 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
24249 error. Remove default definition of declare_mgen_alias.
24250 [!declare_mgen_alias_r]: Likewise.
24251 * sysdeps/generic/math-type-macros-double.h
24252 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
24253 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
24254 (declare_mgen_alias_r): Likewise.
24255 * sysdeps/generic/math-type-macros-float128.h
24256 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24257 * sysdeps/generic/math-type-macros-ldouble.h
24258 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24259 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
24261 (declare_mgen_alias_r_s): Likewise.
24262 (declare_mgen_alias_r): Likewise.
24263 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
24264 (lgamma_r): Define using libm_alias_double_r.
24265 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
24266 (lgammaf_r): Define using libm_alias_float_r.
24267 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
24268 (lgammal_r): Define using libm_alias_ldouble_r.
24269 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
24270 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
24272 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24274 * lib/glob.c (__glob_pattern_type): Remove now-spurious
24275 extern declaration.
24277 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24279 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
24281 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
24284 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
24285 [__cplusplus >= 201103] (__USE_ISOC99): Define.
24286 * math/Makefile (test-math-cxx11): New test.
24287 * math/test-math-cxx11.cc: New file.
24289 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
24291 * login/openpty.c (openpty): Close slave pty file descriptor on error.
24293 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
24294 call to allocate the slave pty file descriptor.
24296 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24298 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
24299 [!__fma] (fma): Define using libm_alias_double.
24300 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
24301 [!__fma] (fma): Define using libm_alias_double.
24303 * sysdeps/ieee754/float128/float128_private.h: Include
24304 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
24305 (libm_alias_ldouble_r): Undefine and redefine.
24306 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
24307 <libm-alias-ldouble.h>.
24308 (asinhl): Define using libm_alias_ldouble.
24309 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
24310 <libm-alias-ldouble.h>.
24311 (atanl): Define using libm_alias_ldouble.
24312 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
24313 <libm-alias-ldouble.h>.
24314 (cbrtl): Define using libm_alias_ldouble.
24315 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
24316 <libm-alias-ldouble.h>.
24317 (ceill): Define using libm_alias_ldouble.
24318 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
24319 <libm-alias-ldouble.h>.
24320 (copysignl): Define using libm_alias_ldouble.
24321 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
24322 <libm-alias-ldouble.h>.
24323 (cosl): Define using libm_alias_ldouble.
24324 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
24325 <libm-alias-ldouble.h>.
24326 (erfl): Define using libm_alias_ldouble.
24328 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
24329 <libm-alias-ldouble.h>.
24330 (expm1l): Define using libm_alias_ldouble.
24331 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
24332 <libm-alias-ldouble.h>.
24333 (fabsl): Define using libm_alias_ldouble.
24334 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
24335 <libm-alias-ldouble.h>.
24336 (floorl): Define using libm_alias_ldouble.
24337 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
24338 <libm-alias-ldouble.h>.
24339 (fmal): Define using libm_alias_ldouble.
24340 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
24341 <libm-alias-ldouble.h>.
24342 (frexpl): Define using libm_alias_ldouble.
24343 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
24344 libm_alias_ldouble.
24345 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
24346 <libm-alias-ldouble.h>.
24347 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
24348 libm_alias_ldouble.
24349 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
24350 <libm-alias-ldouble.h>.
24351 (getpayloadl): Define using libm_alias_ldouble.
24352 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
24353 <libm-alias-ldouble.h>.
24354 (llrintl): Define using libm_alias_ldouble.
24355 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
24356 <libm-alias-ldouble.h>.
24357 (llroundl): Define using libm_alias_ldouble.
24358 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
24359 <libm-alias-ldouble.h>.
24360 (logbl): Define using libm_alias_ldouble.
24361 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
24362 <libm-alias-ldouble.h>.
24363 (lrintl): Define using libm_alias_ldouble.
24364 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
24365 <libm-alias-ldouble.h>.
24366 (lroundl): Define using libm_alias_ldouble.
24367 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
24368 <libm-alias-ldouble.h>.
24369 (modfl): Define using libm_alias_ldouble.
24370 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
24371 <libm-alias-ldouble.h>.
24372 (nearbyintl): Define using libm_alias_ldouble.
24373 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
24374 <libm-alias-ldouble.h>.
24375 (nextafterl): Define using libm_alias_ldouble.
24376 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
24377 <libm-alias-ldouble.h>.
24378 (nextupl): Define using libm_alias_ldouble.
24379 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
24380 <libm-alias-ldouble.h>.
24381 (remquol): Define using libm_alias_ldouble.
24382 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
24383 <libm-alias-ldouble.h>.
24384 (rintl): Define using libm_alias_ldouble.
24385 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
24386 <libm-alias-ldouble.h>.
24387 (roundevenl): Define using libm_alias_ldouble.
24388 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
24389 <libm-alias-ldouble.h>.
24390 (roundl): Define using libm_alias_ldouble.
24391 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
24392 using libm_alias_ldouble.
24393 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
24394 <libm-alias-ldouble.h>.
24395 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
24396 Define using libm_alias_ldouble.
24397 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
24398 <libm-alias-ldouble.h>.
24399 (sincosl): Define using libm_alias_ldouble.
24400 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
24401 <libm-alias-ldouble.h>.
24402 (sinl): Define using libm_alias_ldouble.
24403 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
24404 <libm-alias-ldouble.h>.
24405 (tanhl): Define using libm_alias_ldouble.
24406 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
24407 <libm-alias-ldouble.h>.
24408 (tanl): Define using libm_alias_ldouble.
24409 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
24410 <libm-alias-ldouble.h>.
24411 (totalorderl): Define using libm_alias_ldouble.
24412 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
24413 <libm-alias-ldouble.h>.
24414 (totalordermagl): Define using libm_alias_ldouble.
24415 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
24416 <libm-alias-ldouble.h>.
24417 (truncl): Define using libm_alias_ldouble.
24418 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
24419 libm_alias_ldouble.
24420 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
24421 libm_alias_ldouble.
24422 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
24423 <libm-alias-ldouble.h>.
24424 (weak_alias): Do not undefine and redefine.
24425 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24426 (copysignl): Define with long_double_symbol only if [IS_IN
24428 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
24429 <libm-alias-ldouble.h>.
24430 (weak_alias): Do not undefine and redefine.
24431 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24432 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
24433 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
24434 <libm-alias-ldouble.h>.
24435 (weak_alias): Do not undefine and redefine.
24436 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24437 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
24438 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
24439 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
24440 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
24441 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
24442 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
24443 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
24444 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
24445 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
24446 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
24447 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
24448 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
24449 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
24450 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
24451 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
24452 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
24453 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
24454 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
24455 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
24456 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
24457 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
24458 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
24459 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
24460 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
24461 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
24463 2017-10-06 Carlos O'Donell <carlos@redhat.com>
24466 * malloc/malloc.c (tcache_shutting_down): Use bool type.
24467 (tcache_thread_freeres): Set tcache_shutting_down before
24468 freeing the tcache.
24469 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
24470 * malloc/tst-malloc-tcache-leak.c: New file.
24472 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24474 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
24475 back to powerpc32 file.
24476 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
24477 (memrchr): Add __memrchr_power8 to ifunc list.
24478 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
24479 extra bytes for unaligned inputs.
24481 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24483 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
24484 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
24485 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
24486 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24487 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24489 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24491 * sysdeps/arm/libm-test-ulps: Update.
24493 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
24494 <libm-alias-ldouble.h>.
24495 (asinhl): Define using libm_alias_ldouble.
24496 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
24497 <libm-alias-ldouble.h>.
24498 (cbrtl): Define using libm_alias_ldouble.
24499 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
24500 <libm-alias-ldouble.h>.
24501 (copysignl): Define using libm_alias_ldouble.
24502 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
24503 <libm-alias-ldouble.h>.
24504 (cosl): Define using libm_alias_ldouble.
24505 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
24506 <libm-alias-ldouble.h>.
24507 (erfl): Define using libm_alias_ldouble.
24509 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
24510 <libm-alias-ldouble.h>.
24511 (fmal): Define using libm_alias_ldouble.
24512 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
24513 <libm-alias-ldouble.h>.
24514 (frexpl): Define using libm_alias_ldouble.
24515 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
24516 libm_alias_ldouble.
24517 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
24518 <libm-alias-ldouble.h>.
24519 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
24520 libm_alias_ldouble.
24521 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
24522 <libm-alias-ldouble.h>.
24523 (getpayloadl): Define using libm_alias_ldouble.
24524 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
24525 <libm-alias-ldouble.h>.
24526 (llrintl): Define using libm_alias_ldouble.
24527 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
24528 <libm-alias-ldouble.h>.
24529 (llroundl): Define using libm_alias_ldouble.
24530 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
24531 <libm-alias-ldouble.h>.
24532 (lrintl): Define using libm_alias_ldouble.
24533 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
24534 <libm-alias-ldouble.h>.
24535 (lroundl): Define using libm_alias_ldouble.
24536 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
24537 <libm-alias-ldouble.h>.
24538 (modfl): Define using libm_alias_ldouble.
24539 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
24540 <libm-alias-ldouble.h>.
24541 (nextupl): Define using libm_alias_ldouble.
24542 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
24543 <libm-alias-ldouble.h>.
24544 (remquol): Define using libm_alias_ldouble.
24545 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
24546 <libm-alias-ldouble.h>.
24547 (roundevenl): Define using libm_alias_ldouble.
24548 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
24549 <libm-alias-ldouble.h>.
24550 (roundl): Define using libm_alias_ldouble.
24551 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
24552 using libm_alias_ldouble.
24553 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
24554 <libm-alias-ldouble.h>.
24555 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
24556 <libm-alias-ldouble.h>.
24557 (setpayloadsigl): Define using libm_alias_ldouble.
24558 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
24559 <libm-alias-ldouble.h>.
24560 (sincosl): Define using libm_alias_ldouble.
24561 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
24562 <libm-alias-ldouble.h>.
24563 (sinl): Define using libm_alias_ldouble.
24564 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
24565 <libm-alias-ldouble.h>.
24566 (tanhl): Define using libm_alias_ldouble.
24567 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
24568 <libm-alias-ldouble.h>.
24569 (tanl): Define using libm_alias_ldouble.
24570 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
24571 <libm-alias-ldouble.h>.
24572 (totalorderl): Define using libm_alias_ldouble.
24573 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
24574 <libm-alias-ldouble.h>.
24575 (totalordermagl): Define using libm_alias_ldouble.
24576 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
24577 libm_alias_ldouble.
24578 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
24579 libm_alias_ldouble.
24581 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
24583 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
24585 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24586 (__libc_ifunc_impl_list): Likewise.
24587 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
24588 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
24590 * benchtests/bench-memmove-walk.c: New file.
24591 * benchtests/Makefile (string-benchset): Add it.
24593 * benchtests/bench-memset-walk.c: New file.
24594 * benchtests/Makefile (string-benchset): Add it.
24596 * benchtests/bench-memcpy-walk.c: New file.
24597 * benchtests/Makefile (string-benchset): Add it.
24599 2017-10-05 Florian Weimer <fweimer@redhat.com>
24601 nscd: Eliminate compilation time dependency in the build output.
24602 * nscd/nscd_stat.c (STATDATA_VERSION)
24603 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
24604 (STATDATA_VERSION_FULL): New macro definitions.
24605 (compilation): Remove.
24606 (struct statdata): Adjust version member.
24607 (send_stats): Set version from STATDATA_VERSION_FULL.
24608 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
24610 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24612 * configure.ac (--enable-add-ons): Remove option.
24613 (machine): Do not mention add-ons in comment.
24614 (LIBC_PRECONFIGURE): Likewise.
24615 (add_ons): Remove variable and sanity checks and logic to locate
24617 (add_ons_automatic): Remove variable.
24618 (configured_add_ons): Likewise.
24619 (add_ons_sfx): Likewise.
24620 (add_ons_pfx): Likewise.
24621 (add_on_subdirs): Likewise.
24622 (sysnames_add_ons): Likewise. Remove loop over add-ons and
24623 consideration of add-ons in Implies handling.
24624 (sysdeps_add_ons): Likewise.
24625 * configure: Regenerated.
24626 * libidn/configure.ac: Remove.
24627 * libidn/configure: Likewise.
24628 * sysdeps/unix/inet/configure.ac: New file.
24629 * sysdeps/unix/inet/configure: New generated file.
24630 * sysdeps/unix/inet/Subdirs: Add libidn.
24631 * Makeconfig (sysdeps-srcdirs): Remove variable.
24632 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
24633 ($(common-objpfx)config.status): Do not depend on add-on files.
24634 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
24636 (all-subdirs): Do not include $(add-on-subdirs).
24637 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
24638 * config.make.in (add-ons): Remove variable.
24639 (add-on-subdirs): Likewise.
24640 (sysdeps-add-ons): Likewise.
24641 * manual/Makefile (add-chapters): Remove.
24642 ($(objpfx)texis): Do not depend on $(add-chapters).
24643 (nonexamples): Do not handle $(add-chapters).
24644 (examples): Do not handle $(add-ons).
24645 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
24647 * manual/install.texi (Installation): Do not mention add-ons.
24648 (--enable-add-ons): Do not document configure option.
24649 * INSTALL: Regenerated.
24650 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
24651 * manual/maint.texi (Hierarchy Conventions): Do not mention
24653 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
24655 * scripts/gen-sorted.awk: Do not handle Subdirs files from
24657 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
24658 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
24660 2017-10-05 Andreas Schwab <schwab@suse.de>
24663 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
24664 (_IO_flush_all_lockp): Always lock list_all_lock.
24665 (_IO_flush_all_linebuffered): Likewise.
24666 (_IO_unbuffer_all): Likewise.
24668 2017-10-05 Florian Weimer <fweimer@redhat.com>
24671 Do not flush stdio streams on abort.
24672 * stdlib/abort.c (fflush): Remove macro definition.
24673 (abort): Remove stages related to stdio flushing.
24675 2017-10-05 Florian Weimer <fweimer@redhat.com>
24677 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
24679 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
24681 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24683 2017-10-05 Florian Weimer <fweimer@redhat.com>
24685 * support/support_format_hostent.c (support_format_hostent): Add
24686 more error information for NETDB_INTERNAL.
24688 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24690 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
24691 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
24692 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
24693 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
24694 AC_DEFINE if multi-arch is enabled.
24695 * sysdeps/i386/configure: Regenerated.
24697 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24699 * Makeconfig (+link-static-before-libc): Use
24700 $(DEFAULT-LDFLAGS-$(@F)).
24701 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
24702 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
24703 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
24705 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24707 * elf/Makefile (tests): Add tst-main1.
24708 (modules-names): Add tst-main1mod.
24709 ($(objpfx)tst-main1): New.
24710 (CRT-tst-main1): Likewise.
24711 (LDFLAGS-tst-main1): Likewise.
24712 (LDLIBS-tst-main1): Likewise.
24713 (tst-main1mod.so-no-z-defs): Likewise.
24714 * elf/tst-main1.c: New file.
24715 * elf/tst-main1mod.c: Likewise.
24717 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24719 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
24721 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24723 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
24724 (fma): Define using libm_alias_double.
24725 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
24726 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
24728 (fmal): Do not define as compat symbol here.
24729 * sysdeps/alpha/fpu/s_fma.c: New file.
24731 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24733 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
24735 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24738 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24740 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24742 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
24743 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24744 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
24745 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
24746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24747 Include <math_ldbl_opt.h>
24748 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24750 (compat_symbol): Undefine and redefine.
24751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24753 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24754 (compat_symbol): Undefine and redefine.
24755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
24756 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
24757 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
24758 GLIBC_2_1 for libm.
24759 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
24760 GLIBC_2.0 copysignl symbol.
24761 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24762 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
24764 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
24766 2017-10-04 Florian Weimer <fweimer@redhat.com>
24768 * scripts/check-local-headers.sh: Ignore nspr4 header file
24769 directory in addition to nspr.
24771 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
24774 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
24775 * configure: Regenerate.
24776 * crypt/Makefile (nss-cpp-flags): New variable.
24777 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
24778 (CPPFLAGS-md5-crypt.c): Use it.
24779 * scripts/check-local-headers.sh: Ignore nspr header file
24782 2017-10-04 Andreas Schwab <schwab@suse.de>
24784 * nis/Makefile (services): Remove compat.
24785 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
24786 ($(objpfx)libnss_compat.so): Remove rule.
24787 * nis/Versions (libnss_compat): Remove.
24788 * nss/Makefile (services): Add compat.
24789 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
24790 * nss/Versions (libnss_compat): Define.
24791 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
24792 Don't include <rpc/types.h>. Replace bool_t by bool.
24793 * nss/nss_compat/compat-initgroups.c: Likewise.
24794 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
24795 instead of <rpcsrv/ypclnt.h>.
24796 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
24797 yp_get_default_domain.
24798 * nss/nss_compat/compat-pwd.c: Likewise.
24799 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
24800 yp_get_default_domain.
24801 * nss/nss_compat/nisdomain.c: New file.
24802 * nss/nss_compat/nisdomain.h: Likewise.
24804 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24807 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
24808 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24810 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24813 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
24814 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
24816 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24818 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
24819 "movl main@GOTOFF(%ebx), %eax".
24821 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24823 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
24824 allow undefined _DYNAMIC in PIE libc.a.
24825 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
24828 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24830 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
24833 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24835 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
24838 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24840 * math/test-math-iscanonical.cc (error): Replace bool with int.
24842 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24844 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
24845 (modf): Define using libm_alias_double, only if [!__modf].
24846 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
24847 <libm-alias-double.h>.
24848 (modf): Define using libm_alias_double, only if [!__modf].
24849 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
24850 compat symbol here.
24851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
24852 (weak_alias): Do not undefine and redefine.
24853 (strong_alias): Likewise.
24854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
24855 (weak_alias): Likewise.
24856 (strong_alias): Likewise.
24858 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
24859 (logb): Define using libm_alias_double, only if [!__logb].
24860 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
24861 <libm-alias-double.h>.
24862 (logb): Define using libm_alias_double, only if [!__logb].
24863 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
24864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
24865 (weak_alias): Do not undefine and redefine.
24866 (strong_alias): Likewise.
24867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
24868 (weak_alias): Likewise.
24869 (strong_alias): Likewise.
24871 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24873 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
24874 Check SHARED instead PIC.
24876 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24878 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
24879 [!__fmaf] (fmaf): Define using libm_alias_float.
24881 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
24882 (frexp): Define using libm_alias_double.
24883 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
24884 <libm-alias-double.h>.
24885 (frexp): Define using libm_alias_double.
24886 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
24887 compat symbol here.
24889 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24892 * math/math.h: Trivial fix for unbalanced parentheses in comment.
24893 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
24894 (CFLAGS-test-math-iscanonical.cc): New variable.
24895 * math/test-math-iscanonical.cc: New file.
24896 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
24897 Provide a C++ implementation based on function overloading,
24898 rather than using __MATH_TG, which uses C-only builtins.
24899 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
24901 * sysdeps/powerpc/powerpc64le/Makefile
24902 (CFLAGS-test-math-iscanonical.cc): New variable.
24904 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24906 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
24907 (ceil): Define using libm_alias_double.
24908 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
24909 (floor): Define using libm_alias_double.
24910 * sysdeps/ieee754/dbl-64/s_llround.c: Include
24911 <libm-alias-double.h>.
24912 (llround): Define using libm_alias_double.
24913 * sysdeps/ieee754/dbl-64/s_lround.c: Include
24914 <libm-alias-double.h>.
24915 (lround): Define using libm_alias_double.
24916 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
24917 <libm-alias-double.h>.
24918 (nearbyint): Define using libm_alias_double.
24919 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
24920 <libm-alias-double.h>.
24921 (remquo): Define using libm_alias_double.
24922 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
24923 (rint): Define using libm_alias_double.
24924 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
24925 (round): Define using libm_alias_double.
24926 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
24927 (trunc): Define using libm_alias_double.
24928 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
24929 <libm-alias-double.h>.
24930 (ceil): Define using libm_alias_double.
24931 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
24932 <libm-alias-double.h>.
24933 (floor): Define using libm_alias_double.
24934 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
24935 <libm-alias-double.h>.
24936 (llround): Define using libm_alias_double.
24937 [_LP64] (lround): Likewise.
24938 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
24939 <libm-alias-double.h>.
24940 [!_LP64] (lround): Define using libm_alias_double.
24941 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
24942 <libm-alias-double.h>.
24943 (nearbyint): Define using libm_alias_double.
24944 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
24945 <libm-alias-double.h>.
24946 (remquo): Define using libm_alias_double.
24947 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
24948 <libm-alias-double.h>.
24949 (rint): Define using libm_alias_double.
24950 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
24951 <libm-alias-double.h>.
24952 (round): Define using libm_alias_double.
24953 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
24954 <libm-alias-double.h>.
24955 (trunc): Define using libm_alias_double.
24956 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
24957 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
24958 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
24959 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
24960 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
24961 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
24962 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
24963 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
24964 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
24966 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24968 * math/w_remainder.c: New file.
24969 * math/w_remainderf.c: New file.
24970 * math/w_remainderl.c: New file.
24972 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24974 * elf/rtld.c (BOOTSTRAP_MAP): New.
24975 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
24976 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24978 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24980 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24983 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
24985 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
24986 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
24987 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
24988 rtld_hidden_data_ver): Define to empty.
24989 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
24990 __assert_perror_fail): Likewise.
24991 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24992 (__rewinddir): Likewise.
24993 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24994 (__profile_frequency): Likewise.
24995 * include/setjmp.h (__sigsetjmp): Likewise.
24996 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
24997 __libc_sigaction): Likewise.
24998 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
24999 not set hidden attribute.
25000 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
25001 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
25002 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
25003 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
25004 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
25005 __fxstatat64): Likewise.
25006 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25007 (__uname): Likewise.
25008 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25009 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
25010 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
25011 (NO_RTLD_HIDDEN): Set.
25012 * sysdeps/mach/hurd/configure: Refresh.
25013 * config.h.in: Refresh.
25015 2017-10-02 Joseph Myers <joseph@codesourcery.com>
25017 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
25018 (atan): Define using libm_alias_double.
25019 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
25020 (tan): Define using libm_alias_double.
25021 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
25022 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
25024 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
25025 define as weak alias of __atan. Do not define any aliases if
25027 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
25028 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
25029 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
25030 as weak alias of __tan. Do not define any aliases if [__tan].
25031 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
25032 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
25033 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
25035 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
25036 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
25037 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
25038 and define as weak alias of __atan.
25039 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
25041 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
25042 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
25043 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
25044 define as weak alias of __tan.
25046 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25048 * math/w_lgamma.c: New file.
25049 * math/w_lgammaf.c: New file.
25050 * math/w_lgammal.c: New file.
25052 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25054 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
25055 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
25056 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
25057 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
25058 * sysdeps/ieee754/flt-32/w_logf.c: New file.
25059 * sysdeps/ieee754/flt-32/w_powf.c: New file.
25060 * sysdeps/i386/fpu/w_log2f.c: New file.
25061 * sysdeps/i386/fpu/w_logf.c: New file.
25062 * sysdeps/i386/fpu/w_powf.c: New file.
25063 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
25064 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
25065 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
25067 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25068 H.J. Lu <hongjiu.lu@intel.com>
25070 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
25071 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
25072 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
25073 * sysdeps/ieee754/flt-32/w_expf.c: New file.
25074 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
25076 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
25077 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
25078 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
25079 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
25080 * sysdeps/i386/fpu/w_exp2f.c: New file.
25081 * sysdeps/i386/fpu/w_expf.c: New file.
25082 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
25083 * sysdeps/x86_64/fpu/w_expf.c: New file.
25085 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25087 * math/Versions (logf): New libm symbol at GLIBC_2.27.
25090 * math/w_log2f.c: New file.
25091 * math/w_logf.c: New file.
25092 * math/w_powf.c: New file.
25093 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
25094 * math/w_logf_compat.c (__logf_compat): Likewise.
25095 * math/w_powf_compat.c (__powf_compat): Likewise.
25096 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
25097 * sysdeps/ia64/fpu/e_logf.S: Likewise.
25098 * sysdeps/ia64/fpu/e_powf.S: Likewise.
25099 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
25100 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25101 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25102 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25103 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25104 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25105 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25106 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25107 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25108 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25109 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25110 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25119 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25120 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25121 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25122 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25123 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25124 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25128 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25129 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25130 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25132 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25134 * sysdeps/powerpc/powerpc64/multiarch/Makefile
25135 (sysdep_routines): Add memrchr_power8.
25136 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25137 (memrchr): Add __memrchr_power8 to list of memrchr functions.
25138 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
25140 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25141 (memrchr): Add __memrchr_power8 to ifunc list.
25142 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
25144 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25147 * sysdeps/unix/sysv/linux/posix_fadvise64.c
25148 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
25150 * sysdeps/unix/sysv/linux/posix_fallocate64.c
25151 (__posix_fallocate64_l64): Likewise.
25153 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25156 * sysdeps/unix/sysv/linux/sched_setaffinity.c
25157 (__sched_setaffinity_new): Add libc_hidden_proto and
25160 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25163 * include/glob.h (__glob64): Add libc_hidden_proto.
25164 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
25167 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25170 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
25173 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25176 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
25178 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25181 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
25184 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25187 * csu/version.c (__libc_print_version): Add attribute_hidden.
25189 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25192 * include/libc-internal.h (__init_misc): Add attribute_hidden.
25194 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25197 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
25199 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25202 * nscd/nscd_helper.c (__nis_hash): New prototype.
25204 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25207 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
25208 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
25210 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25211 * termios/tcgetattr.c (__tcgetattr): Likewise.
25213 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25216 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
25217 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
25218 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
25219 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
25220 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
25222 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25225 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
25227 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25230 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
25231 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
25233 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25236 * intl/hash-string.h (__hash_string): Add attribute_hidden.
25238 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25241 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
25242 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
25244 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25247 * include/ifreq.h: New file.
25248 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
25249 (__ifreq): Likewise.
25250 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
25251 (__ifreq): Likewise.
25253 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25256 * include/idna.h: New file.
25257 * inet/getnameinfo.c: Include <idna.h> instead of
25259 (__idna_to_unicode_lzlz): Removed.
25260 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
25262 (__idna_to_ascii_lz): Removed.
25263 (__idna_to_unicode_lzlz): Likewise.
25265 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25268 * include/plural-exp.h: New file.
25269 * intl/plural-exp.c: Include <plural-exp.h> instead of
25272 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25275 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
25276 "getsourcefilter.h".
25277 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
25278 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
25279 "getsourcefilter.h".
25280 (__get_sol): Removed.
25282 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25285 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
25287 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
25289 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25292 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
25295 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25298 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
25300 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25303 * include/search.h (__tdestroy): Add libc_hidden_proto.
25304 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
25306 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25309 * include/assert.h (__assert_fail_base): Add attribute_hidden.
25311 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25314 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
25317 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25320 * include/signal.h (__kill): Add libc_hidden_proto.
25321 (__sigblock): Likewise.
25322 (__sigprocmask): Likewise.
25323 (__sigaltstack): Likewise.
25324 * signal/kill.c (__kill): Add libc_hidden_def.
25325 * signal/sigblock.c (__sigblock): Likewise.
25326 * signal/sigprocmask.c (__sigprocmask): Likewise.
25327 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
25328 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
25329 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
25330 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
25331 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
25333 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
25335 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
25336 (__sigprocmask): Likewise.
25337 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
25339 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
25340 (__sigprocmask): Likewise.
25341 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
25344 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25347 * include/string.h (__strsep): Add libc_hidden_proto.
25348 * string/strsep.c (__strsep): Add libc_hidden_def.
25350 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25353 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
25355 (__spawni): Likewise.
25357 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25360 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
25361 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
25364 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25367 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
25369 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25372 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
25373 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
25374 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
25375 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
25376 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
25378 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
25379 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
25381 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25384 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
25385 (__dcigettext): Likewise.
25387 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25390 * include/sys/sysinfo.h (__get_nprocs_conf): Add
25392 (__get_nprocs): Likewise.
25393 (__get_phys_pages): Likewise.
25394 (__get_avphys_pages): Likewise.
25395 (__get_child_max): Add attribute_hidden.
25396 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
25397 (__get_nprocs): Likewise.
25398 (__get_phys_pages): Likewise.
25399 (__get_avphys_pages): Likewise.
25400 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
25402 (__get_nprocs): Likewise.
25403 (__get_phys_pages): Likewise.
25404 (__get_avphys_pages): Likewise.
25405 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
25407 (__get_nprocs_conf): Likewise.
25408 (__get_phys_pages): Likewise.
25409 (__get_avphys_pages): Likewise.
25411 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25414 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
25416 (__netlink_close): Likewise.
25417 (__netlink_free_handle): Likewise.
25418 (__netlink_request): Likewise.
25420 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25423 * include/rpc/rpc.h (__rpc_thread_variables): Add
25425 (__rpc_thread_svc_cleanup): Likewise.
25426 (__rpc_thread_clnt_cleanup): Likewise.
25427 (__rpc_thread_key_cleanup): Likewise.
25429 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25432 * include/sys/uio.h (__readv): Add libc_hidden_proto.
25433 (__writev): Likewise.
25434 * misc/readv.c (__readv): Add libc_hidden_def.
25435 * misc/writev.c (__writev): Likewise.
25436 * sysdeps/posix/readv.c (__readv): Likewise.
25437 * sysdeps/posix/writev.c (__writev): Likewise.
25438 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
25439 (__readv): Likewise.
25440 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
25441 (__writev): Likewise.
25443 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25446 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
25447 (__regcomp): Add libc_hidden_proto.
25448 (__regexec): Likewise.
25449 (__regfree): Likewise.
25450 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
25451 (__regfree): Likewise.
25452 * posix/regexec.c (__regexec): Likewise.
25454 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25457 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
25458 (__getutent): Likewise.
25459 (__getutid): Likewise.
25460 (__getutline): Likewise.
25461 (__pututline): Likewise.
25462 (__getutent_r): Likewise.
25463 (__getutid_r): Likewise.
25464 (__getutline_r): Likewise.
25465 (__utmpname): Add attribute_hidden.
25466 (__setutent): Likewise.
25467 (__endutent): Likewise.
25468 * login/getutent.c (__getutent): Add libc_hidden_def.
25469 * login/getutent_r.c (__getutent_r): Likewise.
25470 (__pututline): Likewise.
25471 * login/getutid.c (__getutid): Likewise.
25472 * login/getutid_r.c (__getutid_r): Likewise.
25473 * login/getutline.c (__getutline): Likewise.
25474 * login/getutline_r.c (__getutline_r): Likewise.
25475 * login/updwtmp.c (__updwtmp): Likewise.
25477 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25480 * include/dirent.h (__opendir): Always add attribute_hidden.
25481 (__fdopendir): Likewise.
25482 (__closedir): Likewise.
25483 (__readdir): Likewise.
25484 (__readdir64): Add libc_hidden_proto.
25485 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
25486 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
25487 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
25488 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
25491 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25494 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
25495 * include/netdb.h (__gethostbyaddr_r): Likewise.
25496 (__gethostbyname_r): Likewise.
25497 (__gethostbyname2_r): Likewise.
25498 (__getnetbyaddr_r): Likewise.
25499 (__getnetbyname_r): Likewise.
25500 (__getservbyname_r): Likewise.
25501 (__getservbyport_r): Likewise.
25502 (__getprotobyname_r): Likewise.
25503 (__getprotobynumber_r): Likewise.
25504 (__getnetgrent_r): Likewise.
25505 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
25506 (__getrpcbynumber_r): Likewise.
25507 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
25509 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25512 * include/stdio.h (__fcloseall): Add attribute_hidden.
25513 (__getline): Likewise.
25514 (__path_search): Likewise.
25515 (__gen_tempname): Likewise.
25516 (__libc_message): Likewise.
25517 (__flockfile): Likewise.
25518 (__funlockfile): Likewise.
25519 (__fxprintf): Likewise.
25520 (__fxprintf_nocancel): Likewise.
25522 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25525 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
25526 (__sgetsgent_r): Likewise.
25528 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25531 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
25532 (__statfs64): Likewise.
25533 (__fstatfs64): Likewise.
25534 * include/sys/statvfs.h (__statvfs64): Likewise.
25535 (__fstatvfs64): Likewise.
25536 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
25537 (__statfs_filesize_max): Likewise.
25538 (__statfs_symlinks): Likewise.
25539 (__statfs_chown_restricted): Likewise.
25541 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25544 * include/time.h (__tzstring): Add attribute_hidden.
25545 (__tzfile_read): Likewise.
25546 (__tzfile_compute): Likewise.
25547 (__tzfile_default): Likewise.
25548 (__tzset_parse_tz): Likewise.
25549 (__offtime): Likewise.
25550 (__asctime_r): Likewise.
25551 (__tzset): Likewise.
25552 (__tz_convert): Likewise.
25553 (__getdate_r): Likewise.
25554 (__getclktck): Likewise.
25556 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25559 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
25560 (__nscd_unmap): Likewise.
25561 (__nscd_cache_search): Likewise.
25562 (__nscd_get_nl_timestamp): Likewise.
25563 (__nscd_getpwnam_r): Likewise.
25564 (__nscd_getpwuid_r): Likewise.
25565 (__nscd_getgrnam_r): Likewise.
25566 (__nscd_getgrgid_r): Likewise.
25567 (__nscd_gethostbyname_r): Likewise.
25568 (__nscd_gethostbyname2_r): Likewise.
25569 (__nscd_gethostbyaddr_r): Likewise.
25570 (__nscd_getai): Likewise.
25571 (__nscd_getgrouplist): Likewise.
25572 (__nscd_getservbyname_r): Likewise.
25573 (__nscd_getservbyport_r): Likewise.
25574 (__nscd_innetgr): Likewise.
25575 (__nscd_setnetgrent): Likewise.
25577 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25580 * include/gmp.h: Declare internal functions only if _ISOMAC is
25582 (__mpn_extract_double): Add attribute_hidden.
25583 (__mpn_extract_long_double): Likewise.
25584 (__mpn_extract_float128): Likewise.
25585 (__mpn_construct_float): Likewise.
25586 (__mpn_construct_double): Likewise.
25587 (__mpn_construct_long_double): Likewise.
25588 (__mpn_construct_float128): Likewise.
25589 (mpn_add_1): Likewise.
25590 (mpn_addmul_1): Likewise.
25591 (mpn_add_n): Likewise.
25592 (mpn_cmp): Likewise.
25593 (mpn_divrem): Likewise.
25594 (mpn_lshift): Likewise.
25595 (mpn_mul): Likewise.
25596 (mpn_mul_1): Likewise.
25597 (mpn_rshift): Likewise.
25598 (mpn_sub_1): Likewise.
25599 (mpn_submul_1): Likewise.
25600 (mpn_sub_n): Likewise.
25602 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25605 * include/wchar.h (__wcsnlen): Add attribute_hidden.
25606 (__wcscat): Likewise.
25607 (__btowc): Likewise.
25608 (__wcrtomb): Likewise.
25609 (__mbsrtowcs): Likewise.
25610 (__wcsrtombs): Likewise.
25611 (__mbsnrtowcs): Likewise.
25612 (__wcsnrtombs): Likewise.
25613 (__wcsncpy): Likewise.
25614 (__wcpncpy): Likewise.
25615 (__wmemcpy): Likewise.
25616 (__wmempcpy): Likewise.
25617 (__wmemmove): Likewise.
25618 (__wcschrnul): Likewise.
25619 (__vfwscanf): Likewise.
25620 (__vswprintf): Likewise.
25621 (__fwprintf): Likewise.
25622 (__vfwprintf): Likewise.
25624 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25627 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
25628 (__getgrgid_r): Likewise.
25629 (__getgrnam_r): Likewise.
25630 * include/pwd.h (__getpwuid_r): Likewise.
25631 (__getpwnam_r): Likewise.
25632 (__fgetpwent_r): Likewise.
25633 * include/shadow.h (__getspnam_r): Likewise.
25634 (__sgetspent_r): Likewise.
25635 (__fgetspent_r): Likewise.
25637 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25640 * include/unistd.h (__access): Add attribute_hidden.
25641 (__lseek64): Likewise.
25642 (__libc_pread64): Likewise.
25643 (__pipe2): Likewise.
25644 (__sleep): Likewise.
25645 (__chdir): Likewise.
25646 (__fchdir): Likewise.
25647 (__getcwd): Likewise.
25648 (__rmdir): Likewise.
25649 (__execvpe): Likewise.
25650 (__execve): Likewise.
25651 (__setsid): Likewise.
25652 (__getuid): Likewise.
25653 (__geteuid): Likewise.
25654 (__getgid): Likewise.
25655 (__getegid): Likewise.
25656 (__getgroups): Likewise.
25657 (__group_member): Likewise.
25658 (__ttyname_r): Likewise.
25659 (__isatty): Likewise.
25660 (__readlink): Likewise.
25661 (__unlink): Likewise.
25662 (__gethostname): Likewise.
25663 (__profil): Likewise.
25664 (__getdtablesize): Likewise.
25666 (__ftruncate): Likewise.
25667 (__ftruncate64): Likewise.
25669 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25672 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
25673 * argp/argp-fs-xinl.c: Likewise.
25674 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
25675 * argp/argp-parse.c: Include <argp.h>.
25676 * argp/argp-xinl.c: Likewise.
25677 * include/argp-fmtstream.h: New file.
25678 * include/argp.h (__argp_error): Add attribute_hidden.
25679 (__argp_failure): Likewise.
25680 (__argp_input): Likewise.
25681 (__argp_state_help): Likewise.
25683 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25686 * include/wchar.h (____wcstof_l_internal): New prototype.
25687 (____wcstod_l_internal): Likewise.
25688 (____wcstold_l_internal): Likewise.
25689 (____wcstol_l_internal): Likewise.
25690 (____wcstoul_l_internal): Likewise.
25691 (____wcstoll_l_internal): Likewise.
25692 (____wcstoull_l_internal): Likewise.
25693 (____wcstof128_l_internal): Likewise.
25694 * sysdeps/ieee754/float128/wcstof128.c
25695 (____wcstof128_l_internal): Removed.
25696 * sysdeps/ieee754/float128/wcstof128_l.c
25697 (____wcstof128_l_internal): Likewise.
25698 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
25699 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
25700 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
25701 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
25702 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
25703 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
25704 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
25705 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
25706 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
25707 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
25709 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25712 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
25713 instead of <sys/statvfs.h>.
25714 (__internal_statvfs): Removed.
25715 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
25716 instead of <sys/statvfs.h>.
25717 (__internal_statvfs64): Removed.
25718 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
25719 "internal_statvfs.h" instead of <sys/statvfs.h>.
25720 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
25721 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
25722 instead of <sys/statvfs.h>.
25723 (__internal_statvfs): Removed.
25724 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
25725 instead of <sys/statvfs.h>.
25726 (__internal_statvfs64): Removed.
25728 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25731 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
25732 (__gconv_close): Likewise.
25733 (__gconv): Likewise.
25734 (__gconv_find_transform): Likewise.
25735 (__gconv_lookup_cache): Likewise.
25736 (__gconv_compare_alias_cache): Likewise.
25737 (__gconv_load_cache): Likewise.
25738 (__gconv_get_path): Likewise.
25739 (__gconv_close_transform): Likewise.
25740 (__gconv_release_cache): Likewise.
25741 (__gconv_find_shlib): Likewise.
25742 (__gconv_release_shlib): Likewise.
25743 (__gconv_get_builtin_trans): Likewise.
25744 (__gconv_compare_alias): Likewise.
25745 * include/dlfcn.h (_dlerror_run): Likewise.
25746 * include/stdio.h (__fortify_fail_abort): Likewise.
25747 * include/time.h (__tz_compute): Likewise.
25748 (__strptime_internal): Likewise.
25749 * intl/gettextP.h (_nl_find_domain): Likewise.
25750 (_nl_load_domain): Likewise.
25751 (_nl_find_msg): Likewise.
25752 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
25753 (EXTRACT_PLURAL_EXPRESSION): Likewise.
25754 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
25755 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
25756 (__gai_find_request): Likewise.
25757 (__gai_remove_request): Likewise.
25758 (__gai_notify): Likewise.
25759 (__gai_notify_only): Likewise.
25760 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
25761 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
25762 (_dl_non_dynamic_init): Likewise.
25763 (_dl_aux_init): Likewise.
25764 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
25765 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
25767 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
25768 (__wcsmbs_clone_conv): Likewise.
25769 (__wcsmbs_named_conv): Likewise.
25771 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25774 * include/stdlib.h (__random): Add attribute_hidden.
25775 (__random_r): Likewise.
25776 (__srandom_r): Likewise.
25777 (__initstate_r): Likewise.
25778 (__setstate_r): Likewise.
25779 (__erand48_r): Likewise.
25780 (__nrand48_r): Likewise.
25781 (__jrand48_r): Likewise.
25782 (__srand48_r): Likewise.
25783 (__seed48_r): Likewise.
25784 (__lcong48_r): Likewise.
25785 (__drand48_iterate): Likewise.
25786 (__setenv): Likewise.
25787 (__unsetenv): Likewise.
25788 (__clearenv): Likewise.
25789 (__ptsname_r): Likewise.
25790 (__posix_openpt): Likewise.
25791 (__add_to_environ): Likewise.
25792 (__realpath): Add libc_hidden_proto.
25793 (__ecvt_r): Likewise.
25794 (__fcvt_r): Likewise.
25795 (__qecvt_r): Likewise.
25796 (__qfcvt_r): Likewise.
25797 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
25798 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
25800 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25803 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
25804 * include/time.h (__mktime_internal): Likewise.
25805 * libio/iolibio.h (__fopen_internal): Likewise.
25807 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
25809 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
25811 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
25812 Correct offset used to restore PIC register.
25814 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
25817 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
25818 code to load address of __getcontext_ret when generating PIC code.
25820 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
25822 * elf/Makefile (tests-static-internal): Add
25823 tst-tls1-static-non-pie.
25824 (LDFLAGS-tst-tls1-static-non-pie): New.
25825 * elf/tst-tls1-static-non-pie.c: New file.
25827 2017-09-29 Joseph Myers <joseph@codesourcery.com>
25829 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
25830 (asinh): Define using libm_alias_double.
25831 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
25832 (cbrt): Define using libm_alias_double.
25833 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
25834 <libm-alias-double.h>.
25835 (copysign): Define using libm_alias_double.
25836 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
25837 (erf): Define using libm_alias_double.
25839 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
25840 (expm1): Define using libm_alias_double.
25841 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
25842 (fabs): Define using libm_alias_double.
25843 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
25845 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
25846 <libm-alias-double.h>.
25847 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
25849 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
25850 <libm-alias-double.h>.
25851 (getpayload): Define using libm_alias_double.
25852 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
25853 <libm-alias-double.h>.
25854 (llrint): Define using libm_alias_double.
25855 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
25856 (lrint): Define using libm_alias_double.
25857 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
25858 <libm-alias-double.h>.
25859 (nextup): Define using libm_alias_double.
25860 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
25861 <libm-alias-double.h>.
25862 (roundeven): Define using libm_alias_double.
25863 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
25865 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
25866 <libm-alias-double.h>.
25867 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
25868 using libm_alias_double.
25869 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
25870 (cos): Define using libm_alias_double.
25872 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
25873 <libm-alias-double.h>.
25874 (sincos): Define using libm_alias_double.
25875 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
25876 (tanh): Define using libm_alias_double.
25877 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
25878 <libm-alias-double.h>.
25879 (totalorder): Define using libm_alias_double.
25880 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
25881 <libm-alias-double.h>.
25882 (totalordermag): Define using libm_alias_double.
25883 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
25885 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
25887 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
25888 <libm-alias-double.h>.
25889 (getpayload): Define using libm_alias_double.
25890 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
25891 <libm-alias-double.h>.
25892 (roundeven): Define using libm_alias_double.
25893 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
25894 <libm-alias-double.h>.
25895 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
25896 <libm-alias-double.h>.
25897 (totalorder): Define using libm_alias_double.
25898 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
25899 <libm-alias-double.h>.
25900 (totalordermag): Define using libm_alias_double.
25901 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
25902 libc compat symbol here.
25903 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
25904 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
25905 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
25906 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
25907 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
25908 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
25909 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
25910 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
25911 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
25912 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
25914 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25916 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
25917 _dl_relocate_static_pie instead of _dl_start to compute load
25918 address in static PIE. Return 0 if _DYNAMIC is undefined for
25921 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25923 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
25924 _DYNAMIC is undefined for static executable.
25926 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25928 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
25930 2017-09-29 Joseph Myers <joseph@codesourcery.com>
25932 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25934 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
25936 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
25937 (__ieee754_lgamma_r): Use fabs rather than __fabs.
25938 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25939 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25940 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
25941 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
25942 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
25943 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
25944 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
25945 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
25946 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
25947 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
25948 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
25949 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
25950 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
25951 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
25952 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
25954 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
25956 * math/bits/cmathcalls.h (cimag): Remove inline.
25957 (creal): Remove inline.
25958 (conj): Remove inline.
25960 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25962 * math/Makefile (type-float-routines): Add e_powf_log2_data.
25963 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
25964 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
25965 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
25966 (issignalingf_inline): Likewise.
25967 (POWF_LOG2_TABLE_BITS): Likewise.
25968 (POWF_LOG2_POLY_ORDER): Likewise.
25969 (POWF_SCALE_BITS): Likewise.
25970 (POWF_SCALE): Likewise.
25971 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
25972 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
25973 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
25975 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25977 * math/Makefile (type-float-routines): Add e_log2f_data.
25978 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
25979 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
25980 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
25981 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
25982 * sysdeps/i386/fpu/e_log2f_data.c: New file.
25983 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
25984 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
25986 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25988 * math/Makefile (type-float-routines): Add e_logf_data.
25989 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
25990 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
25991 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
25992 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
25993 * sysdeps/i386/fpu/e_logf_data.c: New file.
25994 * sysdeps/ia64/fpu/e_logf_data.c: New file.
25995 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
25997 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
25999 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
26000 undefined _DYNAMIC in PIE libc.a.
26001 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26004 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26006 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
26007 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
26008 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
26009 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
26010 (__signbit): Remove.
26011 (__signbitl): Remove.
26012 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
26013 (__signbit): Remove.
26014 (__signbitl): Remove.
26015 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
26016 (__signbit): Remove.
26017 (__signbitl): Remove.
26018 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
26019 (__signbit): Remove.
26020 (__signbitl): Remove.
26021 * sysdeps/tile/bits/mathinline.h: Delete file.
26022 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
26023 (__signbit): Remove.
26024 (__signbitl): Remove.
26026 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26028 * math/math.h: Improve handling of C99 isgreater macros.
26029 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
26030 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
26031 * sysdeps/powerpc/bits/mathinline.h: Likewise.
26032 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26033 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
26035 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
26037 * sysdeps/aarch64/libm-test-ulps: Update.
26039 2017-09-28 Joseph Myers <joseph@codesourcery.com>
26042 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26043 math_opt_barrier on argument when doing arithmetic on it.
26044 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26045 Likewise. Use math_force_eval not math_opt_barrier after
26047 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
26048 math_opt_barrier on argument when doing arithmetic on it.
26049 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26052 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
26054 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
26056 (__freeifaddrs): Likewise.
26058 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
26060 * include/dirent.h (__dirfd): New declaration.
26061 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
26063 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
26064 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
26065 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
26066 * include/unistd.h (__revoke): New declaration.
26067 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
26069 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
26070 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
26072 * include/dirent.h (__seekdir): New declaration.
26073 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
26074 redefine as weak alias.
26075 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
26077 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
26078 and use libc_hidden_def on them.
26079 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
26081 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
26082 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
26083 instead of getifaddrs and freeifaddrs.
26085 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26088 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
26089 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
26090 (__dso_handle): Remove declaration.
26091 * dlfcn/tstatexit.c (__dso_handle): Removed.
26092 (main): Don't check __dso_handle.
26093 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
26094 (main): Don't check __dso_handle.
26095 * include/dso_handle.h: New file.
26096 * malloc/mtrace.c: Include <dso_handle.h>.
26097 (mtrace): Pass __dso_handle directly.
26098 * nptl/pthread_atfork.c: Include <dso_handle.h>.
26099 (__dso_handle): Remove declaration.
26100 (__pthread_atfork): Pass __dso_handle directly.
26101 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
26102 (__dso_handle): Removed.
26103 * posix/wordexp-test.c: Include <dso_handle.h>.
26104 (__dso_handle): Remove declaration.
26105 (__app_register_atfork): Pass __dso_handle directly.
26106 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
26107 (__dso_handle): Remove declaration.
26108 (at_quick_exit): Pass __dso_handle directly.
26109 * stdlib/atexit.c: Include <dso_handle.h>.
26110 (__dso_handle): Remove declaration.
26111 (atexit): Pass __dso_handle directly.
26112 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
26113 (__dso_handle): Removed.
26115 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26117 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
26120 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
26122 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
26123 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
26124 values to correct default value for given type.
26126 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26129 * elf/Makefile (tests): Add tst-debug1.
26130 ($(objpfx)tst-debug1): New.
26131 ($(objpfx)tst-debug1.out): Likewise.
26132 ($(objpfx)tst-debug1mod1.so): Likewise.
26133 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
26134 with p_filesz == 0.
26135 * elf/tst-debug1.c: New file.
26137 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26139 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
26140 Define using __ifunc.
26142 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26144 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
26147 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26150 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
26152 2017-09-26 Florian Weimer <fweimer@redhat.com>
26154 * resolv/Makefile (tests-internal): Fix typo in comment.
26156 2017-09-26 Florian Weimer <fweimer@redhat.com>
26158 * resolv/nss_dns/dns-host.c: Fix typo in comment.
26160 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26162 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
26163 Use an union instead of a max_align_t array for __space,
26164 so that __space is the same size on all platforms.
26165 * malloc/scratch_buffer_grow_preserve.c
26166 (__libc_scratch_buffer_grow_preserve): Likewise.
26169 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
26171 * posix/Makefile (routines): Add glob-lstat-compat and
26172 glob64-lstat-compat.
26173 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
26174 * posix/glob-lstat-compat.c: New file.
26175 * posix/glob64-lstat-compat.c: Likewise.
26176 * posix/tst-glob_lstat_compat.c: Likewise.
26177 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
26178 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
26179 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
26180 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
26182 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
26183 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
26184 * posix/glob.c (glob_lstat): New function.
26185 (glob): Rename to __glob and add versioned symbol to 2.27.
26186 (glob_in_dir): Use glob_lstat.
26187 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
26188 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26189 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
26191 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
26192 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
26193 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
26194 gl_lstat on glob call.
26195 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
26196 and glob64 symbols.
26197 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26198 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26199 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26200 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26201 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26202 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26203 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26204 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26205 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26206 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26207 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26208 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26211 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
26212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26213 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26214 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26215 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26216 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26217 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26218 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26219 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26220 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26221 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26222 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26224 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
26226 * configure.ac (AS): Require binutils 2.25 or later.
26227 * configure: Regenerated.
26229 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26232 * stdlib/test-atexit-race-common.c (do_test): Minimize required
26235 2017-09-25 DJ Delorie <dj@redhat.com>
26238 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
26241 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
26243 * sysdeps/ieee754/dbl-64/sincos32.h
26244 [SINCCOS32_H]: Remove define.
26245 [SINCOS32_H]: Define.
26247 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26249 * math/Versions (expf): New libm symbol at GLIBC_2.27.
26251 * math/w_exp2f.c: New file.
26252 * math/w_expf.c: New file.
26253 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
26254 * math/w_expf_compat.c (__expf_compat): Likewise.
26255 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
26256 * sysdeps/ia64/fpu/e_expf.S: Likewise.
26257 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26258 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26259 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26260 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26261 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26262 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26263 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26264 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26265 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26266 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26267 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26268 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26277 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26278 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26279 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26280 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26281 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26286 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26287 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26288 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26290 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26292 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
26293 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
26294 (roundtoint, converttoint): Likewise.
26295 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
26296 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
26297 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
26298 * sysdeps/ieee754/flt-32/math_config.h: New file.
26299 * sysdeps/ieee754/flt-32/math_errf.c: New file.
26300 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
26301 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
26302 * sysdeps/i386/fpu/math_errf.c: New file.
26303 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
26304 * sysdeps/ia64/fpu/math_errf.c: New file.
26305 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
26306 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
26308 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
26310 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
26311 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
26312 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
26313 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
26314 to make sure that these symbols are defined.
26315 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
26317 (__need_NULL): Do not define.
26318 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
26320 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
26321 CMGROUP_MAX, cmsgcred): Do not define.
26322 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
26324 * bits/socket.h: Likewise.
26325 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
26326 __gettimeofday instead of gettimeofday.
26327 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
26328 instead of settimeofday.
26330 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26332 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
26333 (asinhf): Define using libm_alias_float.
26334 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
26335 (atanf): Define using libm_alias_float.
26336 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
26337 (cbrtf): Define using libm_alias_float.
26338 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
26339 (ceilf): Define using libm_alias_float.
26340 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
26341 <libm-alias-float.h>.
26342 (copysignf): Define using libm_alias_float.
26343 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
26344 (cosf): Define using libm_alias_float.
26345 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
26346 (erff): Define using libm_alias_float.
26348 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
26349 (expm1f): Define using libm_alias_float.
26350 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
26351 (fabsf): Define using libm_alias_float.
26352 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
26353 (floorf): Define using libm_alias_float.
26354 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
26355 (frexpf): Define using libm_alias_float.
26356 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
26358 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
26359 <libm-alias-float.h>.
26360 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
26362 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
26363 <libm-alias-float.h>.
26364 (getpayloadf): Define using libm_alias_float.
26365 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
26366 <libm-alias-float.h>.
26367 (llrintf): Define using libm_alias_float.
26368 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
26369 <libm-alias-float.h>.
26370 (llroundf): Define using libm_alias_float.
26371 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
26372 (logbf): Define using libm_alias_float.
26373 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
26374 (lrintf): Define using libm_alias_float.
26375 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
26376 (lroundf): Define using libm_alias_float.
26377 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
26378 (modff): Define using libm_alias_float.
26379 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
26380 <libm-alias-float.h>.
26381 (nearbyintf): Define using libm_alias_float.
26382 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
26383 <libm-alias-float.h>.
26384 (nextafterf): Define using libm_alias_float.
26385 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
26386 <libm-alias-float.h>.
26387 (nextupf): Define using libm_alias_float.
26388 * sysdeps/ieee754/flt-32/s_remquof.c: Include
26389 <libm-alias-float.h>.
26390 (remquof): Define using libm_alias_float.
26391 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
26392 (rintf): Define using libm_alias_float.
26393 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
26394 <libm-alias-float.h>.
26395 (roundevenf): Define using libm_alias_float.
26396 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
26397 (roundf): Define using libm_alias_float.
26398 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
26399 using libm_alias_float.
26400 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
26401 <libm-alias-float.h>.
26402 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
26403 Define using libm_alias_float.
26404 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
26405 <libm-alias-float.h>.
26406 (sincosf): Define using libm_alias_float.
26407 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
26408 (sinf): Define using libm_alias_float.
26409 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
26410 (tanf): Define using libm_alias_float.
26411 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
26412 (tanhf): Define using libm_alias_float.
26413 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
26414 <libm-alias-float.h>.
26415 (totalorderf): Define using libm_alias_float.
26416 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
26417 <libm-alias-float.h>.
26418 (totalordermagf): Define using libm_alias_float.
26419 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
26420 (truncf): Define using libm_alias_float.
26421 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
26423 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
26426 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26429 math/math.h: Let fpclassify use the builtin in C++ mode, even
26430 when optimazing for size.
26432 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26434 * csu/Makefile (generated): Do not add version-info.h.
26435 (before-compile): Likewise.
26436 (all-Banner-files): Remove variable.
26437 ($(objpfx)version-info.h): Remove rule.
26438 * csu/version.c (banner): Do not include "version-info.h".
26439 * libidn/Banner: Remove.
26440 * manual/contrib.texi (Simon Josefsson): New entry.
26442 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26444 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26445 Remove conditionals on LDBL_MANT_DIG.
26446 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26447 (__ieee754_lgammal_r): Likewise.
26449 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26451 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
26453 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
26454 _Float128 and L(). Replace _Float128 with long double and L(x)
26455 with xL, throughout the file.
26456 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26457 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26458 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26459 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26461 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26463 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
26464 sysdeps/ieee754/ldbl-128ibm.
26465 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
26466 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
26467 of including it. Keep _Float128 and L() intact. These will be
26468 reviewed by a separate patch.
26469 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26470 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26471 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26472 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26474 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
26477 (__finitef128): Define to __redirect___finitef128.
26478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
26479 (__isinff128): Define to __redirect___isinff128.
26480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
26481 (__isnanf128): Define to __redirect___isnanf128.
26483 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26485 * sysdeps/powerpc/powerpc64le/Makefile
26486 (CFLAGS-tst-strtod-nan-locale.c): New variable.
26487 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
26489 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
26490 Carlos O'Donell <carlos@redhat.com>
26493 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
26494 * stdlib/test-dlclose-exit-race.c: New file.
26495 * stdlib/test-dlclose-exit-race-helper.c: New file.
26496 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
26498 2017-09-21 Joseph Myers <joseph@codesourcery.com>
26500 * crypt/Banner: Remove file.
26501 * nptl/Banner: Likewise.
26502 * resolv/Banner: Likewise.
26503 * soft-fp/Banner: Likewise.
26504 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
26505 ($(objpfx)version.d): Remove dependency on banner.h.
26506 ($(objpfx)version.os): Likewise.
26507 * nptl/version.c (banner): Do not include banner.h.
26508 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
26509 Jelinek and BIND code.
26511 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26512 Carlos O'Donell <carlos@redhat.com>
26514 * support/xdlfcn.h: New file.
26515 * support/xdlfcn.c: New file.
26516 * support/Makefile (libsupport-routines): Add xdlfcn.
26517 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
26519 2017-09-20 Joseph Myers <joseph@codesourcery.com>
26522 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26523 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
26524 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
26525 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
26526 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
26527 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
26528 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
26529 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
26531 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26532 Ricky Zhou <rickyz@google.com>
26533 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26536 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
26538 (__new_exitfn): Fail registration when we finished at_exit processing.
26539 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26540 * stdlib/on_exit.c (__on_exit): Likewise.
26541 * stdlib/exit.c (__exit_funcs_done): New variable.
26542 (__run_exit_handlers): Use __exit_funcs_lock.
26543 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
26545 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
26546 (test-cxa_atexit-race, test-on_exit-race): New tests.
26547 * stdlib/test-atexit-race-common.c: New file.
26548 * stdlib/test-atexit-race.c: New file.
26549 * stdlib/test-at_quick_exit-race.c: New file.
26550 * stdlib/test-cxa_atexit-race.c: New file.
26551 * stdlib/test-on_exit-race.c: New file.
26553 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
26555 * benchtests/Makefile: Add exp2f and log2f benchmarks.
26556 * benchtests/exp2f-inputs: Copy of expf-inputs.
26557 * benchtests/log2f-inputs: Copy of logf-inputs.
26559 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26561 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
26562 Explicitly take address of first element of array arguments in
26563 call to INLINE_SYSCALL.
26565 2017-09-19 Andreas Schwab <schwab@suse.de>
26568 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
26570 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
26572 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
26573 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
26574 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26575 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
26576 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26577 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26578 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26579 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26580 * posix/Makefile (tests): Add tst-fexecve.
26581 * posix/tst-fexecve.c: New file.
26583 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26585 * benchtests/Makefile: Add logf benchmark.
26586 * benchtests/logf-inputs: Add reduced trace from wrf_r.
26588 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26590 * benchtests/Makefile: Add expf benchmark.
26591 * benchtests/expf-inputs: Add reduced trace from wrf_r.
26593 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26595 * csu/Makefile: Add -funwind-tables to libc-start.c.
26596 * debug/Makefile: Add -funwind-tables to backtrace.c.
26597 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
26598 * sysdeps/arm/Makefile: Likewise.
26599 * sysdeps/i386/Makefile: Likewise.
26600 * sysdeps/m68k/Makefile: Likewise.
26601 * sysdeps/mips/Makefile: Likewise.
26602 * sysdeps/nios2/Makefile: Likewise.
26603 * sysdeps/sh/Makefile: Likewise.
26604 * sysdeps/sparc/Makefile: Likewise.
26606 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26608 * benchtests/Makefile (bench-math): Add trunc and truncf.
26609 (CFLAGS-bench-trunc.c): New variable.
26610 (CFLAGS-bench-truncf.c): Likewise.
26611 * benchtests/trunc-inputs: New file.
26612 * benchtests/truncf-inputs: Likewise.
26614 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26616 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
26618 2017-09-18 Joseph Myers <joseph@codesourcery.com>
26620 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
26621 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
26623 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26624 (exp10l): Define as weak alias.
26625 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
26626 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
26628 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
26629 (remainderl): Define as weak alias.
26631 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
26632 (fmal): Define using libm_alias_ldouble.
26633 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
26634 (acoshl): Define using libm_alias_ldouble.
26635 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
26636 (acosl): Define using libm_alias_ldouble.
26637 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
26638 (asinl): Define using libm_alias_ldouble.
26639 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
26640 (atan2l): Define using libm_alias_ldouble.
26641 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
26642 (atanhl): Define using libm_alias_ldouble.
26643 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
26644 (coshl): Define using libm_alias_ldouble.
26645 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
26646 (exp10l): Define using libm_alias_ldouble.
26647 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
26648 (exp2l): Define using libm_alias_ldouble.
26649 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
26650 (expl): Define using libm_alias_ldouble.
26651 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
26652 (fmodl): Define using libm_alias_ldouble.
26653 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
26654 (hypotl): Define using libm_alias_ldouble.
26655 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
26656 (j0l): Define using libm_alias_ldouble.
26658 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
26659 (j1l): Define using libm_alias_ldouble.
26661 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
26662 (jnl): Define using libm_alias_ldouble.
26664 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
26665 (log10l): Define using libm_alias_ldouble.
26666 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
26667 (log2l): Define using libm_alias_ldouble.
26668 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
26669 (logl): Define using libm_alias_ldouble.
26670 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
26671 (powl): Define using libm_alias_ldouble.
26672 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
26673 (remainderl): Define using libm_alias_ldouble.
26674 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
26675 (sinhl): Define using libm_alias_ldouble.
26676 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
26677 (sqrtl): Define using libm_alias_ldouble.
26678 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
26679 (tgammal): Define using libm_alias_ldouble.
26680 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
26681 (exp10l): Do not use long_double_symbol here.
26682 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26683 [LIBM_SVID_COMPAT] (remainderl): Likewise.
26684 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
26685 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
26686 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
26687 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
26688 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
26689 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
26690 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
26691 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
26692 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
26693 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
26694 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
26695 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
26696 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
26697 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
26698 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
26699 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
26700 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
26701 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
26702 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
26703 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
26705 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
26707 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
26708 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
26710 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
26712 * io/read.c (read): Add libc_hidden_weak.
26713 * sysdeps/mach/hurd/read.c (read): Likewise.
26714 * io/write.c (write): Likewise.
26715 * sysdeps/mach/hurd/write.c (write): Likewise.
26716 * io/pread64.c (__pread64): Likewise.
26717 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
26718 * posix/pread64.c (__pread64): Add libc_hidden_def.
26720 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
26722 * benchtests/scripts/compare_strings.py: New option -g.
26723 (draw_graph): Print a message that a graph is being generated.
26724 (process_results): Generate graph only if -g is passed.
26725 (main): Process option -g.
26727 * benchtests/scripts/compare_strings.py (process_results):
26728 Better spacing for output.
26730 * benchtests/scripts/compare_strings.py: Use argparse.
26731 * benchtests/README: Document existence of compare_strings.py.
26733 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26735 * math/s_fma.c: Include <libm-alias-double.h>.
26736 (fma): Define using libm_alias_double.
26737 * math/s_nextafter.c: Include <libm-alias-double.h>.
26738 (nextafter): Define using libm_alias_double.
26739 * math/w_acos_compat.c: Include <libm-alias-double.h>.
26740 (acos): Define using libm_alias_double.
26741 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
26742 (aocsh): Define using libm_alias_double.
26743 * math/w_asin_compat.c: Include <libm-alias-double.h>.
26744 (asin): Define using libm_alias_double.
26745 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
26746 (atan2): Define using libm_alias_double.
26747 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
26748 (atanh): Define using libm_alias_double.
26749 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
26750 (cosh): Define using libm_alias_double.
26751 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
26752 (exp10): Define using libm_alias_double.
26753 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
26754 (exp2): Define using libm_alias_double.
26755 * math/w_exp_compat.c: Include <libm-alias-double.h>.
26756 (exp): Define using libm_alias_double.
26757 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
26758 (fmod): Define using libm_alias_double.
26759 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
26760 (hypot): Define using libm_alias_double.
26761 * math/w_j0_compat.c: Include <libm-alias-double.h>.
26762 (j0): Define using libm_alias_double.
26764 * math/w_j1_compat.c: Include <libm-alias-double.h>.
26765 (j1): Define using libm_alias_double.
26767 * math/w_jn_compat.c: Include <libm-alias-double.h>.
26768 (jn): Define using libm_alias_double.
26770 * math/w_log10_compat.c: Include <libm-alias-double.h>.
26771 (log10): Define using libm_alias_double.
26772 * math/w_log2_compat.c: Include <libm-alias-double.h>.
26773 (log2): Define using libm_alias_double.
26774 * math/w_log_compat.c: Include <libm-alias-double.h>.
26775 (log): Define using libm_alias_double.
26776 * math/w_pow_compat.c: Include <libm-alias-double.h>.
26777 (pow): Define using libm_alias_double.
26778 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
26779 (remainder): Define using libm_alias_double.
26780 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
26781 (sinh): Define using libm_alias_double.
26782 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
26783 (sqrt): Define using libm_alias_double.
26784 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
26785 (tgamma): Define using libm_alias_double.
26786 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
26787 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
26788 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
26789 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
26790 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
26791 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
26792 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
26793 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
26794 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
26795 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
26796 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
26797 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
26798 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
26799 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
26800 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
26801 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
26802 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
26803 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
26804 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
26805 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
26806 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
26807 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
26808 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
26809 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
26810 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
26812 * math/e_acoshl.c: Remove.
26813 * math/e_acosl.c: Likewise.
26814 * math/e_asinl.c: Likewise.
26815 * math/e_atan2l.c: Likewise.
26816 * math/e_atanhl.c: Likewise.
26817 * math/e_coshl.c: Likewise.
26818 * math/e_expl.c: Likewise.
26819 * math/e_fmodl.c: Likewise.
26820 * math/e_gammal_r.c: Likewise.
26821 * math/e_hypotl.c: Likewise.
26822 * math/e_j0l.c: Likewise.
26823 * math/e_j1l.c: Likewise.
26824 * math/e_jnl.c: Likewise.
26825 * math/e_lgammal_r.c: Likewise.
26826 * math/e_log10l.c: Likewise.
26827 * math/e_log2l.c: Likewise.
26828 * math/e_logl.c: Likewise.
26829 * math/e_powl.c: Likewise.
26830 * math/e_rem_pio2l.c: Likewise.
26831 * math/e_sinhl.c: Likewise.
26832 * math/e_sqrtf128.c: Likewise.
26833 * math/e_sqrtl.c: Likewise.
26834 * math/k_cosl.c: Likewise.
26835 * math/k_sinl.c: Likewise.
26836 * math/k_tanl.c: Likewise.
26837 * math/s_asinhl.c: Likewise.
26838 * math/s_atanl.c: Likewise.
26839 * math/s_cbrtl.c: Likewise.
26840 * math/s_erfl.c: Likewise.
26841 * math/s_expm1l.c: Likewise.
26842 * math/s_log1pl.c: Likewise.
26843 * math/s_tanhl.c: Likewise.
26845 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26848 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
26849 [$(subdir) = math] (sysdep_calls): New variable. Has the
26850 previous contents of sysdep_routines, but re-sorted..
26851 [$(subdir) = math] (sysdep_routines): Re-use the contents from
26853 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
26854 defined in sysdep_calls and replace by the respective m_* names.
26855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
26856 (compat_symbol): Undefine to avoid duplicated compat symbols in
26859 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26861 * math/s_fmaf.c: Include <libm-alias-float.h>.
26862 (fmaf): Define using libm_alias_float.
26863 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
26864 (acosf): Define using libm_alias_float.
26865 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
26866 (acoshf): Define using libm_alias_float.
26867 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
26868 (asinf): Define using libm_alias_float.
26869 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
26870 (atan2f): Define using libm_alias_float.
26871 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
26872 (atanhf): Define using libm_alias_float.
26873 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
26874 (coshf): Define using libm_alias_float.
26875 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
26876 (exp10f): Define using libm_alias_float.
26877 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
26878 (fmodf): Define using libm_alias_float.
26879 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
26880 (hypotf): Define using libm_alias_float.
26881 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
26882 (j0f): Define using libm_alias_float.
26884 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
26885 (j1f): Define using libm_alias_float.
26887 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
26888 (jnf): Define using libm_alias_float.
26890 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
26891 (log10f): Define using libm_alias_float.
26892 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
26893 (log2f): Define using libm_alias_float.
26894 * math/w_logf_compat.c: Include <libm-alias-float.h>.
26895 (logf): Define using libm_alias_float.
26896 * math/w_powf_compat.c: Include <libm-alias-float.h>.
26897 (powf): Define using libm_alias_float.
26898 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
26899 (remainderf): Define using libm_alias_float.
26900 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
26901 (sinhf): Define using libm_alias_float.
26902 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
26903 (sqrtf): Define using libm_alias_float.
26904 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
26905 (tgammaf): Define using libm_alias_float.
26907 2017-09-14 Joseph Myers <joseph@codesourcery.com>
26909 * include/math.h (roundeven): Change hidden_proto call to
26911 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
26913 [NO_LONG_DOUBLE] (__j0l): New strong alias.
26914 (y0): Rename to __y0 and define as weak alias.
26915 [NO_LONG_DOUBLE] (__y0l): New strong alias.
26916 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
26918 (y0f): Rename to __y0f and define as weak alias.
26919 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
26921 [NO_LONG_DOUBLE] (__j1l): New strong alias.
26922 (y1): Rename to __y1 and define as weak alias.
26923 [NO_LONG_DOUBLE] (__y1l): New strong alias.
26924 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
26926 (y1f): Rename to __y1f and define as weak alias.
26927 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
26929 [NO_LONG_DOUBLE] (__jnl): New strong alias.
26930 (yn): Rename to __yn and define as weak alias.
26931 [NO_LONG_DOUBLE] (__ynl): New strong alias.
26932 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
26934 (ynf): Rename to __ynf and define as weak alias.
26935 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
26936 (fromfp): Define as weak alias.
26937 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
26938 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
26939 (fromfpx): Define as weak alias.
26940 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
26941 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
26942 __getpayload and define as weak alias.
26943 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
26944 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
26945 __roundeven and define as weak alias.
26946 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
26947 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
26949 (setpayload): Define as weak alias.
26950 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
26951 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
26953 (setpayloadsig): Define as weak alias.
26954 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
26955 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
26956 __totalorder and define as weak alias.
26957 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
26958 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
26959 to __totalordermag and define as weak alias.
26960 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
26961 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
26962 (ufromfp): Define as weak alias.
26963 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
26964 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
26966 (ufromfpx): Define as weak alias.
26967 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
26968 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
26969 Rename to __getpayload and define as weak alias.
26970 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
26971 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
26972 Rename to __roundeven and define as weak alias.
26973 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
26974 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
26975 Rename to __totalorder and define as weak alias.
26976 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
26977 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
26978 (totalordermag): Rename to __totalordermag and define as weak
26980 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
26981 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
26983 (__roundevenl): Likewise.
26984 (__totalorderl): Likewise.
26985 (__totalordermagl): Likewise
26986 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
26988 (fromfpf128): Define as weak alias.
26989 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
26991 (fromfpxf128): Define as weak alias.
26992 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
26994 (setpayloadf128): Define as weak alias.
26995 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
26996 __setpayloadsigf128.
26997 (setpayloadsigf128): Define as weak alias.
26998 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
27000 (ufromfpf128): Define as weak alias.
27001 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
27003 (ufromfpxf128): Define as weak alias.
27004 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
27005 (fromfpf): Define as weak alias.
27006 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
27008 (fromfpxf): Define as weak alias.
27009 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
27010 __getpayloadf and define as weak alias.
27011 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
27012 __roundevenf and define as weak alias.
27013 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
27015 (setpayloadf): Define as weak alias.
27016 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
27018 (setpayloadsigf): Define as weak alias.
27019 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
27020 __totalorderf and define as weak alias.
27021 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
27022 Rename to __totalordermagf and define as weak alias.
27023 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
27025 (ufromfpf): Define as weak alias.
27026 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
27028 (ufromfpxf): Define as weak alias.
27029 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
27031 (fromfpl): Define as weak alias.
27032 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
27034 (fromfpxl): Define as weak alias.
27035 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
27036 to __getpayloadl and define as weak alias.
27037 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
27038 __roundevenl and define as weak alias.
27039 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
27041 (setpayloadl): Define as weak alias.
27042 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
27044 (setpayloadsigl): Define as weak alias.
27045 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
27046 to __totalorderl and define as weak alias.
27047 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
27048 Rename to __totalordermagl and define as weak alias.
27049 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
27051 (ufromfpl): Define as weak alias.
27052 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
27054 (ufromfpxl): Define as weak alias.
27055 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
27057 (fromfpl): Define as weak alias.
27058 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
27060 (fromfpxl): Define as weak alias.
27061 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
27062 Rename to __getpayloadl and define as weak alias.
27063 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
27064 to __roundevenl and define as weak alias. Call __roundeven
27065 instead of roundeven.
27066 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
27068 (setpayloadl): Define as weak alias.
27069 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
27071 (setpayloadsigl): Define as weak alias.
27072 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
27073 Rename to __totalorderl and define as weak alias.
27074 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
27075 Rename to __totalordermagl and define as weak alias.
27076 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
27078 (ufromfpl): Define as weak alias.
27079 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
27081 (ufromfpxl): Define as weak alias.
27082 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
27084 (fromfpl): Define as weak alias.
27085 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
27087 (fromfpxl): Define as weak alias.
27088 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
27089 __getpayloadl and define as weak alias.
27090 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
27091 __roundevenl and define as weak alias.
27092 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
27094 (setpayloadl): Define as weak alias.
27095 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
27097 (setpayloadsigl): Define as weak alias.
27098 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
27099 __totalorderl and define as weak alias.
27100 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
27101 Rename to __totalordermagl and define as weak alias.
27102 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
27104 (ufromfpl): Define as weak alias.
27105 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
27107 (ufromfpxl): Define as weak alias.
27109 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
27111 * benchtests/bench-string.h (realloc_bufs): New function.
27112 (test_init): Call it.
27113 * benchtests/bench-memset-large.c (do_test): Likewise.
27114 * benchtests/bench-memset.c (do_test): Likewise.
27116 * benchtests/bench-memset-large.c: Print output in JSON
27118 * benchtests/bench-memset.c: Likewise.
27120 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27123 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
27124 * iconvdata/Makefile: Add IBM858.
27125 * iconvdata/gconv-modules: Likewise.
27126 * iconvdata/tst-tables.sh: Likewise.
27127 * iconvdata/ibm858.c: New file.
27128 * localedata/charmaps/IBM858: Likewise.
27130 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
27133 * locales/niu_NZ (LC_TIME): copy "niu_NU".
27134 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
27136 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27139 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
27140 and add tel_int_fmt.
27142 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27144 * sysdeps/generic/libm-alias-float128.h: New file.
27145 * sysdeps/generic/math-type-macros-float128.h: Include
27146 <libm-alias-float128.h>.
27147 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27149 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27151 * sysdeps/generic/libm-alias-ldouble.h: New file.
27152 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
27153 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
27154 * sysdeps/generic/math-type-macros-ldouble.h: Include
27155 <libm-alias-ldouble.h>.
27156 [!declare_mgen_alias] (declare_mgen_alias): Define to use
27157 libm_alias_ldouble.
27159 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
27161 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
27162 * math/w_exp_compat.c: ... here.
27163 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
27164 * math/w_expf_compat.c: ... here.
27165 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
27166 * math/w_expl_compat.c: ... here.
27167 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
27168 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
27169 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
27170 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27172 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27174 * math/w_scalbln_template.c (strong_alias): Do not undefine and
27176 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
27178 (ldexpl): Only define as compat symbol for libc, not libm.
27179 (scalbnl): Define as compat symbol for libc here.
27180 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
27181 define for [IS_IN (libc)].
27182 (__ldexpl_2): Remove alias.
27183 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
27184 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
27185 name in long_double_symbol call.
27186 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
27187 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27188 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27189 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
27190 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
27192 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
27193 Define as compat symbol.
27195 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27197 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
27198 * sysdeps/unix/sysv/linux/alpha/Makefile
27199 [$(subdir) = csu] (sysdep_routines): Remove rule.
27201 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27203 * sysdeps/generic/libm-alias-double.h: New file.
27204 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
27205 * sysdeps/generic/math-type-macros-double.h: Include
27206 <libm-alias-double.h>.
27207 [declare_mgen_alias] (declare_mgen_alias): Define to use
27209 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
27210 (M_LIBM_NEED_COMPAT): Remove macro.
27211 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
27212 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
27213 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
27215 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27216 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27217 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27218 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27219 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27220 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27221 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27222 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27223 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27224 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27225 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27226 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27227 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27228 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27229 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27230 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27231 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27232 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27233 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27234 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27235 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27236 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27237 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27238 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27239 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27240 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27241 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27242 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
27243 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
27245 (declare_mgen_alias): New macro.
27246 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
27247 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
27248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
27249 (M_LIBM_NEED_COMPAT): Remove macro.
27250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
27251 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
27252 <first-versions.h>.
27253 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
27254 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
27256 2017-09-12 Joseph Myers <joseph@codesourcery.com>
27258 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
27259 (declare_mgen_alias_2): Remove.
27260 * sysdeps/generic/math-type-macros-double.h
27261 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
27263 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
27265 (ldexp): Define with declare_mgen_alias.
27266 (scalbn): Likewise.
27268 2017-09-12 Steve Ellcey <sellcey@cavium.com>
27270 * grp/initgroups.c: Include config.h.
27271 (DEFAULT_CONFIG): New macro.
27272 (internal_getgrouplist): Use DEFAULT_CONFIG.
27273 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27274 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
27275 (DEFAULT_DEFCONFIG): New macro.
27276 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
27277 * nss/grp-lookup.c: Include config.h
27278 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
27279 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
27280 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
27281 * manual/nss.texi: Update default values section.
27283 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
27286 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
27288 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
27289 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27290 Handle MathVec_Prefer_No_AVX512.
27291 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
27292 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
27295 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
27297 * posix/sched_primax.c (__sched_get_priority_max): Add
27299 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
27300 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
27301 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
27302 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
27303 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
27304 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
27305 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
27306 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
27309 2017-09-11 Joseph Myers <joseph@codesourcery.com>
27311 * sysdeps/generic/libm-alias-float.h: New file.
27312 * sysdeps/generic/math-type-macros-float.h: Include
27313 <libm-alias-float.h>.
27314 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27316 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
27319 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
27320 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
27321 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
27322 (HWCAP_IMPORTANT): Likewise.
27323 (HWCAP_X86_64): New enum.
27324 (HWCAP_X86_AVX512_1): Updated.
27325 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
27326 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
27327 (modules-names): Add x86_64/tst-x86_64mod-1.
27328 (LDFLAGS-tst-x86_64mod-1.so): New.
27329 ($(objpfx)tst-x86_64-1): Likewise.
27330 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
27331 (tst-x86_64-1-clean): Likewise.
27332 * sysdeps/x86_64/tst-x86_64-1.c: New file.
27333 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
27335 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
27337 * po/sv.po: Update translations.
27338 * po/fr.po: Likewise.
27340 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27342 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
27344 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
27346 * elf/rtld-Rules: Fix $(error) use.
27348 2017-09-09 Mike FABIAN <mfabian@redhat.com>
27351 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
27352 * locale/iso-639.def: Change “Bengali” to “Bangla”.
27353 * localedata/locales/bn_BD: “Bengali” was still used in some
27354 comments. Change it to “Bangla”.
27356 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
27358 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
27360 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27362 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
27363 thunderx2t99p1 to list of cpu names.
27364 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
27365 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
27367 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27369 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
27370 Use strcmp instead of tunable_is_name.
27372 2017-09-08 Joseph Myers <joseph@codesourcery.com>
27374 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27375 (F_GET_RW_HINT): New macro.
27376 [__USE_GNU] (F_SET_RW_HINT): Likewise.
27377 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
27378 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
27379 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
27380 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
27381 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
27382 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
27383 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
27384 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
27386 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27387 (F_ADD_SEALS): New macro.
27388 [__USE_GNU] (F_GET_SEALS): Likewise.
27389 [__USE_GNU] (F_SEAL_SEAL): Likewise.
27390 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
27391 [__USE_GNU] (F_SEAL_GROW): Likewise.
27392 [__USE_GNU] (F_SEAL_WRITE): Likewise.
27394 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27396 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
27397 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
27398 * posix/glob_internal.h (__glob_pattern_type):
27399 * posix/glob.c (glob):
27400 * posix/glob_pattern_p.c (__glob_pattern_p):
27403 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
27404 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27405 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
27406 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
27407 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
27409 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
27410 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
27411 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27412 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27413 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27414 * sysdeps/wordsize-64/glob.c: Likewise.
27415 * sysdeps/wordsize-64/glob64.c: Likewise.
27416 * sysdeps/wordsize-64/globfree.c: Likewise.
27417 * sysdeps/wordsize-64/globfree64.c: Likewise.
27418 * sysdeps/unix/sysv/linux/glob.c: New file.
27419 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
27420 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
27421 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
27422 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27423 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
27424 adds !GLOB_NO_OLD_VERSION as an extra condition.
27425 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
27426 using relative path instead of absolute one.
27427 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
27428 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27429 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27430 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
27431 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
27432 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
27435 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
27436 (glob): Use the same scratch buffer for both getlogin_r and
27437 getpwnam_r. Don’t require preallocation of the login name. This
27438 simplifies storage allocation, and corrects the handling of
27442 * posix/glob.c (glob): Port recent patches to platforms
27443 lacking getpwnam_r.
27444 (glob): Fix longstanding misuse of errno after getpwnam_r, which
27445 returns an error number rather than setting errno.
27447 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
27448 instead of GCC extension.
27449 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
27450 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
27451 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
27455 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
27456 * posix/bug-glob1.c: Remove file.
27457 * posix/tst-glob_symlinks.c: New file.
27458 * posix/glob.c (__lstat64): New macro.
27459 (is_dir): New function.
27460 (glob, glob_in_dir): Match symlinks even if they are dangling.
27461 (link_stat, link_exists_p): Remove. All uses removed.
27465 * posix/glob.c (struct readdir_result): Remove skip_entry member.
27466 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
27471 * posix/Makefile (routines): Add globfree, globfree64, and
27473 * posix/flexmember.h: New file.
27474 * posix/glob_internal.h: Likewise.
27475 * posix/glob_pattern_p.c: Likewise.
27476 * posix/globfree.c: Likewise.
27477 * posix/globfree64.c: Likewise.
27478 * sysdeps/gnu/globfree64.c: Likewise.
27479 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
27480 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27481 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
27482 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27483 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27484 * sysdeps/wordsize-64/globfree.c: Likewise.
27485 * sysdeps/wordsize-64/globfree64.c: Likewise.
27486 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
27487 [NDEBUG): Remove comments.
27488 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
27489 (dirent_type): New type. Use uint_fast8_t not
27490 uint8_t, as C99 does not require uint8_t.
27491 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
27492 (struct readdir_result): Use dirent_type. Do not define skip_entry
27493 unless it is needed; this saves a byte on platforms lacking d_ino.
27494 (readdir_result_type, readdir_result_skip_entry):
27495 New functions, replacing ...
27496 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
27497 these functions, which were removed. This makes the callers
27498 easier to read. All callers changed.
27499 (D_INO_TO_RESULT): Now empty if there is no d_ino.
27500 (size_add_wrapv, glob_use_alloca): New static functions.
27501 (glob, glob_in_dir): Check for size_t overflow in several places,
27502 and fix some size_t checks that were not quite right.
27503 Remove old code using SHELL since Bash no longer
27505 (glob, prefix_array): Separate MS code better.
27506 (glob_in_dir): Remove old Amiga and VMS code.
27507 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
27509 (glob_in_dir): Do not rely on undefined behavior in accessing
27510 struct members beyond their bounds. Use a flexible array member
27512 (link_stat): Rename from link_exists2_p and return -1/0 instead of
27513 0/1. Caller changed.
27514 (glob): Fix memory leaks.
27515 * posix/glob64 (globfree64): Move to separate file.
27516 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
27517 (globfree64): Remove hidden alias.
27518 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
27520 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
27522 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
27524 Move compat code to separate file.
27525 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
27528 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
27530 * resolv/tst-resolv-qtypes.c (domain): Changed to
27531 "const char domain[] =".
27533 2017-09-07 Joseph Myers <joseph@codesourcery.com>
27535 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
27538 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
27539 (TCP_MD5SIG_EXT): Likewise.
27540 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
27541 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
27542 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
27544 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
27546 2017-09-07 Mike FABIAN <mfabian@redhat.com>
27548 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
27550 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
27553 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
27555 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
27557 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
27558 before assuming that the file is empty. Avoid testing buffer content
27561 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27564 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27566 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
27568 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
27570 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
27572 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27574 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
27576 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
27579 2017-09-06 Florian Weimer <fweimer@redhat.com>
27581 * malloc/dynarray_emplace_enlarge.c
27582 (__libc_dynarray_emplace_enlarge): Add missing else.
27584 2017-09-06 Florian Weimer <fweimer@redhat.com>
27587 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
27588 case of failure to obtain the global conf object.
27590 2017-09-06 Florian Weimer <fweimer@redhat.com>
27593 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
27594 dynarray allocation failure.
27596 2017-09-06 Florian Weimer <fweimer@redhat.com>
27598 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
27599 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
27600 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
27602 (response): Call them. Add 'p', '6' flag processing.
27603 (test_reverse): New function.
27604 (test_get2_any): Call it.
27605 (test_no_inet6): Add 'p' test.
27606 (test_inet6): Likewise.
27608 2017-09-06 Florian Weimer <fweimer@redhat.com>
27610 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
27611 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
27613 (test_gai): Adjust query names. Add additional tests.
27614 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
27615 test_get2. Adjust query names. Add additional tests.
27616 (test_no_inet6): New function, extracted from threadfunc.
27617 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
27618 Add additional tests.
27620 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27623 * localedata/unicode-gen/utf8_gen.py: Set the width for
27624 characters with Prepended_Concatenation_Mark property to 1
27625 * localedata/charmaps/UTF-8: Updated using the improved script.
27627 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27630 * localedata/unicode-gen/utf8_gen.py: Improve the script to
27631 use the range notation for all ranges of neighbouring characters
27632 with the same width.
27634 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27636 * sysdeps/generic/math-type-macros-double.h: Include
27637 <math-svid-compat.h>.
27638 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27639 * sysdeps/generic/math-type-macros-float.h: Include
27640 <math-svid-compat.h>.
27641 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27642 * sysdeps/generic/math-type-macros-ldouble.h: Include
27643 <math-svid-compat.h>.
27644 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27645 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
27647 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
27648 * math/w_acosf_compat.c: Likewise.
27649 * math/w_acosh_compat.c: Likewise.
27650 * math/w_acoshf_compat.c: Likewise.
27651 * math/w_acoshl_compat.c: Likewise.
27652 * math/w_acosl_compat.c: Likewise.
27653 * math/w_asin_compat.c: Likewise.
27654 * math/w_asinf_compat.c: Likewise.
27655 * math/w_asinl_compat.c: Likewise.
27656 * math/w_atan2_compat.c: Likewise.
27657 * math/w_atan2f_compat.c: Likewise.
27658 * math/w_atan2l_compat.c: Likewise.
27659 * math/w_atanh_compat.c: Likewise.
27660 * math/w_atanhf_compat.c: Likewise.
27661 * math/w_atanhl_compat.c: Likewise.
27662 * math/w_cosh_compat.c: Likewise.
27663 * math/w_coshf_compat.c: Likewise.
27664 * math/w_coshl_compat.c: Likewise.
27665 * math/w_exp10_compat.c: Likewise.
27666 * math/w_exp10f_compat.c: Likewise.
27667 * math/w_exp10l_compat.c: Likewise.
27668 * math/w_exp2_compat.c: Likewise.
27669 * math/w_exp2f_compat.c: Likewise.
27670 * math/w_exp2l_compat.c: Likewise.
27671 * math/w_fmod_compat.c: Likewise.
27672 * math/w_fmodf_compat.c: Likewise.
27673 * math/w_fmodl_compat.c: Likewise.
27674 * math/w_hypot_compat.c: Likewise.
27675 * math/w_hypotf_compat.c: Likewise.
27676 * math/w_hypotl_compat.c: Likewise.
27677 * math/w_j0_compat.c: Likewise.
27678 * math/w_j0f_compat.c: Likewise.
27679 * math/w_j0l_compat.c: Likewise.
27680 * math/w_j1_compat.c: Likewise.
27681 * math/w_j1f_compat.c: Likewise.
27682 * math/w_j1l_compat.c: Likewise.
27683 * math/w_jn_compat.c: Likewise.
27684 * math/w_jnf_compat.c: Likewise.
27685 * math/w_jnl_compat.c: Likewise.
27686 * math/w_lgamma_r_compat.c: Likewise.
27687 * math/w_lgammaf_r_compat.c: Likewise.
27688 * math/w_lgammal_r_compat.c: Likewise.
27689 * math/w_log10_compat.c: Likewise.
27690 * math/w_log10f_compat.c: Likewise.
27691 * math/w_log10l_compat.c: Likewise.
27692 * math/w_log2_compat.c: Likewise.
27693 * math/w_log2f_compat.c: Likewise.
27694 * math/w_log2l_compat.c: Likewise.
27695 * math/w_log_compat.c: Likewise.
27696 * math/w_logf_compat.c: Likewise.
27697 * math/w_logl_compat.c: Likewise.
27698 * math/w_pow_compat.c: Likewise.
27699 * math/w_powf_compat.c: Likewise.
27700 * math/w_powl_compat.c: Likewise.
27701 * math/w_remainder_compat.c: Likewise.
27702 * math/w_remainderf_compat.c: Likewise.
27703 * math/w_remainderl_compat.c: Likewise.
27704 * math/w_sinh_compat.c: Likewise.
27705 * math/w_sinhf_compat.c: Likewise.
27706 * math/w_sinhl_compat.c: Likewise.
27707 * math/w_sqrt_compat.c: Likewise.
27708 * math/w_sqrtf_compat.c: Likewise.
27709 * math/w_sqrtl_compat.c: Likewise.
27710 * math/w_tgamma_compat.c: Likewise.
27711 * math/w_tgammaf_compat.c: Likewise.
27712 * math/w_tgammal_compat.c: Likewise.
27713 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
27714 [LIBM_SVID_COMPAT].
27715 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
27716 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
27717 [LIBM_SVID_COMPAT].
27718 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
27719 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
27720 [LIBM_SVID_COMPAT].
27721 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
27722 * sysdeps/i386/fpu/w_sqrt.c: New file.
27723 * sysdeps/ia64/fpu/w_acos.c: Likewise.
27724 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
27725 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
27726 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
27727 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
27728 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
27729 * sysdeps/ia64/fpu/w_asin.c: Likewise.
27730 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
27731 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
27732 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
27733 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
27734 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
27735 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
27736 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
27737 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
27738 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
27739 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
27740 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
27741 * sysdeps/ia64/fpu/w_exp.c: Likewise.
27742 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
27743 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
27744 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
27745 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
27746 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
27747 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
27748 * sysdeps/ia64/fpu/w_expf.c: Likewise.
27749 * sysdeps/ia64/fpu/w_expl.c: Likewise.
27750 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
27751 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
27752 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
27753 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
27754 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
27755 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
27756 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
27757 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
27758 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
27759 * sysdeps/ia64/fpu/w_log.c: Likewise.
27760 * sysdeps/ia64/fpu/w_log10.c: Likewise.
27761 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
27762 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
27763 * sysdeps/ia64/fpu/w_log2.c: Likewise.
27764 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
27765 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
27766 * sysdeps/ia64/fpu/w_logf.c: Likewise.
27767 * sysdeps/ia64/fpu/w_logl.c: Likewise.
27768 * sysdeps/ia64/fpu/w_pow.c: Likewise.
27769 * sysdeps/ia64/fpu/w_powf.c: Likewise.
27770 * sysdeps/ia64/fpu/w_powl.c: Likewise.
27771 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
27772 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
27773 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
27774 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
27775 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
27776 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
27777 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
27778 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
27779 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
27780 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
27781 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
27782 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
27783 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
27784 [LIBM_SVID_COMPAT].
27785 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
27786 * sysdeps/ieee754/k_standard.c: Likewise.
27787 * sysdeps/ieee754/k_standardf.c: Likewise.
27788 * sysdeps/ieee754/k_standardl.c: Likewise.
27789 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
27790 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
27791 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
27792 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
27793 long_double_symbol call on [LIBM_SVID_COMPAT].
27794 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27795 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27796 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27797 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27798 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27799 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27800 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27801 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27802 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27803 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27804 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27805 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27806 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27807 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27808 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27809 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27810 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
27811 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27812 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27813 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27814 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
27815 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
27817 2017-09-05 Steve Ellcey <sellcey@cavium.com>
27819 * include/shlib-compat.h (TEST_COMPAT): New Macro.
27820 * malloc/tst-mallocstate.c: Convert from test-skeleton
27821 to test-driver. Ifdef code using TEST_COMPAT macro.
27822 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
27823 * math/test-matherr.c: Likewise.
27825 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27828 * debug/pcprofiledump.c (main): Use byte-swapped mask when
27829 comparing word with byte-swapped constant.
27831 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
27834 * locale/iso-639.def: add Miskito.
27835 * localedata/SUPPORTED: Add miq_NI/UTF-8.
27836 * localedata/locales/miq_NI: New file.
27838 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
27841 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
27842 (__mkdir): Likewise.
27843 * io/chmod.c (__chmod): Add libc_hidden_def.
27844 * io/mkdir.c (__mkdir): Likewise.
27845 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
27846 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
27847 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
27848 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
27850 2017-09-04 Joseph Myers <joseph@codesourcery.com>
27852 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27856 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
27857 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
27859 2017-09-04 Florian Weimer <fweimer@redhat.com>
27861 * math/math.h: Issue warning if log is defined.
27863 2017-09-04 Joseph Myers <joseph@codesourcery.com>
27865 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
27866 kernel version to 4.13.
27868 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27870 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
27871 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
27873 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
27874 just <bits/types.h>.
27875 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
27876 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
27877 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
27878 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
27879 * misc/preadv2.c: Include <errno.h>.
27880 * misc/preadv64v2.c: Include <errno.h>.
27881 * misc/pwritev2.c: Include <errno.h>.
27882 * misc/pwritev64v2.c: Include <errno.h>.
27883 * sysdeps/posix/preadv2.c: Include <errno.h>.
27884 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
27885 Fix <unistd.h> inclusion.
27886 * sysdeps/posix/pwritev2.c: Include <errno.h>.
27887 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
27888 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
27889 __strtoul_internal): New functions.
27890 * sysdeps/posix/pause.c: Include <sigsetops.h>.
27891 * sysdeps/posix/system.c: Include <sigsetops.h>.
27892 * sysdeps/mach/hurd/i386/Makefile
27893 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
27894 [$(subdir) = csu] (sysdep-only-routines): Likewise.
27895 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
27896 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
27897 __feraiseexcept_renamed to feraiseexcept instead of
27898 __GI_feraiseexcept.
27899 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
27900 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
27901 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
27902 RWF_NOWAIT): Define to 0 if undefined already.
27903 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
27905 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
27906 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
27908 2017-09-01 Joseph Myers <joseph@codesourcery.com>
27910 * manual/math.texi (pow10): Do not document.
27911 (pow10f): Likewise.
27912 (pow10l): Likewise.
27913 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
27914 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
27915 * math/libm-test-exp10.inc (pow10_test): Remove.
27916 (do_test): Do not call pow10.
27917 * math/w_exp10_compat.c (pow10): Make into compat symbol.
27918 [NO_LONG_DOUBLE] (pow10l): Likewise.
27919 * math/w_exp10f_compat.c (pow10f): Likewise.
27920 * math/w_exp10l_compat.c (pow10l): Likewise.
27921 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
27922 (pow10): Make into compat symbol.
27923 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
27924 (pow10f): Make into compat symbol.
27925 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
27926 (pow10l): Make into compat symbol.
27927 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
27929 (CFLAGS-nldbl-pow10.c): Remove variable..
27930 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
27931 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
27932 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
27933 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
27934 Undefine and redefine.
27935 (pow10l): Make into compat symbol.
27936 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
27937 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
27938 * sysdeps/arm/libm-test-ulps: Likewise.
27939 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
27940 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27941 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27942 * sysdeps/microblaze/libm-test-ulps: Likewise.
27943 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
27944 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27945 * sysdeps/nios2/libm-test-ulps: Likewise.
27946 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27947 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
27948 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27949 * sysdeps/sh/libm-test-ulps: Likewise.
27950 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27951 * sysdeps/tile/libm-test-ulps: Likewise.
27952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27954 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
27956 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
27958 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27960 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
27961 "../ChangeLog.old/ChangeLog.8".
27962 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
27963 "../ChangeLog.old/ChangeLog.14".
27965 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27967 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
27970 2017-09-01 Joseph Myers <joseph@codesourcery.com>
27972 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
27974 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27976 * csu/version.c (banner): Remove "by Roland McGrath et al.".
27977 * nptl/Banner: Remove "by Ulrich Drepper et al.".
27979 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
27981 * stdlib/tst-atexit-common.c (do_test): Test support for at least
27982 32 atexit handlers.
27984 2017-09-01 Zack Weinberg <zackw@panix.com>
27986 * math/math.h (HUGE_VAL): Improve commentary.
27988 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27989 Andreas Schwab <schwab@suse.de>
27992 * include/stdio.h (__gen_tempfd): New function.
27993 * stdio-common/Makefile (routines): Add gentempfd.
27994 * stdio-common/gentempfd.c: New file.
27995 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
27996 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
27997 unnamed file first.
27999 2017-09-01 Florian Weimer <fweimer@redhat.com>
28003 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
28004 result to determine success or failure, not the errno value.
28005 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
28006 (tst-nss-files-hosts-erange): Link with -ldl.
28007 * nss/tst-nss-files-hosts-erange.c: New file.
28008 * nss/tst-resolv-basic.c (response): Handle nodata.example.
28009 (do_test): Add NO_DATA tests.
28010 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
28011 (do_test): Call it.
28013 2017-09-01 Florian Weimer <fweimer@redhat.com>
28016 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
28017 coming from gethostbyname2_r.
28019 2017-09-01 Florian Weimer <fweimer@redhat.com>
28021 * support/namespace.h (struct support_chroot_configuration): Add
28023 (struct support_chroot): Add path_hosts, path_host_conf.
28024 * support/support_chroot.c (write_file): New function.
28025 (support_chroot_create): Call it to process /etc/resolv.conf,
28026 /etc/hosts, /etc/host.conf.
28027 (support_chroot_free): Update.
28029 2017-09-01 Florian Weimer <fweimer@redhat.com>
28031 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
28032 status indicates it is set.
28034 2017-09-01 Florian Weimer <fweimer@redhat.com>
28037 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
28038 function lookup failures more reliable.
28040 2017-09-01 Florian Weimer <fweimer@redhat.com>
28042 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
28043 (getcanonname): Likewise.
28044 (gaih_inet): Likewise.
28046 2017-09-01 Florian Weimer <fweimer@redhat.com>
28048 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
28049 (getcanonname): Likewise.
28050 (gaih_inet): Likewise.
28052 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28053 Richard Henderson <rth@twiddle.net>
28055 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
28056 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
28057 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
28058 (IREG_SIZE, OREG_SIZE): New macros.
28059 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
28060 (IREG_SIZE, OREG_SIZE): New macros.
28061 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
28062 (IREG_SIZE): New macro.
28063 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
28064 (IREG_SIZE): New macro.
28065 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
28067 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
28068 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28069 (__CONCATX): Handle exceptions correctly on large values that may
28071 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
28072 Initialize if not already set.
28073 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28075 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28077 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
28078 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
28080 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
28082 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
28084 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
28086 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
28088 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
28090 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
28092 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
28093 (NO_CANCELLATION): Likewise.
28094 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
28096 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
28098 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
28100 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
28101 (NO_CANCELLATION): Likewise.
28102 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
28103 (NO_CANCELLATION): Likewise.
28104 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
28106 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
28108 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
28110 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
28112 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
28114 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
28115 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
28117 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28119 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
28122 2017-08-31 Florian Weimer <fweimer@redhat.com>
28124 * include/libc-symbols.h (internal_function): Remove.
28126 2017-08-31 Florian Weimer <fweimer@redhat.com>
28128 * stdlib/fmtmsg.c (internal_addseverity): Remove
28131 2017-08-31 Florian Weimer <fweimer@redhat.com>
28133 * stdio-common/printf_fp.c (group_number): Remove
28135 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
28137 2017-08-31 Florian Weimer <fweimer@redhat.com>
28139 * posix/fnmatch.c (internal_function): Remove definition.
28140 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
28141 * posix/regcomp.c (peek_token, init_word_char)
28142 (duplicate_node_closure, fetch_token, peek_token)
28143 (peek_token_bracket, build_range_exp, build_collating_symbol):
28145 * posix/regex_internal.c (re_string_construct_common)
28146 (create_ci_newstate, create_cd_newstate, re_string_allocate)
28147 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
28148 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
28149 (re_string_translate_buffer, re_string_reconstruct)
28150 (re_string_peek_byte_case, re_string_fetch_byte_case)
28151 (re_string_destruct, re_string_context_at, re_node_set_alloc)
28152 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
28153 (re_node_set_add_intersect, re_node_set_init_union)
28154 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
28155 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
28156 (re_dfa_add_node, calc_state_hash, re_acquire_state)
28157 (re_acquire_state_context): Likewise.
28158 * posix/regex_internal.h (internal_function): Remove definition.
28159 (re_string_realloc_buffers, build_wcs_buffer)
28160 (build_wcs_upper_buffer, build_upper_buffer)
28161 (re_string_translate_buffer, re_string_context_at)
28162 (re_string_char_size_at, re_string_wchar_at)
28163 (re_string_elem_size_at): Likewise.
28164 * posix/regexec.c (match_ctx_init, match_ctx_clean)
28165 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
28166 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
28167 (re_search_internal, re_search_2_stub, re_search_stub)
28168 (re_copy_regs, prune_impossible_nodes, check_matching)
28169 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
28170 (free_fail_stack_return, sift_states_iter_mb)
28171 (sift_states_backward, build_sifted_states)
28172 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
28173 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
28174 (check_subexp_limits, sift_states_bkref, merge_state_array)
28175 (find_recover_state, transit_state, merge_state_with_log)
28176 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
28177 (transit_state_mb, transit_state_bkref, get_subexp)
28178 (get_subexp_sub, find_subexp_node, check_arrival)
28179 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
28180 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
28181 (check_node_accept_bytes, find_collation_sequence_value)
28182 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
28183 (acquire_init_state_context, check_halt_node_context)
28184 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
28185 (sub_epsilon_src_nodes): Likewise.
28186 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
28187 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
28188 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
28189 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
28190 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
28191 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
28192 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
28193 * sysdeps/posix/ttyname.c (getttyname): Likewise.
28194 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
28195 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
28196 (PREADV): Likewise.
28197 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
28198 (PREADV): Likewise.
28199 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
28200 (PWRITEV): Likewise.
28201 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
28202 (PWRITEV): Likewise.
28203 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
28204 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28206 2017-08-31 Florian Weimer <fweimer@redhat.com>
28208 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
28209 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
28210 Remove internal_function.
28211 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28212 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
28213 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
28214 (__deallocate_stack, __libc_pthread_init)
28215 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
28216 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
28217 (__libc_disable_asynccancel, __librt_disable_asynccancel):
28219 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
28220 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
28221 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
28223 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
28224 (__pthread_mutex_unlock_usercnt): Likewise.
28226 2017-08-31 Florian Weimer <fweimer@redhat.com>
28228 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
28229 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
28230 (fts_safe_changedir): Remove internal_function.
28231 * io/ftw.c (internal_function): Remove definition.
28232 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
28234 2017-08-31 Florian Weimer <fweimer@redhat.com>
28236 * inet/deadline.c (__deadline_current_time)
28237 (__deadline_from_timeval, __deadline_to_ms): Remove
28239 * inet/getnameinfo.c (nrl_domainname): Likewise.
28240 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
28241 * inet/inet6_option.c (add_pad): Likewise.
28242 * inet/net-internal.h (__deadline_current_time)
28243 (__deadline_from_timeval, __deadline_to_ms): Likewise.
28244 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
28245 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
28246 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
28248 2017-08-31 Joseph Myers <joseph@codesourcery.com>
28250 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
28251 include <bits/nan.h>.
28252 * math/Makefile (headers): Remove bits/nan.h.
28253 * bits/nan.h: Remove.
28254 * sysdeps/ieee754/bits/nan.h: Likewise.
28255 * sysdeps/mips/bits/nan.h: Likewise.
28257 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
28258 not include <bits/inf.h>.
28259 * math/Makefile (headers): Remove bits/inf.h.
28260 * bits/inf.h: Remove.
28261 * sysdeps/ieee754/bits/inf.h: Likewise.
28263 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
28264 bits/huge_vall.h or bits/huge_val_flt128.h.
28265 (HUGE_VAL): Define directly here.
28266 [__USE_ISOC99] (HUGE_VALF): Likewise.
28267 [__USE_ISOC99] (HUGE_VALL): Likewise.
28268 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28269 (HUGE_VAL_F128): Likewise.
28270 * math/Makefile (headers): Remove bits/huge_val.h,
28271 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
28272 * bits/huge_val.h: Remove.
28273 * bits/huge_val_flt128.h: Likewise.
28274 * bits/huge_valf.h: Likewise.
28275 * bits/huge_vall.h: Likewise.
28276 * sysdeps/ia64/bits/huge_vall.h: Likewise.
28277 * sysdeps/ieee754/bits/huge_val.h: Likewise.
28278 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
28279 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
28280 * sysdeps/sh/bits/huge_val.h: Likewise.
28281 * sysdeps/sparc/bits/huge_vall.h: Likewise.
28282 * sysdeps/x86/bits/huge_vall.h: Likewise.
28284 2017-08-31 Florian Weimer <fweimer@redhat.com>
28286 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
28288 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
28290 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
28291 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
28292 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
28293 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
28294 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28295 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
28296 * elf/dl-libc.c (dlerror_run): Likewise.
28297 * elf/dl-load.c (add_name_to_object, decompose_rpath)
28298 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
28299 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
28300 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
28302 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
28303 (_dl_higher_prime_number, _dl_strtoul): Likewise.
28304 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
28305 * elf/dl-profile.c (_dl_start_profile): Likewise.
28306 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
28307 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
28309 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
28310 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
28311 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
28312 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
28313 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
28314 (_dl_allocate_tls_storage): Likewise.
28315 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
28316 (_dl_check_all_versions): Likewise.
28317 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
28318 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
28319 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
28320 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28321 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
28322 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
28323 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
28324 internal_function from __dl_start.
28325 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
28326 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
28327 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
28328 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
28329 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
28330 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
28331 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
28332 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
28333 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
28334 (_dl_next_ld_env_entry, _dl_important_hwcaps)
28335 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
28336 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
28337 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
28338 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
28339 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
28341 (struct rtld_global_ro): Remove internal_function from the
28342 _dl_lookup_symbol_x member.
28343 (_dl_symbol_value): Remove. No longer defined anywhere.
28344 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
28346 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28347 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28348 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
28349 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
28350 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
28351 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
28352 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
28353 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
28354 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
28355 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
28356 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28357 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28359 2017-08-31 Florian Weimer <fweimer@redhat.com>
28361 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
28362 Remove internal_function.
28363 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28365 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28368 2017-08-31 Florian Weimer <fweimer@redhat.com>
28370 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
28371 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
28372 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
28374 2017-08-31 Florian Weimer <fweimer@redhat.com>
28376 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
28377 (__gai_enqueue_request): Remove internal_function.
28378 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
28379 (__gai_remove_request, __gai_notify, __gai_notify_only)
28380 (__gai_sigqueue): Likewise.
28381 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
28382 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28383 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
28384 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28387 2017-08-31 Florian Weimer <fweimer@redhat.com>
28389 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
28390 * include/dirent.h (__opendirat, __getdents, __getdents64)
28391 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
28392 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
28393 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
28394 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28396 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
28398 2017-08-31 Florian Weimer <fweimer@redhat.com>
28400 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
28402 (GETCWD_RETURN_TYPE): Likewise.
28404 2017-08-31 Florian Weimer <fweimer@redhat.com>
28406 * include/time.h (__tz_compute, __strptime_internal): Remove
28408 * time/strptime_l.c (__strptime_internal): Likewise.
28409 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
28411 2017-08-31 Florian Weimer <fweimer@redhat.com>
28413 * iconv/gconv.c (__gconv): Remove internal_function.
28414 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
28415 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
28416 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
28417 (__gconv_release_cache): Likewise.
28418 * iconv/gconv_close.c (__gconv_close): Likewise.
28419 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
28420 (read_conf_file, __gconv_get_path): Likewise.
28421 * iconv/gconv_db.c (derivation_lookup, add_derivation)
28422 (__gconv_release_step, gen_steps, increment_counter)
28423 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
28424 (__gconv_close_transform, free_modules_db): Likewise.
28425 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
28427 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
28428 (__gconv_find_transform, __gconv_lookup_cache)
28429 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
28430 (__gconv_close_transform, __gconv_release_cache)
28431 (__gconv_loaded_object, __gconv_release_shlib)
28432 (__gconv_compare_alias): Likewise.
28433 * iconv/gconv_open.c (__gconv_open): Likewise.
28434 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
28435 * iconv/iconvconfig.c (add_module): Likewise.
28436 * intl/dcigettext.c (plural_lookup, guess_category_value)
28437 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
28438 * intl/eval-plural.h (plural_eval): Likewise.
28439 * intl/finddomain.c (_nl_find_domain): Likewise.
28440 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
28441 (_nl_load_domain, _nl_find_msg): Likewise.
28442 (internal_function): Remove definition.
28443 * intl/loadinfo.h (internal_function): Likewise.
28444 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
28446 * intl/localealias.c (internal_function): Remove definition.
28447 (read_alias_file): Remove internal_function.
28448 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
28449 * intl/plural-exp.h (internal_function): Remove definition.
28450 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
28452 * intl/plural.c: Regenerate.
28453 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
28454 * locale/coll-lookup.c (__collidx_table_lookup)
28455 (__collseq_table_lookup): Likewise.
28456 * locale/coll-lookup.h (__collidx_table_lookup)
28457 (__collseq_table_lookup): Likewise.
28458 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
28459 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
28460 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
28461 (_nl_unload_locale): Likewise.
28462 * locale/localeinfo.h (struct __locale_data): Remove
28463 internal_function from cleanup member.
28464 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
28465 (_nl_remove_locale, _nl_load_locale_from_archive)
28466 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
28467 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
28468 (_nl_cleanup_time): Remove internal_function.
28469 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
28470 (_nl_parse_alt_digit): Likewise.
28471 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
28472 (_nl_select_era_entry): Likewise.
28473 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
28474 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28475 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28476 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28477 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28479 2017-08-31 Florian Weimer <fweimer@redhat.com>
28481 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
28482 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28483 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
28484 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
28486 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
28487 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
28488 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
28489 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
28491 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
28493 2017-08-31 Florian Weimer <fweimer@redhat.com>
28495 * misc/getttyent.c (skip, value): Remove internal_function.
28496 * misc/syslog.c (openlog_internal): Likewise.
28497 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
28499 2017-08-31 Florian Weimer <fweimer@redhat.com>
28501 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
28502 (__nss_rewrite_field): Remove internal_function.
28503 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
28504 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
28505 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
28506 * nss/nsswitch.c (nss_parse_file, nss_getline)
28507 (nss_parse_service_list, nss_new_service): Likewise.
28508 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
28509 * nss/valid_field.c (__nss_valid_field): Likewise.
28510 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
28512 2017-08-31 Florian Weimer <fweimer@redhat.com>
28514 * malloc/arena.c (__malloc_fork_lock_parent)
28515 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
28516 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
28517 internal_function from defintions.
28518 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
28519 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
28520 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
28521 internal_function from declarations.
28522 * malloc/malloc.c (internal_function): Do not define.
28523 (mem2mem_check): Remove internal_function from declaration.
28524 (munmap_chunk, mremap_chunk): Remove internal_function.
28525 * malloc/mtrace.c (tr_where): Likewise.
28527 2017-08-31 Florian Weimer <fweimer@redhat.com>
28529 * include/rpc/pmap_clnt.h (__get_socket): Remove
28531 * sunrpc/auth_des.c (synchronize): Likewise.
28532 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
28533 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
28534 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
28535 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
28536 (key_call): Likewise.
28537 * sunrpc/pm_getport.c (__get_socket): Likewise.
28538 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
28539 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
28540 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
28541 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
28542 (invalidate): Likewise.
28543 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
28544 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
28545 (set_input_fragment, get_input_bytes): Likewise.
28547 2017-08-31 Florian Weimer <fweimer@redhat.com>
28549 * malloc/malloc.c (_int_free): Remove locked variable and related
28552 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
28555 * Makerules (build-module-helper-objlist): Filter out
28556 $(elf-objpfx)sofini.os.
28557 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
28560 2017-08-31 Florian Weimer <fweimer@redhat.com>
28562 * libio/fcloseall.c: Assume weak_alias is defined.
28563 * libio/feof.c: Likewise.
28564 * libio/fileno.c: Likewise.
28565 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
28566 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28568 (_IO_file_open): Call __open directly.
28569 (_IO_new_file_sync): Assume ESPIPE is defined.
28570 (_IO_file_seekoff_maybe_mmap): Call __read directly.
28571 (_IO_new_file_write): Call __write directly.
28572 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
28573 * libio/ftello64.c (__ftello64): Assume EIO is defined.
28574 * libio/genops.c: Assume _LIBC is defined.
28575 (save_for_backup): Remove internal_function.
28576 * libio/getc.c: Assume weak_alias is defined.
28577 * libio/getwc.c: Likewise.
28578 * libio/iofclose.c: Assume _LIBC is defined.
28579 * libio/iofdopen.c: Likewise.
28580 (_IO_fcntl): Remove macro definition.
28581 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
28582 Call __fcntl directly.
28583 * libio/iofflush.c: Assume weak_alias is defined.
28584 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
28586 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
28587 * libio/iofgets.c: Likewise.
28588 * libio/iofopen.c: Assume _LIBC is defined.
28589 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
28590 * libio/iofputs.c: Assume weak_alias is defined.
28591 * libio/iofread.c: Likewise.
28592 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
28593 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28594 * libio/ioftell.c: Assume weak_alias is defined.
28595 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
28596 * libio/iofwide.c: Assume _LIBC is defined.
28597 (_IO_fwide): Drop SHARED conditional because it is implied by
28599 * libio/iofwrite.c: Assume weak_alias is defined.
28600 * libio/iogetdelim.c: Likewise.
28601 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
28602 * libio/iogetwline.c (wmemcpy): Remove macro definition.
28603 (_IO_getwline): Call __wmemcpy directly.
28604 * libio/iopopen.c: Assume _LIBC is defined.
28605 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28606 (_IO_close): Remove macro definitions.
28607 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
28609 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
28611 * libio/ioputs.c: Assume weak_alias is defined.
28612 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
28613 * libio/iosetbuffer.c: Assume weak_alias is defined.
28614 * libio/iosetvbuf.c: Likewise.
28615 * libio/ioungetc.c: Likewise.
28616 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
28617 libc_hidden_def, libc_hidden_weak, NULL are defined.
28618 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
28619 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
28621 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28623 (_IO_old_file_init_internal): Drop SHARED conditional because it
28624 is implied by SHLIB_COMPAT.
28625 (_IO_old_file_fopen): Call __open directly.
28626 (_IO_old_file_sync): Assume ESPIPE is defined.
28627 (_IO_old_file_write): Call __write directly.
28628 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
28629 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
28630 Call __fcntl directly.
28631 * libio/oldiofgetpos.c: Assume weak_alias is defined.
28632 (_IO_old_fgetpos): Assume EIO is defined.
28633 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
28634 (_IO_old_fgetpos64): Assume EIO is defined.
28635 * libio/oldiofsetpos.c: Assume weak_alias is defined.
28636 (_IO_old_fsetpos): Assume EIO is defined.
28637 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
28638 (_IO_old_fsetpos64): Assume EIO is defined.
28639 * libio/oldiopopen.c: Assume _LIBC is defined.
28640 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28641 (_IO_close): Remove macro definitions.
28642 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
28644 (_IO_old_proc_close): Call __close, __waitpid directly.
28645 * libio/put.c: Assume weak_alias is defined.
28646 * libio/stdfiles.c: Assume _LIBC is defined.
28647 * libio/stdio.c: Likewise.
28648 * libio/wfileops.c: Likewise.
28649 (_IO_wfile_sync): Assume ESPIPE is defined.
28650 * libio/wgenops.c: Assume _LIBC is defined.
28651 (save_for_wbackup): Remove internal_function.
28653 2017-08-31 Florian Weimer <fweimer@redhat.com>
28655 * malloc/malloc.c (top_check): Change return type to void. Remove
28657 * malloc/hooks.c (top_check): Likewise.
28658 (malloc_check, realloc_check, memalign_check): Adjust.
28660 2017-08-30 Joseph Myers <joseph@codesourcery.com>
28663 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28664 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
28665 sigcontext and namespace requirements.
28666 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28667 * sysdeps/m68k/sys/ucontext.h: Likewise.
28668 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
28669 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
28670 <bits/sigcontext.h>.
28671 (__ctx): Define earlier.
28672 (mcontext_t): Define structure contents rather than using struct
28674 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
28675 __glibc_reserved1 instead of __reserved.
28676 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
28677 <bits/sigcontext.h>.
28678 (__ctx): Define earlier.
28679 (mcontext_t): Define structure contents rather than using struct
28681 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
28682 mcontext_t instead of struct sigcontext.
28683 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
28684 <bits/sigcontext.h>.
28685 (__ctx): Define earlier.
28686 (mcontext_t): Define structure contents rather than using struct
28688 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
28689 <bits/sigcontext.h>.
28690 (__ctx): Define earlier.
28691 (mcontext_t): Define structure contents rather than using struct
28693 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
28694 mcontext_t instead of struct sigcontext.
28695 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
28696 mcontext_t instead of struct sigcontext.
28697 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
28698 <bits/sigcontext.h>.
28699 (__ctx): New macro.
28700 (struct __ia64_fpreg_mcontext): New type.
28701 (mcontext_t): Define structure contents rather than using struct
28703 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
28704 (uc_sigmask): Define using __ctx.
28705 (uc_stack): Likewise.
28706 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
28707 <bits/sigcontext.h>.
28708 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28709 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
28710 <bits/sigcontext.h>.
28711 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
28712 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
28713 <bits/sigcontext.h>.
28714 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
28715 <bits/sigcontext.h>.
28716 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
28717 <bits/sigcontext.h>.
28718 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
28719 <bits/sigcontext.h>.
28720 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
28721 <bits/sigcontext.h>.
28722 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
28723 <bits/sigcontext.h>.
28724 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
28725 <bits/sigcontext.h>.
28726 (__ctx): Define earlier.
28727 (mcontext_t): Define structure contents rather than using struct
28729 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
28730 <bits/sigcontext.h>. Include <bits/types.h>.
28731 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
28732 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
28733 (test-xfail-XPG42/ucontext.h/conform): Likewise.
28734 (test-xfail-UNIX98/signal.h/conform): Likewise.
28735 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
28736 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
28737 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
28738 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
28739 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
28740 (test-xfail-POSIX2008/signal.h/conform): Likewise.
28741 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
28742 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
28743 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
28745 2017-08-30 Florian Weimer <fweimer@redhat.com>
28747 * malloc/dynarray_emplace_enlarge.c
28748 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
28749 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
28750 * malloc/tst-dynarray.c (test_long_overflow): New function.
28751 (do_test): Call it.
28753 2017-08-30 Florian Weimer <fweimer@redhat.com>
28755 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
28756 (set_arena_corrupt): Remove definitions.
28757 (mtrim): Do not check for corrupt arena.
28758 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
28761 2017-08-30 Florian Weimer <fweimer@redhat.com>
28764 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
28766 (ptmalloc_init): Do not set or use check_action.
28767 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
28768 call to malloc_printerr. Remove return statement.
28769 (free_check): Likewise. Remove arena unlock.
28770 (top_check): Update comment. Adjust call to malloc_printerr.
28771 Remove heap repair code.
28772 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
28773 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
28774 (sysmalloc): Adjust call to malloc_printerr.
28775 (munmap_chunk, __libc_realloc): Likewise. Remove return
28777 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
28778 Remove errout label and corresponding gotos.
28779 (_int_free): Likewise. Remove arena unlock.
28780 (do_set_mallopt_check): Do not set check_action.
28781 (malloc_printerr): Adjust parameter list. Do not mark arena as
28783 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
28785 * manual/probes.texi (Memory Allocation Probes): Remove
28786 memory_mallopt_check_action.
28788 2017-08-30 Steve Ellcey <sellcey@cavium.com>
28790 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
28791 Use pointer to uint64_t instead of long int for sp.
28793 2017-08-30 Florian Weimer <fweimer@redhat.com>
28796 * malloc/malloc.c (malloc_printerr): Always terminate the process,
28797 without printing a backtrace. Do not leak any information in the
28799 * manual/memory.texi (Heap Consistency Checking): Update.
28800 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
28802 2017-08-30 Florian Weimer <fweimer@redhat.com>
28804 Do not scale NPTL tests with available number of CPUs.
28805 * nptl/tst-cond16.c (count): Set to constant value of 8.
28806 * nptl/tst-cond18.c (count): Likewise.
28808 2017-08-29 Joseph Myers <joseph@codesourcery.com>
28811 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
28812 Define to take a second argument that is a macro that
28813 concatentates a suffix, not the suffix itself.
28814 (__CONCAT_d): New macro.
28815 (__CONCAT_f): Likewise.
28816 (__CONCAT_l): Likewise.
28818 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
28820 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
28823 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28824 Aurelien Jarno <aurelien@aurel32.net>
28825 Maciej W. Rozycki <macro@imgtec.com>
28828 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
28829 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
28830 `mips16-syscall6' and `mips16-syscall7'.
28831 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
28832 (CFLAGS-mips16-syscall7.c): Remove.
28833 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
28834 Remove `__mips16_syscall5', `__mips16_syscall6' and
28835 `__mips16_syscall7'.
28836 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
28837 (__mips16_syscall0): Rename `__mips16_syscall_return' to
28838 `__mips_syscall_return'.
28839 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
28840 (__mips16_syscall1): Likewise.
28841 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
28842 (__mips16_syscall2): Likewise.
28843 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
28844 (__mips16_syscall3): Likewise.
28845 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
28846 (__mips16_syscall4): Likewise.
28847 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
28849 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
28851 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
28853 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
28854 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
28855 `__mips16_syscall5'. Remove prototype.
28856 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
28857 `__mips16_syscall6'. Remove prototype.
28858 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
28859 `__mips16_syscall7'. Remove prototype.
28860 (__nomips16, __mips16_syscall_return): Move to...
28861 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
28862 (__nomips16, __mips_syscall_return): ... here.
28863 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
28864 `__mips16_syscall_return' to `__mips_syscall_return'.
28865 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
28866 `internal_syscall##nr'.
28867 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
28868 `internal_syscall##nr'.
28869 (FORCE_FRAME_POINTER): Remove.
28870 (__mips_syscall5): New prototype.
28871 (internal_syscall5): Rewrite to call `__mips_syscall5'.
28872 (__mips_syscall6): New prototype.
28873 (internal_syscall6): Rewrite to call `__mips_syscall6'.
28874 (__mips_syscall7): New prototype.
28875 (internal_syscall7): Rewrite to call `__mips_syscall7'.
28876 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
28877 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
28878 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
28879 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
28880 (sysdep_routines): Add libc-do-syscall.
28881 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
28882 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
28884 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28887 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
28888 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
28889 (advise_stack_range): New function.
28890 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
28891 stack non required to advise_stack_range at allocatestack.c
28893 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28895 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
28897 2017-08-29 Florian Weimer <fweimer@redhat.com>
28900 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
28901 __end_fct. Mangle __end_fct after setting it to NULL.
28902 * iconv/Makefile (tests): Add tst-gconv-init-failure.
28903 (modules-names, modules-names-tests): Add
28904 tst-gconv-init-failure-mod.
28905 (gconv-modules): New target.
28906 (tst-gconv-init-failure-mod.so): Link against libsupport.
28907 (tst-gconv-init-failure): Depend on gconv-modules,
28908 tst-gconv-init-failure-mod.so.
28909 * iconv/tst-gconv-init-failure-mod.c: New file.
28910 * iconv/tst-gconv-init-failure.c: Likewise.
28911 * iconv/test-gconv-modules: Likewise.
28913 2017-08-29 Florian Weimer <fweimer@redhat.com>
28916 * iconv/gconv_db.c (free_derivation): Remove redundant
28918 (gen_steps): Unconditionally mangle __btowc_fct after
28920 (increment_counter): Likewise. Do not call init_fct for internal
28923 2017-08-29 Joseph Myers <joseph@codesourcery.com>
28926 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
28927 (_MSUF_): Remove macro.
28928 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
28930 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
28931 (__REDIRFROM_X): New macro.
28932 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
28934 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
28935 (__REDIRTO_X): Likewise.
28936 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
28938 (__MATH_REDIRCALL_2): Likewise.
28939 (__MATH_REDIRCALL_INTERNAL): Likewise.
28940 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
28941 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
28942 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
28943 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
28944 * math/test-finite-macros.c: New file.
28945 * math/Makefile (tests): Add test-finite-macros.
28946 (CFLAGS-test-finite-macros.c): New variable.
28948 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
28949 Jeff Law <law@redhat.com>
28952 Mangle NULL pointers in iconv/gconv.
28953 * iconv/gconv_cache.c (find_module): Demangle init_fct before
28954 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
28955 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
28956 is non-NULL before demangling the end_fct. Check for NULL
28957 end_fct after demangling.
28958 (__gconv_release_step): Demangle the end_fct before checking
28959 it for NULL. Remove assert on __shlibc_handle != NULL.
28960 (gen_steps): Don't check btowc_fct for NULL before mangling.
28961 Demangle init_fct before checking for NULL.
28962 (increment_counter): Likewise.
28963 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
28964 end_fct for NULL before mangling.
28965 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
28968 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
28971 * locale/iso-639.def: add Morisyen.
28973 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28976 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
28977 (iszero): New C++ implementation that does not use
28978 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
28979 signaling nans are enabled, since __builtin_types_compatible_p
28980 is a C-only feature.
28981 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
28982 defined, include ieee754_float128.h for access to the union and
28983 member ieee854_float128.ieee.
28984 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
28985 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
28986 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
28987 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
28988 options of test-math-zero on powerpc64le.
28990 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
28992 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
28993 Change double to float.
28995 2017-08-28 Joseph Myers <joseph@codesourcery.com>
28997 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
28999 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
29000 conditional code; define contents only for [LIBM_SVID_COMPAT].
29002 2017-08-28 Florian Weimer <fweimer@redhat.com>
29004 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
29005 (abi-lp64_be-options): Remove.
29006 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
29007 (abi-hard-options): Likewise.
29008 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
29009 (abi-o32_hard-options, abi-o32_soft_2008-options)
29010 (abi-o32_hard_2008-options, abi-n32_soft-options)
29011 (abi-n32_hard-options, abi-n32_soft_2008-options)
29012 (abi-n32_hard_2008-options, abi-n64_soft-options)
29013 (abi-n64_hard-options, abi-n64_soft_2008-options)
29014 (abi-n64_hard_2008-options): Likewise.
29015 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
29016 (abi-64-v1-options, abi-64-v2-options): Likewise.
29017 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
29018 (abi-64-options): Likewise.
29019 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
29020 (abi-64-options): Likewise.
29021 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
29022 (abi-64-options): Likewise.
29023 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
29024 (abi-64-options, abi-x32-options): Likewise.
29026 2017-08-28 Florian Weimer <fweimer@redhat.com>
29028 Store supported list of SYS_* system calls in the source tree.
29029 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
29030 (bits/syscall.h): Generate from list file.
29031 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
29032 [$(subdir) = misc] (tests): Add tst-syscall-list.
29033 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
29034 [$(subdir) = misc] (tst-syscall-list-macros.list)
29035 [$(subdir) = misc] (tst-syscall-list-nr.list)
29036 (tst-syscall-list-sys.list): Helper targets for new
29037 tst-syscall-list test.
29038 [$(subdir) = misc] (tst-syscall-list.out): Run test script
29039 tst-syscall-list.sh.
29040 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
29041 target. Do not include bits/syscall.d.
29042 [$(subdir) = misc] (generated): Do not update.
29043 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
29044 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
29045 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
29046 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
29048 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
29050 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
29051 (tst-cxa_atexit, tst-on_exit): Likewise.
29052 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
29053 tst-cxa_atexit, and tst-on_exit.
29054 * stdlib/tst-atexit-common.c: New file.
29055 * stdlib/tst-atexit.c: New file.
29056 * stdlib/tst-at_quick_exit.c: New file.
29057 * stdlib/tst-cxa_atexit.c: New file.
29058 * stdlib/tst-on_exit.c: New file.
29060 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29062 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
29063 * mach/stack_chk_fail_local.c: New file.
29064 * hurd/stack_chk_fail_local.c: New file.
29065 * mach/Machrules ($(interface-library)-routines): Add
29066 stack_chk_fail_local.
29067 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
29068 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
29069 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
29070 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
29071 * hurd/Makefile (CFLAGS-hurdstartup.o,
29072 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
29074 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
29076 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
29077 (index_cpu_*, index_arch_*): Removed.
29079 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29081 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
29082 Use uint64_t instead of unsigned long.
29084 2017-08-25 Joseph Myers <joseph@codesourcery.com>
29086 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
29087 [__HAVE_DISTINCT_FLOAT128].
29089 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
29090 of <bits/math-finite.h>.
29091 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
29092 inclusion of <bits/math-finite.h>.
29093 * math/bits/math-finite.h (__REDIRTO_X): Do not define
29094 conditionally on [__MATH_DECLARING_LDOUBLE && defined
29095 __NO_LONG_DOUBLE_MATH].
29096 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
29097 (__MATH_REDIRCALL_2): Likewise.
29098 (__MATH_REDIRCALL_INTERNAL): Likewise.
29099 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29100 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
29101 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
29105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
29107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
29109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
29111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
29113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
29115 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29116 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29117 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29118 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
29120 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
29121 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
29122 w_sqrtf_compat-ppc32.
29124 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29126 * math/math.h [defined __cplusplus] (issignaling): In the long
29127 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
29128 is not defined. Call __issignaling, otherwise.
29130 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29132 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
29133 syscall definitions and replace __builtin_expect with __glibc_likely.
29134 * sysdeps/unix/syscall-template.S: Update comment about cancellable
29136 (SYSCALL_CANCELLABLE): Removedefinition
29137 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
29139 (PSEUDO_END): Likewise.
29140 [IS_IN (libpthread)] (CENABLE): Likewise.
29141 [IS_IN (libpthread)] (CDISABLE): Likewise.
29142 [IS_IN (libc)] (CENABLE): Likewise.
29143 [IS_IN (libc)] (CENABLE): Likewise.
29144 [IS_IN (librt)] (CDISABLE): Likewise.
29145 [IS_IN (librt)] (CDISABLE): Likewise.
29146 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29147 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
29149 (PSEUDO_END): Likewise.
29150 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
29151 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
29152 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29153 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29154 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29155 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29156 (CENABLE): Likewise.
29157 (CDISABLE): Likewise.
29158 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29159 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
29161 (PSEUDO_END): Likewise.
29162 [IS_IN (libpthread)] (CENABLE): Likewise.
29163 [IS_IN (libpthread)] (CDISABLE): Likewise.
29164 [IS_IN (libc)] (CENABLE): Likewise.
29165 [IS_IN (libc)] (CENABLE): Likewise.
29166 [IS_IN (librt)] (CDISABLE): Likewise.
29167 [IS_IN (librt)] (CDISABLE): Likewise.
29168 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29169 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
29171 (PSEUDO_END): Likewise.
29172 [IS_IN (libpthread)] (CENABLE): Likewise.
29173 [IS_IN (libpthread)] (CDISABLE): Likewise.
29174 [IS_IN (libc)] (CENABLE): Likewise.
29175 [IS_IN (libc)] (CENABLE): Likewise.
29176 [IS_IN (librt)] (CDISABLE): Likewise.
29177 [IS_IN (librt)] (CDISABLE): Likewise.
29178 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29179 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
29181 (PSEUDO_END): Likewise.
29182 [IS_IN (libpthread)] (CENABLE): Likewise.
29183 [IS_IN (libpthread)] (CDISABLE): Likewise.
29184 [IS_IN (libc)] (CENABLE): Likewise.
29185 [IS_IN (libc)] (CENABLE): Likewise.
29186 [IS_IN (librt)] (CDISABLE): Likewise.
29187 [IS_IN (librt)] (CDISABLE): Likewise.
29188 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29189 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
29191 (PSEUDO_END): Likewise.
29192 [IS_IN (libpthread)] (CENABLE): Likewise.
29193 [IS_IN (libpthread)] (CDISABLE): Likewise.
29194 [IS_IN (libc)] (CENABLE): Likewise.
29195 [IS_IN (libc)] (CENABLE): Likewise.
29196 [IS_IN (librt)] (CDISABLE): Likewise.
29197 [IS_IN (librt)] (CDISABLE): Likewise.
29198 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29199 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
29201 (PSEUDO_END): Likewise.
29202 [IS_IN (libpthread)] (CENABLE): Likewise.
29203 [IS_IN (libpthread)] (CDISABLE): Likewise.
29204 [IS_IN (libc)] (CENABLE): Likewise.
29205 [IS_IN (libc)] (CENABLE): Likewise.
29206 [IS_IN (librt)] (CDISABLE): Likewise.
29207 [IS_IN (librt)] (CDISABLE): Likewise.
29208 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29209 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
29211 (PSEUDO_END): Likewise.
29212 [IS_IN (libpthread)] (CENABLE): Likewise.
29213 [IS_IN (libpthread)] (CDISABLE): Likewise.
29214 [IS_IN (libc)] (CENABLE): Likewise.
29215 [IS_IN (libc)] (CENABLE): Likewise.
29216 [IS_IN (librt)] (CDISABLE): Likewise.
29217 [IS_IN (librt)] (CDISABLE): Likewise.
29218 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29219 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
29221 (PSEUDO_END): Likewise.
29222 [IS_IN (libpthread)] (CENABLE): Likewise.
29223 [IS_IN (libpthread)] (CDISABLE): Likewise.
29224 [IS_IN (libc)] (CENABLE): Likewise.
29225 [IS_IN (libc)] (CENABLE): Likewise.
29226 [IS_IN (librt)] (CDISABLE): Likewise.
29227 [IS_IN (librt)] (CDISABLE): Likewise.
29228 (SINGLE_THREAD_P): Likewise.
29229 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
29231 (PSEUDO_END): Likewise.
29232 [IS_IN (libpthread)] (CENABLE): Likewise.
29233 [IS_IN (libpthread)] (CDISABLE): Likewise.
29234 [IS_IN (libc)] (CENABLE): Likewise.
29235 [IS_IN (libc)] (CENABLE): Likewise.
29236 [IS_IN (librt)] (CDISABLE): Likewise.
29237 [IS_IN (librt)] (CDISABLE): Likewise.
29238 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29239 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
29241 (PSEUDO_END): Likewise.
29242 [IS_IN (libpthread)] (CENABLE): Likewise.
29243 [IS_IN (libpthread)] (CDISABLE): Likewise.
29244 [IS_IN (libc)] (CENABLE): Likewise.
29245 [IS_IN (libc)] (CENABLE): Likewise.
29246 [IS_IN (librt)] (CDISABLE): Likewise.
29247 [IS_IN (librt)] (CDISABLE): Likewise.
29248 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29249 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
29250 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29251 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
29252 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
29254 (PSEUDO_END): Likewise.
29255 [IS_IN (libpthread)] (CENABLE): Likewise.
29256 [IS_IN (libpthread)] (CDISABLE): Likewise.
29257 [IS_IN (libc)] (CENABLE): Likewise.
29258 [IS_IN (libc)] (CENABLE): Likewise.
29259 [IS_IN (librt)] (CDISABLE): Likewise.
29260 [IS_IN (librt)] (CDISABLE): Likewise.
29261 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29262 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
29264 (PSEUDO_END): Likewise.
29265 [IS_IN (libpthread)] (CENABLE): Likewise.
29266 [IS_IN (libpthread)] (CDISABLE): Likewise.
29267 [IS_IN (libc)] (CENABLE): Likewise.
29268 [IS_IN (libc)] (CENABLE): Likewise.
29269 [IS_IN (librt)] (CDISABLE): Likewise.
29270 [IS_IN (librt)] (CDISABLE): Likewise.
29271 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29272 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
29274 (PSEUDO_END): Likewise.
29275 [IS_IN (libpthread)] (CENABLE): Likewise.
29276 [IS_IN (libpthread)] (CDISABLE): Likewise.
29277 [IS_IN (libc)] (CENABLE): Likewise.
29278 [IS_IN (libc)] (CENABLE): Likewise.
29279 [IS_IN (librt)] (CDISABLE): Likewise.
29280 [IS_IN (librt)] (CDISABLE): Likewise.
29281 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29282 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
29283 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29284 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
29285 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
29287 (PSEUDO_END): Likewise.
29288 [IS_IN (libpthread)] (CENABLE): Likewise.
29289 [IS_IN (libpthread)] (CDISABLE): Likewise.
29290 [IS_IN (libc)] (CENABLE): Likewise.
29291 [IS_IN (libc)] (CENABLE): Likewise.
29292 [IS_IN (librt)] (CDISABLE): Likewise.
29293 [IS_IN (librt)] (CDISABLE): Likewise.
29294 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29295 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
29297 (PSEUDO_END): Likewise.
29298 [IS_IN (libpthread)] (CENABLE): Likewise.
29299 [IS_IN (libpthread)] (CDISABLE): Likewise.
29300 [IS_IN (libc)] (CENABLE): Likewise.
29301 [IS_IN (libc)] (CENABLE): Likewise.
29302 [IS_IN (librt)] (CDISABLE): Likewise.
29303 [IS_IN (librt)] (CDISABLE): Likewise.
29304 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29306 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
29308 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
29310 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29312 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29314 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29317 * string/stratcliff.c (do_test): Declare size, nchars, inner,
29318 middle and outer with size_t instead of int. Repleace %d and
29319 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
29320 "MAX (outer, nchars - 64)" to support unsigned outer and
29321 nchars. Also exit loop when outer == 0.
29323 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29325 * include/fcntl.h (__fcntl_nocancel): Remove definition.
29326 * include/signal.h (__sigsuspend_nocancel): Likewise.
29327 * include/time.h (__nanosleep_nocancel): Likewise.
29328 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
29329 * login/utmp_file.c: Include non cancellable syscall header.
29330 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
29333 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29335 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
29336 .byte sequences with AVX512F instructions.
29337 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
29338 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
29339 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
29340 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
29342 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29345 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
29346 Steve Ellcey <sellcey@cavium.com>
29348 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
29349 Use PTR_REG macro in cmp instruction.
29351 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29353 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
29354 Change the return type of the ifunc resolver to match the return
29355 type of the target function.
29357 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29359 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
29360 (preadv64): Likewise.
29361 (pwrite64(: Likewise.
29362 (pwritev64): Likewise.
29364 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
29365 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
29366 (LOAD_ARGS_0): Likewise.
29367 (LOAD_ARGS_1): Likewise.
29368 (LOAD_ARGS_2): Likewise.
29369 (LOAD_ARGS_3): Likewise.
29370 (LOAD_ARGS_4): Likewise.
29371 (LOAD_ARGS_5): Likewise.
29372 (LOAD_ARGS_6): Likewise.
29373 (LOAD_REGS_0): Likewise.
29374 (LOAD_REGS_1): Likewise.
29375 (LOAD_REGS_2): Likewise.
29376 (LOAD_REGS_3): Likewise.
29377 (LOAD_REGS_4): Likewise.
29378 (LOAD_REGS_5): Likewise.
29379 (LOAD_REGS_6): Likewise.
29380 (ASM_ARGS_0): Likewise.
29381 (ASM_ARGS_1): Likewise.
29382 (ASM_ARGS_2): Likewise.
29383 (ASM_ARGS_3): Likewise.
29384 (ASM_ARGS_4): Likewise.
29385 (ASM_ARGS_5): Likewise.
29386 (ASM_ARGS_6): Likewise.
29387 (LOAD_ARGS_TYPES_1): Likewise.
29388 (LOAD_ARGS_TYPES_2): Likewise.
29389 (LOAD_ARGS_TYPES_3): Likewise.
29390 (LOAD_ARGS_TYPES_4): Likewise.
29391 (LOAD_ARGS_TYPES_5): Likewise.
29392 (LOAD_ARGS_TYPES_6): Likewise.
29393 (LOAD_REGS_TYPES_1): Likewise.
29394 (LOAD_REGS_TYPES_2): Likewise.
29395 (LOAD_REGS_TYPES_3): Likewise.
29396 (LOAD_REGS_TYPES_4): Likewise.
29397 (LOAD_REGS_TYPES_5): Likewise.
29398 (LOAD_REGS_TYPES_6): Likewise.
29399 (TYPEFY): New define.
29400 (ARGIFY): Likewise.
29401 (internal_syscall0): Likewise.
29402 (internal_syscall1): Likewise.
29403 (internal_syscall2): Likewise.
29404 (internal_syscall3): Likewise.
29405 (internal_syscall4): Likewise.
29406 (internal_syscall5): Likewise.
29407 (internal_syscall6): Likewise.
29408 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
29409 (INTERNAL_SYSCALL_NCS): Remove define.
29410 (internal_syscall1): Add define.
29412 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29414 * math/w_remainder_compat.c: Remove duplicate inclusion of
29415 math-svid-compat.h.
29416 * math/w_remainderf_compat.c: Likewise.
29417 * math/w_remainderl_compat.c: Likewise.
29419 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29423 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29426 * math/tgmath.h (__floating_type): Simplify definitions.
29427 (__real_integer_type): New macro.
29428 (__complex_integer_type): Likewise.
29429 (__expr_is_real): Likewise.
29430 (__tgmath_real_type_sub): Update comment to describe handling of
29432 (__tgmath_complex_type_sub): New macro.
29433 (__tgmath_complex_type): Likewise.
29434 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29435 (__TGMATH_CF128): Use __expr_is_real.
29436 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
29438 (__TGMATH_BINARY_REAL_IMAG): Likewise.
29439 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
29440 * math/gen-tgmath-tests.py (Type.create_type): Create complex
29443 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29445 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
29447 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
29449 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
29452 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
29453 nanosleep_not_cancel with __nanosleep_nocancel.
29454 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
29455 (__nanosleep_nocancel): New macro.
29456 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
29458 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
29460 (__nanosleep_nocancel): New prototype.
29462 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
29463 pause_not_cancel with __pause_nocancel.
29464 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
29465 (__pause_nocancel): New macro.
29466 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
29468 (__pause_nocancel): New prototype.
29469 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
29471 2017-08-22 Martin Sebor <msebor@redhat.com>
29473 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
29474 to return a pointer to the same type as the target function.
29476 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29480 * include/printf.h (__printf_fphex): Add attribute_hidden.
29481 (__guess_grouping): New prototype.
29482 * stdio-common/printf_fp.c (__guess_grouping): Removed.
29483 * stdio-common/reg-printf.c (__register_printf_specifier): Add
29484 libc_hidden_proto and libc_hidden_def.
29485 * stdlib/strfmon_l.c (__guess_grouping): Removed.
29486 (__vstrfmon_l): Remove the third argument passed to
29489 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29491 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
29492 definition for issignaling that does not rely on __MATH_TG,
29493 since __MATH_TG uses __builtin_types_compatible_p, which is only
29494 available in C mode.
29495 (CFLAGS-test-math-issignaling.cc): New variable.
29496 * math/Makefile [CXX] (tests): Add test-math-issignaling.
29497 * math/test-math-issignaling.cc: New test for C++ implementation
29498 of type-generic issignaling.
29499 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29500 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
29501 options of test-math-issignaling on powerpc64le.
29503 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29505 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29507 (hidden_proto): Likewise.
29508 (hidden_tls_proto): Likewise.
29509 (__hidden_proto): Likewise.
29511 2017-08-22 Florian Weimer <fweimer@redhat.com>
29513 math: Statically link tests of internal functionality.
29514 * math/Makefile (tests): Remove atest-exp, atest-sincos,
29516 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
29517 (gmp-objs): Remove assignment.
29518 (atest-exp, atest-sincos, atest-exp2): Remove targets.
29520 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29523 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
29525 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
29527 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
29530 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
29531 variable definitions above inclusion of ../Rules.
29533 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29535 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
29536 case calling __builtin_unreachable.
29538 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29540 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
29541 __waitpid_nocancel.
29542 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
29543 (__waitpid_nocancel): New macro.
29544 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
29546 (__waitpid_nocancel): Replace macro with a function.
29547 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
29550 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
29552 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
29553 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
29555 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
29556 __writev_nocancel_nostatus.
29557 (write_call_graph): Likewise.
29558 (write_bb_counts): Likewise.
29559 * resolv/herror.c (herror): Likewise.
29560 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
29562 (__writev_nocancel_nostatus): New macro.
29563 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
29565 (__writev_nocancel_nostatus): New function.
29567 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29570 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29572 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29574 (hidden_proto): Likewise.
29575 (hidden_tls_proto): Likewise.
29576 (__hidden_proto): Likewise.
29579 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
29580 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
29585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
29589 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
29590 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29591 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29592 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29593 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29594 GLIBC_2.0 sqrtl symbol.
29596 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
29597 [__USE_MISC] (_LIB_VERSION): Likewise.
29598 [__USE_MISC] (struct exception): Likewise.
29599 [__USE_MISC] (matherr): Likewise.
29600 [__USE_MISC] (DOMAIN): Likewise.
29601 [__USE_MISC] (SING): Likewise.
29602 [__USE_MISC] (OVERFLOW): Likewise.
29603 [__USE_MISC] (UNDERFLOW): Likewise.
29604 [__USE_MISC] (TLOSS): Likewise.
29605 [__USE_MISC] (PLOSS): Likewise.
29606 [__USE_MISC] (HUGE): Likewise.
29607 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
29608 * math/math-svid-compat.h: New file.
29609 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
29611 * include/math.h [!_ISOMAC] (__matherr): Remove.
29612 * manual/arith.texi (FP Exceptions): Do not document matherr.
29613 * math/Makefile (tests): Change test-matherr to test-matherr-3.
29614 (tests-internal): New variable.
29615 (install-lib): Do not add libieee.a.
29616 (non-lib.a): Likewise.
29617 (extra-objs): Do not add libieee.a and ieee-math.o.
29618 (CPPFLAGS-s_lib_version.c): Remove variable.
29619 ($(objpfx)libieee.a): Remove rule.
29620 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
29621 * math/ieee-math.c: Remove.
29622 * math/libm-test-support.c (matherr): Remove.
29623 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
29624 and license notices. Include <math-svid-compat.h> and
29626 (matherr): Undefine as macro. Use compat_symbol_reference.
29627 (_LIB_VERSION): Likewise.
29628 * math/test-matherr-2.c: New file.
29629 * math/test-matherr-3.c: Likewise.
29630 * sysdeps/generic/math_private.h (__kernel_standard): Remove
29632 (__kernel_standard_f): Likewise.
29633 (__kernel_standard_l): Likewise.
29634 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
29635 <math_private.h>. Include <math-svid-compat.h>.
29636 (_LIB_VERSION): Undefine as macro.
29637 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
29638 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
29639 [LIBM_SVID_COMPAT], use compat_symbol.
29640 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
29641 <math_private.h>. Include <math-svid-compat.h>.
29642 (matherr): Undefine as macro.
29643 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
29645 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
29646 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
29647 compat_symbol_reference.
29648 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
29649 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
29650 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
29651 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
29652 (MATHERR_D): Remove declaration.
29653 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
29654 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
29655 [LIBM_BUILD] (pmatherrf): Likewise.
29656 [LIBM_BUILD] (pmatherr): Likewise.
29657 [LIBM_BUILD] (pmatherrl): Likewise.
29658 (DOMAIN): Likewise.
29660 (OVERFLOW): Likewise.
29661 (UNDERFLOW): Likewise.
29664 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
29665 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
29667 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
29668 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
29670 * math/lgamma-compat.h: Include <math-svid-compat.h>.
29671 * math/w_acos_compat.c: Likewise.
29672 * math/w_acosf_compat.c: Likewise.
29673 * math/w_acosh_compat.c: Likewise.
29674 * math/w_acoshf_compat.c: Likewise.
29675 * math/w_acoshl_compat.c: Likewise.
29676 * math/w_acosl_compat.c: Likewise.
29677 * math/w_asin_compat.c: Likewise.
29678 * math/w_asinf_compat.c: Likewise.
29679 * math/w_asinl_compat.c: Likewise.
29680 * math/w_atan2_compat.c: Likewise.
29681 * math/w_atan2f_compat.c: Likewise.
29682 * math/w_atan2l_compat.c: Likewise.
29683 * math/w_atanh_compat.c: Likewise.
29684 * math/w_atanhf_compat.c: Likewise.
29685 * math/w_atanhl_compat.c: Likewise.
29686 * math/w_cosh_compat.c: Likewise.
29687 * math/w_coshf_compat.c: Likewise.
29688 * math/w_coshl_compat.c: Likewise.
29689 * math/w_exp10_compat.c: Likewise.
29690 * math/w_exp10f_compat.c: Likewise.
29691 * math/w_exp10l_compat.c: Likewise.
29692 * math/w_exp2_compat.c: Likewise.
29693 * math/w_exp2f_compat.c: Likewise.
29694 * math/w_exp2l_compat.c: Likewise.
29695 * math/w_fmod_compat.c: Likewise.
29696 * math/w_fmodf_compat.c: Likewise.
29697 * math/w_fmodl_compat.c: Likewise.
29698 * math/w_hypot_compat.c: Likewise.
29699 * math/w_hypotf_compat.c: Likewise.
29700 * math/w_hypotl_compat.c: Likewise.
29701 * math/w_j0_compat.c: Likewise.
29702 * math/w_j0f_compat.c: Likewise.
29703 * math/w_j0l_compat.c: Likewise.
29704 * math/w_j1_compat.c: Likewise.
29705 * math/w_j1f_compat.c: Likewise.
29706 * math/w_j1l_compat.c: Likewise.
29707 * math/w_jn_compat.c: Likewise.
29708 * math/w_jnf_compat.c: Likewise.
29709 * math/w_jnl_compat.c: Likewise.
29710 * math/w_lgamma_main.c: Likewise.
29711 * math/w_lgamma_r_compat.c: Likewise.
29712 * math/w_lgammaf_main.c: Likewise.
29713 * math/w_lgammaf_r_compat.c: Likewise.
29714 * math/w_lgammal_main.c: Likewise.
29715 * math/w_lgammal_r_compat.c: Likewise.
29716 * math/w_log10_compat.c: Likewise.
29717 * math/w_log10f_compat.c: Likewise.
29718 * math/w_log10l_compat.c: Likewise.
29719 * math/w_log2_compat.c: Likewise.
29720 * math/w_log2f_compat.c: Likewise.
29721 * math/w_log2l_compat.c: Likewise.
29722 * math/w_log_compat.c: Likewise.
29723 * math/w_logf_compat.c: Likewise.
29724 * math/w_logl_compat.c: Likewise.
29725 * math/w_pow_compat.c: Likewise.
29726 * math/w_powf_compat.c: Likewise.
29727 * math/w_powl_compat.c: Likewise.
29728 * math/w_remainder_compat.c: Likewise.
29729 * math/w_remainderf_compat.c: Likewise.
29730 * math/w_remainderl_compat.c: Likewise.
29731 * math/w_scalb_compat.c: Likewise.
29732 * math/w_scalbf_compat.c: Likewise.
29733 * math/w_scalbl_compat.c: Likewise.
29734 * math/w_sinh_compat.c: Likewise.
29735 * math/w_sinhf_compat.c: Likewise.
29736 * math/w_sinhl_compat.c: Likewise.
29737 * math/w_sqrt_compat.c: Likewise.
29738 * math/w_sqrtf_compat.c: Likewise.
29739 * math/w_sqrtl_compat.c: Likewise.
29740 * math/w_tgamma_compat.c: Likewise.
29741 * math/w_tgammaf_compat.c: Likewise.
29742 * math/w_tgammal_compat.c: Likewise.
29743 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
29744 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29745 * sysdeps/ieee754/k_standard.c: Likewise.
29746 * sysdeps/ieee754/k_standardf.c: Likewise.
29747 * sysdeps/ieee754/k_standardl.c: Likewise.
29748 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29749 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29750 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29751 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29752 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29753 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29754 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29755 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
29756 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29761 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
29762 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29763 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29764 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29766 2017-08-21 Florian Weimer <fweimer@redhat.com>
29769 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
29770 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
29771 Move before inclusion of ../Rules.
29773 2017-08-21 Florian Weimer <fweimer@redhat.com>
29776 * assert/assert.h (assert): Use static_cast (bool) for C++.
29777 Use the ternary operator in the warning branch for GNU C.
29778 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
29779 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
29780 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
29781 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
29782 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
29784 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29787 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29788 (__syscall_clock_gettime): Add attribute_hidden.
29789 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
29790 (__start_context): Likewise.
29792 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29794 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29796 (hidden_proto): Likewise.
29797 (hidden_tls_proto): Likewise.
29798 (__hidden_proto): Likewise.
29800 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29802 * include/libc-symbols.h (attribute_hidden): Enable hidden
29803 visibility in libc.a compiled with PIE.
29805 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29808 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
29809 Add attribute_hidden.
29811 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29814 * Makerules (all-nonlib): Add $(others-extras).
29815 * catgets/Makefile (others-extras): New.
29816 * elf/Makefile (others-extras): Likewise.
29817 * nss/Makefile (others-extras): Likewise.
29819 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29822 * csu/libc-start.c (__libc_multiple_libcs): Removed.
29823 * elf/dl-open.c: Include <libc-internal.h>.
29824 (__libc_multiple_libcs): Removed.
29825 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
29827 * include/libc-internal.h (__libc_multiple_libcs): New.
29828 * misc/sbrk.c: Include <libc-internal.h>.
29829 (__libc_multiple_libcs): Removed.
29831 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29834 * grp/initgroups.c (__nss_group_database): Removed.
29835 (__nss_initgroups_database): Likewise.
29836 * nscd/gai.c (__nss_hosts_database): Likewise.
29837 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
29838 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
29839 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
29840 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
29841 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
29842 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
29844 * nss/nsswitch.c (__nss_database_custom): Define only if
29845 USE_NSCD is defined.
29846 (__nss_configure_lookup): Use __nss_database_custom only if
29847 USE_NSCD is defined.
29848 * nss/nsswitch.h (__nss_database_custom): Declare only if
29849 USE_NSCD is defined. Add attribute_hidden.
29850 (__nss_setent): Add attribute_hidden.
29851 (__nss_endent): Likewise.
29852 (__nss_getent_r): Likewise.
29853 (__nss_getent): Likewise.
29854 (DEFINE_DATABASE): Declare __nss_##arg##_database.
29856 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29859 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
29860 libc_hidden_proto and libc_hidden_def.
29862 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29865 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
29866 Add libc_hidden_proto.
29867 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
29868 Add libc_hidden_def.
29870 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29873 * gmon/Makefile (routines): Remove bb_init_func and
29875 (elide-routines.os): Removed.
29876 * gmon/bb_exit_func.c: Likewise.
29877 * gmon/bb_init_func.c: Likewise.
29878 * include/sys/gmon.h (__bb): Likewise.
29879 (__bb_init_func): Likewise.
29880 (__bb_exit_func): Likewise.
29881 * sysdeps/alpha/bb_init_func.S: Likewise.
29883 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29885 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
29886 * include/setjmp.h (____longjmp_chk): Here. Add
29889 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
29892 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
29894 (__strspn_sse2): Likewise.
29896 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29898 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
29899 (close_not_cancel_no_status): Likewise.
29900 (__close_nocancel): New macro.
29901 (__close_nocancel_nostatus): Likewise.
29902 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
29904 (close_not_cancel): Likewise.
29905 (close_not_cancel_no_status): Likewise.
29906 (__close_nocancel): New prototype.
29907 (__close_nocancel_nostatus): New function.
29908 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
29909 * catgets/open_catalog.c (__open_catalog): Replace
29910 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
29911 * gmon/gmon.c (write_gmon): Likewise.
29912 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
29913 * intl/loadmsgcat.c (close): Likewise.
29914 * io/ftw.c (open_dir_stream): Likewise.
29915 (ftw_startup): Likewise.
29916 * libio/fileops.c (_IO_file_open): Likewise.
29917 (_IO_file_close_mmap): Likewise.
29918 (_IO_file_close): Likewise.
29919 * libio/iopopen.c (_IO_dup2): Likewise.
29920 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29921 * locale/loadlocale.c (_nl_load_locale): Likewise.
29922 * login/utmp_file.c (pututline_file): Likewise.
29923 (endutent_file): Likewise.
29924 * misc/daemon.c (daemon): Likewise.
29925 * nscd/nscd_getai.c (__nscd_getai): Likewise.
29926 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29927 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29928 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29929 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29930 * nscd/nscd_helper.c (open_socket): Likewise.
29931 (__nscd_open_socket): Likewise.
29932 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
29933 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
29934 (__nscd_innetgr): Likewise.
29935 * nss/nss_db/db-open.c (internal_setent): Likewise.
29936 * resolv/res-close.c (__res_iclose): Likewise.
29937 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
29938 * sysdeps/posix/closedir.c (__closedir): Likewise.
29939 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
29940 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29941 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
29942 (opendir_tail): Likewise.
29943 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29944 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
29945 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
29946 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29947 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29948 (gethostid): Likewise.
29949 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29950 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29952 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29953 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
29954 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29955 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29957 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
29958 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
29959 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29961 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
29962 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29964 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29966 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
29967 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29968 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29971 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
29972 (openat_not_cancel_3): Likewise.
29973 (openat64_not_cancel_3): Likewise).
29974 (openat_not_cancel_3): Likewise).
29975 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
29977 (openat_not_cancel_3): Likewise.
29978 (openat64_not_cancel): Likewise.
29979 (openat64_not_cancel_3): Likewise.
29980 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
29981 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
29982 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
29983 __open{64}_nocancel.
29984 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29985 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29986 * sysdeps/posix/opendir.c (__opendirat): Likewise.
29988 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29991 * include/argz.h (__argz_create_sep): New function prototype.
29992 (__argz_append): Likewise.
29993 (__argz_add): Likewise.
29994 (__argz_add_sep): Likewise.
29995 (__argz_delete): Likewise.
29996 (__argz_insert): Likewise.
29997 (__argz_replace): Likewise.
29998 * string/argz.h (__argz_create_sep): Removed.
29999 (__argz_append): Likewise.
30000 (__argz_add): Likewise.
30001 (__argz_add_sep): Likewise.
30002 (__argz_delete): Likewise.
30003 (__argz_insert): Likewise.
30004 (__argz_replace): Likewise.
30006 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30008 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
30009 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
30010 (GNU_PROPERTY_STACK_SIZE): Likewie.
30011 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
30012 (GNU_PROPERTY_LOPROC): Likewise.
30013 (GNU_PROPERTY_HIPROC): Likewise.
30014 (GNU_PROPERTY_LOUSER): Likewise.
30015 (GNU_PROPERTY_HIUSER): Likewise.
30016 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
30017 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
30018 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
30019 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
30020 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
30021 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
30022 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
30023 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
30024 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
30025 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
30026 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
30027 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
30028 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
30029 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
30030 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
30031 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
30032 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
30033 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
30034 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
30035 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
30036 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
30037 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
30038 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
30040 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30042 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
30045 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30048 * math/math.h (isinf): Check if in C or C++ mode before using
30049 __builtin_types_compatible_p, since this is a C mode feature.
30051 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30053 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
30054 (__write_nocancel): New macro.
30055 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
30056 Rewrite as a function prototype.
30057 (write_not_cancel): Remove macro.
30058 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
30059 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
30060 (write_gmon): Likewise.
30061 * libio/fileops.c (_IO_new_file_write): Likewise.
30062 * login/utmp_file.c (pututline_file): Likewise.
30063 (updwtmp_file): Likewise.
30064 * stdio-common/psiginfo.c (psiginfo): Likewise.
30065 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30066 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30067 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30069 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30072 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
30073 (__read_nocancel): New macro.
30074 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30076 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
30078 (__read_nocancel): New prototype.
30079 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
30080 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
30081 with __read_nocancel.
30082 * intl/loadmsgcat.c (read): Likewise.
30083 * libio/fileops.c (_IO_file_read): Likewise.
30084 * locale/loadlocale.c (_nl_load_locale): Likewise.
30085 * login/utmp_file.c (getutent_r_file): Likewise.
30086 (internal_getut_r): Likewise.
30087 (getutline_r_file): Likewise.
30088 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30089 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30090 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30091 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30093 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
30094 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30095 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30097 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30099 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30101 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30103 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30105 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30108 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
30109 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
30112 2017-08-17 DJ Delorie <dj@redhat.com>
30114 * bug17079.c: Update to new test harness.
30115 * test-digits-dots.c: Likewise.
30116 * test-netdb.c: Likewise.
30117 * tst-field.c: Likewise.
30118 * tst-nss-getpwent.c: Likewise.
30119 * tst-nss-static.c: Likewise.
30120 * tst-nss-test1.c: Likewise.
30121 * tst-nss-test2.c: Likewise.
30122 * tst-nss-test3.c: Likewise.
30123 * tst-nss-test4.c: Likewise.
30124 * tst-nss-test5.c: Likewise.
30126 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30128 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
30129 (open_not_cancel_2): Likewise.
30130 (open_nocancel): New macro.
30131 (open64_nocancel): Likewise.
30132 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
30133 (open_not_cancel_2): Likewise.
30134 (__open_nocancel): New prototype.
30135 (__open64_nocancel): Likewise.
30136 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30138 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
30139 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
30140 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
30141 with __open_nocancel.
30142 * csu/check_fds.c (check_one_fd): Likewise.
30143 * gmon/gmon.c (write_gmon): Likewise.
30144 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
30145 * intl/loadmsgcat.c (open): Likewise.
30146 * libio/fileops.c (_IO_file_open): Likewise.
30147 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30148 * locale/loadlocale.c (_nl_load_locale): Likewise.
30149 * login/utmp_file.c (setutent_file): Likewise.
30150 * misc/daemon.c (daemon): Likewise.
30151 * nss/nss_db/db-open.c (internal_setent): Likewise.
30152 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30153 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
30154 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30155 (__opendir): Likewise.
30156 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30157 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30158 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30159 (gethostid): Likewise.
30160 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30161 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30163 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30164 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
30165 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30166 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30168 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30170 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30172 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
30174 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30176 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30178 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30179 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30181 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
30183 * benchtests/bench-skeleton.c (main): Add support for
30184 latency benchmarking.
30185 * benchtests/scripts/bench.py: Add support for latency benchmarking.
30187 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
30189 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
30190 the startup object.
30192 2017-08-17 Florian Weimer <fweimer@redhat.com>
30194 * include/sys/socket.h (__opensock): Remove internal_function.
30195 * socket/opensock.c (__opensock): Likewise.
30196 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
30198 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30201 * signal/bits/types/__sigval_t.h: New file.
30202 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
30203 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
30204 and define sigval_t using __sigval_t.
30205 * include/bits/types/__sigval_t.h: New file.
30206 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
30207 instead of <bits/types/__sigval_t.h>.
30208 (struct sigevent): Use __sigval_t instead of sigval_t.
30209 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
30210 instead of <bits/types/__sigval_t.h>.
30211 (siginfo_t): Use __sigval_t instead of sigval_t.
30212 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
30213 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30214 (struct sigevent): Use __sigval_t instead of sigval_t.
30215 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
30216 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30217 (siginfo_t): Use __sigval_t instead of sigval_t.
30218 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
30220 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30222 * NEWS: Remove "[Add new features here]" for 2.27.
30224 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30226 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
30229 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30231 * NEWS: Mention x86-64 FMA optimization.
30233 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30236 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30238 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
30239 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
30240 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
30242 2017-08-16 Andreas Schwab <schwab@suse.de>
30246 * elf/ldd.bash.in: Never run file directly.
30248 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
30251 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
30252 (L(SP_INF_0)): Likewise.
30254 2017-08-15 Florian Weimer <fweimer@redhat.com>
30256 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
30259 2017-08-15 Florian Weimer <fweimer@redhat.com>
30261 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
30262 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
30263 BROKEN_THREAD_SIGNALS code.
30264 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
30265 request_list): Remove caller_pid member used for
30266 BROKEN_THREAD_SIGNALS.
30267 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
30268 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30269 Remove BROKEN_THREAD_SIGNALS support.
30270 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
30271 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
30273 2017-08-15 Florian Weimer <fweimer@redhat.com>
30275 * gmon/Makefile (tests): Add tst-gmon.
30276 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
30278 (tests-special): Add tst-gmon-prof.out.
30279 (tst-gmon.out): Depend on clean-tst-gmon-data.
30280 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
30281 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
30282 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
30284 * aclocal.m4 (GPROF): Set and substitute.
30285 * config.amke.in (GPROF): Set.
30286 * configure: Regenerate.
30288 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
30290 * elf/elf.h A (NT_PPC_TAR): New macro.
30291 (NT_PPC_PPR): Likewise.
30292 (NT_PPC_DSCR): Likewise.
30293 (NT_PPC_EBB): Likewise.
30294 (NT_PPC_PMU): Likewise.
30295 (NT_PPC_TM_CGPR): Likewise.
30296 (NT_PPC_TM_CFPR): Likewise.
30297 (NT_PPC_TM_CVMX): Likewise.
30298 (NT_PPC_TM_CVSX): Likewise.
30299 (NT_PPC_TM_SPR): Likewise.
30300 (NT_PPC_TM_CTAR): Likewise.
30301 (NT_PPC_TM_CPPR): Likewise.
30302 (NT_PPC_TM_CDSCR): Likewise.
30304 2017-08-15 Florian Weimer <fweimer@redhat.com>
30306 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
30307 regparm (2) instead of internal_function.
30308 (_MCOUNT_DECL): Adjust.
30310 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
30312 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
30313 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
30315 2017-08-14 Joseph Myers <joseph@codesourcery.com>
30317 * conform/data/sys/wait.h-data (si_value): Do not expect for
30320 2017-08-14 Florian Weimer <fweimer@redhat.com>
30323 NSS: Create stubs for accidentally exported lookup functions.
30324 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
30325 Remove declaration.
30326 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
30327 (ether_hostton): Call __nss_ethers_lookup2 instead.
30328 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
30329 (ether_ntohost): Call __nss_ethers_lookup2 instead.
30330 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
30331 (setup): Call __nss_netgroup_lookup2 instead.
30332 * nss/Makefile (routines): Add compat-lookup.
30333 * nss/Versions (GLIBC_2.27): Add symbol version.
30334 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
30335 (DB_COMPAT_FCT): Remove.
30336 * nss/compat-lookup.c: New file.
30337 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
30338 from databases.def.
30339 * nss/service-lookup.c (NO_COMPAT): Remove definition.
30340 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
30341 (netname2user): Call __nss_publickey_lookup2 instead.
30342 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
30343 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
30346 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30347 Sergei Trofimovich <slyfox@inbox.ru>
30350 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
30351 Rename to MMAP2_PAGE_UNIT.
30352 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
30353 __OFF_T_MATCHES_OFF64_T is not defined.
30354 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
30356 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
30357 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
30359 2017-08-14 Florian Weimer <fweimer@redhat.com>
30361 i386: Do not set internal_function.
30362 * config.h.in (USE_REGPARMS, internal_function): Remove.
30363 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
30364 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
30366 2017-08-14 Florian Weimer <fweimer@redhat.com>
30368 * elf/dl-init.c (_dl_init): Remove internal_function.
30369 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
30370 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
30372 2017-08-14 Florian Weimer <fweimer@redhat.com>
30374 * elf/rtld.c (_dl_start): Remove internal_function.
30375 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
30378 2017-08-14 Florian Weimer <fweimer@redhat.com>
30380 * elf/dl-fini.c (_dl_fini): Remove internal_function
30381 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30383 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
30385 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
30386 (bit_cpu_SHSTK): Likewise.
30387 (index_cpu_IBT): Likewise.
30388 (index_cpu_SHSTK): Likewise.
30389 (reg_IBT): Likewise.
30390 (reg_SHSTK): Likewise.
30391 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30392 Handle index_cpu_IBT and index_cpu_SHSTK.
30394 2017-08-14 Mike FABIAN <mfabian@redhat.com>
30397 * po/fr.po: Fix spelling mistake.
30399 2017-08-13 Florian Weimer <fweimer@redhat.com>
30401 * elf/dl-addr.c (_dl_addr): Remove internal_function.
30402 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
30403 (_dl_catch_error, _dl_receive_error): Likewise.
30404 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
30405 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
30406 (_dl_deallocate_tls): Likewise.
30407 * include/dlfcn.h (_dl_addr): Likewise.
30408 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
30409 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
30410 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
30413 2017-08-13 Florian Weimer <fweimer@redhat.com>
30415 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
30416 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
30418 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
30420 2017-08-13 Florian Weimer <fweimer@redhat.com>
30422 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
30424 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
30425 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
30426 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
30427 internal_function from _dl_make_stack_executable_hook member.
30428 (_dl_make_stack_executable): Remove internal_function.
30429 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
30431 * sysdeps/unix/sysv/linux/dl-execstack.c
30432 (_dl_make_stack_executable): Likewise.
30434 2017-08-13 Florian Weimer <fweimer@redhat.com>
30436 * sysdeps/unix/sysv/linux/netlinkaccess.h
30437 (__netlink_assert_response): Remove internal_function.
30438 * sysdeps/unix/sysv/linux/netlink_assert_response.c
30439 (__netlink_assert_response): Likewise.
30441 2017-08-13 Florian Weimer <fweimer@redhat.com>
30443 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
30445 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
30447 2017-08-13 Florian Weimer <fweimer@redhat.com>
30449 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
30451 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
30452 * inet/netgroup.h (__internal_setnetgrent)
30453 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30454 * inet/getnetgrent_r.c (__internal_setnetgrent)
30455 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30456 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
30457 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
30458 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
30459 * nss/nsswitch.h (db_lookup_function): Likewise.
30461 2017-08-13 Florian Weimer <fweimer@redhat.com>
30463 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
30464 Remove internal_function.
30465 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
30466 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
30467 message argument on the stack.
30468 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
30471 2017-08-12 Mike FABIAN <mfabian@redhat.com>
30473 Adapt test case data to the changes in the thousands
30477 * localedata/tst-langinfo.sh: Adapt test case data.
30478 * stdlib/tst-strfmon_l.c: Likewise.
30479 * stdlib/tst-strtod4.c: Likewise.
30480 * stdlib/tst-strtod5i.c: Likewise.
30482 2017-08-11 Florian Weimer <fweimer@redhat.com>
30485 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
30486 Suppress pedantic warning resulting from statement expression.
30487 (__ASSERT_FUNCTION): Add missing __extension__.
30489 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30491 * benchtests/bench-memmove-large.c: Print output in JSON
30493 * benchtests/bench-memmove.c: Likewise.
30495 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
30496 * benchtests/bench-memchr.c (do_one_test): Likewise.
30497 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
30498 * benchtests/bench-memcpy.c (do_one_test): Likewise.
30499 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
30500 * benchtests/bench-memmove.c (do_one_test): Likewise.
30501 * benchtests/bench-memset-large.c (do_one_test): Likewise.
30502 * benchtests/bench-memset.c (do_one_test): Likewise.
30503 * benchtests/bench-string.h (test_init): Remove memsets.
30505 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30508 (Computing the Width of an Integer Data Type): Rename section to
30509 "Width of an Integer Type". Remove inaccurate statement regarding
30510 lack of C language facilities for determining width of integer
30511 types, and reorder content to improve flow and context of
30514 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30516 * lang.texi (va_copy): Change standard from ISO to C99.
30517 (__va_copy): Add standard and header annotation.
30518 Update description for clarity of origins and current use.
30520 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30523 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
30524 xssqrtqp requires operands to be in Vector Registers
30525 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
30526 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
30527 (__ieee754_sqrtf128): Likewise.
30529 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
30531 * sysdeps/aarch64/memcmp.S (memcmp):
30532 Rewrite of optimized memcmp.
30534 2017-08-10 Florian Weimer <fweimer@redhat.com>
30536 Introduce ld.so exceptions.
30537 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
30538 (_dl_exception_create, _dl_exception_create_format)
30539 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
30540 (_dl_catch_exception): Declare.
30541 (_dl_catch_error): Update comment.
30542 * elf/dl-error-skeleton.c (struct catch): Replace objname,
30543 errstring, malloced members with exception member.
30544 (_dl_out_of_memory): Remove.
30545 (fatal_error): New function, extracted from _dl_signal_error.
30546 (_dl_signal_exception, _dl_signal_cexception): New functions.
30547 (_dl_signal_error): Call _dl_exception_create to allocate an
30549 (_dl_catch_exception): New function, based on _dl_catch_error.
30550 (_dl_catch_error): Implement using _dl_catch_exception.
30551 * elf/dl-exception.c: New file.
30552 * elf/Makefile (dl-routines): Add dl-exception.
30553 (elide-routines.os): Likewise.
30554 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
30555 _dl_exception_create_format, _dl_exception_free.
30556 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
30557 _dl_signal_exception.
30558 * elf/dl-lookup.c (make_string): Remove.
30559 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
30560 _dl_signal_cexception, _dl_exception_free.
30561 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
30562 _dl_signal_exception.
30563 * elf/dl-sym.c (do_sym): Likewise.
30564 * elf/dl-version.c (make_string): Remove.
30565 (match_symbol): Use _dl_exception_create_format,
30566 _dl_signal_cexception, _dl_exception_free.
30567 (_dl_check_map_versions): Likewise.
30568 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
30569 _dl_catch_exception.
30570 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
30571 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
30572 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
30573 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
30574 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
30575 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
30576 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
30577 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
30579 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
30580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
30582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
30584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
30586 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
30587 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
30588 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
30590 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
30592 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
30594 2017-08-10 Florian Weimer <fweimer@redhat.com>
30596 * inet/net-internal.h (__inet6_scopeid_pton): Remove
30597 attribute_hidden, internal_function.
30598 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
30601 2017-08-10 Florian Weimer <fweimer@redhat.com>
30603 * malloc/malloc.c (get_max_fast): Reimplement as an inline
30604 function which calls __builtin_unreachable.
30606 2017-08-10 Mike FABIAN <mfabian@redhat.com>
30608 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
30609 Indian monetary formatting
30610 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
30613 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
30615 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
30616 Fix typo in comment.
30619 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
30620 PTRACE_SEIZE_DEVEL): Remove.
30621 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
30622 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30623 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30624 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30625 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30627 2017-08-09 Joseph Myers <joseph@codesourcery.com>
30629 * posix/bits/types.h (__qaddr_t): Remove.
30632 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
30633 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30635 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
30636 (ucontext_t): Use __ctx with uc_flags.
30637 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
30638 (__ctxt): Likewise.
30639 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30641 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
30642 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30644 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
30645 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30647 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
30649 (ucontext_t): Use __ctx with uc_flags.
30650 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
30651 (ucontext_t): Use __ctx with uc_flags.
30652 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
30653 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
30654 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
30655 (ucontext_t): Use __ctx with uc_flags.
30656 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
30657 undefine further down.
30658 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30660 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
30661 undefine further down.
30662 (ucontext_t): Use __ctx with uc_flags.
30663 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
30664 undefine further down.
30665 (ucontext_t): Use __ctx with uc_flags.
30666 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
30667 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
30668 Rename uc_pad to __glibc_reserved1.
30669 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
30670 undefine further down.
30671 (ucontext_t): Use __ctx with uc_flags.
30672 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
30674 (ucontext_t): Use __ctx with uc_flags.
30675 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
30676 __ctx with uc_flags.
30677 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
30678 (ucontext_t): Use __ctx with uc_flags.
30679 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
30680 __ctx with uc_flags.
30682 2017-08-09 Florian Weimer <fweimer@redhat.com>
30685 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
30686 before early return.
30688 2017-08-09 Andreas Schwab <schwab@suse.de>
30691 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
30695 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
30696 tst-compat-forwarder.
30697 (modules-names): Add tst-compat-forwarder-mod.
30698 ($(objpfx)tst-compat-forwarder): Depend on
30699 $(objpfx)tst-compat-forwarder-mod.so.
30700 * nptl/tst-compat-forwarder.c: New file.
30701 * nptl/tst-compat-forwarder-mod.c: New file.
30703 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
30705 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
30708 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
30709 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
30711 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
30713 (__libc_ifunc_impl_list): Add __memcpy_falkor.
30714 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
30715 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
30716 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30718 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
30721 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30724 * manual/setjmp.texi (getcontex): Document uc_stack value
30725 compatibility differences.
30727 2017-08-08 Joseph Myers <joseph@codesourcery.com>
30729 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
30730 (old_malloc_hook): Likewise.
30731 (old_memalign_hook): Likewise.
30732 (old_realloc_hook): Likewise.
30733 (struct hdr): Likewise.
30735 (freehook): Likewise.
30736 (mallochook): Likewise.
30737 (memalignhook): Likewise.
30738 (reallochook): Likewise.
30739 (mprobe): Likewise.
30740 * malloc/mtrace.c (mallwatch): Likewise.
30741 (tr_old_free_hook): Likewise.
30742 (tr_old_malloc_hook): Likewise.
30743 (tr_old_realloc_hook): Likewise.
30744 (tr_old_memalign_hook): Likewise.
30745 (tr_where): Likewise.
30746 (lock_and_info): Likewise.
30747 (tr_freehook): Likewise.
30748 (tr_mallochook): Likewise.
30749 (tr_reallochook): Likewise.
30750 (tr_memalignhook): Likewise.
30751 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
30752 * misc/mmap.c (__mmap): Likewise.
30753 * misc/mmap64.c (__mmap64): Likewise.
30754 * misc/mprotect.c (__mprotect): Likewise.
30755 * misc/msync.c (msync): Likewise.
30756 * misc/munmap.c (__munmap): Likewise.
30757 * posix/posix_madvise.c (posix_madvise): Likewise.
30758 * socket/send.c (__send): Likewise.
30759 * socket/sendto.c (__sendto): Likewise.
30760 * socket/setsockopt.c (__setsockopt): Likewise.
30761 * string/memcmp.c (__ptr_t): Remove macro.
30762 (MEMCMP): Use void * instead of ptr_t.
30763 * string/memrchr.c (__ptr_t): Remove macro.
30764 (__memrchr): Use void * instead of ptr_t.
30765 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
30766 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30767 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30768 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
30769 * sysdeps/mach/msync.c (msync): Likewise.
30770 * sysdeps/mach/munmap.c (__munmap): Likewise.
30771 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
30773 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30774 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
30775 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
30776 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
30777 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
30778 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30779 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
30780 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
30782 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30783 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
30784 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
30785 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
30786 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
30787 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
30788 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
30789 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
30790 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
30792 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
30793 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
30794 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
30795 (MEMCMP): Use void * instead of ptr_t.
30796 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
30797 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
30799 2017-08-08 Florian Weimer <fweimer@redhat.com>
30801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
30804 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
30807 * csu/libc-tls.c: Include <startup.h> first.
30808 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
30809 * elf/dl-tunables.c: Include <startup.h> first.
30810 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
30811 * sysdeps/generic/startup.h: New file.
30812 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
30813 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
30814 (I386_USE_SYSENTER): New. Defined to 0.
30816 2017-08-08 Andreas Schwab <schwab@suse.de>
30819 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
30820 * nptl/pt-system.c (system): Likewise.
30822 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30825 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
30827 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
30828 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
30829 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
30830 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
30831 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
30832 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
30833 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
30835 2017-08-07 Joseph Myers <joseph@codesourcery.com>
30838 * bits/sigaction.h (struct sigaction): Define sa_handler and
30839 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
30840 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30841 [__USE_XOPEN_EXTENDED].
30842 (SA_RESTART): Likewise.
30843 (SA_NODEFER): Likewise.
30844 (SA_RESETHAND): Likewise.
30845 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
30846 (struct sigaction): Define sa_handler and sa_sigaction using union
30847 also for [__USE_XOPEN_EXTENDED].
30848 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30849 [__USE_XOPEN_EXTENDED].
30850 (SA_RESTART): Likewise.
30851 (SA_NODEFER): Likewise.
30852 (SA_RESETHAND): Likewise.
30853 * sysdeps/unix/sysv/linux/bits/sigaction.h
30854 (struct sigaction): Define sa_handler and sa_sigaction using union
30855 also for [__USE_XOPEN_EXTENDED].
30856 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30857 [__USE_XOPEN_EXTENDED].
30858 (SA_RESTART): Likewise.
30859 (SA_NODEFER): Likewise.
30860 (SA_RESETHAND): Likewise.
30861 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
30862 (struct sigaction): Define sa_handler and sa_sigaction using union
30863 also for [__USE_XOPEN_EXTENDED].
30864 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30865 [__USE_XOPEN_EXTENDED].
30866 (SA_RESTART): Likewise.
30867 (SA_NODEFER): Likewise.
30868 (SA_RESETHAND): Likewise.
30869 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
30870 (struct sigaction): Define sa_handler and sa_sigaction using union
30871 also for [__USE_XOPEN_EXTENDED].
30872 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30873 [__USE_XOPEN_EXTENDED].
30874 (SA_RESTART): Likewise.
30875 (SA_NODEFER): Likewise.
30876 (SA_RESETHAND): Likewise.
30877 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30878 (struct sigaction): Define sa_handler and sa_sigaction using union
30879 also for [__USE_XOPEN_EXTENDED].
30880 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30881 [__USE_XOPEN_EXTENDED].
30882 (SA_RESTART): Likewise.
30883 (SA_NODEFER): Likewise.
30884 (SA_RESETHAND): Likewise.
30885 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
30886 (struct sigaction): Define sa_handler and sa_sigaction using union
30887 also for [__USE_XOPEN_EXTENDED].
30888 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30889 [__USE_XOPEN_EXTENDED].
30890 (SA_RESTART): Likewise.
30891 (SA_NODEFER): Likewise.
30892 (SA_RESETHAND): Likewise.
30893 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
30894 (struct sigaction): Define sa_handler and sa_sigaction using union
30895 also for [__USE_XOPEN_EXTENDED].
30896 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30897 [__USE_XOPEN_EXTENDED].
30898 (SA_RESTART): Likewise.
30899 (SA_NODEFER): Likewise. Define directly rather than as alias.
30900 (SA_RESETHAND): Likewise.
30901 (SA_INTERRUPT): Define only for [__USE_MISC].
30902 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
30903 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
30905 (SA_STACK): Define only for [__USE_MISC].
30906 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
30907 (struct sigaction): Define sa_handler and sa_sigaction using union
30908 also for [__USE_XOPEN_EXTENDED].
30909 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30910 [__USE_XOPEN_EXTENDED].
30911 (SA_RESTART): Likewise.
30912 (SA_NODEFER): Likewise.
30913 (SA_RESETHAND): Likewise.
30914 (SA_NOPTRACE): Define only for [__USE_MISC].
30916 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
30917 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
30918 (struct catalog_info): Likewise.
30919 * inet/htontest.c (lo): Likewise.
30921 * inet/inet_lnaof.c (inet_lnaof): Likewise.
30922 * inet/inet_net.c (inet_network): Likewise.
30923 * inet/inet_netof.c (inet_netof): Likewise.
30924 * inet/rcmd.c (__ivaliduser): Likewise.
30925 (iruserok): Likewise.
30926 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
30927 * locale/programs/locale-spec.c (locale_special): Likewise.
30928 * nis/nis_findserv.c (struct findserv_req): Likewise.
30929 (__nis_findfastest_with_timeout): Likewise.
30930 * nss/test-netdb.c (test_network): Likewise.
30931 * resolv/inet_neta.c (inet_neta): Likewise.
30932 * resolv/ns_date.c (ns_datetosecs): Likewise.
30933 (SECS_PER_DAY): Likewise.
30934 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
30936 * resolv/res_comp.c (__putlong): Likewise.
30937 (__putshort): Likewise.
30938 (_getlong): Likewise.
30939 (_getshort): Likewise.
30940 * resolv/res_debug.c (p_time): Likewise.
30941 (precsize_ntoa): Likewise.
30942 (precsize_aton): Likewise.
30943 (latlon2ul): Likewise.
30944 (loc_aton): Likewise.
30945 (loc_ntoa): Likewise.
30946 * resolv/res_hconf.c (struct netaddr): Likewise.
30947 (_res_hconf_reorder_addrs): Likewise.
30948 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
30949 (clnttcp_control): Likewise.
30950 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30951 (clntudp_control): Likewise.
30952 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
30953 (clntunix_control): Likewise.
30954 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
30955 * sunrpc/rpc/auth.h (union des_block): Likewise.
30956 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
30957 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
30958 (xdrrec_create): Likewise.
30959 (xdrrec_endofrecord): Likewise.
30960 (flush_out): Likewise.
30961 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
30962 (xdrstdio_putlong): Likewise.
30963 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
30966 * misc/sys/cdefs.h (__long_double_t): Remove.
30967 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
30968 instead of __long_double_t,
30969 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
30971 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
30973 * benchtests/scripts/compare_strings.py: Avoid display error when
30974 running on a text terminal.
30976 * benchtests/scripts/compare_strings.py (main): Add an
30977 optional -base option.
30978 (process_results): New argument base_func.
30980 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
30982 * benchtests/bench-memcpy-large.c (test_name): Likewise.
30983 * benchtests/bench-memcpy-random.c (test_name): Likewise.
30985 2017-08-07 Andreas Schwab <schwab@suse.de>
30987 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
30988 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
30989 * intl/Makefile ($(objpfx)tst-gettext.out)
30990 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
30991 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
30992 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
30993 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
30994 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
30995 * posix/Makefile ($(objpfx)globtest.out)
30996 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
30997 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
30998 ($(objpfx)tst-printf.out): Likewise.
30999 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
31000 ($(objpfx)tst-setcontext3.out): Likewise.
31002 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
31004 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31005 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
31006 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
31007 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
31008 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
31010 (CFLAGS-doasin-fma.c): New.
31011 (CFLAGS-dosincos-fma.c): Likewise.
31012 (CFLAGS-e_asin-fma.c): Likewise.
31013 (CFLAGS-e_atan2-fma.c): Likewise.
31014 (CFLAGS-e_exp-fma.c): Likewise.
31015 (CFLAGS-e_log-fma.c): Likewise.
31016 (CFLAGS-e_pow-fma.c): Likewise.
31017 (CFLAGS-halfulp-fma.c): Likewise.
31018 (CFLAGS-mpa-fma.c): Likewise.
31019 (CFLAGS-mpatan-fma.c): Likewise.
31020 (CFLAGS-mpatan2-fma.c): Likewise.
31021 (CFLAGS-mpexp-fma.c): Likewise.
31022 (CFLAGS-mplog-fma.c): Likewise.
31023 (CFLAGS-mpsqrt-fma.c): Likewise.
31024 (CFLAGS-mptan-fma.c): Likewise.
31025 (CFLAGS-s_atan-fma.c): Likewise.
31026 (CFLAGS-sincos32-fma.c): Likewise.
31027 (CFLAGS-slowexp-fma.c): Likewise.
31028 (CFLAGS-slowpow-fma.c): Likewise.
31029 (CFLAGS-s_sin-fma.c): Likewise.
31030 (CFLAGS-s_tan-fma.c): Likewise.
31031 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
31032 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
31033 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
31034 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
31035 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
31036 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
31037 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
31038 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
31039 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
31040 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
31041 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
31042 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
31043 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
31044 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
31045 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
31046 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
31047 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
31048 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
31049 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
31050 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
31051 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
31052 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
31053 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
31054 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
31055 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31056 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31057 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31058 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
31059 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31060 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31061 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31063 2017-08-04 Joseph Myers <joseph@codesourcery.com>
31065 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
31066 (min_of_type_f): New macro.
31067 (min_of_type_): Likewise.
31068 (min_of_type_l): Likewise.
31069 (min_of_type_f128): Likewise.
31070 (min_of_type): Define using __MATH_TG and taking an expression
31072 (math_check_force_underflow): Pass expression instead of type to
31074 (math_check_force_underflow_nonneg): Likewise.
31076 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31078 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31079 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
31080 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
31082 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31084 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31085 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
31086 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
31087 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
31088 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
31089 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
31090 memcpy_chk-nonshared, mempcpy_chk-nonshared,
31091 memmove_chk-nonshared and memset_chk-nonshared
31092 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
31093 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
31094 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
31095 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
31096 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
31097 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
31098 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
31099 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
31100 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
31101 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
31102 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
31103 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
31104 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
31105 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
31106 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
31107 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
31108 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
31109 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
31110 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
31111 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
31112 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
31113 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
31114 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
31115 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
31116 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
31117 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
31118 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
31119 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
31120 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
31121 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
31122 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
31123 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
31124 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
31125 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31126 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31127 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
31128 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
31129 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
31130 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
31131 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
31132 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
31133 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
31134 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
31135 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
31136 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
31137 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
31138 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
31139 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
31140 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
31141 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
31142 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
31143 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
31144 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
31145 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
31146 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
31147 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
31148 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
31149 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
31150 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
31151 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
31152 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
31153 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
31154 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
31155 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
31156 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
31157 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
31158 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
31159 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
31160 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
31161 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
31162 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
31163 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31164 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31165 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31166 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31167 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31168 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31169 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31170 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31171 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31172 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31173 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31174 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31175 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31176 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31177 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31178 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31179 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31180 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31181 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31182 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31183 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31184 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31185 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31186 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31187 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31188 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31189 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31190 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31191 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31192 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31193 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31194 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31195 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31196 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31197 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31198 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31199 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31201 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31203 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
31204 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
31205 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
31206 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
31207 svml_d_log2_core-sse2, svml_d_log4_core-sse,
31208 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
31209 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
31210 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
31211 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
31212 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
31213 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
31214 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
31215 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
31216 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
31217 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
31218 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
31219 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
31220 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
31221 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
31222 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
31223 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
31224 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
31225 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
31226 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
31227 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
31228 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
31229 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
31230 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
31231 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
31232 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
31233 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
31234 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
31235 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
31236 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
31237 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
31238 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
31239 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
31240 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
31241 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
31242 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
31243 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
31244 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
31245 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
31246 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
31247 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
31248 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
31249 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
31250 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
31251 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
31252 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
31253 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
31254 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
31255 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
31256 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
31257 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
31258 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
31259 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
31260 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
31261 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
31263 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
31264 Don't include <sysdep.h> nor <init-arch.h>.
31265 (_ZGVbN2v_cos): Removed.
31266 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
31268 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
31269 Don't include <sysdep.h> nor <init-arch.h>.
31270 (_ZGVdN4v_cos): Removed.
31271 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
31273 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
31274 Don't include <sysdep.h> nor <init-arch.h>.
31275 (_ZGVeN8v_cos): Removed.
31276 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
31278 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
31279 Don't include <sysdep.h> nor <init-arch.h>.
31280 (_ZGVbN2v_exp): Removed.
31281 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
31283 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
31284 Don't include <sysdep.h> nor <init-arch.h>.
31285 (_ZGVdN4v_exp): Removed.
31286 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
31288 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
31289 Don't include <sysdep.h> nor <init-arch.h>.
31290 (_ZGVeN8v_exp): Removed.
31291 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
31293 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
31294 Don't include <sysdep.h> nor <init-arch.h>.
31295 (_ZGVbN2v_log): Removed.
31296 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
31298 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
31299 Don't include <sysdep.h> nor <init-arch.h>.
31300 (_ZGVdN4v_log): Removed.
31301 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
31303 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
31304 Don't include <sysdep.h> nor <init-arch.h>.
31305 (_ZGVeN8v_log): Removed.
31306 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
31308 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
31309 Don't include <sysdep.h> nor <init-arch.h>.
31310 (_ZGVbN2vv_pow): Removed.
31311 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
31313 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
31314 Don't include <sysdep.h> nor <init-arch.h>.
31315 (_ZGVdN4vv_pow): Removed.
31316 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
31318 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
31319 Don't include <sysdep.h> nor <init-arch.h>.
31320 (_ZGVeN8vv_pow): Removed.
31321 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
31323 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
31324 Don't include <sysdep.h> nor <init-arch.h>.
31325 (_ZGVbN2v_sin): Removed.
31326 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
31328 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
31329 Don't include <sysdep.h> nor <init-arch.h>.
31330 (_ZGVbN4v_sin): Removed.
31331 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
31333 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
31334 Don't include <sysdep.h> nor <init-arch.h>.
31335 (_ZGVbN8v_sin): Removed.
31336 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
31338 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
31339 Don't include <sysdep.h> nor <init-arch.h>.
31340 (_ZGVbN2vvv_sincos): Removed.
31341 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
31343 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
31344 Don't include <sysdep.h> nor <init-arch.h>.
31345 (_ZGVdN4vvv_sincos): Removed.
31346 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
31348 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
31349 Don't include <sysdep.h> nor <init-arch.h>.
31350 (_ZGVeN8vvv_sincos): Removed.
31351 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
31353 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
31354 Don't include <sysdep.h> nor <init-arch.h>.
31355 (_ZGVeN16v_cosf): Removed.
31356 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
31358 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
31359 Don't include <sysdep.h> nor <init-arch.h>.
31360 (_ZGVbN4v_cosf): Removed.
31361 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
31363 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
31364 Don't include <sysdep.h> nor <init-arch.h>.
31365 (_ZGVdN8v_cosf): Removed.
31366 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
31368 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
31369 Don't include <sysdep.h> nor <init-arch.h>.
31370 (_ZGVeN16v_expf): Removed.
31371 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
31373 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
31374 Don't include <sysdep.h> nor <init-arch.h>.
31375 (_ZGVbN4v_expf): Removed.
31376 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
31378 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
31379 Don't include <sysdep.h> nor <init-arch.h>.
31380 (_ZGVdN8v_expf): Removed.
31381 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
31383 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
31384 Don't include <sysdep.h> nor <init-arch.h>.
31385 (_ZGVeN16v_logf): Removed.
31386 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
31388 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
31389 Don't include <sysdep.h> nor <init-arch.h>.
31390 (_ZGVbN4v_logf): Removed.
31391 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
31393 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
31394 Don't include <sysdep.h> nor <init-arch.h>.
31395 (_ZGVdN8v_logf): Removed.
31396 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
31398 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
31399 Don't include <sysdep.h> nor <init-arch.h>.
31400 (_ZGVeN16vv_powf): Removed.
31401 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
31403 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
31404 Don't include <sysdep.h> nor <init-arch.h>.
31405 (_ZGVbN4vv_powf): Removed.
31406 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
31408 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
31409 Don't include <sysdep.h> nor <init-arch.h>.
31410 (_ZGVdN8vv_powf): Removed.
31411 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
31413 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
31414 Don't include <sysdep.h> nor <init-arch.h>.
31415 (_ZGVeN16vvv_sincosf): Removed.
31416 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
31418 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
31419 Don't include <sysdep.h> nor <init-arch.h>.
31420 (_ZGVbN4vvv_sincosf): Removed.
31421 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
31423 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
31424 Don't include <sysdep.h> nor <init-arch.h>.
31425 (_ZGVdN8vvv_sincosf): Removed.
31426 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
31428 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
31429 Don't include <sysdep.h> nor <init-arch.h>.
31430 (_ZGVeN16v_sinf): Removed.
31431 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
31433 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
31434 Don't include <sysdep.h> nor <init-arch.h>.
31435 (_ZGVbN4v_sinf): Removed.
31436 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
31438 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
31439 Don't include <sysdep.h> nor <init-arch.h>.
31440 (_ZGVdN8v_sinf): Removed.
31442 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31444 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31445 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
31446 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
31447 s_rint-sse4_1 and s_rintf-sse4_1.
31448 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
31449 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
31450 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
31451 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
31452 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
31453 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
31454 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
31455 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
31456 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
31457 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
31458 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
31459 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31461 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
31462 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
31463 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31464 (__ceilf): Removed.
31465 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
31466 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
31467 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31468 (__floor): Removed.
31469 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
31470 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
31471 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31472 (__floorf): Removed.
31473 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
31474 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
31475 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31476 (__nearbyint): Removed.
31477 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
31478 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
31479 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31480 (__nearbyintf): Removed.
31481 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
31482 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
31483 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31485 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
31486 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
31487 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31488 (__rintf): Removed.
31490 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31492 * sysdeps/i386/start.S (_start): Check Check PIC instead of
31493 SHARED. Avoid dynamic relocation against main in static PIE.
31495 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31498 * elf/Makefile (CFLAGS-tst-prelink.c): New.
31499 (LDFLAGS-tst-prelink): Likewise.
31501 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31503 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
31504 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
31505 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
31506 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
31507 (INTERNAL_SYSCALL_NCS): Likewise.
31508 (LOADARGS_1): Likewise.
31509 (LOADARGS_5): Likewise.
31510 (RESTOREARGS_1): Likewise.
31511 (RESTOREARGS_5): Likewise.
31513 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31515 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
31516 (MEMPCPY_SYMBOL): Likewise.
31517 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31518 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
31519 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
31521 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31522 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
31524 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
31525 (__hidden_ver1): Don't use in libc.a.
31526 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
31527 (__mempcpy): Don't create a weak alias in libc.a.
31528 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
31530 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
31531 (__hidden_ver1): Don't use in libc.a.
31533 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31535 * config.make.in (have-insert): New.
31536 * configure.ac (libc_cv_insert): New. Set to yes if linker
31537 supports INSERT in linker script.
31538 (AC_SUBST(libc_cv_insert): New.
31539 * configure: Regenerated.
31540 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
31541 if $(have-insert) == yes.
31543 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31545 * elf/Makefile (tests): Add vismain only if
31546 $(have-protected-data) == yes.
31547 (tests-pie): Likewise.
31549 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31552 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
31553 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
31555 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31558 * sysdeps/i386/i586/memset.S
31559 (__memset_zero_constant_len_parameter): Removed.
31560 * sysdeps/i386/i686/memset.S
31561 (__memset_zero_constant_len_parameter): Likewise.
31562 * sysdeps/i386/i686/multiarch/memset_chk.S
31563 (__memset_zero_constant_len_parameter): Likewise.
31564 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
31567 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31569 * stdlib/getentropy.c (getentropy): Change return type to int.
31571 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31573 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
31575 2017-08-03 Joseph Myers <joseph@codesourcery.com>
31577 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
31579 * math/s_nexttowardf.c (__nexttowardf): Likewise.
31580 * sysdeps/generic/math_private.h (ieee_double_shape_type):
31582 (ieee_float_shape_type): Likewise.
31583 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
31584 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
31585 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31586 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31587 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
31588 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
31589 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
31590 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31591 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
31593 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31594 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31595 (__ieee754_yn): Likewise.
31596 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31597 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31598 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
31600 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31601 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
31602 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
31603 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
31604 (__erfc): Likewise.
31605 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
31606 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
31607 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
31608 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
31609 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
31610 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
31612 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
31613 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
31614 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
31615 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
31616 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31617 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
31618 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
31619 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
31620 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
31621 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
31622 (__issignaling): Likewise.
31623 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
31624 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
31625 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31627 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31628 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
31629 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
31630 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
31632 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
31634 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
31635 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
31636 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
31637 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
31638 (__erfcf): Likewise.
31639 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
31640 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31641 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
31642 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
31644 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
31645 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
31647 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
31648 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
31649 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
31650 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
31651 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
31652 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31653 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
31654 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
31656 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
31658 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
31660 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
31661 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31663 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
31665 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31666 (__ieee754_ynl): Likewise.
31667 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
31668 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
31670 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
31672 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
31673 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
31674 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31676 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
31677 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
31678 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
31679 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
31680 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
31681 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31682 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
31683 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
31685 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
31686 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
31687 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
31689 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
31690 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
31691 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
31692 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
31693 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
31694 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31696 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31698 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31700 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31702 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
31703 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31704 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31705 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
31706 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
31707 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
31708 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
31710 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31712 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31713 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31715 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
31716 (__ieee754_remainderl): Likewise.
31717 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31718 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31719 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31720 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31722 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31723 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31725 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31726 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
31727 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
31728 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
31729 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31730 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31732 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
31733 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
31734 (__ieee754_y0l): Likewise.
31737 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31738 (__ieee754_y1l): Likewise.
31741 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31742 (__ieee754_ynl): Likewise.
31743 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
31744 (__ieee754_lgammal_r): Likewise.
31745 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
31747 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
31748 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
31749 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
31750 (__erfcl): Likewise.
31751 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
31752 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
31754 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
31755 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
31756 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
31757 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
31758 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
31759 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31760 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31762 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
31763 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31764 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
31765 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
31766 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31768 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
31769 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
31771 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
31772 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
31773 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
31774 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31775 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
31777 2017-08-03 Florian Weimer <fweimer@redhat.com>
31780 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
31781 on memory allocation failure.
31783 2017-08-03 Alan Modra <amodra@gmail.com>
31785 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
31786 tst-tlsopt-powerpc.c with function name change and no test harness.
31787 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
31788 Call tls_get_addr_opt_test.
31789 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
31790 (modules-names): Add mod-tlsopt-powerpc.
31791 (mod-tlsopt-powerpc.so-no-z-defs): Define.
31792 (tst-tlsopt-powerpc): Depend on .so.
31793 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
31794 define. Expand use in TLS_GD and TLS_LD.
31796 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31798 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
31800 * sysdeps/posix/shm_open.c: Include <pthread.h>.
31802 2017-08-02 Joseph Myers <joseph@codesourcery.com>
31805 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
31806 comparing size with that of double.
31807 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
31808 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
31809 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
31810 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
31811 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31812 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
31813 unsigned __int128 types.
31815 2017-08-02 Steve Ellcey <sellcey@cavium.com>
31817 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
31818 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
31819 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
31820 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
31821 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
31823 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31825 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
31827 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31829 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
31831 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31832 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31833 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31834 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31835 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31836 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31837 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31839 2017-08-02 Joseph Myers <joseph@codesourcery.com>
31842 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
31843 bit-field expressions passed to sizeof or typeof.
31844 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31845 (__TGMATH_F128): Likewise.
31846 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31847 (__TGMATH_CF128): Likewise.
31848 (__TGMATH_UNARY_REAL_ONLY): Likewise.
31849 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
31850 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
31851 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
31852 (__TGMATH_BINARY_REAL_ONLY): Likewise.
31853 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
31854 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
31855 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
31856 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
31857 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
31858 (__TGMATH_UNARY_REAL_IMAG): Likewise.
31859 (__TGMATH_UNARY_IMAG): Likewise.
31860 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
31861 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31862 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
31864 (define_vars_for_type): Handle bit_field type specially.
31865 (Tests.__init__): Declare structure with bit-field element.
31867 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31870 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
31871 (MEMCPY_CHK): Define only if SHARED is defined.
31872 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
31874 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
31877 See ChangeLog.18 for earlier changes.