1 2019-02-05 Florian Weimer <fweimer@redhat.com>
4 arm: Use "nr" constraint for Systemtap probes, to avoid the
5 compiler using memory operands for constants, due to the "o"
6 alternative in the default "nor" constraint.
7 * include/stap-probe.h [USE_STAP_PROBE]: Include
9 * sysdeps/generic/stap-probe-machine.h: New file.
10 * sysdeps/arm/stap-probe-machine.h: Likewise.
12 2019-02-04 Joseph Myers <joseph@codesourcery.com>
14 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
15 with 0, not tcache->entries[tc_idx].
17 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
20 2019-02-04 Andreas Schwab <schwab@suse.de>
24 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
25 looking up collating elements match against (wide) character
26 sequence instead of name. Correct alignment adjustment.
27 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
28 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
29 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
30 (LOCALES): Add cs_CZ.ISO-8859-2.
31 * posix/tst-fnmatch4.c: New file.
32 * posix/tst-fnmatch5.c: New file.
33 * include/wchar.h (__wmemcmp): Declare.
34 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
35 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
36 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
37 * sysdeps/s390/wmemcmp.c: Likewise.
39 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
43 * NEWS: Updated for CVE-2019-7309.
44 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
45 upper 32 bits of RDX register for x32. Use unsigned Jcc
46 instructions, instead of signed.
47 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
48 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
50 2019-02-04 Florian Weimer <fweimer@redhat.com>
52 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
53 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
54 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
56 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
57 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
58 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
59 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
61 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
63 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
65 (posix_spawn_file_actions_addopen): Likewise.
66 (posix_spawn_file_actions_addclose): Likewise.
67 (posix_spawn_file_actions_adddup2): Likewise.
68 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
70 (posix_spawn_file_actions_addfchdir_np): Likewise.
72 2019-02-04 David Newall <glibc@davidnewall.com>
74 elf: Implement --preload option for the dynamic linker.
75 * elf/rtld.c (preloadarg): New variable.
76 (handle_preload_list): Pass through “where” argument to
78 (dl_main): Handle "--preload" and add second call to
80 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
81 (tst-rtld-preload-OBJS): Set variable.
82 (tst-rtld-preload.out): New target.
83 * elf/tst-rtld-preload.sh: New file.
85 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
87 * Makefile (testrun.sh): Exit in case of incorrect argument.
89 2019-02-04 Florian Weimer <fweimer@redhat.com>
91 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
94 2019-02-03 Florian Weimer <fweimer@redhat.com>
96 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
97 implicit overflow checks.
99 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
101 * stdlib/isomac.c: Include <unistd.h>.
103 2019-02-03 Florian Weimer <fweimer@redhat.com>
105 * include/time.h (__tzfile_default): Use int, not long int, for
107 * time/tzfile.c (struct ttinfo): Change type of the offset member
109 (__tzfile_read): Remove useless cast.
110 (__tzfile_default): Adjust prototype.
111 * time/tzset.c (tz_rule): Change type of the offset member to int.
112 (parse_offset): Change the type of the sign variable to int.
114 2019-02-03 Florian Weimer <fweimer@redhat.com>
117 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
118 * libio/getchar.c (getchar): Likewise.
119 * libio/getchar_u.c (getchar_unlocked): Likewise.
120 * libio/getwchar.c (getwchar): Likewise.
121 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
122 * libio/iogets.c (_IO_gets): Likewise.
123 * libio/vscanf.c (_IO_vscanf): Likewise.
124 * libio/vwscanf.c (__vwscanf): Likewise.
125 * libio/tst-bz24153.c: New file.
126 * libio/Makefile (tests): Add it.
128 2019-02-02 Florian Weimer <fweimer@redhat.com>
131 * manual/resource.texi (Basic Scheduling Functions): Add
132 portability note. Change process to task throughout the section.
133 Remove incorrect comment about sched_yield as it affects
134 tasks/threads, not entire processes.
135 * sysdeps/unix/sysv/linux/bits/posix_opt.h
136 (_POSIX_PRIORITY_SCHEDULING): Update comment.
138 2019-02-01 Joseph Myers <joseph@codesourcery.com>
140 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
141 * configure: Regenerated.
142 * manual/install.texi (Tools for Compilation): Update minimum GCC
144 * INSTALL: Regenerated.
146 2019-02-01 Florian Weimer <fweimer@redhat.com>
148 * support/support_test_compare_string.c
149 (support_test_compare_string): Use "string" in error message.
150 * support/tst-test_compare_string.c (do_test): Adjust.
152 2019-02-01 Florian Weimer <fweimer@redhat.com>
154 * support/support_format_address_family.c
155 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
157 2019-02-01 Florian Weimer <fweimer@redhat.com>
159 * manual/socket.texi (Internet Address Formats): Clarify the byte
160 order of struct sockaddr_in, struct sockaddr_in6. Document
161 sin6_flowinfo and sin6_scope_id.
163 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
165 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
166 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
167 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
168 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
169 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
170 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
172 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
174 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
175 [!MEMCHR](MEMCHR): Set to __memchr.
176 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
177 Add memchr_generic and memchr_nosimd.
178 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
179 (__libc_ifunc_impl_list): Add memchr ifuncs.
180 * sysdeps/aarch64/multiarch/memchr.c: New file.
181 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
182 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
184 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
186 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
188 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
189 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
190 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
191 Add IS_EMAG check for ifunc dispatch.
192 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
193 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
195 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
197 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
198 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
200 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
203 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
205 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
207 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
209 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
210 syscall-template file.
212 2019-01-31 Carlos O'Donell <carlos@redhat.com>
213 Torvald Riegel <triegel@redhat.com>
214 Rik Prohaska <prohaska7@gmail.com>
217 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
218 tst-rwlock-trywrlock-stall.
219 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
220 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
221 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
222 Set __wrphase_fute to 1 only if we started the write phase.
223 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
224 * nptl/tst-rwlock-trywrlock-stall.c: New file.
225 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
226 * support/xpthread_rwlock_destroy.c: New file.
227 * support/xthread.h: Declare xpthread_rwlock_destroy.
229 2019-02-01 Joseph Myers <joseph@codesourcery.com>
231 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
234 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
237 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
238 * libio/fileops.c (_IO_new_file_underflow): Likewise
239 * libio/wfileops.c (_IO_wfile_underflow): Likewise
240 * libio/putchar.c (putchar): Likewise.
241 * libio/putchar_u.c (putchar_unlocked): Likewise.
242 * libio/putwchar.c (putchar): Likewise.
243 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
244 * libio/tst-bz24051.c: New test.
245 * libio/Makefile (tests): Add tst-bz24051
247 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
249 regex: fix read overrun [BZ #24114]
250 Problem found by AddressSanitizer, reported by Hongxu Chen in:
251 https://debbugs.gnu.org/34140
252 * posix/regexec.c (proceed_next_node):
253 Do not read past end of input buffer.
255 2019-01-31 Florian Weimer <fweimer@redhat.com>
258 * nss/nss_files/files-alias.c (get_next_alias): Handle
259 continuation line without newline at the end.
260 * nss/tst-nss-files-alias-truncated.c: New file.
261 * nss/Makefile [$(build-shared)] (tests): Add
262 tst-nss-files-alias-truncated.
263 (tst-nss-files-alias-truncated): Link with libnss_files.so.
264 * support/namespace.h (struct support_chroot_configuration): Add
266 (struct support_chroot): Add path_aliases member.
267 * support/support_chroot.c (support_chroot_create): Handle
269 (support_chroot_free): Free path_aliases.
271 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
273 * version.h (RELEASE): Set to "development".
274 (VERSION): Set to "2.29.9000".
275 * NEWS: Add section for 2.30.
277 * version.h (RELEASE): Set to "stable".
278 (VERSION): Set to "2.29".
279 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
281 * NEWS: Add the list of bugs fixed in 2.29.
282 * manual/contrib.texi: Update contributors list with some more
284 * manual/install.texi: Update latest versions of packages
286 * INSTALL: Regenerated.
288 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
290 * po/be.po: Update translations.
291 * po/bg.po: Likewise.
292 * po/ca.po: Likewise.
293 * po/cs.po: Likewise.
294 * po/da.po: Likewise.
295 * po/de.po: Likewise.
296 * po/el.po: Likewise.
297 * po/eo.po: Likewise.
298 * po/es.po: Likewise.
299 * po/fi.po: Likewise.
300 * po/fr.po: Likewise.
301 * po/gl.po: Likewise.
302 * po/hr.po: Likewise.
303 * po/hu.po: Likewise.
304 * po/ia.po: Likewise.
305 * po/id.po: Likewise.
306 * po/it.po: Likewise.
307 * po/ja.po: Likewise.
308 * po/ko.po: Likewise.
309 * po/lt.po: Likewise.
310 * po/nb.po: Likewise.
311 * po/nl.po: Likewise.
312 * po/pl.po: Likewise.
313 * po/pt_BR.po: Likewise.
314 * po/ru.po: Likewise.
315 * po/rw.po: Likewise.
316 * po/sk.po: Likewise.
317 * po/sl.po: Likewise.
318 * po/sv.po: Likewise.
319 * po/tr.po: Likewise.
320 * po/uk.po: Likewise.
321 * po/vi.po: Likewise.
322 * po/zh_CN.po: Likewise.
323 * po/zh_TW.po: Likewise.
325 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
328 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
329 of $f3 register on $y_is_neg path.
331 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
334 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
335 sigaltstack.ss_flags.
337 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
340 * manual/time.texi (strftime): Document "%Ey".
341 * time/strftime_l.c (__strftime_internal): Set the default width
342 padding with zero of "%Ey" to 2.
345 * manual/time.texi (strftime): Document "%EC" and "%EY".
346 * time/Makefile (tests): Add tst-strftime2.
347 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
348 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
349 override padding for "%Ey".
350 If an optional flag ('_' or '-') is specified to "%EY", interpret the
351 "%Ey" in the subformat as if decorated with that flag.
352 * time/tst-strftime2.c: New file.
354 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
356 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
360 * elf/Makefile (tests): Add tst-audit13.
361 (modules-names): Add tst-audit13mod1.
362 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
364 * elf/rtld.c (dl_main): Handle invalid audit module version.
365 * elf/tst-audit13.c: New file.
366 * elf/tst-audit13mod1.c: Likewise.
368 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
370 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
371 returned by __hurd_at_flags.
372 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
373 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
374 directly instead of __hurd_file_name_lookup.
376 2019-01-21 Joseph Myers <joseph@codesourcery.com>
378 * scripts/build-many-glibcs.py (Context.checkout): Default
379 binutils version to 2.32 branch.
381 2019-01-21 Florian Weimer <fweimer@redhat.com>
385 resolv: Reject trailing characters in host names
386 * include/arpa/inet.h (__inet_aton_exact): Declare.
387 (inet_aton): Remove hidden prototype. No longer used internally.
388 * nscd/gai.c (__inet_aton): Do not define.
389 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
390 * nss/digits_dots.c (__inet_aton): Likewise.
391 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
392 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
393 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
394 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
395 (tst-resolv-trailing): Likewise.
396 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
398 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
399 Make static. Add endp parameter.
400 (__inet_aton_exact): New function.
401 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
402 (__inet_addr): Call inet_aton_end.
403 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
404 not just IPv6. Call __inet_aton_exact.
405 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
406 (tests): Make const. Add additional test cases with trailing
408 (do_test): Use array_length.
409 * resolv/tst-inet_aton_exact.c: New file.
410 * resolv/tst-resolv-trailing.c: Likewise.
411 * resolv/tst-resolv-nondecimal.c: Likewise.
412 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
414 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
418 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
419 Clear the upper 32 bits of RSI register.
420 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
421 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
422 and tst-size_t-wcsnlen.
423 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
424 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
426 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
430 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
431 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
432 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
433 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
434 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
436 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
440 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
441 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
442 * sysdeps/x86_64/strcmp.S: Likewise.
443 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
444 tst-size_t-strncmp and tst-size_t-wcsncmp.
445 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
446 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
447 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
449 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
453 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
454 RDX_LP for length. Clear the upper 32 bits of RDX register.
455 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
456 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
457 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
458 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
460 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
464 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
465 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
466 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
467 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
469 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
473 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
474 length. Clear the upper 32 bits of RDX register.
475 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
476 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
478 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
480 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
482 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
484 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
488 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
489 length. Clear the upper 32 bits of RDX register.
490 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
491 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
492 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
494 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
495 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
497 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
501 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
502 upper 32 bits of RDX register.
503 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
504 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
506 * sysdeps/x86_64/x32/test-size_t.h: New file.
507 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
508 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
510 2019-01-18 Florian Weimer <fweimer@redhat.com>
513 resolv: Do not send queries for non-host-names in nss_dns.
514 * resolv/nss_dns/dns-host.c (check_name): New function.
515 (_nss_dns_gethostbyname2_r): Use it.
516 (_nss_dns_gethostbyname_r): Likewise.
517 (_nss_dns_gethostbyname4_r): Likewise.
519 2019-01-21 Florian Weimer <fweimer@redhat.com>
521 * resolv/inet_addr.c: Reformat to GNU style.
522 (__inet_addr, __inet_aton): Update comment.
524 2019-01-18 Florian Weimer <fweimer@redhat.com>
526 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
527 ("malloc: Use current (C11-style) atomics for fastbin access").
528 This commit introduces a substantial performance regression on
530 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
532 (_int_malloc): Use it and reindent.
533 (_int_free): Use CAS loop with
534 catomic_compare_and_exchange_val_rel.
535 (malloc_consolidate): Use atomic_exchange_acq.
538 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
540 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
542 (LDFLAGS-tst-minsigstksz-2): Likewise.
543 (LDFLAGS-tst-minsigstksz-3): Likewise.
544 (LDFLAGS-tst-minsigstksz-3a): Likewise.
545 (LDFLAGS-tst-minsigstksz-4): Likewise.
547 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
549 * manual/time.texi (strftime): Fix the wording to "alternative" rather
552 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
554 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
556 2019-01-16 Zack Weinberg <zackw@panix.com>
558 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
559 (xget_sigstack_location): New test support functions.
560 * support/xsigstack.c: New file, implementing them.
561 * support/tst-xsigstack.c: New test for them.
562 * support/Makefile: Update.
564 * signal/tst-minsigstksz-1.c
565 * signal/tst-minsigstksz-2.c
566 * signal/tst-minsigstksz-3.c
567 * signal/tst-minsigstksz-3a.c
568 * signal/tst-minsigstksz-4.c: New tests.
569 * signal/Makefile: Run them.
571 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
573 * po/libc.pot: Regenerate.
575 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
577 * math/libm-test-fma.inc (fma_test_data): Set
578 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
580 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
582 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
583 (do_test): Changed __vector __int128_t to __vector unsigned int.
585 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
587 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
588 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
589 stpcpy-avx2 and stpncpy-avx2.
590 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
591 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
592 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
594 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
595 ifunc-strcpy.h}: rename header for a more generic name.
596 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
597 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
598 AVX unaligned load is fast and vzeroupper is preferred.
599 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
600 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
601 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
602 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
603 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
604 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
606 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
608 * argp/argp-help.c: Fix typo in comment.
609 * misc/sys/cdefs.h: Likewise.
610 * posix/regexec.c (sift_states_iter_mb): Likewise.
611 * socket/sockatmark.c: Likewise.
612 * socket/sys/socket.h: Likewise.
613 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
614 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
615 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
616 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
617 * sysdeps/unix/sockatmark.c: Likewise.
618 * time/strptime_l.c: Likewise.
620 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
622 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
623 missing space after the cast of "_NL_CURRENT".
625 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
627 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
628 ifdef to fix read of VSCR.
629 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
630 tst-ucontext-ppc64-vscr.c to test list.
631 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
633 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
635 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
638 2019-01-09 Jim Wilson <jimw@sifive.com>
640 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
642 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
644 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
645 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
646 __memcpy_falkor for ares.
647 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
649 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
652 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
655 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
656 4_FP_W_TYPEs are used for IEEE quad precision.
657 * soft-fp/extendhftf2.c: Likewise.
658 * soft-fp/extendsftf2.c: Likewise.
659 * soft-fp/extendxftf2.c: Likewise.
660 * soft-fp/trunctfdf2.c: Likewise.
661 * soft-fp/trunctfhf2.c: Likewise.
662 * soft-fp/trunctfsf2.c: Likewise.
663 * soft-fp/trunctfxf2.c: Likewise.
664 * sysdeps/alpha/ots_cvttx.c: Likewise.
665 * sysdeps/alpha/ots_cvtxt.c: Likewise.
666 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
667 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
668 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
669 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
670 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
671 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
672 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
673 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
674 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
675 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
676 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
677 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
678 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
679 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
680 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
681 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
683 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
686 * Makeconfig: Build libm with -fno-math-errno but build the remaining
687 code with -fmath-errno.
688 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
689 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
690 * string/test-strerror-errno.c: New file.
692 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
695 * localedata/locales/en_US (date_fmt): Add, set to
698 2019-01-07 Florian Weimer <fweimer@redhat.com>
701 * manual/arith.texi (Math Error Reporting): Use @code{errno}
702 instead of @var{errno}.
703 (Parsing of Integers): Likewise.
704 (Parsing of Floats): Likewise.
705 * manual/filesys.texi (Working with Directory Trees): Likewise.
706 (Temporary Files): Likewise.
707 * manual/job.texi (Terminal Access Functions): Likewise.
708 * manual/llio.texi (Synchronizing I/O): Likewise.
709 * manual/math.texi (SVID Random): Likewise.
710 * manual/message.texi (The catgets Functions): Likewise.
711 (Translation with gettext): Likewise.
712 (Locating gettext catalog): Likewise.
713 (Charset conversion in gettext): Likewise.
714 * manual/nss.texi (NSS Module Function Internals): Likewise.
715 * manual/search.texi (Hash Search Function): Likewise.
716 * manual/setjmp.texi (System V contexts): Likewise.
717 * manual/time.texi (Sleeping): Likewise.
718 * manual/users.texi (Lookup User): Likewise.
719 (Lookup Group): Likewise.
721 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
723 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
726 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
729 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
730 __builtin_unreachable for default case in switch.
731 (__ieee754_yn): Likewise.
732 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
733 (__ieee754_ynl): Likewise.
734 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
735 (__ieee754_ynl): Likewise.
736 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
737 (__ieee754_ynl): Likewise.
739 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
741 * manual/maint.texi: Use @{ and @}.
743 2019-01-04 Florian Weimer <fweimer@redhat.com>
745 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
747 (do_in_chroot_1): Call it.
749 Improve error reporting in case it is not possible to create a
750 collision for the PTY name required by the test.
752 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
754 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
755 lll_wait_tid with timeout.
756 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
757 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
758 futex_reltimed_wait_cancelable for cancelabla mode.
759 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
760 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
762 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
763 * sysdeps/posix/waitid.c (__sigwait): Likewise.
764 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
765 SYSCALL_CANCEL_NCS): New macro.
766 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
767 (lll_timedwait_tid): Remove macro.
768 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
770 (lll_timedwait_tid): Likewise.
771 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
773 (lll_timedwait_tid): Likewise.
774 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
776 (lll_timedwait_tid): Likewise.
777 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
778 Use INTERNAL_SYSCALL_CANCEL.
779 * sysdeps/unix/sysv/linux/futex-internal.h
780 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
781 instead of __pthread_{enable,disable}_asynccancel.
782 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
783 (lll_futex_wait_cancel): New macro.
785 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
786 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
788 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
789 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
791 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
792 in backtrace analysis.
793 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
797 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
798 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
799 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
800 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
801 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
802 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
803 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
804 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
805 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
806 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
807 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
808 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
810 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
811 tst-cancel-wrappers.sh.
812 (generated): Remove tst-cancel-wrappers.out.
813 (tst-cancel-wrappers.out): Remove rule.
814 * nptl/tst-cancel-wrappers.sh: Remove file.
816 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
818 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
819 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
822 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
825 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
826 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
827 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
828 close-on-exec reset for adddup2 file action.
829 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
831 2019-01-03 Zack Weinberg <zackw@panix.com>
833 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
834 parameter. Only use deprecated scanf when __USE_GNU is defined
835 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
836 than 201103L, whichever is relevant for the language being compiled.
838 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
839 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
840 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
841 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
842 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
851 * stdio-common/fscanf.c
852 * stdio-common/scanf.c
853 * stdio-common/vfscanf.c
854 * stdio-common/vfwscanf.c
855 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
856 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
857 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
858 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
859 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
860 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
861 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
862 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
863 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
864 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
865 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
866 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
867 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
868 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
869 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
871 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
872 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
873 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
875 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
876 with a preprocessor macro.
878 * stdio-common/bug21.c, stdio-common/scanf14.c:
879 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
880 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
881 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
882 to xscanf, xfscanf, xsscanf.
884 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
885 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
886 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
887 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
889 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
890 override feature selection macros or provide definitions of u_char etc.
891 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
892 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
893 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
896 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
898 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
900 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
901 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
902 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
903 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
904 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
905 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
907 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
908 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
909 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
910 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
911 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
912 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
914 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
915 (sysdep_headers): Add termios-misc.h.
917 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
918 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
919 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
921 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
923 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
924 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
925 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
926 TCSAFLUSH): Move to termios-tcflow.h.
927 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
928 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
929 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
930 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
932 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
934 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
935 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
936 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
937 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
938 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
939 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
940 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
941 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
943 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
944 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
945 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
946 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
948 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
950 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
951 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
952 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
953 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
954 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
956 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
957 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
958 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
959 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
962 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
964 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
965 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
966 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
967 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
968 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
969 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
970 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
971 __MAX_BAUD): Move to termios-baud.h.
972 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
973 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
974 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
975 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
976 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
978 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
980 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
981 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
982 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
983 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
984 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
985 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
987 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
988 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
990 [USE_MISC] (XTABS): Likewise.
991 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
992 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
993 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
994 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
996 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
998 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
999 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
1000 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
1001 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
1002 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
1003 IUTF8): Move to termios-c_iflag.h.
1004 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1005 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1006 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1007 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1009 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1011 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
1012 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
1013 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
1014 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
1015 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
1016 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
1017 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
1018 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
1019 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1020 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1021 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1022 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1024 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
1025 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
1026 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
1027 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
1028 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1030 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
1032 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
1034 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
1036 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
1038 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
1040 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
1041 _HAVE_C_OSPEED): Define.
1042 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
1043 _HAVE_C_OSPEED): Likewise.
1044 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
1045 _HAVE_C_OSPEED): Likewise.
1046 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
1047 (cfsetospeed): Check for define value instead of existence.
1048 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
1049 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1050 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
1051 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1052 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
1055 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
1057 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1058 (TIOCSER_TEMT): Likewise.
1059 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
1060 (TEOCSER_TEMT): Likewise.
1062 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
1065 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
1067 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1069 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
1071 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
1073 * sysdeps/htl/pt-barrierattr-setpshared.c
1074 (pthread_barrierattr_setpshared): Add stub warning.
1075 * sysdeps/htl/pt-condattr-setpshared.c
1076 (pthread_condattr_setpshared): Likewise.
1077 * sysdeps/htl/pt-mutexattr-setpshared.c
1078 (pthread_mutexattr_setpshared): Likewise.
1079 * sysdeps/htl/pt-rwlockattr-setpshared.c
1080 (pthread_rwlockattr_setpshared): Likewise.
1081 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
1082 (pthread_mutexattr_setpshared): Likewise.
1084 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1086 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
1087 constants to match with Linux 4.20.
1089 * sysdeps/mips/mips32/libm-test-ulps: Update.
1090 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1092 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
1095 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
1096 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
1097 than __typeof (...) for the a_ptr variable.
1099 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1101 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
1102 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
1103 * libio/Makefile (tests): Add tst-sprintf-ub and
1105 (CFLAGS-tst-sprintf-ub.c): New variable.
1106 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
1107 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
1108 destination buffer and check for overflows in fortified mode.
1109 * libio/libioP.h (PRINTF_CHK): New macro.
1110 * libio/tst-sprintf-chk-ub.c: New file.
1111 * libio/tst-sprintf-ub.c: Likewise.
1113 2019-01-02 Florian Weimer <fweimer@redhat.com>
1116 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
1119 2019-01-02 Florian Weimer <fweimer@redhat.com>
1121 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
1123 2019-01-01 Joseph Myers <joseph@codesourcery.com>
1125 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
1128 * sysdeps/unix/sysv/linux/netpacket/packet.h
1129 (PACKET_IGNORE_OUTGOING): New macro.
1131 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
1134 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1136 (riscv_flush_icache): New syscall.
1138 * manual/texinfo.tex: Update to version 2018-12-28.17 with
1139 trailing whitespace removed.
1140 * scripts/config.guess: Update to version 2019-01-01.
1141 * scripts/config.sub: Update to version 2019-01-01.
1142 * scripts/move-if-change: Update from gnulib.
1144 * NEWS: Update copyright dates.
1145 * catgets/gencat.c (print_version): Likewise.
1146 * csu/version.c (banner): Likewise.
1147 * debug/catchsegv.sh: Likewise.
1148 * debug/pcprofiledump.c (print_version): Likewise.
1149 * debug/xtrace.sh (do_version): Likewise.
1150 * elf/ldconfig.c (print_version): Likewise.
1151 * elf/ldd.bash.in: Likewise.
1152 * elf/pldd.c (print_version): Likewise.
1153 * elf/sotruss.sh: Likewise.
1154 * elf/sprof.c (print_version): Likewise.
1155 * iconv/iconv_prog.c (print_version): Likewise.
1156 * iconv/iconvconfig.c (print_version): Likewise.
1157 * locale/programs/locale.c (print_version): Likewise.
1158 * locale/programs/localedef.c (print_version): Likewise.
1159 * login/programs/pt_chown.c (print_version): Likewise.
1160 * malloc/memusage.sh (do_version): Likewise.
1161 * malloc/memusagestat.c (print_version): Likewise.
1162 * malloc/mtrace.pl: Likewise.
1163 * manual/libc.texinfo: Likewise.
1164 * nptl/version.c (banner): Likewise.
1165 * nscd/nscd.c (print_version): Likewise.
1166 * nss/getent.c (print_version): Likewise.
1167 * nss/makedb.c (print_version): Likewise.
1168 * posix/getconf.c (main): Likewise.
1169 * scripts/test-installation.pl: Likewise.
1170 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1172 * All files with FSF copyright notices: Update copyright dates
1173 using scripts/update-copyrights.
1174 * locale/programs/charmap-kw.h: Regenerated.
1175 * locale/programs/locfile-kw.h: Likewise.
1177 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1179 * timezone/zdump.c: Update from tzcode 2018i.
1180 * timezone/zic.c: Likewise.
1182 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
1184 regex: improve Gnulib port to AIX
1185 From the glibc point of view, this removes duplicate macro
1186 definitions and is obviously safe.
1187 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
1188 * posix/regex_internal.h:
1189 (__attribute__, __attribute_warn_unused_result__):
1190 Remove; already defined elsewhere.
1192 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
1195 * malloc/malloc.c (_int_realloc): Always call memcpy for the
1196 copying operation. (ncopies had the wrong type, resulting in an
1197 integer wraparound and too few elements being copied.)
1199 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
1202 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
1203 <asm/syscalls.h> exists with __has_include__ before including it.
1205 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1207 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1210 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
1212 * hurd/lookup-retry: Include <unistd.h>.
1213 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
1214 Release it on return. Handle "pid" magical lookup retry.
1216 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1219 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
1220 (t_fmt_ampm): Likewise.
1221 * localedata/locales/aa_ER (t_fmt): Likewise.
1222 (t_fmt_ampm): Likewise.
1223 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
1224 (t_fmt_ampm): Likewise.
1225 * localedata/locales/aa_ET (t_fmt): Likewise.
1226 (t_fmt_ampm): Likewise.
1227 * localedata/locales/am_ET (t_fmt): Likewise.
1228 (t_fmt_ampm): Likewise.
1229 * localedata/locales/byn_ER (t_fmt): Likewise.
1230 (t_fmt_ampm): Likewise.
1231 * localedata/locales/om_ET (t_fmt): Likewise.
1232 (t_fmt_ampm): Likewise.
1233 * localedata/locales/sid_ET (t_fmt): Likewise.
1234 (t_fmt_ampm): Likewise.
1235 * localedata/locales/so_DJ (t_fmt): Likewise.
1236 (t_fmt_ampm): Likewise.
1237 * localedata/locales/so_ET (t_fmt): Likewise.
1238 (t_fmt_ampm): Likewise.
1239 * localedata/locales/so_SO (t_fmt): Likewise.
1240 (t_fmt_ampm): Likewise.
1241 * localedata/locales/ti_ER (t_fmt): Likewise.
1242 (t_fmt_ampm): Likewise.
1243 * localedata/locales/ti_ET (t_fmt): Likewise.
1244 (t_fmt_ampm): Likewise.
1245 * localedata/locales/tig_ER (t_fmt): Likewise.
1246 (t_fmt_ampm): Likewise.
1247 * localedata/locales/wal_ET (t_fmt): Likewise.
1248 (t_fmt_ampm): Likewise.
1250 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
1251 * localedata/locales/ar_IN (t_fmt): Likewise.
1252 * localedata/locales/bhb_IN (t_fmt): Likewise.
1253 * localedata/locales/bho_IN (t_fmt): Likewise.
1254 * localedata/locales/bi_VU (t_fmt): Likewise.
1255 * localedata/locales/bn_BD (t_fmt): Likewise.
1256 * localedata/locales/bn_IN (t_fmt): Likewise.
1257 * localedata/locales/brx_IN (t_fmt): Likewise.
1258 * localedata/locales/doi_IN (t_fmt): Likewise.
1259 * localedata/locales/en_HK (t_fmt): Likewise.
1260 (t_fmt_ampm): Likewise.
1261 * localedata/locales/en_IN (t_fmt): Likewise.
1262 * localedata/locales/en_PH (t_fmt): Likewise.
1263 * localedata/locales/gu_IN (t_fmt): Likewise.
1264 * localedata/locales/hi_IN (t_fmt): Likewise.
1265 * localedata/locales/hif_FJ (t_fmt): Likewise.
1266 * localedata/locales/hne_IN (t_fmt): Likewise.
1267 * localedata/locales/kn_IN (t_fmt): Likewise.
1268 * localedata/locales/kok_IN (t_fmt): Likewise.
1269 * localedata/locales/ks_IN (t_fmt): Likewise.
1270 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
1271 * localedata/locales/mag_IN (t_fmt): Likewise.
1272 * localedata/locales/mai_IN (t_fmt): Likewise.
1273 * localedata/locales/mjw_IN (t_fmt): Likewise.
1274 * localedata/locales/ml_IN (t_fmt): Likewise.
1275 * localedata/locales/mni_IN (t_fmt): Likewise.
1276 * localedata/locales/mr_IN (t_fmt): Likewise.
1277 * localedata/locales/ms_MY (t_fmt): Likewise.
1278 * localedata/locales/pa_IN (t_fmt): Likewise.
1279 * localedata/locales/raj_IN (t_fmt): Likewise.
1280 * localedata/locales/sa_IN (t_fmt): Likewise.
1281 * localedata/locales/sat_IN (t_fmt): Likewise.
1282 * localedata/locales/sd_IN (t_fmt): Likewise.
1283 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
1284 * localedata/locales/tcy_IN (t_fmt): Likewise.
1285 * localedata/locales/the_NP (t_fmt): Likewise.
1286 * localedata/locales/to_TO (t_fmt): Likewise.
1287 * localedata/locales/ur_IN (t_fmt): Likewise.
1289 * localedata/locales/hif_FJ (d_t_fmt): Set to
1290 "%A %d %b %Y %I:%M:%S %p".
1291 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
1293 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
1294 * localedata/locales/ar_BH (t_fmt): Likewise.
1295 * localedata/locales/ar_DZ (t_fmt): Likewise.
1296 * localedata/locales/ar_EG (t_fmt): Likewise.
1297 * localedata/locales/ar_IQ (t_fmt): Likewise.
1298 * localedata/locales/ar_JO (t_fmt): Likewise.
1299 * localedata/locales/ar_KW (t_fmt): Likewise.
1300 * localedata/locales/ar_LB (t_fmt): Likewise.
1301 * localedata/locales/ar_LY (t_fmt): Likewise.
1302 * localedata/locales/ar_OM (t_fmt): Likewise.
1303 * localedata/locales/ar_QA (t_fmt): Likewise.
1304 * localedata/locales/ar_SD (t_fmt): Likewise.
1305 * localedata/locales/ar_SS (t_fmt): Likewise.
1306 * localedata/locales/ar_SY (t_fmt): Likewise.
1307 * localedata/locales/ar_TN (t_fmt): Likewise.
1308 * localedata/locales/ar_YE (t_fmt): Likewise.
1310 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
1311 (t_fmt_ampm): Likewise.
1312 * localedata/locales/gez_ET (t_fmt): Likewise.
1313 (t_fmt_ampm): Likewise.
1315 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
1316 (t_fmt_ampm): Likewise.
1317 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
1319 * localedata/locales/zh_HK (t_fmt):
1320 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
1322 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
1323 because this locale does not use the 12-hour clock.
1324 (t_fmt): Set to "%Z %H:%M:%S".
1325 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
1327 * localedata/locales/mt_MT (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 ta %b, %Y %H:%M:%S %Z".
1332 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
1333 because this locale does not use the 12-hour clock.
1334 (t_fmt): Set to "%T".
1335 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
1336 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
1338 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
1339 because this locale does not use the 12-hour clock.
1340 (t_fmt): Set to "%H:%M:%S %Z".
1341 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
1343 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
1344 because this locale does not use the 12-hour clock.
1345 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
1346 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
1348 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1352 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
1353 (t_fmt_ampm): Likewise.
1354 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
1355 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
1356 (d_fmt): Set to "%-d.%-m.%y".
1358 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1360 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
1361 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
1362 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
1364 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
1365 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
1366 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
1368 * support/blob_repeat.c (check_mul_overflow_size_t,
1369 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
1371 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
1373 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
1375 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
1377 regex: simplify Gnulib port
1378 This simplifies the code, by removing stuff intended for porting
1379 to Gnulib but no longer needed there.
1380 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
1381 uses of libc_hidden_def, weak_alias.
1382 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
1383 _Restrict_ except for public-facing headers.
1384 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
1385 Remove; already defined elsewhere.
1386 * posix/regex.c, posix/regex_internal.h:
1387 Use __GNUC_PREREQ instead of rolling our own.
1388 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
1390 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
1392 * benchtests/bench-strlen.c (generic_strlen): New function.
1393 (memchr_strlen): New function.
1395 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1397 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
1398 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
1399 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
1401 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1403 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1405 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1407 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
1408 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
1409 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
1410 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
1411 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
1412 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
1413 <sysdeps/ieee754/flt-32/s_sincosf.c>.
1415 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1418 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
1419 PLT reference in libc.so.
1420 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
1421 _Q_lltoq and _Q_qtod PLT references in libc.so.
1423 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
1425 * benchtests/bench-memchr.c: Cleanup defines.
1426 * benchtests/bench-memcmp.c: Likewise.
1427 * benchtests/bench-memset.c: Likewise.
1428 * benchtests/bench-memset-large.c: Likewise.
1429 * benchtests/bench-memset-walk.c: Likewise.
1430 * benchtests/bench-stpcpy.c: Likewise.
1431 * benchtests/bench-stpncpy.c: Likewise.
1432 * benchtests/bench-strcat.c: Likewise.
1433 * benchtests/bench-strchr.c: Likewise.
1434 * benchtests/bench-strcmp.c: Likewise.
1435 * benchtests/bench-strcpy.c: Likewise.
1436 * benchtests/bench-strcspn.c: Likewise.
1437 * benchtests/bench-string.h: Likewise.
1438 * benchtests/bench-strlen.c: Likewise.
1439 * benchtests/bench-strncat.c: Likewise.
1440 * benchtests/bench-strncmp.c: Likewise.
1441 * benchtests/bench-strncpy.c: Likewise.
1442 * benchtests/bench-strnlen.c: Likewise.
1443 * benchtests/bench-strpbrk.c: Likewise.
1444 * benchtests/bench-strrchr.c: Likewise.
1445 * benchtests/bench-strspn.c: Likewise.
1447 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1449 * stdlib/longlong.h: Update from GCC.
1452 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
1453 * configure: Regenerated.
1454 * manual/install.texi (Tools for Compilation): Update minimum GCC
1456 * INSTALL: Regenerated.
1458 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
1460 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
1462 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
1464 * malloc/malloc.c (mremap_chunk): Additional checks.
1466 2018-12-21 Mao Han <han_mao@c-sky.com>
1468 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
1469 * scripts/build-many-glibcs.py: Add C-SKY targets.
1470 * sysdeps/csky/Implies: New file.
1471 * sysdeps/csky/Makefile: Likewise.
1472 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
1473 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
1474 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
1475 * sysdeps/csky/abiv2/memcmp.S: Likewise.
1476 * sysdeps/csky/abiv2/memcpy.S: Likewise.
1477 * sysdeps/csky/abiv2/memmove.S: Likewise.
1478 * sysdeps/csky/abiv2/memset.S: Likewise.
1479 * sysdeps/csky/abiv2/setjmp.S: Likewise.
1480 * sysdeps/csky/abiv2/start.S: Likewise.
1481 * sysdeps/csky/abiv2/strcmp.S: Likewise.
1482 * sysdeps/csky/abiv2/strcpy.S: Likewise.
1483 * sysdeps/csky/abiv2/strlen.S: Likewise.
1484 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
1485 * sysdeps/csky/abort-instr.h: Likewise.
1486 * sysdeps/csky/atomic-machine.h: Likewise.
1487 * sysdeps/csky/bits/endian.h: Likewise.
1488 * sysdeps/csky/bits/fenv.h: Likewise.
1489 * sysdeps/csky/bits/link.h: Likewise.
1490 * sysdeps/csky/bits/setjmp.h: Likewise.
1491 * sysdeps/csky/bsd-_setjmp.S: Likewise.
1492 * sysdeps/csky/bsd-setjmp.S: Likewise.
1493 * sysdeps/csky/configure: Likewise.
1494 * sysdeps/csky/configure.ac: Likewise.
1495 * sysdeps/csky/dl-machine.h: Likewise.
1496 * sysdeps/csky/dl-procinfo.c: Likewise.
1497 * sysdeps/csky/dl-procinfo.h: Likewise.
1498 * sysdeps/csky/dl-sysdep.h: Likewise.
1499 * sysdeps/csky/dl-tls.h: Likewise.
1500 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
1501 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
1502 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
1503 * sysdeps/csky/fpu/fegetenv.c: Likewise.
1504 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
1505 * sysdeps/csky/fpu/fegetmode.c: Likewise.
1506 * sysdeps/csky/fpu/fegetround.c: Likewise.
1507 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
1508 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
1509 * sysdeps/csky/fpu/fenv_private.h: Likewise.
1510 * sysdeps/csky/fpu/fesetenv.c: Likewise.
1511 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
1512 * sysdeps/csky/fpu/fesetmode.c: Likewise.
1513 * sysdeps/csky/fpu/fesetround.c: Likewise.
1514 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
1515 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
1516 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
1517 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
1518 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
1519 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
1520 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
1521 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
1522 * sysdeps/csky/fpu_control.h: Likewise.
1523 * sysdeps/csky/gccframe.h: Likewise.
1524 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
1525 * sysdeps/csky/ldsodefs.h: Likewise.
1526 * sysdeps/csky/libc-tls.c: Likewise.
1527 * sysdeps/csky/linkmap.h: Likewise.
1528 * sysdeps/csky/machine-gmon.h: Likewise.
1529 * sysdeps/csky/memusage.h: Likewise.
1530 * sysdeps/csky/nofpu/Implies: Likewise.
1531 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
1532 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
1533 * sysdeps/csky/nptl/Makefile: Likewise.
1534 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
1535 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
1536 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
1537 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
1538 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
1539 * sysdeps/csky/nptl/tls.h: Likewise.
1540 * sysdeps/csky/preconfigure: Likewise.
1541 * sysdeps/csky/sfp-machine.h: Likewise.
1542 * sysdeps/csky/sotruss-lib.c: Likewise.
1543 * sysdeps/csky/stackinfo.h: Likewise.
1544 * sysdeps/csky/sysdep.h: Likewise.
1545 * sysdeps/csky/tininess.h: Likewise.
1546 * sysdeps/csky/tst-audit.h: Likewise.
1547 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
1548 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
1549 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
1550 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
1551 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1552 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
1553 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1554 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
1555 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
1556 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
1557 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
1558 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
1559 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
1560 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
1561 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
1562 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
1563 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
1564 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
1565 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
1566 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
1567 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
1568 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
1569 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
1570 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1571 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
1572 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
1573 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1574 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
1575 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
1576 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
1577 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
1578 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
1579 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
1580 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
1581 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
1582 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
1583 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
1584 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
1585 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
1586 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
1587 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
1588 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
1589 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
1590 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
1592 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1594 * include/time.h (__difftime64): Add.
1595 * time/difftime.c (subtract): convert to 64-bit time.
1596 * time/difftime.c (__difftime64): Add.
1597 * time/difftime.c (__difftime): Wrap around __difftime64.
1599 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1601 * manual/examples/add.c: Remove redundant "if not".
1602 * manual/examples/argp-ex1.c: Likewise.
1603 * manual/examples/argp-ex2.c: Likewise.
1604 * manual/examples/argp-ex3.c: Likewise.
1605 * manual/examples/argp-ex4.c: Likewise.
1606 * manual/examples/atexit.c: Likewise.
1607 * manual/examples/db.c: Likewise.
1608 * manual/examples/dir.c: Likewise.
1609 * manual/examples/dir2.c: Likewise.
1610 * manual/examples/execinfo.c: Likewise.
1611 * manual/examples/filecli.c: Likewise.
1612 * manual/examples/filesrv.c: Likewise.
1613 * manual/examples/fmtmsgexpl.c: Likewise.
1614 * manual/examples/genpass.c: Likewise.
1615 * manual/examples/inetcli.c: Likewise.
1616 * manual/examples/inetsrv.c: Likewise.
1617 * manual/examples/isockad.c: Likewise.
1618 * manual/examples/longopt.c: Likewise.
1619 * manual/examples/memopen.c: Likewise.
1620 * manual/examples/memstrm.c: Likewise.
1621 * manual/examples/mkdirent.c: Likewise.
1622 * manual/examples/mkfsock.c: Likewise.
1623 * manual/examples/mkisock.c: Likewise.
1624 * manual/examples/mygetpass.c: Likewise.
1625 * manual/examples/pipe.c: Likewise.
1626 * manual/examples/popen.c: Likewise.
1627 * manual/examples/rprintf.c: Likewise.
1628 * manual/examples/search.c: Likewise.
1629 * manual/examples/select.c: Likewise.
1630 * manual/examples/setjmp.c: Likewise.
1631 * manual/examples/sigh1.c: Likewise.
1632 * manual/examples/sigusr.c: Likewise.
1633 * manual/examples/stpcpy.c: Likewise.
1634 * manual/examples/strdupa.c: Likewise.
1635 * manual/examples/strftim.c: Likewise.
1636 * manual/examples/subopt.c: Likewise.
1637 * manual/examples/swapcontext.c: Likewise.
1638 * manual/examples/termios.c: Likewise.
1639 * manual/examples/testopt.c: Likewise.
1640 * manual/examples/testpass.c: Likewise.
1641 * manual/examples/timeval_subtract.c: Likewise.
1643 2018-12-19 Joseph Myers <joseph@codesourcery.com>
1645 * sysdeps/x86/fpu/math_private.h: New file.
1646 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
1648 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
1653 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1655 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
1656 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
1657 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
1658 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
1660 (_dl_show_auxv): Give a special treatment to
1661 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
1662 and AT_L3_CACHEGEOMETRY.
1663 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
1664 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
1665 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
1666 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
1668 2018-12-19 Andreas Schwab <schwab@suse.de>
1670 * nscd/connections.c (check_use): Don't abort on invalid len.
1672 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
1674 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
1675 values in the 64bit value cases.
1677 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1683 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
1689 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
1692 (__gmtime64_r): Add.
1694 (__gmtime64_r): Add.
1695 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1701 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1704 (__localtime64_r): Add.
1706 (__localtime64_r): Add.
1707 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
1709 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1711 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
1712 kernel_sigction definition.
1714 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
1716 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
1718 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
1719 __syscall_rt_sigaction.
1720 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
1721 (kernel_sigaction): Use Linux generic defintion.
1723 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
1724 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
1725 (__syscall_rt_sigaction): Remove implementation.
1726 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
1728 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
1729 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
1730 INTERNAL_SYSCALL): Remove definitions.
1731 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
1732 action and signal set size.
1733 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
1734 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
1736 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1737 James Clarke <jrtc27@jrtc27.com>
1740 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
1741 Define if SA_RESTORER is defined.
1742 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
1743 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
1745 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
1746 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
1748 (HAS_SA_RESTORER): Define.
1749 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
1750 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
1751 (HAS_SA_RESTORER): Define.
1752 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
1753 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
1754 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
1755 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
1756 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1758 2018-12-18 Joseph Myers <joseph@codesourcery.com>
1760 * sysdeps/unix/sysv/linux/kernel-features.h
1761 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
1762 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1763 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
1764 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1765 (__ASSUME_ST_INO_64_BIT): Likewise.
1766 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1767 <kernel-features.h>.
1768 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1769 Remove conditional code.
1770 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1771 <kernel-features.h>.
1772 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1773 Remove conditional code.
1774 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
1775 <kernel-features.h>.
1776 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1777 Remove conditional code.
1778 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
1779 <kernel-features.h>.
1780 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
1781 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
1783 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1785 * sysdeps/s390/multiarch/ifunc-resolve.h
1786 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
1787 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
1788 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
1789 Delete macro definition.
1790 (s390_libc_ifunc_init): Rename to
1791 s390_libc_ifunc_expr_stfle_init.
1792 * sysdeps/s390/bzero: Use
1793 s390_libc_ifunc_expr_stfle_init instead of
1794 s390_libc_ifunc_init.
1795 * sysdeps/s390/memcmp.c: Likewise.
1796 * sysdeps/s390/memcpy.c: Likewise.
1797 * sysdeps/s390/mempcpy.c: Likewise.
1798 * sysdeps/s390/memset.c: Likewise.
1800 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1802 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
1803 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
1805 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1807 * sysdeps/s390/multiarch/Makefile
1808 (sysdep_routines): Remove wmemcmp variants.
1809 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
1810 * sysdeps/s390/multiarch/ifunc-impl-list.c
1811 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
1812 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
1813 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
1814 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
1815 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
1816 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
1817 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
1818 * sysdeps/s390/ifunc-wmemcmp.h: New file.
1820 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1822 * sysdeps/s390/multiarch/Makefile
1823 (sysdep_routines): Remove wmemset variants.
1824 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
1825 * sysdeps/s390/multiarch/ifunc-impl-list.c
1826 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
1827 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
1828 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
1829 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
1830 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
1831 * sysdeps/s390/multiarch/wmemset.c: Move to ...
1832 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
1833 * sysdeps/s390/ifunc-wmemset.h: New file.
1835 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1837 * sysdeps/s390/multiarch/Makefile
1838 (sysdep_routines): Remove wmemchr variants.
1839 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
1840 * sysdeps/s390/multiarch/ifunc-impl-list.c
1841 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
1842 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
1843 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
1844 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
1845 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
1846 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
1847 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
1848 * sysdeps/s390/ifunc-wmemchr.h: New file.
1850 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1852 * sysdeps/s390/multiarch/Makefile
1853 (sysdep_routines): Remove wcscspn variants.
1854 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
1855 * sysdeps/s390/multiarch/ifunc-impl-list.c
1856 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
1857 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
1858 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
1859 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
1860 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
1861 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
1862 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
1863 * sysdeps/s390/ifunc-wcscspn.h: New file.
1865 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1867 * sysdeps/s390/multiarch/Makefile
1868 (sysdep_routines): Remove wcspbrk variants.
1869 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
1870 * sysdeps/s390/multiarch/ifunc-impl-list.c
1871 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
1872 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
1873 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
1874 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
1875 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
1876 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
1877 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
1878 * sysdeps/s390/ifunc-wcspbrk.h: New file.
1880 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1882 * sysdeps/s390/multiarch/Makefile
1883 (sysdep_routines): Remove wcsspn variants.
1884 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
1885 * sysdeps/s390/multiarch/ifunc-impl-list.c
1886 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
1887 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
1888 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
1889 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
1890 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
1891 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
1892 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
1893 * sysdeps/s390/ifunc-wcsspn.h: New file.
1895 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1897 * sysdeps/s390/multiarch/Makefile
1898 (sysdep_routines): Remove wcsrchr variants.
1899 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
1900 * sysdeps/s390/multiarch/ifunc-impl-list.c
1901 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
1902 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
1903 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
1904 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
1905 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
1906 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
1907 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
1908 * sysdeps/s390/ifunc-wcsrchr.h: New file.
1910 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1912 * sysdeps/s390/multiarch/Makefile
1913 (sysdep_routines): Remove wcschrnul variants.
1914 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
1915 * sysdeps/s390/multiarch/ifunc-impl-list.c
1916 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
1917 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
1918 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
1919 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
1920 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
1921 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
1922 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
1923 * sysdeps/s390/ifunc-wcschrnul.h: New file.
1925 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1927 * sysdeps/s390/multiarch/Makefile
1928 (sysdep_routines): Remove wcschr variants.
1929 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
1930 * sysdeps/s390/multiarch/ifunc-impl-list.c
1931 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
1932 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
1933 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
1934 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
1935 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
1936 * sysdeps/s390/multiarch/wcschr.c: Move to ...
1937 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
1938 * sysdeps/s390/ifunc-wcschr.h: New file.
1940 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1942 * sysdeps/s390/multiarch/Makefile
1943 (sysdep_routines): Remove wcsncmp variants.
1944 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
1945 * sysdeps/s390/multiarch/ifunc-impl-list.c
1946 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
1947 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
1948 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
1949 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
1950 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
1951 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
1952 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
1953 * sysdeps/s390/ifunc-wcsncmp.h: New file.
1955 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1957 * sysdeps/s390/multiarch/Makefile
1958 (sysdep_routines): Remove wcscmp variants.
1959 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
1960 * sysdeps/s390/multiarch/ifunc-impl-list.c
1961 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
1962 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
1963 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
1964 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
1965 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
1966 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
1967 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
1968 * sysdeps/s390/ifunc-wcscmp.h: New file.
1970 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1972 * sysdeps/s390/multiarch/Makefile
1973 (sysdep_routines): Remove wcsncat variants.
1974 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
1975 * sysdeps/s390/multiarch/ifunc-impl-list.c
1976 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
1977 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
1978 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
1979 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
1980 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
1981 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
1982 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
1983 * sysdeps/s390/ifunc-wcsncat.h: New file.
1985 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1987 * sysdeps/s390/multiarch/Makefile
1988 (sysdep_routines): Remove wcscat variants.
1989 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
1990 * sysdeps/s390/multiarch/ifunc-impl-list.c
1991 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
1992 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
1993 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
1994 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
1995 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
1996 * sysdeps/s390/multiarch/wcscat.c: Move to ...
1997 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
1998 * sysdeps/s390/ifunc-wcscat.h: New file.
2000 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2002 * sysdeps/s390/multiarch/Makefile
2003 (sysdep_routines): Remove wcpncpy variants.
2004 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
2005 * sysdeps/s390/multiarch/ifunc-impl-list.c
2006 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
2007 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
2008 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
2009 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
2010 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
2011 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
2012 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
2013 * sysdeps/s390/ifunc-wcpncpy.h: New file.
2015 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2017 * sysdeps/s390/multiarch/Makefile
2018 (sysdep_routines): Remove wcsncpy variants.
2019 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
2020 * sysdeps/s390/multiarch/ifunc-impl-list.c
2021 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
2022 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
2023 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
2024 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
2025 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
2026 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
2027 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
2028 * sysdeps/s390/ifunc-wcsncpy.h: New file.
2030 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2032 * sysdeps/s390/multiarch/Makefile
2033 (sysdep_routines): Remove wcpcpy variants.
2034 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
2035 * sysdeps/s390/multiarch/ifunc-impl-list.c
2036 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
2037 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
2038 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
2039 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
2040 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
2041 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
2042 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
2043 * sysdeps/s390/ifunc-wcpcpy.h: New file.
2045 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2047 * sysdeps/s390/multiarch/Makefile
2048 (sysdep_routines): Remove wcscpy variants.
2049 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
2050 * sysdeps/s390/multiarch/ifunc-impl-list.c
2051 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
2052 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
2053 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
2054 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
2055 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
2056 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
2057 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
2058 * sysdeps/s390/ifunc-wcscpy.h: New file.
2060 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2062 * sysdeps/s390/multiarch/Makefile
2063 (sysdep_routines): Remove wcsnlen variants.
2064 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
2065 * sysdeps/s390/multiarch/ifunc-impl-list.c
2066 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
2067 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
2068 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
2069 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
2070 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
2071 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
2072 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
2073 * sysdeps/s390/ifunc-wcsnlen.h: New file.
2075 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2077 * sysdeps/s390/multiarch/Makefile
2078 (sysdep_routines): Remove wcslen variants.
2079 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
2080 * sysdeps/s390/multiarch/ifunc-impl-list.c
2081 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
2082 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
2083 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
2084 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
2085 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
2086 * sysdeps/s390/multiarch/wcslen.c: Move to ...
2087 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
2088 * sysdeps/s390/ifunc-wcslen.h: New file.
2090 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2092 * sysdeps/s390/multiarch/Makefile
2093 (sysdep_routines): Remove memrchr variants.
2094 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
2095 * sysdeps/s390/multiarch/ifunc-impl-list.c
2096 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
2097 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
2098 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
2099 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
2100 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
2101 * sysdeps/s390/multiarch/memrchr.c: Move to ...
2102 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
2103 * sysdeps/s390/ifunc-memrchr.h: New file.
2105 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2107 * sysdeps/s390/multiarch/Makefile
2108 (sysdep_routines): Remove memccpy variants.
2109 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
2110 * sysdeps/s390/multiarch/ifunc-impl-list.c
2111 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
2112 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
2113 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
2114 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
2115 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
2116 * sysdeps/s390/multiarch/memccpy.c: Move to ...
2117 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
2118 * sysdeps/s390/ifunc-memccpy.h: New file.
2120 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2122 * sysdeps/s390/multiarch/Makefile
2123 (sysdep_routines): Remove rawmemchr variants.
2124 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
2125 * sysdeps/s390/multiarch/ifunc-impl-list.c
2126 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
2127 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
2128 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
2129 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
2130 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
2131 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
2132 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
2133 * sysdeps/s390/ifunc-rawmemchr.h: New file.
2135 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2137 * sysdeps/s390/multiarch/Makefile
2138 (sysdep_routines): Remove memchr variants.
2139 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
2140 * sysdeps/s390/multiarch/ifunc-impl-list.c
2141 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
2142 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
2143 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
2144 * sysdeps/s390/multiarch/memchr.c: Move to ...
2145 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
2146 * sysdeps/s390/ifunc-memchr.h: New file.
2147 * sysdeps/s390/s390-64/memchr.S: Move to ...
2148 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
2149 for 31/64bit and ifunc handling.
2150 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
2151 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2152 * sysdeps/s390/s390-32/memchr.S: Likewise.
2154 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2156 * sysdeps/s390/multiarch/Makefile
2157 (sysdep_routines): Remove strcspn variants.
2158 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
2159 * sysdeps/s390/multiarch/ifunc-impl-list.c
2160 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
2161 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
2162 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
2163 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
2164 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
2165 * sysdeps/s390/multiarch/strcspn.c: Move to ...
2166 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
2167 * sysdeps/s390/ifunc-strcspn.h: New file.
2169 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2171 * sysdeps/s390/multiarch/Makefile
2172 (sysdep_routines): Remove strpbrk variants.
2173 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
2174 * sysdeps/s390/multiarch/ifunc-impl-list.c
2175 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
2176 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
2177 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
2178 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
2179 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
2180 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
2181 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
2182 * sysdeps/s390/ifunc-strpbrk.h: New file.
2184 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2186 * sysdeps/s390/multiarch/Makefile
2187 (sysdep_routines): Remove strspn variants.
2188 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
2189 * sysdeps/s390/multiarch/ifunc-impl-list.c
2190 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
2191 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
2192 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
2193 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
2194 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
2195 * sysdeps/s390/multiarch/strspn.c: Move to ...
2196 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
2197 * sysdeps/s390/ifunc-strspn.h: New file.
2199 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2201 * sysdeps/s390/multiarch/Makefile
2202 (sysdep_routines): Remove strrchr variants.
2203 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
2204 * sysdeps/s390/multiarch/ifunc-impl-list.c
2205 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
2206 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
2207 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
2208 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
2209 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
2210 * sysdeps/s390/multiarch/strrchr.c: Move to ...
2211 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
2212 * sysdeps/s390/ifunc-strrchr.h: New file.
2214 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2216 * sysdeps/s390/multiarch/Makefile
2217 (sysdep_routines): Remove strchrnul variants.
2218 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
2219 * sysdeps/s390/multiarch/ifunc-impl-list.c
2220 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
2221 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
2222 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
2223 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
2224 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
2225 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
2226 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
2227 * sysdeps/s390/ifunc-strchrnul.h: New file.
2229 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2231 * sysdeps/s390/multiarch/Makefile
2232 (sysdep_routines): Remove strchr variants.
2233 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
2234 * sysdeps/s390/multiarch/ifunc-impl-list.c
2235 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
2236 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
2237 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
2238 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
2239 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
2240 * sysdeps/s390/multiarch/strchr.c: Move to ...
2241 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
2242 * sysdeps/s390/ifunc-strchr.h: New file.
2244 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2246 * sysdeps/s390/multiarch/Makefile
2247 (sysdep_routines): Remove strncmp variants.
2248 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
2249 * sysdeps/s390/multiarch/ifunc-impl-list.c
2250 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
2251 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
2252 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
2253 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
2254 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
2255 * sysdeps/s390/multiarch/strncmp.c: Move to ...
2256 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
2257 * sysdeps/s390/ifunc-strncmp.h: New file.
2259 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2261 * sysdeps/s390/multiarch/Makefile
2262 (sysdep_routines): Remove strcmp variants.
2263 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
2264 * sysdeps/s390/multiarch/ifunc-impl-list.c
2265 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
2266 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
2267 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
2268 * sysdeps/s390/multiarch/strcmp.c: Move to ...
2269 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
2270 * sysdeps/s390/ifunc-strcmp.h: New file.
2271 * sysdeps/s390/s390-64/strcmp.S: Move to ...
2272 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
2273 for 31/64bit and ifunc handling.
2274 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
2275 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2276 * sysdeps/s390/s390-32/strcmp.S: Likewise.
2278 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2280 * sysdeps/s390/multiarch/Makefile
2281 (sysdep_routines): Remove strncat variants.
2282 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
2283 * sysdeps/s390/multiarch/ifunc-impl-list.c
2284 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
2285 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
2286 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
2287 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
2288 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
2289 * sysdeps/s390/multiarch/strncat.c: Move to ...
2290 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
2291 * sysdeps/s390/ifunc-strncat.h: New file.
2293 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2295 * sysdeps/s390/multiarch/Makefile
2296 (sysdep_routines): Remove strcat variants.
2297 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
2298 * sysdeps/s390/multiarch/ifunc-impl-list.c
2299 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
2300 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
2301 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
2302 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
2303 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
2304 * sysdeps/s390/multiarch/strcat.c: Move to ...
2305 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
2306 * sysdeps/s390/ifunc-strcat.h: New file.
2308 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2310 * sysdeps/s390/multiarch/Makefile
2311 (sysdep_routines): Remove stpncpy variants.
2312 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
2313 * sysdeps/s390/multiarch/ifunc-impl-list.c
2314 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
2315 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
2316 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
2317 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
2318 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
2319 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
2320 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
2321 * sysdeps/s390/ifunc-stpncpy.h: New file.
2323 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2325 * sysdeps/s390/multiarch/Makefile
2326 (sysdep_routines): Remove strncpy variants.
2327 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
2328 * sysdeps/s390/multiarch/ifunc-impl-list.c
2329 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
2330 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
2331 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
2332 * sysdeps/s390/multiarch/strncpy.c: Move to ...
2333 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
2334 * sysdeps/s390/ifunc-strncpy.h: New file.
2335 * sysdeps/s390/s390-64/strncpy.S: Move to ...
2336 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
2337 and adjust ifunc handling.
2338 * sysdeps/s390/s390-32/strncpy.S: Move to ...
2339 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
2340 and adjust ifunc handling.
2341 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
2342 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2344 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2346 * sysdeps/s390/multiarch/Makefile
2347 (sysdep_routines): Remove stpcpy variants.
2348 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
2349 * sysdeps/s390/multiarch/ifunc-impl-list.c
2350 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
2351 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
2352 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
2353 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
2354 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
2355 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
2356 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
2357 * sysdeps/s390/ifunc-stpcpy.h: New file.
2359 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2361 * sysdeps/s390/multiarch/Makefile
2362 (sysdep_routines): Remove strcpy variants.
2363 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
2364 * sysdeps/s390/multiarch/ifunc-impl-list.c
2365 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
2366 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
2367 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
2368 * sysdeps/s390/multiarch/strcpy.c: Move to ...
2369 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
2370 * sysdeps/s390/ifunc-strcpy.h: New file.
2371 * sysdeps/s390/s390-64/strcpy.S: Move to ...
2372 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
2373 for 31/64bit and ifunc handling.
2374 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
2375 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2376 * sysdeps/s390/s390-32/strcpy.S: Likewise.
2378 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2380 * sysdeps/s390/multiarch/Makefile
2381 (sysdep_routines): Remove strnlen variants.
2382 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
2383 * sysdeps/s390/multiarch/ifunc-impl-list.c
2384 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
2385 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
2386 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
2387 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
2388 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
2389 * sysdeps/s390/multiarch/strnlen.c: Move to ...
2390 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
2391 * sysdeps/s390/ifunc-strnlen.h: New file.
2393 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2395 * sysdeps/s390/multiarch/Makefile
2396 (sysdep_routines): Remove strlen variants.
2397 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
2398 * sysdeps/s390/multiarch/ifunc-impl-list.c
2399 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
2400 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
2401 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
2402 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
2403 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
2404 * sysdeps/s390/multiarch/strlen.c: Move to ...
2405 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
2406 * sysdeps/s390/ifunc-strlen.h: New file.
2408 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2410 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
2411 * sysdeps/s390/multiarch/ifunc-impl-list.c
2412 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
2413 * sysdeps/s390/ifunc-memmem.h: New file.
2414 * sysdeps/s390/memmem.c: Likewise.
2415 * sysdeps/s390/memmem-c.c: Likewise.
2416 * sysdeps/s390/memmem-vx.c: Likewise.
2418 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2420 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
2421 * sysdeps/s390/multiarch/ifunc-impl-list.c
2422 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
2423 * sysdeps/s390/ifunc-strstr.h: New file.
2424 * sysdeps/s390/strstr.c: Likewise.
2425 * sysdeps/s390/strstr-c.c: Likewise.
2426 * sysdeps/s390/strstr-vx.c: Likewise.
2428 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2430 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
2431 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
2432 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
2433 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
2435 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
2436 * sysdeps/s390/memmove-c.c: New file.
2437 * sysdeps/s390/memmove.c: Likewise.
2438 * sysdeps/s390/multiarch/ifunc-impl-list.c
2439 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
2441 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2443 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
2444 * sysdeps/s390/configure.ac: Add check for z13 support.
2445 * sysdeps/s390/configure: Regenerated.
2447 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2449 * sysdeps/s390/memcopy.h: New file.
2451 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2453 * sysdeps/s390/s390-32/bcopy.S: Remove.
2454 * sysdeps/s390/s390-64/bcopy.S: Likewise.
2456 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2458 * sysdeps/s390/ifunc-memcpy.h: New File.
2459 * sysdeps/s390/memcpy.S: Move to ...
2460 * sysdeps/s390/memcpy-z900.S ... here.
2461 Move implementations from memcpy-s390x.s to here.
2462 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
2463 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2464 Remove memcpy/mempcpy variants.
2465 * sysdeps/s390/Makefile (sysdep_routines):
2466 Add memcpy/mempcpy variants.
2467 * sysdeps/s390/multiarch/ifunc-impl-list.c
2468 (__libc_ifunc_impl_list): Adjust ifunc variants for
2470 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
2472 * sysdeps/s390/memcpy.c: ... here.
2473 Adjust ifunc variants for memcpy.
2474 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
2475 * sysdeps/s390/mempcpy.c: ... here.
2476 Adjust ifunc variants for mempcpy.
2477 * sysdeps/s390/mempcpy.S: Delete file.
2479 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2481 * sysdeps/s390/s390-64/memcpy.S: Move to ...
2482 * sysdeps/s390/memcpy.S: ... here.
2483 Adjust to be usable for 31/64bit.
2484 * sysdeps/s390/s390-32/memcpy.S: Delete File.
2485 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
2486 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
2487 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2488 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
2489 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
2490 Adjust to be usable for 31/64bit.
2491 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
2492 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
2493 * sysdeps/s390/multiarch/memcpy.c: ... here.
2494 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
2496 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2498 * sysdeps/s390/ifunc-memcmp.h: New File.
2499 * sysdeps/s390/memcmp.S: Move to ...
2500 * sysdeps/s390/memcmp-z900.S ... here.
2501 Move implementations from memcmp-s390x.s to here.
2502 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
2503 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2504 Remove memcmp variants.
2505 * sysdeps/s390/Makefile (sysdep_routines):
2506 Add memcmp variants.
2507 * sysdeps/s390/multiarch/ifunc-impl-list.c
2508 (__libc_ifunc_impl_list): Adjust ifunc variants for
2510 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
2512 * sysdeps/s390/memcmp.c: ... here.
2513 Adjust ifunc variants for memcmp.
2515 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2517 * sysdeps/s390/s390-64/memcmp.S: Move to ...
2518 * sysdeps/s390/memcmp.S: ... here.
2519 Adjust to be usable for 31/64bit.
2520 * sysdeps/s390/s390-32/memcmp.S: Delete File.
2521 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
2522 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2524 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2525 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
2526 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
2527 Adjust to be usable for 31/64bit.
2528 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
2529 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
2530 * sysdeps/s390/multiarch/memcmp.c: ... here.
2531 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
2533 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2535 * sysdeps/s390/s390-32/bzero.S: Delete file.
2536 * sysdeps/s390/s390-64/bzero.S: Likewise.
2537 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
2538 * sysdeps/s390/bzero.c: New file.
2539 * sysdeps/s390/memset-z900.S: Add bzero entry points.
2540 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
2541 * sysdeps/s390/multiarch/ifunc-impl-list.c
2542 (__libc_ifunc_impl_list): Add bzero ifunc variants.
2544 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2546 * sysdeps/s390/ifunc-memset.h: New File.
2547 * sysdeps/s390/memset.S: Move to ...
2548 * sysdeps/s390/memset-z900.S ... here.
2549 Move implementations from memset-s390x.s to here.
2550 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
2551 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2552 Remove memset variants.
2553 * sysdeps/s390/Makefile (sysdep_routines):
2554 Add memset variants.
2555 * sysdeps/s390/multiarch/ifunc-impl-list.c
2556 (__libc_ifunc_impl_list): Adjust ifunc variants for
2558 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
2560 * sysdeps/s390/memset.c: ... here.
2561 Adjust ifunc variants for memset.
2563 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2565 * sysdeps/s390/s390-64/memset.S: Move to ...
2566 * sysdeps/s390/memset.S: ... here.
2567 Adjust to be usable for 31/64bit.
2568 * sysdeps/s390/s390-32/memset.S: Delete File.
2569 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
2570 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2572 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2573 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
2574 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
2575 Adjust to be usable for 31/64bit.
2576 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
2577 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
2578 * sysdeps/s390/multiarch/memset.c: ... here.
2579 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
2581 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2583 * sysdeps/s390/multiarch/ifunc-resolve.h
2584 (s390_libc_ifunc_init, s390_libc_ifunc,
2585 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
2587 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2589 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
2590 * sysdeps/s390/configure.ac: Add check for z10 support.
2591 * sysdeps/s390/configure: Regenerated.
2593 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
2595 * sysdeps/i386/atomic-machine.h: Merged with ...
2596 * sysdeps/x86_64/atomic-machine.h: To ...
2597 * sysdeps/x86/atomic-machine.h: This. New file.
2599 2018-12-18 Florian Weimer <fweimer@redhat.com>
2601 Rewrite locale/gen-translit.pl in Python.
2602 * locale/Makefile (generated): Add C-translit.h.
2603 (before-compile): Add $(objpfx)C-translit.h.
2604 (C-translit.h): Move to $(objpfx). Create target directory.
2605 Build using Python script.
2606 * locale/gen-translit.py: New file.
2607 * locale/gen-translit.pl: Remove file.
2608 * locale/C-translit.h.in: Change comment character to '#' for
2609 easier parsing without a C preprocessor.
2610 * locale/C-translit.h: Remove generated file.
2611 * manual/install.texi (Tools for Compilation): Do not mention
2613 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
2614 Remove locale/C-translit.h.
2615 * scripts/update-copyrights: Likewise.
2616 * INSTALL: Regenerate.
2618 2018-12-18 Florian Weimer <fweimer@redhat.com>
2621 * localedata/locales/bi_VU: Remove executable bit from file.
2623 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
2626 (__localtime64): Add.
2627 * manual/maint.texi: Document Y2038 symbol handling.
2629 (__localtime64): Add.
2630 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
2632 2018-12-17 Joseph Myers <joseph@codesourcery.com>
2634 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
2637 * scripts/glibcextract.py (compare_macro_consts): Take parameters
2638 to allow extra macros from first or second sources.
2639 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
2640 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2641 (tests-special): Add $(objpfx)tst-mman-consts.out.
2642 ($(objpfx)tst-mman-consts.out): New makefile target.
2644 2018-12-17 Mao Han <han_mao@c-sky.com>
2646 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
2647 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
2648 without stat64 system call support.
2649 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
2650 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
2651 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2652 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
2653 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
2654 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
2655 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
2656 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
2657 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
2658 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
2659 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
2661 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
2663 regex: fix storage-exhaustion error
2665 * posix/regexec.c (get_subexp):
2666 Do not continue if storage is exhausted.
2668 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
2670 regex: fix heap-use-after-free error
2672 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
2673 https://debbugs.gnu.org/32592
2674 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
2675 call extend_buffers which reallocates the re_string_t internal buffer.
2676 Local variable 'buf' was not updated in such case, resulting in
2678 * posix/regexec.c (get_subexp): Update 'buf' after call to
2681 2018-12-15 Florian Weimer <fweimer@redhat.com>
2683 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
2684 (minimum_stride_size): Use it.
2685 (support_blob_repeat_allocate): Likewise.
2687 2018-12-14 Joseph Myers <joseph@codesourcery.com>
2689 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
2694 2018-12-14 Florian Weimer <fweimer@redhat.com>
2696 * manual/process.texi (Process Creation Concepts): Remove
2697 documentation of process (ID) lifetime. List more process
2698 creation functions. Reference Process Identification section.
2699 (Process Identification): Add information about process ID
2700 lifetime. Describe Linux thread/task IDs.
2701 * manual/signal.texi (Signaling Another Process): Mention that the
2702 signal is always sent to the process.
2704 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2706 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
2707 and tst-ldbl-efgcvt.
2708 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
2709 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
2710 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
2711 (fcvt_tests, output_error, output_r_error, do_test): Use the
2712 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
2713 select the type of floating-point variables and arguments; to
2714 produce extra tests for double and conversion specifiers for
2715 printf; and to set the names of called functions.
2716 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
2717 in tst-efgcvt-template.c.
2718 * misc/tst-ldbl-efgcvt.c: Likewise.
2720 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
2722 * nss/Makefile (tst-nss-test3.out): New rule.
2724 2018-12-13 Joseph Myers <joseph@codesourcery.com>
2726 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
2729 2018-12-13 fanjinke <fanjinke@hygon.cn>
2731 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
2734 2018-12-13 Andreas Schwab <schwab@suse.de>
2737 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
2738 (__pthread_rwlock_rdlock_full): Update expected value for
2739 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
2740 * nptl/tst-rwlock-pwn.c: New file.
2741 * nptl/Makefile (tests): Add tst-rwlock-pwn.
2743 2018-12-12 Joseph Myers <joseph@codesourcery.com>
2745 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
2748 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2750 * benchtests/scripts/compare_bench.py (do_compare): write to
2751 stderr in casestat is not present.
2752 * benchtests/scripts/compare_bench.py (plot_graphs): write to
2753 stderr in case timings field is not present. Also string showing
2754 the output filename goes into the stderr.
2756 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2758 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
2759 and ZeroDivisorError exceptions.
2760 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
2761 argument to loop through user provided statistics.
2762 * benchtests/scripts/compare_bench.py (main): Include the --stats
2765 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2767 * benchtests/scripts/compare_bench.py (compare_runs): Continue
2770 2018-12-12 Florian Weimer <fweimer@redhat.com>
2772 * sysdeps/posix/timespec_get.c: Add missing “any later version”
2773 clause to copyright header.
2775 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2778 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
2779 registers saved in the stack frame.
2780 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
2781 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
2783 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2785 * include/bits/monetary-ldbl.h: New file.
2786 * include/bits/printf-ldbl.h: Likewise.
2787 * include/bits/stdio-ldbl.h: Likewise.
2788 * include/bits/stdlib-ldbl.h: Likewise.
2789 * include/bits/syslog-ldbl.h: Likewise.
2790 * include/bits/wchar-ldbl.h: Likewise.
2792 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2794 * libio/libio.h: Remove redirection for _IO_vfprintf.
2796 2018-12-11 Andreas Schwab <schwab@suse.de>
2798 * Makerules: Remove all references to abilist-pattern.
2799 (update-all-abi): Simplify find expression.
2801 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2804 * math/auto-libm-test-in: Add new test case.
2805 * math/auto-libm-test-out-pow: Regenerated.
2806 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
2808 2018-12-10 DJ Delorie <dj@redhat.com>
2811 * support/test-container.c: Move postclean step to before we
2814 2018-12-10 Joseph Myers <joseph@codesourcery.com>
2816 * scripts/gen-as-const.py (main): Handle --python option.
2817 * scripts/gen-py-const.awk: Remove.
2818 * Makerules (py-const-script): Use gen-as-const.py.
2819 ($(py-const)): Likewise.
2820 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
2821 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
2822 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
2823 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
2824 ~PTHREAD_MUTEX_NO_ELISION_NP.
2825 * manual/README.pretty-printers: Update reference to
2828 * scripts/glibcextract.py: New file.
2829 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
2830 or tempfile. Import glibcexctract.
2831 (compute_c_consts): Remove. Moved to glibcextract.py.
2832 (gen_test): Update reference to compute_c_consts.
2834 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
2835 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
2836 * sysdeps/unix/sysv/linux/Makefile
2837 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
2838 Redirect stderr as well as stdout.
2840 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
2843 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
2844 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
2845 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
2846 ALWAYS_USE_VSYSCALL.
2847 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
2848 ALWAYS_USE_VSYSCALL.
2849 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
2850 ALWAYS_USE_VSYSCALL.
2852 2018-12-10 Florian Weimer <fweimer@redhat.com>
2855 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
2856 offset instead of count for clarity. Fix typo in comment.
2857 (__old_getdents64): Keep track of previous offset. Use it to call
2859 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
2860 that d_off is never zero.
2862 2018-12-10 Andreas Schwab <schwab@suse.de>
2864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
2865 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
2866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
2867 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
2868 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
2870 2018-12-10 Joseph Myers <joseph@codesourcery.com>
2872 * timezone/private.h: Update from tzcode 2018g.
2873 * timezone/tzfile.h: Likewise.
2874 * timezone/tzselect.ksh: Likewise.
2875 * timezone/zdump.c: Likewise.
2876 * timezone/zic.c: Likewise.
2878 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2881 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
2882 (do_test): Adjust buffer size and fix format.
2884 2018-12-07 DJ Delorie <dj@redhat.com>
2887 * malloc/tst-tcfree3.c: New.
2888 * malloc/Makefile: Add it.
2890 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
2892 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
2894 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2896 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
2897 used as a mask for the mode argument of __vfscanf_internal and
2898 __vfwscanf_internal.
2899 * stdio-common/vfscanf-internal.c
2900 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
2901 (__strtof128_internal): Define to __wcstof128_internal.
2902 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
2903 __strtof128_internal or __wcstof128_internal when the format of
2904 long double is the same as _Float128.
2906 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
2908 * include/unistd.h (__confstr): Add prototype and hidden prototype.
2909 * posix/confstr.c (confstr): Rename to __confstr.
2910 (__confstr): Add hidden def.
2911 (confstr): Add weak alias for __confstr.
2912 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
2915 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
2917 * NEWS: Mention getcpu.
2918 * include/sched.h (__getcpu): New libc_hidden_proto.
2919 * manual/resource.texi: Document getcpu.
2920 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
2921 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
2922 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
2923 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2924 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2925 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2926 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2927 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2928 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2929 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2930 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2931 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2932 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2934 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2935 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2936 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2945 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2946 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2947 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2948 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2949 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2950 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2951 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2952 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2953 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
2954 * sysdeps/unix/sysv/linux/getcpu.c: New file.
2955 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
2958 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2960 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
2962 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
2964 2018-12-07 Florian Weimer <fweimer@redhat.com>
2967 * posix/Makefile (routines): Add spawn_faction_addfchdir.
2968 * posix/Versions (GLIBC_2.29): Export
2969 posix_spawn_file_actions_addfchdir_np.
2970 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
2971 * posix/spawn_faction_destroy.c
2972 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
2973 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
2974 and the field action.fchdir_action.
2975 * posix/tst-spawn-chdir.c (add_chdir): New function.
2976 (do_test): Add do_fchdir loop. Call add_chdir.
2977 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
2978 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2979 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
2980 posix_spawn_file_actions_addfchdir_np.
2981 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
2983 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
2985 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
2986 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
2988 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
2990 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
2992 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
2994 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
2996 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
2998 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2999 (GLIBC_2.29): Likewise.
3000 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3001 (GLIBC_2.29): Likewise.
3002 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3003 (GLIBC_2.29): Likewise.
3004 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3005 (GLIBC_2.29): Likewise.
3006 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
3008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3009 (GLIBC_2.29): Likewise.
3010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3011 (GLIBC_2.29): Likewise.
3012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3013 (GLIBC_2.29): Likewise.
3014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3015 (GLIBC_2.29): Likewise.
3016 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
3018 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
3020 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
3022 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
3023 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
3025 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
3027 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
3029 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
3032 2018-12-06 Joseph Myers <joseph@codesourcery.com>
3034 * manual/texinfo.tex: Update to version 2018-09-21.20 with
3035 trailing whitespace removed.
3036 * scripts/config.guess: Update to version 2018-11-28.
3037 * scripts/config.sub: Update to version 2018-11-28.
3038 * scripts/install-sh: Update to version 2018-03-11.20.
3039 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
3040 * scripts/move-if-change: Update to version 2018-03-07 03:47.
3042 2018-12-07 Florian Weimer <fweimer@redhat.com>
3046 * inet/tst-if_index-long.c: New file.
3047 * inet/Makefile (tests): Add tst-if_index-long.
3049 2018-12-07 Florian Weimer <fweimer@redhat.com>
3051 * support/check.h (support_record_failure_is_failed): Declare.
3052 * support/descriptors.h: New file.
3053 * support/support_descriptors.c: Likewise.
3054 * support/tst-support_descriptors.c: Likewise.
3055 * support/support_record_failure.c
3056 (support_record_failure_is_failed): New function.
3057 * support/Makefile (libsupport-routines): Add support_descriptors.
3058 (tests): Add tst-support_descriptors.
3060 2018-12-05 Zack Weinberg <zackw@panix.com>
3061 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3063 * stdio-common/vfprintf-internal.c
3064 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
3065 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
3066 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
3067 and __no_long_double.
3068 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
3069 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
3070 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
3071 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
3072 and __nldbl_*syslog* functions.
3073 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
3074 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
3075 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
3076 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
3077 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
3078 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
3079 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
3080 (__nldbl_vwprintf, __nldbl_wprintf):
3081 Directly call the appropriate __v*printf_internal routine, passing
3082 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
3084 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
3085 (__nldbl___printf_chk, __nldbl___snprintf_chk)
3086 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
3087 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
3088 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
3089 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3090 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
3091 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
3092 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
3093 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
3094 Likewise, and also pass PRINTF_FORTIFY when appropriate.
3095 (__nldbl_syslog, __nldbl_vsyslog):
3096 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
3097 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3099 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3102 2018-12-05 Zack Weinberg <zackw@panix.com>
3103 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3106 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
3107 Moved here from debug/vsprintf_chk.c.
3108 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
3109 and completion logic for the strfile to match exactly what
3110 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
3111 _IO_str_init_static_internal instead of maxlen-1.
3112 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3113 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
3114 __vsprintf_internal.
3116 * debug/vsprintf_chk.c (__vsprintf_chk)
3117 * debug/sprintf_chk.c (__sprintf_chk):
3118 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
3119 'flags' argument is positive, and slen as maxlen. No need to lock
3120 the FILE and/or construct a temporary FILE. Minimize and normalize
3121 header inclusions and variable names. Do not libc_hidden_def anything.
3123 * debug/asprintf_chk.c (__asprintf_chk)
3124 * debug/dprintf_chk.c (__dprintf_chk)
3125 * debug/fprintf_chk.c (__fprintf_chk)
3126 * debug/fwprintf_chk.c (__fwprintf_chk)
3127 * debug/printf_chk.c (__printf_chk)
3128 * debug/snprintf_chk.c (__snprintf_chk)
3129 * debug/swprintf_chk.c (__swprintf_chk)
3130 * debug/vasprintf_chk.c (__vasprintf_chk)
3131 * debug/vdprintf_chk.c (__vdprintf_chk)
3132 * debug/vfprintf_chk.c (__vfprintf_chk)
3133 * debug/vfwprintf_chk.c (__vfwprintf_chk)
3134 * debug/vprintf_chk.c (__vprintf_chk)
3135 * debug/vsnprintf_chk.c (__vsnprintf_chk)
3136 * debug/vswprintf_chk.c (__vswprintf_chk)
3137 * debug/vwprintf_chk.c (__vwprintf_chk)
3138 * debug/wprintf_chk.c (__wprintf_chk):
3139 Directly call the corresponding vxxprintf_internal function, passing
3140 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
3141 the FILE and/or construct a temporary FILE. Minimize and normalize
3142 header inclusions and variable names. Do not libc_hidden_def anything.
3144 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
3145 __obstack_vprintf_internal.
3146 (__obstack_vprintf_chk): Convert into a wrapper that calls
3147 __obstack_vprintf_internal (these two functions already had the
3148 same code) and move to new file...
3149 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
3151 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
3152 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
3153 * debug/Makefile (routines): Add vobprintf_chk.
3155 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3156 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3157 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
3158 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3159 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
3160 (__nldbl___obstack_vfprintf_chk):
3161 Directly call the corresponding vxxprintf_internal function,
3162 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
3163 duplicate comparison of slen with 0 or maxlen from the corresponding
3164 non-__nldbl function.
3166 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
3167 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
3168 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
3169 Remove libc_hidden_proto.
3171 * stdio-common/vfprintf-internal.c
3172 (__vfprintf_internal, __vfwprintf_internal):
3173 Do not check _IO_FLAGS2_FORTIFY.
3174 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
3175 * libio/libioP.h: Update prototype of __vsprintf_internal and add
3176 a comment explaining why it has the maxlen argument.
3177 (_IO_acquire_lock_clear_flags2_fct): Remove.
3178 (_IO_acquire_lock_clear_flags2): Remove.
3179 (_IO_release_lock): Remove conditional statement which will
3181 (_IO_acquire_lock): Remove variable which is now unused.
3182 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3183 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3185 * stdio-common/Makefile (tests): Add tst-bz11319 and
3186 tst-bz11319-fortify2.
3187 (CFLAGS-tst-bz11319-fortify2.c): New macro.
3188 * stdio-common/tst-bz11319-fortify2.c: New file.
3189 * stdio-common/tst-bz11319.c: Likewise.
3191 2018-12-05 Zack Weinberg <zackw@panix.com>
3192 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3194 * misc/syslog.c: Include libioP.h, not iolibio.h.
3195 (__vsyslog_internal): New function with the former body of
3196 __vsyslog_chk; takes mode_flags argument same as
3197 __v*printf_internal. Call __vfprintf_internal directly.
3199 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
3200 Remove libc_hidden_def.
3201 (__syslog, __syslog_chk): Use __vsyslog_internal.
3202 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
3204 * include/sys/syslog.h: Add multiple inclusion guard.
3205 Add prototype for __vsyslog_internal.
3206 Remove declaration and libc_hidden_proto for __vsyslog_chk.
3208 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
3209 Use __vsyslog_internal.
3211 2018-12-05 Zack Weinberg <zackw@panix.com>
3212 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3214 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
3215 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
3216 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
3218 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
3219 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
3221 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
3222 Include wctype.h here if COMPILE_WPRINTF is defined.
3223 Define __vfprintf_internal or __vfwprintf_internal, depending
3225 Temporarily, on entry to this function, update mode_flags
3226 according to the environmental settings corresponding to
3227 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
3228 Throughout, check mode_flags instead of __ldbl_is_dbl and
3229 _IO_FLAGS2_FORTIFY on the destination FILE.
3230 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
3231 Include vfprintf-internal.c. Don't include wctype.h.
3232 * stdio-common/vfprintf.c: New file. Just define __vfprintf
3233 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
3235 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
3236 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
3238 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
3240 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
3241 and add mode_flags argument; use __vfprintf_internal.
3242 (__vdprintf): New function. Alias vdprintf to this.
3243 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
3244 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
3245 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
3246 (__obstack_printf): Use __obstack_printf_internal.
3247 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
3248 public aliases __vsnprintf and vsnprintf.
3249 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
3251 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
3252 public aliases _IO_vsprintf and vsprintf.
3253 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
3254 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
3255 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
3256 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
3257 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
3259 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
3260 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
3261 * stdio-common/fprintf.c, stdio-common/fxprintf.c
3262 * stdio-common/printf.c: Use __vfprintf_internal.
3264 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
3265 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
3266 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
3268 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
3269 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
3270 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
3271 __vfwprintf_internal.
3273 * libio/libio.h: Remove libc_hidden_proto and declaration for
3275 Remove declaration of _IO_vfwprintf.
3276 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
3278 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
3280 * include/stdio.h: Add prototype for __vasprintf.
3281 (__vsnprintf): Remove declaration, because there are no more
3283 * include/wchar.h (__vfwprintf, __vswprintf): Remove
3284 declaration, because there are no more internal calls.
3286 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
3287 __vsnprintf_internal, instead of _IO_vsnprintf.
3288 * argp/argp-help.c (__argp_error, __argp_failure): Use
3289 __vasprintf_internal, instead of _IO_vasprintf.
3290 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
3291 redefine, because there are no more internal calls.
3293 2018-12-05 Zack Weinberg <zackw@panix.com>
3294 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3296 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
3297 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
3298 Include libio/strfile.h instead of libioP.h.
3299 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
3300 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
3301 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
3302 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
3303 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
3304 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
3305 necessary. Do not set __no_long_double. Normalize variable names.
3306 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
3307 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
3308 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
3309 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
3310 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
3311 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
3312 Call __vfscanf_internal / __vfwscanf_internal directly, passing
3313 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
3314 Do not set __no_long_double. Normalize variable names.
3316 2018-12-05 Zack Weinberg <zackw@panix.com>
3317 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3319 * stdio-common/isoc99_scanf.c
3320 * stdio-common/isoc99_fscanf.c
3321 * stdio-common/isoc99_sscanf.c
3322 * stdio-common/isoc99_vscanf.c
3323 * stdio-common/isoc99_vfscanf.c
3324 * stdio-common/isoc99_vsscanf.c
3325 * wcsmbs/isoc99_wscanf.c
3326 * wcsmbs/isoc99_fwscanf.c
3327 * wcsmbs/isoc99_swscanf.c
3328 * wcsmbs/isoc99_vwscanf.c
3329 * wcsmbs/isoc99_vfwscanf.c
3330 * wcsmbs/isoc99_vswscanf.c:
3331 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
3332 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
3333 No need to lock and unlock the FILE passed to that function.
3335 * stdio-common/vfscanf-internal.c
3336 (__vfscanf_internal, __vfwscanf_internal):
3337 Don't look at _IO_FLAGS2_SCANF_STD.
3338 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
3339 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
3340 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
3342 2018-12-05 Zack Weinberg <zackw@panix.com>
3343 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3345 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
3346 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
3347 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
3348 * libio/strfile.h: Add multiple inclusion guard.
3349 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
3351 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
3352 consistency with the other version of this file.
3353 (ldbl_compat_symbol): New macro.
3354 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
3357 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
3358 Define __vfscanf_internal or __vfwscanf_internal, depending on
3359 COMPILE_WSCANF; don't define any other public symbols.
3360 Remove errval and code to set errp.
3361 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
3362 as the mode_flags argument.
3363 (encode_error, conv_error, input_error): Don't set errval.
3364 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
3365 Include vfscanf-internal.c.
3366 * stdio-common/vfscanf.c: New file defining the public entry
3367 point vfscanf, which calls __vfscanf_internal.
3368 * stdio-common/vfwscanf.c: New file defining the public entry
3369 point vfwscanf, which calls __vfwscanf_internal.
3371 * stdio-common/iovfscanf.c: New file.
3372 * stdio-common/iovfwscanf.c: Likewise.
3374 * stdio-common/Makefile (routines): Add vfscanf-internal,
3375 vfwscanf-internal, iovfscanf, iovfwscanf.
3376 * stdio-common/Versions: Mention GLIBC_2.29, so that
3377 it can be used in SHLIB_COMPAT expressions.
3378 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
3379 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
3380 Call __vfscanf_internal, instead of _IO_vfscanf.
3381 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
3383 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
3386 * libio/iovsscanf.c: Clean up includes, when possible. Use
3387 _IO_strfile_read or _IO_strfile_readw, when needed. Call
3388 __vfscanf_internal or __vfwscanf_internal directly.
3389 * libio/iovswscanf.c: Likewise.
3390 * libio/swscanf.c: Likewise.
3391 * libio/vscanf.c: Likewise.
3392 * libio/vwscanf.c: Likewise.
3393 * libio/wscanf.c: Likewise.
3394 * stdio-common/isoc99_fscanf.c: Likewise.
3395 * stdio-common/isoc99_scanf.c: Likewise.
3396 * stdio-common/isoc99_sscanf.c: Likewise.
3397 * stdio-common/isoc99_vfscanf.c: Likewise.
3398 * stdio-common/isoc99_vscanf.c: Likewise.
3399 * stdio-common/isoc99_vsscanf.c: Likewise.
3400 * stdio-common/scanf.c: Likewise.
3401 * stdio-common/sscanf.c: Likewise.
3402 * wcsmbs/isoc99_fwscanf.c: Likewise.
3403 * wcsmbs/isoc99_swscanf.c: Likewise.
3404 * wcsmbs/isoc99_vfwscanf.c: Likewise.
3405 * wcsmbs/isoc99_vswscanf.c: Likewise.
3406 * wcsmbs/isoc99_vwscanf.c: Likewise.
3407 * wcsmbs/isoc99_wscanf.c: Likewise.
3409 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
3412 (__tz_compute): Replace time_t with __time64_t.
3413 (__tz_convert): Replace time_t* with __time64_t.
3414 (__offtime): Replace time_t* with __time64_t.
3416 (__gmtime_r): Adjust call to __tz_convert.
3419 (__localtime_r): Likewise.
3420 (localtime): Likewise.
3421 * time/offtime.c: Replace time_t with __time64_t.
3422 * time/tzset.c: Likewise.
3424 2018-12-04 Joseph Myers <joseph@codesourcery.com>
3426 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
3427 dynamic linker unless [$(run-built-tests) = yes].
3429 2018-12-03 DJ Delorie <dj@delorie.com>
3431 * support/test-container.c (check_for_unshare_hints): New.
3432 (main): Call it if unshare fails. Add support for "su" scriptlet
3435 2018-12-03 Joseph Myers <joseph@codesourcery.com>
3437 * scripts/gen-as-const.py (compute_c_consts): Take an argument
3438 'START' to indicate that start text should be output.
3439 (gen_test): Likewise.
3440 (main): Generate 'START' for first symbol or '--' line, or at end
3441 of input if not previously generated.
3443 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
3446 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
3447 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
3448 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
3449 ALWAYS_USE_VSYSCALL.
3451 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3454 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
3457 2018-12-03 Carlos O'Donell <carlos@redhat.com>
3460 * locale/programs/localedef.c: Declare boolean hard_links default true.
3461 (options): Add --no-hard-links option.
3462 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
3463 * locale/programs/localedef.h: Declare prototype for hard_links.
3464 * locale/programs/locfile.c (write_locale_data): Don't use hard
3465 links if hard_links is false.
3467 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
3469 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
3471 (__cache_sysconf): Likewise.
3472 (init_cacheinfo): Likewise.
3473 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
3474 populate COMMON_CPUID_INDEX_80000007 and
3475 COMMON_CPUID_INDEX_80000008.
3476 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
3477 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
3478 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
3479 (init_cpu_features): Use _Static_assert on
3480 index_arch_Fast_Unaligned_Load.
3481 __get_cpuid_registers and __get_arch_feature. Updated for
3482 cpu_features_basic. Set stepping in cpu_features.
3483 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
3484 (FEATURE_INDEX_2): New.
3485 (FEATURE_INDEX_MAX): Changed to enum.
3486 (COMMON_CPUID_INDEX_D_ECX_1): New.
3487 (COMMON_CPUID_INDEX_80000007): Likewise.
3488 (COMMON_CPUID_INDEX_80000008): Likewise.
3489 (cpuid_registers): Likewise.
3490 (cpu_features_basic): Likewise.
3491 (CPU_FEATURE_USABLE): Likewise.
3492 (bit_arch_XXX_Usable): Likewise.
3493 (cpu_features): Use cpuid_registers and cpu_features_basic.
3494 (bit_arch_XXX): Reweritten.
3495 (bit_cpu_XXX): Likewise.
3496 (index_cpu_XXX): Likewise.
3497 (reg_XXX): Likewise.
3498 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
3500 (CHECK_CPU_FEATURE): New.
3501 (CHECK_CPU_FEATURE_USABLE): Likewise.
3502 (cpu_kinds): Likewise.
3503 (do_test): Print vendor, family, model and stepping. Check
3504 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
3505 (TEST_FUNCTION): Removed.
3506 Include <support/test-driver.c> instead of
3507 "../../test-skeleton.c".
3508 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
3509 Check POPCNT instead of POPCOUNT.
3510 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
3512 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3514 * scripts/gen-as-const.py (main): Avoid emitting empty line when
3515 there is no element in `consts'.
3517 2018-12-01 Florian Weimer <fweimer@redhat.com>
3519 * support/support_capture_subprocess.c
3520 (support_capture_subprocess): Check that pipe descriptors have
3521 expected values. Close original pipe descriptors in subprocess.
3523 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
3526 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
3527 attr with __pthread_default_barrierattr.
3528 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
3529 attr with __pthread_default_condattr.
3530 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
3531 attr with __pthread_default_mutexattr.
3532 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
3533 attr with __pthread_default_rwlockattr.
3535 2018-12-01 Kemi Wang <kemi.wang@intel.com>
3537 * manual/tunables.texi (POSIX Thread Tunables): New node.
3538 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
3539 * nptl/nptl-init.c: Include pthread_mutex_conf.h
3540 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
3541 __pthread_tunables_init.
3542 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
3543 (max_adaptive_count): Define.
3544 * nptl/pthread_mutex_conf.c: New file.
3545 * nptl/pthread_mutex_conf.h: New file.
3546 * sysdeps/generic/adaptive_spin_count.h: New file.
3547 * sysdeps/nptl/dl-tunables.list: New file.
3548 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3549 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
3550 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
3553 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
3556 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
3557 * stdlib/on_exit.c (__on_exit): Likewise.
3558 * stdlib/Makefile (tests): Add tst-bz20544.
3559 * stdlib/tst-bz20544.c: New test.
3561 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
3564 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
3565 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
3568 2018-11-30 Florian Weimer <fweimer@redhat.com>
3570 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
3571 Extend error logging.
3572 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
3575 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3577 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
3578 __sigismember instead of sigismember.
3579 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
3580 cancel_handler): New definitions.
3581 (do_system): Use posix_spawn instead of fork and execl and remove
3583 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
3584 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
3585 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
3586 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3587 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3588 * sysdeps/unix/sysv/linux/system.c: Likewise.
3592 * NEWS: Add new semantic for atfork with popen and system.
3593 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
3596 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3599 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
3600 modification order when accessing reloc_result->addr.
3601 * include/link.h (reloc_result): Add field init.
3602 * nptl/Makefile (tests): Add tst-audit-threads.
3603 (modules-names): Add tst-audit-threads-mod1 and
3604 tst-audit-threads-mod2.
3605 Add rules to build tst-audit-threads.
3606 * nptl/tst-audit-threads-mod1.c: New file.
3607 * nptl/tst-audit-threads-mod2.c: Likewise.
3608 * nptl/tst-audit-threads.c: Likewise.
3609 * nptl/tst-audit-threads.h: Likewise.
3611 2018-11-30 Joseph Myers <joseph@codesourcery.com>
3613 * scripts/gen-as-const.py: New file.
3614 * scripts/gen-as-const.awk: Remove.
3615 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
3617 ($(objpfx)test-as-const-%.c): Likewise.
3619 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3621 * elf/dl-exception.c: Include <_itoa.h>.
3623 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3625 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
3626 returned by __f_setlk.
3628 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3629 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3631 * elf/Makefile (tests-internal): Add tst-create_format1.
3632 * elf/dl-exception.c (_dl_exception_create_format): Support
3634 * elf/tst-create_format1.c: New file.
3636 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
3638 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
3639 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
3641 * argp/argp-help.c (__argp_failure): Likewise.
3643 2018-11-29 Mao Han <han_mao@c-sky.com>
3645 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
3646 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
3647 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
3648 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
3649 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
3650 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
3651 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
3652 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
3653 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
3654 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
3655 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
3656 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
3657 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
3658 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
3659 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
3660 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
3661 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
3662 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
3663 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
3664 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
3665 (R_CKCORE_TLS_TPOFF32): New defines.
3667 2018-11-29 Florian Weimer <fweimer@redhat.com>
3669 * posix/Makefile (before-compile): Remove testcases.h and
3671 (generated): Add testcases.h and ptestcases.h.
3672 (testcases.h, ptestcases.h): Move to $(objpfx).
3673 (runtests.o): Add dependency on testcases.h.
3674 (runptests.o): Add dependency on ptestcases.h.
3675 * posix/testcases.h, posix/ptestcases.h: Remove files.
3676 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
3677 not touch posix/testcases.h and posix/ptestcases.h.
3679 2018-11-28 Florian Weimer <fweimer@redhat.com>
3681 support: Add signal support to support_capture_subprocess_check.
3682 * support/capture_subprocess.h (support_capture_subprocess_check):
3683 Adjust comment and rename parameter.
3684 * support/support_capture_subprocess_check.c
3685 (print_actual_status): New function.
3686 (support_capture_subprocess_check): Support negative
3687 status_or_signal. Call print_actual_status.
3688 * support/tst-support_capture_subprocess.c (do_test): Call
3689 support_capture_subprocess_check.
3690 * libio/tst-vtables-common.c (termination_status)
3691 (init_termination_status): Remove.
3692 (check_for_termination): Adjust support_capture_subprocess_check
3694 (do_test): Remove call to init_termination_status.
3696 2018-11-28 Joseph Myers <joseph@codesourcery.com>
3698 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
3699 source directory instead of a copy.
3700 (CommandList.create_copy_dir): Remove.
3702 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
3704 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3706 2018-11-28 Florian Weimer <fweimer@redhat.com>
3708 * support/support.h (support_quote_string): Do not use str
3711 2018-11-27 Joseph Myers <joseph@codesourcery.com>
3713 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
3714 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
3716 2018-11-27 Florian Weimer <fweimer@redhat.com>
3718 * support/support.h (support_quote_string): Declare.
3719 * support/support_quote_string.c: New file.
3720 * support/tst-support_quote_string.c: Likewise.
3721 * support/Makefile (libsupport-routines): Add
3722 support_quote_string.
3723 (tests): Add tst-support_quote_string.
3725 2018-11-27 Florian Weimer <fweimer@redhat.com>
3729 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
3730 descriptor leak in case of ENODEV error.
3732 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
3735 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
3736 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
3737 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
3739 2018-11-26 Carlos O'Donell <carlos@redhat.com>
3741 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
3742 Error for unknown lines.
3744 2018-11-26 Joseph Myers <joseph@codesourcery.com>
3746 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3747 Touch additional files.
3749 2018-11-26 Florian Weimer <fweimer@redhat.com>
3752 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
3755 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
3758 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
3759 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
3760 SHARED. Include sysdep.h.
3761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
3762 ALWAYS_USE_VSYSCALL.
3763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
3764 ALWAYS_USE_VSYSCALL.
3766 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
3769 * nptl/Makefile (tests-static): Add tst-cond11-static.
3771 * nptl/tst-cond11-static.c: New File.
3772 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
3773 tst-affinity-static.
3775 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
3777 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
3778 (USE_VSYSCALL): Likewise.
3779 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
3780 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
3782 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
3784 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
3787 2018-11-23 Joseph Myers <joseph@codesourcery.com>
3790 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3791 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
3794 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
3796 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
3797 (tst-cet-legacy-1a-ARGS): New.
3798 ($(objpfx)tst-cet-legacy-1a): New target.
3799 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
3801 2018-11-22 Joseph Myers <joseph@codesourcery.com>
3803 * conform/conformtest.py (CompileSubTest.__init__): Set
3804 self.run_early to False.
3805 (ExecuteSubTest.__init__): Likewise.
3806 (HeaderTests.run): Try running all non-optional, non-XFAILed
3807 compilation tests in a single execution of the compiler.
3809 * conform/conformtest.py (CompileSubTest): New class.
3810 (ExecuteSubTest): Likewise.
3811 (ElementTest.run): Rename to gen_subtests. Append tests to
3812 self.subtests instead of running them.
3813 (ConstantTest.run): Likewise.
3814 (SymbolTest.run): Likewise.
3815 (TypeTest.run): Likewise.
3816 (TagTest.run): Likewise.
3817 (FunctionTest.run): Likewise.
3818 (VariableTest.run): Likewise.
3819 (MacroFunctionTest.run): Likewise.
3820 (MacroStrTest.run): Likewise.
3821 (HeaderTests.handle_test_line): Generate subtests for tests.
3822 (HeaderTests.run): Run subtests for tests.
3824 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3826 * math/Versions (GLIBC_2.29): Add pow.
3827 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
3829 * math/w_pow.c: New file.
3830 * sysdeps/i386/fpu/w_pow.c: New file.
3831 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
3832 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
3833 and add necessary aliases.
3834 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
3835 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
3836 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3837 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3838 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3839 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3840 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3841 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3842 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3843 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3844 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3845 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3846 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3847 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3848 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3853 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3854 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3855 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3856 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3857 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3858 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3859 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3860 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
3862 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
3863 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
3864 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
3866 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3868 * math/Versions (GLIBC_2.29): Add log2.
3869 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
3871 * math/w_log2.c: New file.
3872 * sysdeps/i386/fpu/w_log2.c: New file.
3873 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
3874 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
3875 and add necessary aliases.
3876 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
3877 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
3878 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3879 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3880 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3881 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3882 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3883 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3884 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3885 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3886 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3887 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3888 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3889 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3890 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3895 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3896 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3897 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3898 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3899 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3900 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3901 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3903 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3905 * math/Versions (GLIBC_2.29): Add log.
3906 * math/w_log_compat.c (__log_compat): Change to versioned compat
3908 * math/w_log.c: New file.
3909 * sysdeps/i386/fpu/w_log.c: New file.
3910 * sysdeps/ia64/fpu/e_log.S: Update.
3911 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
3912 and add necessary aliases.
3913 * sysdeps/ieee754/dbl-64/w_log.c: New file.
3914 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
3915 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3916 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3917 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3918 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3919 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3920 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3921 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3922 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3923 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3924 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3925 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3926 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3927 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3932 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3933 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3934 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3935 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3936 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3937 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3938 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3939 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
3941 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
3942 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
3943 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
3944 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
3946 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3948 * math/Versions (GLIBC_2.29): Add exp and exp2.
3949 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
3950 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
3951 * math/w_exp_compat.c (__exp_compat): Likewise.
3952 * math/w_exp.c: New file.
3953 * math/w_exp2.c: New file.
3954 * sysdeps/i386/fpu/w_exp.c: New file.
3955 * sysdeps/i386/fpu/w_exp2.c: New file.
3956 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
3957 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
3958 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
3959 and add necessary aliases.
3960 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
3961 and add necessary aliases.
3962 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
3963 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
3964 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
3965 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
3966 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3967 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3968 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3969 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3970 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3971 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3972 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3973 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3974 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3975 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3976 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3977 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3978 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3983 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3984 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3985 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3986 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3987 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3988 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3989 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3990 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
3991 (__ieee754_exp): Rename to __exp.
3992 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
3993 (__ieee754_exp): Rename to __exp.
3994 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
3995 (__ieee754_exp): Rename to __exp.
3996 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
3998 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
4000 2018-11-20 DJ Delorie <dj@redhat.com>
4002 * malloc/malloc.c (tcache_entry): Add key field.
4003 (tcache_put): Set it.
4004 (tcache_get): Likewise.
4005 (_int_free): Check for double free in tcache.
4006 * malloc/tst-tcfree1.c: New.
4007 * malloc/tst-tcfree2.c: New.
4008 * malloc/Makefile: Run the new tests.
4009 * manual/probes.texi: Document memory_tcache_double_free probe.
4011 * dlfcn/dlerror.c (check_free): Prevent double frees.
4013 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
4015 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
4017 2018-11-20 Joseph Myers <joseph@codesourcery.com>
4019 * conform/conformtest.py (ElementTest.run): Use unique identifiers
4020 in tests. Use names for format arguments.
4021 (ConstantTest.run): Likewise.
4022 (SymbolTest.run): Likewise.
4023 (TypeTest.run): Likewise.
4024 (TagTest.run): Likewise.
4025 (FunctionTest.run): Likewise.
4026 (VariableTest.run): Likewise.
4027 (MacroFunctionTest.run): Likewise.
4028 (MacroStrTest.run): Likewise.
4029 (HeaderTests.__init__): Set self.num_tests.
4030 (HeaderTests.handle_test_line): Set test.num. Increment
4033 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
4035 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
4036 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
4039 2018-11-19 Mao Han <han_mao@c-sky.com>
4041 * scripts/config.guess: Update to version 2018-08-29.
4042 * scripts/config.sub: Update to version 2018-08-29.
4044 2018-11-19 Florian Weimer <fweimer@redhat.com>
4046 support: Print timestamps in timeout handler.
4047 * support/support_test_main.c (print_timestamp): New function.
4048 (signal_handler): Use it to print the termination time and the
4049 time of the last write to standard output.
4051 2018-11-16 Zack Weinberg <zackw@panix.com>
4052 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4054 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
4055 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
4057 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
4058 and add flags argument. Check flags instead of __ldbl_is_dbl when
4059 deciding whether to set is_long_double.
4060 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
4061 passing zero for flags argument.
4062 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
4064 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4065 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
4066 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
4067 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
4068 variable names. Remove libc_hidden_def/libc_hidden_proto from
4069 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
4070 longer called from within the library.
4071 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
4072 for __nldbl___vstrfmon_l, declare it explicitly.
4074 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
4076 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
4078 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
4080 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
4081 F_SETLK64, F_SETLKW64, respectively.
4082 * sysdeps/mach/hurd/f_setlk.c: New file.
4083 * sysdeps/mach/hurd/f_setlk.h: New file.
4084 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
4086 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
4087 (__libc_fcntl): Move non-flock operations to...
4088 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
4089 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
4091 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
4093 mktime: DEBUG_MKTIME cleanup
4094 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
4095 And it’s no longer needed now that glibc and Gnulib both have
4096 their own testing mechanisms for mktime.
4097 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
4099 mktime: fix non-EOVERFLOW errno handling
4101 mktime was not properly reporting failures when the underlying
4102 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
4103 them like EOVERFLOW failures, and set errno to EOVERFLOW.
4104 The problem could happen on non-glibc platforms, with Gnulib.
4105 * time/mktime.c (guess_time_tm): Remove, replacing with ...
4106 (tm_diff): ... this simpler function, which does not change errno.
4107 All callers changed to deal with errno themselves.
4108 (ranged_convert, __mktime_internal): Return failure immediately if
4109 the underlying function reports any failure other than EOVERFLOW.
4110 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
4113 mktime: fix bug with Y2038 DST transition
4115 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
4116 mishandle a DST transition that jumps over the Y2038 boundary.
4117 No such DST transitions are known so this is only a theoretical
4118 bug, but we might as well do things right.
4120 mktime: make more room for overflow
4122 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
4123 This is so that we can add tm_diff results to a previous guess,
4124 which will be useful in a later patch.
4126 mktime: simplify offset guess
4128 * time/mktime.c (__mktime_internal): Omit excess precision.
4130 mktime: new test for mktime failure
4132 Based on a test suggested by Albert Aribaud in:
4133 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
4134 * time/Makefile (tests): Add bug-mktime4.
4135 * time/bug-mktime4.c: New file.
4137 mktime: fix EOVERFLOW bug
4139 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
4140 Include libc-config.h, not config.h, for __set_errno.
4141 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
4143 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
4145 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
4146 __attribute_copy__ to copy attributes from name. Drop static qualifier
4147 to avoid warnings about leaf attribute not having effect on static
4150 2018-11-13 Florian Weimer <fweimer@redhat.com>
4152 * malloc/malloc.c (fastbin_push_entry): New function.
4153 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
4154 (REMOVE_FB): Remove macro.
4155 (_int_malloc): Use fastbin_pop_entry and reindent.
4156 (_int_free): Use fastbin_push_entry.
4157 (malloc_consolidate): Use atomic_exchange_acquire.
4159 2018-11-13 Joseph Myers <joseph@codesourcery.com>
4161 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
4162 alias attribute, not with strong_alias.
4164 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
4165 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
4166 with additional parameter thread.
4167 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
4168 in terms of __hidden_ver2.
4169 (hidden_tls_def): New macro.
4170 (libc_hidden_tls_def): Likewise.
4171 (rtld_hidden_tls_def): Likewise.
4172 (libm_hidden_tls_def): Likewise.
4173 (libmvec_hidden_tls_def): Likewise.
4174 (libresolv_hidden_tls_def): Likewise.
4175 (librt_hidden_tls_def): Likewise.
4176 (libdl_hidden_tls_def): Likewise.
4177 (libnss_files_hidden_tls_def): Likewise.
4178 (libnsl_hidden_tls_def): Likewise.
4179 (libnss_nisplus_hidden_tls_def): Likewise.
4180 (libutil_hidden_tls_def): Likewise.
4181 (libutil_hidden_tls_def): Likweise.
4182 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
4183 libc_hidden_tls_def.
4184 (__sim_disabled_exceptions_thread): Likewise.
4185 (__sim_round_mode_thread): Likewise.
4187 * sysdeps/sparc/sparc-ifunc.h [SHARED]
4188 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
4189 copy attributes from name.
4191 2018-11-12 Joseph Myers <joseph@codesourcery.com>
4193 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
4194 Use __attribute_copy__ to copy attributes from name.
4196 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
4197 with __hidden_ver1 call.
4198 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
4199 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
4200 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
4201 (__cosf): Do not declare here.
4202 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
4203 (__sincosf): Do not declare here.
4204 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
4205 (__sinf): Do not declare here.
4207 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
4208 (__BIG_ENDIAN): Likewise.
4209 (__BYTE_ORDER): Likewise.
4210 (strong_alias): Likewise.
4211 (_strong_alias): Likewise.
4213 2018-11-12 Florian Weimer <fweimer@redhat.com>
4215 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
4216 function. Move after the definition of in_smallbin_range. Do not
4217 use __builtin_expect for paths that lead to a noreturn function.
4218 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
4219 because it is unclear whether this is in fact an unlikely
4221 (_int_malloc, _int_free): Adjust.
4222 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
4224 * malloc/arena.c (heap_trim): Likewise.
4226 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4228 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
4229 it, free it if needed.
4230 (reauthenticate): Test and use ccwdir.
4231 (child_init_port): In non-resetids case, test and use ccwdir.
4232 (child_chdir): New nested function to set ccwdir.
4233 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
4234 * hurd/hurd/port.h (_hurd_port_move): New function.
4235 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
4236 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
4237 * hurd/Versions (_hurd_port_move): Export function.
4238 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
4240 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
4241 of dtablesize for allocating dtable_cloexec.
4243 2018-11-09 Martin Sebor <msebor@redhat.com>
4245 * include/libc-symbols.h (__attribute_copy__): Define macro unless
4246 it's already defined.
4247 (_strong_alias): Use __attribute_copy__.
4248 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
4249 * misc/sys/cdefs.h (__attribute_copy__): New macro.
4250 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
4251 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
4252 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
4253 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
4254 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
4255 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
4256 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
4257 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
4258 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
4259 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
4260 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
4261 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
4262 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
4263 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
4264 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
4265 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
4266 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
4268 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4270 * misc/tst-efgcvt.c: Include support/check.h and
4271 support/test-driver.c. Do not include test-skeleton.c.
4272 (error_count): Remove.
4273 (output_error): Replace increments to error_count with calls to
4274 support_record_failure.
4275 (output_r_error): Likewise.
4276 (special): Likewise.
4277 (do_test): Unconditionally return zero.
4278 (TEST_FUNCTION): Remove.
4280 2018-11-09 Joseph Myers <joseph@codesourcery.com>
4282 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
4284 ($(linknamespace-header-tests)): Likewise.
4286 * conform/conformtest.py: New file.
4287 * conform/conformtest.pl: Remove.
4288 * conform/GlibcConform.pm: Likewise.
4289 * conform/glibcconform.py (KEYWORDS_C90): New constant.
4290 (KEYWORDS_C99): Likewise.
4291 (KEYWORDS): Likewise.
4292 * conform/Makefile ($(conformtest-header-tests)): Use
4293 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
4294 option. Use --header instead of --headers.
4295 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
4297 * conform/data/spawn.h-data: Likewise.
4298 * conform/data/fcntl.h-data (openat): Add space after function
4300 * conform/data/wchar.h-data (wcscasecmp): Likewise.
4301 (wcscasecmp_l): Likewise.
4302 * conform/data/termios.h-data (c_cc): Add space after element
4305 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4307 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
4308 instead of manually comparing and reporting mismatching strings.
4309 * misc/tst-ldbl-error.c (do_one_test): Likewise.
4310 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
4312 2018-11-08 Joseph Myers <joseph@codesourcery.com>
4314 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
4315 __ASSUME_SOCKETCALL.
4316 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4317 (__ASSUME_SOCKETCALL): Remove.
4318 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4319 (__ASSUME_SOCKETCALL): Likewise.
4320 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4321 (__ASSUME_SOCKETCALL): Likewise.
4322 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4323 (__ASSUME_SOCKETCALL): Likewise.
4324 * sysdeps/unix/sysv/linux/s390/kernel-features.h
4325 (__ASSUME_SOCKETCALL): Likewise.
4326 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4327 (__ASSUME_SOCKETCALL): Likewise.
4328 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4329 (__ASSUME_SOCKETCALL): Likewise.
4331 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
4334 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
4335 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
4336 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
4337 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
4338 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
4341 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
4344 * resolv/tst-resolv-network.c: Add test for getnetbyname.
4346 2018-11-07 Joseph Myers <joseph@codesourcery.com>
4349 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4350 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4351 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4352 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4354 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4356 * support/support_test_compare_string.c
4357 (support_test_compare_string): Fix printf format.
4359 2018-11-07 Florian Weimer <fweimer@redhat.com>
4361 Implement TEST_COMPARE_STRING.
4362 * support/check.h (TEST_COMPARE_STRING): Define.
4363 (support_test_compare_string): Declare.
4364 * support/Makefile (libsupport-routines): Add
4365 support_test_compare_string.
4366 (tests): Add tst-test_compare_string.
4367 * support/support_test_compare_string.c: New file.
4368 * support/tst-test_compare_string.c: Likewise.
4370 2018-11-07 Andreas Schwab <schwab@suse.de>
4373 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
4374 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
4377 2018-11-06 Joseph Myers <joseph@codesourcery.com>
4380 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4381 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
4382 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
4383 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
4386 2018-11-06 Florian Weimer <fweimer@redhat.com>
4389 * posix/Makefile (routines): Add spawn_faction_addchdir.
4390 (tests): Add tst-spawn-chdir.
4391 * posix/Versions (GLIBC_2.29): Add
4392 posix_spawn_file_actions_addchdir_np.
4393 * posix/spawn_faction_addchdir.c: New file.
4394 * posix/spawn_faction_destroy.c
4395 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
4396 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
4397 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
4399 * posix/tst-spawn-chdir.c: New file.
4400 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
4401 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4402 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4403 posix_spawn_file_actions_addchdir_np.
4404 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4406 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4408 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4409 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4411 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4413 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4415 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4417 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4419 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4421 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4422 (GLIBC_2.29): Likewise.
4423 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4424 (GLIBC_2.29): Likewise.
4425 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4426 (GLIBC_2.29): Likewise.
4427 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4428 (GLIBC_2.29): Likewise.
4429 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4432 (GLIBC_2.29): Likewise.
4433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4434 (GLIBC_2.29): Likewise.
4435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4436 (GLIBC_2.29): Likewise.
4437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4438 (GLIBC_2.29): Likewise.
4439 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4441 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4443 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4445 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4446 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4448 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4450 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4452 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4455 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4457 * misc/Makefile (tests): Add tst-ldbl-error.
4458 * misc/tst-ldbl-error.c: New file.
4460 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4462 * misc/Makefile (tests): Add tst-ldbl-warn.
4463 * misc/tst-ldbl-warn.c: New file.
4465 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4467 * argp/Makefile (tests): Add tst-ldbl-argp.
4468 * argp/tst-ldbl-argp.c: New file.
4470 2018-11-05 Arjun Shankar <arjun@redhat.com>
4472 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
4473 __gconv_path_elem and call __gconv_get_path unconditionally.
4475 2018-11-05 Andreas Schwab <schwab@suse.de>
4478 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
4479 creating the first helper thread failed.
4481 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4483 * sysdeps/mach/hurd/msync.c: New file.
4485 2018-11-02 Florian Weimer <fweimer@redhat.com>
4487 * support/shell-container.c (copy_func): Call
4488 support_copy_file_range instead of copy_file_range to support
4489 cross-device copies.
4491 2018-11-02 Florian Weimer <fweimer@redhat.com>
4493 * support/test-container.c: Include <libc-pointer-arith.h> for
4496 2018-11-01 Zong Li <zong@andestech.com>
4498 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
4499 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
4500 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
4501 (__FP_FRAC_SET_8): Add implementation for RV32 use.
4503 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
4504 variable to avoid overlap arguments.
4506 2018-11-01 Joseph Myers <joseph@codesourcery.com>
4508 * posix/bug-regex22.c (main): Use puts with distinct error
4509 messages for unexpected success of re_compile_pattern, not printf
4510 with NULL argument to %s.
4512 * stdio-common/bug22.c: Include <libc-diag.h>.
4513 (do_test): Disable -Wformat-overflow= warnings around fprintf
4514 calls outputting more than INT_MAX characters.
4515 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
4516 around printf call with NULL %s argument.
4519 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
4520 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
4522 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4523 (__ASSUME_RECVMSG_SYSCALL): Likewise.
4524 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4525 (__ASSUME_SENDTO_SYSCALL): Likewise.
4526 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4527 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
4529 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4530 (__ASSUME_CONNECT_SYSCALL): Likewise.
4531 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4532 (__ASSUME_RECVFROM_SYSCALL): Likewise.
4533 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
4535 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
4537 [__LINUX_KERNEL_VERSION >= 0x040400]
4538 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4539 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
4542 (setsockopt): Likewise.
4544 2018-11-01 Fredrik Noring <noring@nocrew.org>
4546 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
4547 with the ISA override.
4549 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
4551 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
4554 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
4556 * manual/errno.texi (EIEIO): Document how translators should
4557 translate the error message.
4558 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
4559 printing trailing whitespaces refused by git.
4560 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
4561 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4562 * hurd/Makefile (user-interfaces): Add pci.
4564 2018-10-30 Joseph Myers <joseph@codesourcery.com>
4566 * conform/linknamespace.py: New file.
4567 * conform/linknamespace.pl: Remove file.
4568 * conform/Makefile ($(linknamespace-header-tests)): Use
4569 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
4572 2018-10-30 Florian Weimer <fweimer@redhat.com>
4574 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
4577 2018-10-30 Florian Weimer <fweimer@redhat.com>
4579 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
4581 2018-10-30 Florian Weimer <fweimer@redhat.com>
4583 * stdlib/tst-strtod-overflow.c (do_test): Switch to
4584 support_blob_repeat.
4586 2018-10-30 Florian Weimer <fweimer@redhat.com>
4588 Avoid spurious test failures in stdlib/test-bz22786.
4589 * support/Makefile (libsupport-routines): Add blob_repeat.
4590 (tests): Add tst-support_blob_repeat.
4591 * support/blob_repeat.h: New file.
4592 * support/blob_repeat.c: Likewise.
4593 * support/tst-support_blob_repeat.c: Likewise.
4594 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
4595 support_blob_repeat_allocate.
4597 2018-10-30 Andreas Schwab <schwab@suse.de>
4600 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
4601 Don't use tail call.
4602 * elf/tst-unwind-main.c: New file.
4603 * elf/Makefile (tests): Add tst-unwind-main.
4604 (CFLAGS-tst-unwind-main.c): Define.
4606 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
4609 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
4611 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
4613 2018-10-29 Joseph Myers <joseph@codesourcery.com>
4615 * conform/glibcconform.py: Do not import shutil.
4616 (list_exported_functions): Use tempfile.TemporaryDirectory instead
4619 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
4620 critic_missing for versions before 3.4.
4621 * configure: Regenerated.
4622 * manual/install.texi (Tools for Compilation): Document
4623 requirement for Python to build glibc.
4624 * INSTALL: Regenerated.
4625 * Rules [PYTHON]: Make code unconditional.
4626 * benchtests/Makefile [PYTHON]: Likewise.
4627 * conform/Makefile [PYTHON]: Likewise.
4628 * manual/Makefile [PYTHON]: Likewise.
4629 * math/Makefile [PYTHON]: Likewise.
4631 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4633 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
4634 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
4635 answer to interrupt_operation, return EIEIO instead of EINTR.
4636 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
4637 _hurd_intr_rpc_msg_about_to global point to start of controlled
4638 assembly snippet. Make it check canceled flag.
4639 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
4640 the _hurd_intr_rpc_msg_about_to point.
4641 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
4642 issue, remove cancel flag check.
4644 2018-10-26 Joseph Myers <joseph@codesourcery.com>
4646 * scripts/build-many-glibcs.py: Remove compatibility for missing
4647 os.cpu_count and re.fullmatch.
4649 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
4652 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
4653 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
4654 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
4656 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4658 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
4661 2018-10-25 Florian Weimer <fweimer@redhat.com>
4665 XFAIL siginfo_t si_band conform test on sparc64.
4666 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4667 (__SI_BAND_TYPE): Only override long int default type on sparc64.
4668 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4669 (conformtest-xfail-conds): Add sparc64-linux.
4670 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
4672 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
4674 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4676 * elf/elf.h (NT_MIPS_DSP): New macro.
4677 (NT_MIPS_FP_MODE): Likewise.
4679 2018-10-25 Zong Li <zong@andestech.com>
4681 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
4682 name by adding the file extension (.so).
4684 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
4686 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
4687 (test-xfail-ISO11/threads.h/linknamespace,
4688 test-xfail-ISO11/threads.h/conform): Add.
4690 2018-10-24 Joseph Myers <joseph@codesourcery.com>
4692 * math/gen-libm-test.py: Import os.
4693 (ALL_FLOATS_MANUAL): New constant.
4694 (ALL_FLOATS_SUFFIX): Likewise.
4695 (Ulps.all_functions): New function.
4696 (real_all_ulps): Likewise.
4697 (generate_err_table_sub): Likewise.
4698 (generate_err_table): Likewise.
4699 (main): Handle -s and -m options.
4700 * manual/libm-err-tab.pl: Remove.
4701 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
4702 instead of libm-err-tab.pl.
4703 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
4705 * manual/install.texi (Tools for Compilation): Document
4706 requirement for Python to build manual.
4707 * INSTALL: Regenerated.
4709 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4711 * bits/time64.h: New file.
4712 * include/time.h: Replace internal_time_t with __time64_t.
4713 * posix/bits/types (__time64_t): Add.
4714 * stdlib/Makefile: Add bits/time64.h to includes.
4715 * time/tzfile.c: Replace internal_time_t with __time64_t.
4717 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4719 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
4720 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
4721 __posix_spawn_file_actions_init, __posix_spawnattr_init,
4722 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
4723 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
4725 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
4726 * posix/spawn_faction_addclose.c
4727 (__posix_spawn_file_actions_addclose): Add hidden definition.
4728 * posix/spawn_faction_adddup2.c
4729 (__posix_spawn_file_actions_adddup2): Likewise.
4730 * posix/spawn_faction_destroy.c
4731 (__posix_spawn_file_actions_destroy): Likewise.
4732 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
4734 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
4735 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
4736 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
4738 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
4739 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
4742 2018-10-24 Andreas Schwab <schwab@suse.de>
4745 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
4747 * elf/cache.c (print_cache): Likewise.
4749 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4751 * bits/timesize.h: New file.
4752 * stdlib/Makefile (headers): Add bits/timesize.h.
4753 * sysdeps/unix/sysv/linux/bits/msq-pad.h
4754 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
4755 * sysdeps/unix/sysv/linux/bits/sem-pad.h
4756 (__SEM_PAD_AFTER_TIME): Likewise.
4757 * sysdeps/unix/sysv/linux/bits/shm-pad.h
4758 (__SHM_PAD_AFTER_TIME): Likewise.
4759 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
4760 (__MSQ_PAD_BEFORE_TIME): Likewise.
4761 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
4762 (__SEM_PAD_BEFORE_TIME): Likewise.
4763 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
4764 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4765 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
4766 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
4767 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
4768 (__MSQ_PAD_BEFORE_TIME): Likewise.
4769 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
4770 (__SEM_PAD_BEFORE_TIME): Likewise.
4771 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
4772 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4773 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
4774 (__MSQ_PAD_BEFORE_TIME): Likewise.
4775 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
4776 (__SEM_PAD_BEFORE_TIME): Likewise.
4777 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
4778 (__SHM_PAD_BEFORE_TIME): Likewise.
4779 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
4780 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4781 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
4783 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
4785 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
4786 USE_RDTSCP is defined.
4787 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
4788 USE_RDTSCP is defined.
4790 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4792 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
4796 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
4797 independently of other flags.
4799 2018-10-23 Florian Weimer <fweimer@redhat.com>
4801 * time/tst-mktime2.c (N_STRINGS): Remove.
4802 (set_timezone): New function.
4803 (spring_forward_gap): Call it. Use FAIL_EXIT1.
4804 (mktime_test1): Report localtime failure and check errno value.
4806 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
4807 (do_test): Remove alarm call. Use set_timezone and array_length.
4809 2018-10-23 Andreas Schwab <schwab@suse.de>
4811 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
4812 (__start_context): Use END instead of PSEUDO_END.
4814 2018-10-22 Joseph Myers <joseph@codesourcery.com>
4816 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4819 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4823 * wcsmbs/c32rtomb.c: New file.
4824 * wcsmbs/mbrtoc32.c: Likewise.
4825 * wcsmbs/tst-c32-state.c: Likewise.
4826 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
4827 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
4828 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
4829 (tests): Add tst-c32-state.
4830 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
4833 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
4835 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
4836 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
4838 2018-10-19 Joseph Myers <joseph@codesourcery.com>
4841 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
4842 pair and return 0 in that case, and use saved character to
4843 interpret following character.
4844 * wcsmbs/tst-c16-surrogate.c: New file.
4845 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
4846 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
4847 Depend on $(gen-locales)
4849 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
4852 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4853 (struct siginfo_t): Use correct type for si_band.
4855 2018-10-19 Florian Weimer <fweimer@redhat.com>
4858 * resource/bits/types/struct_rusage.h (struct rusage): Update
4859 comment on struct. Remove extraneous field comment.
4861 2018-10-18 David S. Miller <davem@davemloft.net>
4863 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
4864 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
4865 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
4866 sysdep_routines in subdir elf.
4867 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
4868 version for __vdso_clock_gettime.
4869 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
4871 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4872 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4874 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
4876 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
4878 * sysdeps/i386/init-arch.h: Removed.
4879 * sysdeps/i386/i586/init-arch.h: Likewise.
4880 * sysdeps/i386/i686/init-arch.h: Likewise.
4881 * sysdeps/i386/i686/hp-timing.h: Likewise.
4882 * sysdeps/x86_64/hp-timing.h: Likewise.
4883 * sysdeps/i386/isa.h: New file.
4884 * sysdeps/i386/i586/isa.h: Likewise.
4885 * sysdeps/i386/i686/isa.h: Likewise.
4886 * sysdeps/x86_64/isa.h: Likewise.
4887 * sysdeps/x86/hp-timing.h: New file.
4888 * sysdeps/x86/init-arch.h: Include <isa.h>.
4890 2018-10-17 Joseph Myers <joseph@codesourcery.com>
4892 * math/libm-test-pow.inc (pow_test_data): Do not allow
4893 divide-by-zero exception for pow(+/- 0, -Inf).
4895 2018-10-17 Zack Weinberg <zackw@panix.com>
4897 * manual/job.texi (Job Control is Optional): Remove node, as
4898 job control has not been optional in quite some time.
4899 (Job Control): Mention briefly that systems older than
4900 POSIX.1-2001 might not support job control.
4901 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
4902 defined on systems conforming to POSIX.1-2001.
4904 2018-10-17 Arjun Shankar <arjun@redhat.com>
4907 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
4909 * (__gconv_read_conf): Mark function static.
4910 * (once): New static variable.
4911 * (__gconv_load_conf): New function.
4912 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
4913 * iconv/gconv_db.c (once): Remove static variable.
4914 * (__gconv_compare_alias): Use __gconv_load_conf instead of
4916 * (__gconv_find_transform): Likewise.
4917 * iconv/tst-iconv-mt.c: New test.
4918 * iconv/Makefile: Add tst-iconv_mt.
4920 2018-10-17 Joseph Myers <joseph@codesourcery.com>
4922 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4924 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
4925 (shmatt_t): Define as __syscall_ulong_t.
4926 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
4927 and [__SHM_PAD_AFTER_TIME].
4928 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
4929 Define shm_segsz and associated padding based on
4930 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
4931 Use __syscall_ulong_t instead of unsigned long int.
4932 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
4934 [__USE_MISC] (struct shm_info): Likewise.
4935 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
4936 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
4937 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
4938 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
4939 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
4940 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4941 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
4942 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4943 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4944 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4945 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4947 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4949 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
4950 (SHMLBA): Remove macro.
4951 (__getpagesize): Remove function declaration.
4952 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
4954 (SHMLBA): Remove macro.
4955 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
4957 (SHMLBA): Remove macro.
4958 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
4960 (SHMLBA): Remove macro.
4961 (__getpagesize): Remove function declaration.
4962 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
4964 (SHMLBA): Remove macro.
4965 (__getshmlba): Remove function declaration.
4966 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
4967 (SHMLBA): Remove macro.
4968 (__getpagesize): Remove function declaration.
4969 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
4970 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
4971 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4972 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
4973 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
4974 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
4975 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
4976 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
4977 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
4978 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
4980 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
4983 * nptl/tst-mutex10.c: New File.
4984 * nptl/Makefile (tests): Add tst-mutex10.
4985 (tst-mutex10-ENV): New variable.
4986 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
4987 Ensure that elision path is used if elision is available.
4988 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
4990 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
4992 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
4993 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
4994 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
4995 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
4997 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
4998 (__pthread_mutex_cond_lock_adjust): Likewise.
4999 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5001 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
5002 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5003 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5004 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
5006 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5007 Use atomic_load_relaxed and atomic_store_relaxed.
5008 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
5009 Use atomic_store_relaxed.
5011 2018-10-17 Andreas Schwab <schwab@suse.de>
5013 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
5014 * crypt/badsalttest.c (TIMEOUT): Likewise.
5015 * crypt/sha256c-test.c (TIMEOUT): Likewise.
5016 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
5017 * io/test-lfs.c (TIMEOUT): Likewise.
5018 * libio/tst-atime.c (TIMEOUT): Likewise.
5019 * localedata/tst-leaks.c (TIMEOUT): Likewise.
5020 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
5021 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
5022 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
5023 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
5024 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
5025 * nptl/tst-cond11.c (TIMEOUT): Likewise.
5026 * nptl/tst-cond14.c (TIMEOUT): Likewise.
5027 * nptl/tst-cond15.c (TIMEOUT): Likewise.
5028 * nptl/tst-cond24.c (TIMEOUT): Likewise.
5029 * nptl/tst-cond25.c (TIMEOUT): Likewise.
5030 * nptl/tst-kill2.c (TIMEOUT): Likewise.
5031 * nptl/tst-kill3.c (TIMEOUT): Likewise.
5032 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
5033 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
5034 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
5035 * nptl/tst-once2.c (TIMEOUT): Likewise.
5036 * nptl/tst-once3.c (TIMEOUT): Likewise.
5037 * nptl/tst-once4.c (TIMEOUT): Likewise.
5038 * nptl/tst-robust8.c (TIMEOUT): Likewise.
5039 * nptl/tst-robust9.c (TIMEOUT): Likewise.
5040 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
5041 * nptl/tst-sem14.c (TIMEOUT): Likewise.
5042 * nptl/tst-sem6.c (TIMEOUT): Likewise.
5043 * nptl/tst-signal3.c (TIMEOUT): Likewise.
5044 * nptl/tst-spin4.c (TIMEOUT): Likewise.
5045 * nptl/tst-tls3.c (TIMEOUT): Likewise.
5046 * nptl/tst-tls4.c (TIMEOUT): Likewise.
5047 * posix/tst-chmod.c (TIMEOUT): Likewise.
5048 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
5049 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
5050 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
5051 * posix/tst-regex2.c (TIMEOUT): Likewise.
5052 * posix/tst-waitid.c (TIMEOUT): Likewise.
5053 * rt/tst-aio.c (TIMEOUT): Likewise.
5054 * rt/tst-aio10.c (TIMEOUT): Likewise.
5055 * rt/tst-aio4.c (TIMEOUT): Likewise.
5056 * rt/tst-aio5.c (TIMEOUT): Likewise.
5057 * rt/tst-aio6.c (TIMEOUT): Likewise.
5058 * rt/tst-aio64.c (TIMEOUT): Likewise.
5059 * rt/tst-aio7.c (TIMEOUT): Likewise.
5060 * rt/tst-aio9.c (TIMEOUT): Likewise.
5061 * rt/tst-clock.c (TIMEOUT): Likewise.
5062 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
5063 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
5064 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
5065 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
5066 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
5067 * rt/tst-timer4.c (TIMEOUT): Likewise.
5068 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
5069 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
5070 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
5071 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
5072 * time/tst-ftime.c (TIMEOUT): Likewise.
5073 * timezone/tst-tzset.c (TIMEOUT): Likewise.
5075 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5077 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
5078 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
5081 2018-10-15 Joseph Myers <joseph@codesourcery.com>
5083 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5085 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
5086 instead of <bits/wordsize.h>.
5087 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
5088 and [__SEM_PAD_AFTER_TIME].
5089 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
5090 __syscall_ulong_t instead of unsigned long int.
5091 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
5092 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
5093 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
5094 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
5095 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
5096 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
5097 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
5098 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
5099 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5100 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5101 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5103 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
5105 regex: simplify by using intprops.h
5107 * posix/regex_internal.h [_LIBC]: Include intprops.h.
5108 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
5109 intprops.h defines them.
5111 regex: __builtin_expect → __glibc_unlikely
5113 This refactoring was prompted by a problem when the regex code is
5114 used as part of Gnulib and when the builder’s compiler does not grok
5115 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
5116 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
5117 Although this refactoring does not fix the problem directly,
5118 we might as well have Gawk use the now-preferred glibc style for when
5119 __builtin_expect is unavailable.
5120 * posix/regex_internal.h (BE): Remove.
5121 All uses replaced by __glibc_unlikely or __glibc_likely.
5123 2018-10-11 Joseph Myers <joseph@codesourcery.com>
5125 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5127 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
5128 instead of <bits/wordsize.h>.
5129 (msgqnum_t): Define as __syscall_ulong_t.
5130 (msglen_t): Likewise.
5131 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
5132 and [__MSQ_PAD_AFTER_TIME].
5133 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
5134 __syscall_ulong_t instead of unsigned long int.
5135 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
5136 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
5137 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
5138 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
5139 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
5140 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
5141 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
5142 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
5143 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5144 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5145 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5147 2018-10-10 Joseph Myers <joseph@codesourcery.com>
5149 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
5150 (struct shmid_ds): Condition padding after time fields on
5152 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
5153 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
5154 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5156 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
5157 (struct semid_ds): Condition padding after time fields on
5159 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
5160 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
5161 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
5162 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5164 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
5165 (struct msqid_ds): Condition padding after time fields on
5167 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
5168 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
5169 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
5170 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5172 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5174 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
5176 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5178 * libio/tst-readline.c (TIMEOUT): Define.
5180 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
5182 mktime fix for Gnulib + coreutils
5184 This fix affects only Gnulib. Problem discovered when
5185 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
5187 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
5188 Do not define since it is not used. Defining an unused static
5189 function prompts a warning from GCC when Coreutils is configured
5190 with --enable-gcc-warnings.
5192 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5194 * benchtests/scripts/compare_bench.py (main): set float type on
5197 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
5200 * localedata/locales/kl_GL (mon): Update, the relative case.
5201 (alt_mon): Add, fill with month names in the nominative case.
5202 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
5203 (d_fmt): Set to "%b %d %Y".
5205 2018-10-04 Joseph Myers <joseph@codesourcery.com>
5207 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
5208 <bits/mman-linux.h>.
5209 (PROT_READ): Don't define here.
5210 (PROT_WRITE): Likewise.
5211 (PROT_EXEC): Likewise.
5212 (PROT_NONE): Likewise.
5213 (PROT_GROWSDOWN): Likewise.
5214 (PROT_GROWSUP): Likewise.
5215 (MAP_SHARED): Likewise.
5216 (MAP_PRIVATE): Likewise.
5217 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
5218 [__USE_MISC] (MAP_FILE): Likewise.
5219 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
5220 [__USE_MISC] (MAP_ANON): Likewise.
5221 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
5222 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
5223 (MCL_CURRENT): Likewise.
5224 (MCL_FUTURE): Likewise.
5225 (MCL_ONFAULT): Likewise.
5226 [__USE_MISC] (MADV_NORMAL): Likewise.
5227 [__USE_MISC] (MADV_RANDOM): Likewise.
5228 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
5229 [__USE_MISC] (MADV_WILLNEED): Likewise.
5230 [__USE_MISC] (MADV_DONTNEED): Likewise.
5231 [__USE_MISC] (MADV_FREE): Likewise.
5232 [__USE_MISC] (MADV_REMOVE): Likewise.
5233 [__USE_MISC] (MADV_DONTFORK): Likewise.
5234 [__USE_MISC] (MADV_DOFORK): Likewise.
5235 [__USE_MISC] (MADV_HWPOISON): Likewise.
5236 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
5237 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
5238 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
5239 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
5240 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
5241 (__MAP_ANONYMOUS): New macro.
5242 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
5243 <bits/mman-linux.h> inclusion.
5244 (MAP_FIXED): Likewise.
5245 (MS_SYNC): Likewise.
5246 (MS_ASYNC): Likewise.
5247 (MS_INVALIDATE): Likewise.
5248 [__USE_MISC] (MADV_MERGEABLE): Likewise.
5249 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
5250 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
5251 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
5252 [__USE_MISC] (MADV_DONTDUMP): Likewise.
5253 [__USE_MISC] (MADV_DODUMP): Likewise.
5254 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
5255 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
5258 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
5260 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
5261 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
5262 Add test-nldbl-redirect.
5263 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
5264 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
5265 $(objpfx)libnldbl_nonshared.a.
5267 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
5269 * support/support.h (support_objdir_elf_ldso): New variable.
5270 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
5271 * support/Makefile (CFLAGS-support_paths.c): Add definition
5272 for OBJDIR_ELF_LDSO_PATH.
5273 * support/test-container.c (main): Search for the ld.so
5274 which is also used by the testsuite.
5276 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
5279 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
5280 should be "sap" rather than "sab".
5281 (day): Fix spelling of Sunday, should be "sapaat" rather than
5284 2018-10-02 Joseph Myers <joseph@codesourcery.com>
5286 * math/libm-test-fma.inc (fma_test_data): Add more tests.
5288 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
5291 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
5292 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
5293 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
5295 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5297 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
5299 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
5301 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
5303 (CFLAGS-elision-unlock.c): Likewise.
5304 (CFLAGS-elision-timed.c): Likewise.
5305 (CFLAGS-elision-trylock.c): Likewise.
5306 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
5308 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5311 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
5312 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
5313 new fd_to_filename interface.
5314 * libio/freopen64.c (freopen64): Likewise.
5315 * libio/tst-memstream.h: New file.
5316 * libio/tst-memstream4.c: Likewise.
5317 * libio/tst-wmemstream4.c: Likewise.
5318 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
5319 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
5320 and remove internal dynamic allocation.
5322 2018-10-01 Joseph Myers <joseph@codesourcery.com>
5324 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
5325 (MREMAP_MAYMOVE): Do not define here.
5326 [__USE_GNU] (MREMAP_FIXED): Likewise.
5327 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
5328 (MREMAP_MAYMOVE): Define here instead.
5329 [__USE_GNU] (MREMAP_FIXED): Likewise.
5330 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
5331 (MREMAP_MAYMOVE): Remove.
5332 [__USE_GNU] (MREMAP_FIXED): Likewise.
5334 2018-09-28 Joseph Myers <joseph@codesourcery.com>
5336 * math/fromfp.h: Do not include <math_private.h>.
5337 * math/s_cacosh_template.c: Likewise.
5338 * math/s_casin_template.c: Likewise.
5339 * math/s_casinh_template.c: Likewise.
5340 * math/s_ccos_template.c: Likewise.
5341 * math/s_cproj_template.c: Likewise.
5342 * math/s_fdim_template.c: Likewise.
5343 * math/s_fmaxmag_template.c: Likewise.
5344 * math/s_fminmag_template.c: Likewise.
5345 * math/s_iseqsig_template.c: Likewise.
5346 * math/s_ldexp_template.c: Likewise.
5347 * math/s_nextdown_template.c: Likewise.
5348 * math/w_log1p_template.c: Likewise.
5349 * math/w_scalbln_template.c: Likewise.
5350 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
5351 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
5352 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
5353 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
5354 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
5355 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
5356 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
5357 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
5358 * sysdeps/i386/fpu/s_atanl.c: Likewise.
5359 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
5360 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
5361 * sysdeps/i386/fpu/s_fdim.c: Likewise.
5362 * sysdeps/i386/fpu/s_logbl.c: Likewise.
5363 * sysdeps/i386/fpu/s_rintl.c: Likewise.
5364 * sysdeps/i386/fpu/s_significandl.c: Likewise.
5365 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
5366 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
5367 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5368 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5369 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
5370 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5371 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5372 * sysdeps/ieee754/k_standardf.c: Likewise.
5373 * sysdeps/ieee754/k_standardl.c: Likewise.
5374 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5375 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5376 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
5377 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5378 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5379 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5380 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5381 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5382 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5383 * sysdeps/ieee754/s_signgam.c: Likewise.
5384 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5385 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
5386 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
5387 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5388 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5389 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
5390 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5391 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
5392 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5393 * sysdeps/riscv/rvd/s_finite.c: Likewise.
5394 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
5395 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
5396 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
5397 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
5398 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
5399 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
5400 * sysdeps/riscv/rvf/fegetround.c: Likewise.
5401 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
5402 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
5403 * sysdeps/riscv/rvf/fesetround.c: Likewise.
5404 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
5405 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
5406 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
5407 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5408 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
5409 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5410 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
5411 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
5412 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
5413 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
5414 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
5415 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
5416 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
5417 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
5418 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5419 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5420 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
5422 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
5424 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
5427 * sysdeps/i386/dl-cet.c: Removed.
5428 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
5430 (_dl_runtime_profile_shstk): Likewise.
5431 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
5432 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
5434 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5437 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
5438 do_test_with_invalid_iov): New tests.
5439 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
5440 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
5441 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
5443 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
5444 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
5445 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
5447 2018-09-27 Joseph Myers <joseph@codesourcery.com>
5449 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5450 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
5451 (MATH_REDIRECT_BINARY_ARGS): New macro.
5452 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5453 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
5454 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
5456 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
5457 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5458 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
5459 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5460 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5461 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5462 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
5467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
5469 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
5470 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
5471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
5473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
5475 * sysdeps/generic/math_private_calls.h
5476 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
5477 Do not declare and define as an inline function.
5478 * math/divtc3.c (__divtc3): Use copysign functions instead of
5479 __copysign variants.
5480 * math/multc3.c (__multc3): Likewise.
5481 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
5482 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
5483 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5484 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5486 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5487 (__ieee754_yn): Likewise.
5488 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5489 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
5490 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5491 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5492 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
5494 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
5495 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5497 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5499 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5501 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5502 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5504 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5505 (__ieee754_ynf): Likewise.
5506 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
5507 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5508 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
5509 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5511 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5512 (__ieee754_ynl): Likewise.
5513 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5514 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5515 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5517 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5518 (__ieee754_ynl): Likewise.
5519 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
5520 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5521 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5522 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5524 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5526 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
5527 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5528 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
5529 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5530 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5532 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5533 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
5534 using MATH_REDIRECT.
5535 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
5537 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
5538 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5539 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5540 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
5541 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5542 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5543 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
5545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
5546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
5547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
5548 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5549 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5550 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5551 (round): Redirect to __round.
5552 (__roundl): Call round instead of __round.
5553 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
5555 [_ARCH_PWR5X] (__roundf): Likewise.
5556 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
5557 functions instead of __round variants.
5558 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5559 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5561 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5563 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5565 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
5566 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
5568 (__ieee754_expl): Call roundl instead of __roundl.
5570 2018-09-27 Andreas Schwab <schwab@suse.de>
5573 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
5574 (do_test): Make st1 static.
5576 2018-09-26 Andreas Schwab <schwab@suse.de>
5579 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
5580 * elf/Makefile (tests): Add tst-unwind-ctor.
5581 (modules-names): Add tst-unwind-ctor-lib.
5582 ($(objpfx)tst-unwind-ctor): Depend on
5583 $(objpfx)tst-unwind-ctor-lib.so.
5585 2018-09-26 Joseph Myers <joseph@codesourcery.com>
5587 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
5588 file. Most contents moved from ....
5589 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
5590 and include <bits/mman-map-flags-generic.h>.
5591 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5592 (sysdep_headers): Add bits/mman-map-flags-generic.h.
5593 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
5594 <bits/mman-map-flags-generic.h>.
5595 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
5596 macros defined in <bits/mman-map-flags-generic.h>.
5597 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
5598 <bits/mman-map-flags-generic.h>.
5599 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
5600 defined in <bits/mman-map-flags-generic.h>.
5602 2018-09-26 Andreas Schwab <schwab@suse.de>
5604 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
5607 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
5608 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5609 Fangrui Song <maskray@google.com>
5612 * config.make.in (have-textrel_ifunc): New define.
5613 * configure.ac: Add check if linker supports textrel relocation with
5615 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
5617 (CFLAGS-tst-ifunc-textrel.c): New rule.
5618 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
5619 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
5620 * elf/tst-ifunc-textrel.c: New file.
5622 2018-09-25 Joseph Myers <joseph@codesourcery.com>
5624 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5625 <bits/procfs-prregset.h>.
5626 (prgregset_t): Define using __prgregset_t.
5627 (prfpregset_t): Define using __prfpregset_t.
5628 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5629 (sysdep_headers): Add bits/procfs-prregset.h.
5630 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
5631 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
5632 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
5633 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
5635 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5636 <bits/procfs-id.h> and <bits/procfs-extra.h>.
5637 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
5639 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5640 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
5641 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
5642 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
5643 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
5644 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
5645 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
5646 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
5647 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
5648 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
5649 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
5650 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
5651 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
5652 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
5653 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
5654 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
5655 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
5656 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
5657 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
5658 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
5659 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
5660 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
5661 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5662 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
5664 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
5665 AArch64 version. Include <bits/procfs.h>.
5666 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5667 (sysdep_headers): Add bits/procfs.h.
5668 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
5669 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
5670 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
5671 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
5672 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
5673 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
5674 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
5675 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
5676 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
5677 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
5678 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
5679 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
5680 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
5681 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
5682 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
5683 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5684 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
5686 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5688 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
5691 2018-09-25 Arjun Shankar <arjun@redhat.com>
5693 * iconv/gconv_int.h (__gconv_path_elem): Remove.
5694 (__gconv_max_path_elem_len): Likewise.
5695 (__gconv_nmodules): Likewise.
5696 (__gconv_get_path): Likewise.
5697 (path_elem): Move to ...
5698 * iconv/gconv_conf.c: ... here.
5699 (__gconv_get_path): Mark function static.
5700 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
5701 * iconv/gconv_open.c: ... here.
5703 2018-09-24 Andreas Schwab <schwab@suse.de>
5705 * scripts/haveversions.awk: New file.
5706 * Makerules ($(common-objpfx)Versions.def)
5707 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5708 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5710 * Makeconfig ($(common-objpfx)Versions.def)
5711 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5712 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5714 ($(common-objpfx)Versions.mk): New rule. Include it.
5715 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
5716 Emit error if build-obsolete-nsl = yes.
5717 * manual/install.texi (Configuring and compiling): Describe
5718 --enable-obsolete-nsl as unavaiable after version 2.28.
5719 * INSTALL: Regenerate.
5721 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5723 * NEWS: Add note about new TLE support on powerpc64le.
5724 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
5725 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
5727 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
5728 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
5729 * sysdeps/powerpc/powerpc32/sysdep.h,
5730 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
5731 ABORT_TRANSACTION): Remove macros.
5732 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
5733 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
5734 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
5735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
5736 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5737 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
5739 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
5741 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
5744 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
5745 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
5746 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
5747 which is the same as in it_IT.
5748 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
5749 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
5751 2018-09-20 Joseph Myers <joseph@codesourcery.com>
5753 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5754 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
5755 using MATH_REDIRECT.
5756 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
5758 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
5759 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5760 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
5761 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5762 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5763 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
5765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
5766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
5767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
5768 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5769 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5770 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5771 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5772 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
5773 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
5774 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
5775 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5776 (ceil): Redirect to __ceil.
5777 (floor): Redirect to __floor.
5778 (trunc): Redirect to __trunc.
5779 (__truncl): Call trunc instead of __trunc.
5780 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
5782 [_ARCH_PWR5X] (__truncf): Likewise.
5783 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
5784 trunc functions instead of __trunc variants.
5785 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5787 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5789 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5791 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5794 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
5795 [__i586__ || __pentium__].
5796 [__i486__]: Handle explicitly.
5797 (HAS_CPUID): Define to 1 if above macros are undefined.
5798 (HAS_I586): Likewise.
5799 (HAS_I686): Likewise.
5801 2018-09-20 Florian Weimer <fweimer@redhat.com>
5803 * misc/tst-gethostid.c: New file.
5804 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
5805 (tst-gethostid): Link with -ldl.
5807 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
5809 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
5810 value from gethostbyname_r.
5812 2018-09-19 Carlos O'Donell <carlos@redhat.com>
5814 * stdlib/tst-setcontext9.c (f1): Rename to...
5816 (f1b): New function implementing lower half of f1 in alternate stack.
5818 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
5820 Fix mktime localtime offset confusion
5822 * include/time.h (__mktime_internal): The localtime offset is now
5823 of type long int instead of time_t. This is the longstanding type
5824 in glibc, and it is more than enough to represent difference
5825 between localtime and gmtime even if it is 32 bits and time_t is
5826 64. Changing it now will let us avoid an unnecessary change when
5827 time_t is widened to 64 bits on 32-bit platforms.
5828 * time/mktime-internal.h (mktime_offset_t): Now long int.
5830 Merge mktime, timegm from upstream Gnulib
5831 [BZ #23603][BZ #16346]
5832 This fixes some obscure problems with integer overflow.
5833 Although it looks scary, it is almost all a byte-for-byte copy
5834 from Gnulib, and the Gnulib code has been tested reasonably well.
5835 * include/intprops.h: New file, copied from Gnulib.
5836 * include/verify.h, time/mktime-internal.h:
5837 New tiny files, simplified from Gnulib.
5838 * time/mktime.c: Copy from Gnulib. This has the following changes:
5839 Do not include config.h if DEBUG_MKTIME is nonzero.
5840 Include stdbool.h, intprops.h, verify.h.
5841 Include string.h only if needed.
5842 Include stdlib.h on MS-Windows.
5843 Include mktime-internal.h.
5844 (DEBUG_MKTIME): Default to 0, and simplify later uses.
5845 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
5846 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
5847 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
5848 simplify later conditionals; default the others to zero. Use
5849 these conditionals to express only the code needed on the current
5850 platform. In uses of these conditionals, explicitly spell out how
5851 _LIBC affects things, so it’s easier to review from a glibc
5853 (WRAPV): Remove; no longer needed now that we have
5854 systematic overflow checking.
5855 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
5856 compartmentalize tzset issues. Move system-dependent tzsettish
5857 code here from mktime.
5858 (verify): Remove; now done by verify.h. All uses changed.
5859 (long_int): Use a more-conservative definition, to avoid
5861 (SHR): Remove, replacing with ...
5862 (shr): New function, which means we needn’t worry about side
5863 effects in args, and conversion analysis is simpler.
5864 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
5865 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
5866 (time_t_avg, time_t_add_ok): Remove.
5867 (mktime_min, mktime_max): New constants.
5868 (leapyear, isdst_differ): Use bool for booleans.
5869 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
5870 Use long_int, not time_t, for mktime differences.
5871 (long_int_avg): New function, replacing time_t_avg.
5872 INT_ADD_WRAPV replaces time_t_add_ok.
5873 (guess_time_tm): 6th arg is now long_int, not time_t const *.
5875 (convert_time): New function.
5876 (ranged_convert): Use it.
5877 (__mktime_internal): Last arg now points to mktime_offset_t, not
5878 time_t. All uses changed. This is a no-op on glibc, where
5879 mktime_offset_t is always time_t. Use int, not time_t, for UTC
5880 offset guess. Directly check for integer overflow instead of
5881 using a heuristic that works only 99.9...% of the time.
5882 Access *OFFSET only once, to avoid an unlikely race if the
5883 compiler delays a load and if this cascades into a signed integer
5885 (mktime): Move tzsettish code to my_tzset, and move
5886 localtime_offset to within mktime so that it doesn’t
5887 need a separate ifdef.
5888 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
5889 instead of localtime.
5890 * time/timegm.c: Copy from Gnulib. This has the following changes:
5891 Include mktime-internal.h.
5892 [!_LIBC]: Include config.h and time.h. Do not include
5893 timegm.h or time_r.h. Make __mktime_internal a macro,
5894 and include mktime-internal.h to get its declaration.
5895 (timegm): Temporary is now mktime_offset_t, not time_t.
5896 This affects only Gnulib.
5898 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5901 * string/test-strstr.c (pr23637): New function.
5902 (test_main): Add tests with longer needles.
5903 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
5904 * string/strstr.c (AVAILABLE): Likewise.
5906 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
5908 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
5910 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
5912 * NEWS: Mention pow improvements.
5913 * math/Makefile (type-double-routines): Add e_pow_log_data.
5914 * sysdeps/generic/math_private.h (__exp1): Remove.
5915 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
5916 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
5917 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
5919 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
5920 (exp_inline): Remove.
5921 (__ieee754_exp): Only single double input is handled.
5922 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
5923 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
5924 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
5925 (__pow_log_data): Define.
5926 * sysdeps/ieee754/dbl-64/upow.h: Remove.
5927 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
5928 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
5929 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
5931 (CFLAGS-e_pow-fma4.c): Likewise.
5933 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
5935 Simplify tzfile fstat failure code
5937 * time/tzfile.c (__tzfile_read): Simplify slightly.
5939 Fix tzfile low-memory assertion failure
5941 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
5942 when registering time zone abbreviations.
5944 2018-09-18 Joseph Myers <joseph@codesourcery.com>
5946 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
5947 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
5948 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
5949 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
5950 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
5951 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
5952 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
5953 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5954 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5956 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
5958 (__ceill): Call ceil instead of __ceil.
5959 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
5961 (__floorl): Call floor instead of __floor.
5963 2018-09-17 Joseph Myers <joseph@codesourcery.com>
5965 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5966 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
5967 using MATH_REDIRECT.
5968 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
5970 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
5971 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5972 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5973 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
5974 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5975 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5976 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5977 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
5978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
5979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
5980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
5981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
5982 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5983 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5984 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
5985 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
5986 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
5987 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
5988 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
5990 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
5991 functions instead of __ceil variants.
5992 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5993 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5995 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5997 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5998 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6000 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6001 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6004 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
6006 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
6007 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
6008 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
6009 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
6010 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
6011 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
6012 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
6013 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
6014 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
6015 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
6016 (ILL_BADIADDR): Remove constant.
6017 (TRAP_BRANCH): Likewise.
6018 (TRAP_HWBKPT): Likewise.
6020 2018-09-14 Joseph Myers <joseph@codesourcery.com>
6023 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
6024 Remove [_MIPS_SIM = _ABIN32] conditional case.
6025 (struct elf_prpsinfo): Likewise.
6028 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
6029 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
6030 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
6032 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
6033 elf_prpsinfo): Likewise.
6034 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
6035 elf_prpsinfo): Likewise.
6036 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
6039 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6040 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
6041 using MATH_REDIRECT.
6042 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
6044 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
6045 * sysdeps/alpha/fpu/s_rint.c: Likewise.
6046 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
6047 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6048 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6049 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6050 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
6051 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6052 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6053 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6054 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
6055 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
6056 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
6057 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
6058 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
6059 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6060 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6061 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
6062 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
6064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
6065 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
6066 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
6067 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
6068 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
6069 * sysdeps/x86_64/fpu/math_private.h: Remove file.
6070 * math/e_scalb.c (invalid_fn): Use rint functions instead of
6072 * math/e_scalbf.c (invalid_fn): Likewise.
6073 * math/e_scalbl.c (invalid_fn): Likewise.
6074 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6076 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6078 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6079 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
6080 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6082 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6084 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6086 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
6087 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
6089 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6090 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
6092 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6093 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
6094 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6095 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
6096 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6097 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
6098 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6099 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
6100 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6101 && !NO_MATH_REDIRECT] (floor): Likewise.
6102 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
6104 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
6105 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6106 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6107 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
6108 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6109 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6110 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6111 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
6112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
6113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
6114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
6115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
6116 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6117 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6118 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
6119 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
6120 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
6121 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
6122 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
6124 [_ARCH_PWR5X] (__floorf): Likewise.
6125 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
6127 [__SSE4_1__] (__floorf): Likewise.
6128 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
6129 instead of __floor variants.
6130 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
6131 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
6132 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
6133 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
6134 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
6135 * math/w_tgamma_compat.c (__tgamma): Likewise.
6136 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
6137 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
6138 * math/w_tgammal_compat.c (__tgammal): Likewise.
6139 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
6140 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6142 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6143 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
6144 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6145 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6147 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6148 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
6150 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6151 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
6153 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6154 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
6156 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6157 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6158 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
6159 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
6160 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6161 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6163 2018-09-12 Joseph Myers <joseph@codesourcery.com>
6165 * elf/Makefile (modules-names-tests): New variable.
6167 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6169 * NEWS: Mention log2 improvements.
6170 * math/Makefile (type-double-routines): Add e_log2_data.
6171 * sysdeps/i386/fpu/e_log2_data.c: New file.
6172 * sysdeps/ia64/fpu/e_log2_data.c: New file.
6173 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
6174 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
6175 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
6176 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
6177 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
6179 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6181 * NEWS: Mention log improvement.
6182 * math/Makefile (type-double-routines): Add e_log_data.
6183 * sysdeps/i386/fpu/e_log_data.c: New file.
6184 * sysdeps/ia64/fpu/e_log_data.c: New file.
6185 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
6186 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
6187 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
6188 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
6189 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
6190 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
6192 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
6193 Xuepeng Guo <xuepeng.guo@intel.com>
6196 * sysdeps/i386/start.S: Include <sysdep.h>
6197 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
6198 enabled. Add cfi_undefined (eip).
6200 2018-09-11 Joseph Myers <joseph@codesourcery.com>
6202 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
6204 (EXTRACT_WORDS64): Likewise.
6205 (INSERT_WORDS64): Likewise.
6206 (GET_FLOAT_WORD): Likewise.
6207 (SET_FLOAT_WORD): Likewise.
6209 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
6211 (Config.build_gcc): Use --disable-libsanitizer for first GCC
6212 build, but not for second build if --full-gcc. Use
6213 --enable-languages=all for second build if --full-gcc.
6214 (get_parser): Add --full-gcc option.
6215 (main): Update call to Context.
6217 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
6220 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
6221 Single Quotation Mark).
6222 (thousands_sep): Likewise.
6223 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
6224 * localedata/locales/it_IT (thousands_sep): Use ".".
6225 (grouping): Use "3;3".
6227 2018-09-10 Joseph Myers <joseph@codesourcery.com>
6229 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
6230 x86_64 and i686 configs using --enable-obsolete-rpc
6231 --enable-obsolete-nsl.
6233 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6235 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6237 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6239 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
6240 Increment size of new_argv by one.
6242 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
6245 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
6246 * localedata/locales/ar_IN (d_fmt): Likewise.
6247 * localedata/locales/bhb_IN (d_fmt): Likewise.
6248 * localedata/locales/bho_IN (d_fmt): Likewise.
6249 * localedata/locales/bn_BD (d_fmt): Likewise.
6250 * localedata/locales/bn_IN (d_fmt): Likewise.
6251 * localedata/locales/doi_IN (d_fmt): Likewise.
6252 * localedata/locales/gu_IN (d_fmt): Likewise.
6253 * localedata/locales/hi_IN (d_fmt): Likewise.
6254 * localedata/locales/hne_IN (d_fmt): Likewise.
6255 * localedata/locales/kn_IN (d_fmt): Likewise.
6256 * localedata/locales/mag_IN (d_fmt): Likewise.
6257 * localedata/locales/mai_IN (d_fmt): Likewise.
6258 * localedata/locales/mjw_IN (d_fmt): Likewise.
6259 * localedata/locales/ml_IN (d_fmt): Likewise.
6260 * localedata/locales/mni_IN (d_fmt): Likewise.
6261 * localedata/locales/mr_IN (d_fmt): Likewise.
6262 * localedata/locales/pa_IN (d_fmt): Likewise.
6263 * localedata/locales/raj_IN (d_fmt): Likewise.
6264 * localedata/locales/sat_IN (d_fmt): Likewise.
6265 * localedata/locales/sd_IN (d_fmt): Likewise.
6266 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
6267 * localedata/locales/ta_IN (d_fmt): Likewise.
6268 * localedata/locales/ta_LK (d_fmt): Likewise.
6269 * localedata/locales/tcy_IN (d_fmt): Likewise.
6270 * localedata/locales/ur_IN (d_fmt): Likewise.
6272 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
6273 * localedata/locales/ks_IN (d_fmt): Likewise.
6274 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
6276 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
6277 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
6278 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
6279 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
6281 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
6283 * NEWS: Mention exp and exp2 improvements.
6284 * math/Makefile (libm-support): Remove t_exp.
6285 (type-double-routines): Add math_err and e_exp_data.
6286 * sysdeps/aarch64/libm-test-ulps: Update.
6287 * sysdeps/arm/libm-test-ulps: Update.
6288 * sysdeps/i386/fpu/e_exp_data.c: New file.
6289 * sysdeps/i386/fpu/math_err.c: New file.
6290 * sysdeps/i386/fpu/t_exp.c: Remove.
6291 * sysdeps/ia64/fpu/e_exp_data.c: New file.
6292 * sysdeps/ia64/fpu/math_err.c: New file.
6293 * sysdeps/ia64/fpu/t_exp.c: Remove.
6294 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
6295 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
6296 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
6297 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
6298 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
6299 * sysdeps/ieee754/dbl-64/math_config.h: New file.
6300 * sysdeps/ieee754/dbl-64/math_err.c: New file.
6301 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
6302 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
6303 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
6304 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
6305 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
6306 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
6307 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
6308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6309 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6311 2018-09-05 Joseph Myers <joseph@codesourcery.com>
6313 * sysdeps/alpha/fpu/math_private.h: Remove.
6315 * sysdeps/generic/math_private.h
6316 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
6317 Move this inline function ....
6318 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
6319 * include/math.h [!_ISOMAC]: To here....
6321 2018-09-04 Joseph Myers <joseph@codesourcery.com>
6323 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
6325 [!FE_HAVE_ROUNDING_MODES]: And this code ....
6326 * include/fenv.h [!_ISOMAC]: ... to here.
6327 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
6328 (feraiseexcept): Likewise.
6329 * math/fromfp.h: Do not include <fenv_private.h>.
6330 * math/s_cexp_template.c: Likewise.
6331 * math/s_csin_template.c: Likewise.
6332 * math/s_csinh_template.c: Likewise.
6333 * math/s_ctan_template.c: Likewise.
6334 * math/s_ctanh_template.c: Likewise.
6335 * math/s_iseqsig_template.c: Likewise.
6336 * math/w_acos_compat.c: Likewise.
6337 * math/w_acosf_compat.c: Likewise.
6338 * math/w_acosl_compat.c: Likewise.
6339 * math/w_asin_compat.c: Likewise.
6340 * math/w_asinf_compat.c: Likewise.
6341 * math/w_asinl_compat.c: Likewise.
6342 * math/w_j0_compat.c: Likewise.
6343 * math/w_j0f_compat.c: Likewise.
6344 * math/w_j0l_compat.c: Likewise.
6345 * math/w_j1_compat.c: Likewise.
6346 * math/w_j1f_compat.c: Likewise.
6347 * math/w_j1l_compat.c: Likewise.
6348 * math/w_jn_compat.c: Likewise.
6349 * math/w_jnf_compat.c: Likewise.
6350 * math/w_log10_compat.c: Likewise.
6351 * math/w_log10f_compat.c: Likewise.
6352 * math/w_log10l_compat.c: Likewise.
6353 * math/w_log2_compat.c: Likewise.
6354 * math/w_log2f_compat.c: Likewise.
6355 * math/w_log2l_compat.c: Likewise.
6356 * math/w_log_compat.c: Likewise.
6357 * math/w_logf_compat.c: Likewise.
6358 * math/w_logl_compat.c: Likewise.
6359 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6360 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6361 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6362 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6363 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6364 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6365 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6366 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6367 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6368 * sysdeps/ieee754/k_standardl.c: Likewise.
6369 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6370 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6371 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6372 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6373 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6374 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6375 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6376 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6377 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6378 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6379 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6380 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6381 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6382 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6383 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6384 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6385 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6386 * math/w_ilogb_template.c: Include <fenv.h> instead of
6388 * math/w_llogb_template.c: Likewise.
6389 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6390 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6392 2018-09-03 Joseph Myers <joseph@codesourcery.com>
6394 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
6395 * math/fromfp.h: Include <fenv_private.h>.
6396 * math/math-narrow.h: Likewise.
6397 * math/s_cexp_template.c: Likewise.
6398 * math/s_csin_template.c: Likewise.
6399 * math/s_csinh_template.c: Likewise.
6400 * math/s_ctan_template.c: Likewise.
6401 * math/s_ctanh_template.c: Likewise.
6402 * math/s_iseqsig_template.c: Likewise.
6403 * math/w_acos_compat.c: Likewise.
6404 * math/w_acosf_compat.c: Likewise.
6405 * math/w_acosl_compat.c: Likewise.
6406 * math/w_asin_compat.c: Likewise.
6407 * math/w_asinf_compat.c: Likewise.
6408 * math/w_asinl_compat.c: Likewise.
6409 * math/w_ilogb_template.c: Likewise.
6410 * math/w_j0_compat.c: Likewise.
6411 * math/w_j0f_compat.c: Likewise.
6412 * math/w_j0l_compat.c: Likewise.
6413 * math/w_j1_compat.c: Likewise.
6414 * math/w_j1f_compat.c: Likewise.
6415 * math/w_j1l_compat.c: Likewise.
6416 * math/w_jn_compat.c: Likewise.
6417 * math/w_jnf_compat.c: Likewise.
6418 * math/w_llogb_template.c: Likewise.
6419 * math/w_log10_compat.c: Likewise.
6420 * math/w_log10f_compat.c: Likewise.
6421 * math/w_log10l_compat.c: Likewise.
6422 * math/w_log2_compat.c: Likewise.
6423 * math/w_log2f_compat.c: Likewise.
6424 * math/w_log2l_compat.c: Likewise.
6425 * math/w_log_compat.c: Likewise.
6426 * math/w_logf_compat.c: Likewise.
6427 * math/w_logl_compat.c: Likewise.
6428 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6429 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6430 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6431 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6432 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6433 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6434 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6435 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6436 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6437 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6438 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6439 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6440 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
6441 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
6442 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6443 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6444 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6445 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6446 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6447 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6448 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6449 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6450 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6451 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6452 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6453 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6454 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6455 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6456 * sysdeps/ieee754/float128/float128_private.h: Likewise.
6457 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6458 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6459 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6460 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6461 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6462 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6463 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6464 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6465 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6466 * sysdeps/ieee754/k_standardl.c: Likewise.
6467 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6468 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6469 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6470 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6471 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6472 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6473 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6474 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6475 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6476 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6477 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6478 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6479 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6480 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6481 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6482 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6483 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6484 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
6485 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6486 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6487 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6488 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6489 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6490 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6491 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6492 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6493 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6494 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6495 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
6496 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6497 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6498 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6499 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6500 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6501 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6502 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6503 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6504 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6505 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6506 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6507 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6508 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6509 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6510 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6511 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6512 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6513 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6514 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6515 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6516 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6517 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6518 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6519 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6520 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6521 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6522 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6523 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6524 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6525 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6526 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6527 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6528 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6529 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6530 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6531 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6532 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6533 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6534 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6535 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6536 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6537 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6539 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6542 * include/stdio.h (__libc_fatal): Mention newline in comment.
6543 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
6544 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
6545 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6546 * nss/nsswitch.c (__nss_next2): Likewise.
6547 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
6548 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
6549 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
6550 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6551 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
6552 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
6553 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
6554 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
6555 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
6556 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
6557 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
6558 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6559 (__netlink_assert_response): Likewise.
6561 2018-08-31 Joseph Myers <joseph@codesourcery.com>
6563 * conform/glibcconform.py: New file.
6564 * conform/list-header-symbols.py: Likewise.
6565 * conform/list-header-symbols.pl: Remove.
6566 * conform/Makefile (tests-special): Only add linknamespace tests
6568 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
6570 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
6573 * support/Makefile (libsupport-routines): Add
6574 support_copy_file_range and xcopy_file_range.
6575 * support/support.h: Include <sys/types.h>.
6576 (support_copy_file_range): New prototype.
6577 * support/support_copy_file_range.c: New file. Copied and
6578 modified from io/copy_file_range-compat.c.
6579 * support/test-container.c (copy_one_file): Call xcopy_file_rang
6580 instead of copy_file_range.
6581 * support/xcopy_file_range.c: New file.
6582 * support/xunistd.h (xcopy_file_range): New prototype.
6584 2018-08-30 Carlos O'Donell <carlos@redhat.com>
6586 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
6587 xpthread_create and xpthread_join.
6589 2018-08-30 Florian Weimer <fweimer@redhat.com>
6591 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
6593 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
6595 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
6598 2018-08-29 Joseph Myers <joseph@codesourcery.com>
6600 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
6601 and minus_oflow as non-finite.
6603 2018-08-28 Joseph Myers <joseph@codesourcery.com>
6605 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
6606 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
6607 moved to fenv_private.h except for ...
6608 (TOINT_INTRINSICS): Kept in math_private.h.
6609 (roundtoint): Likewise.
6610 (converttoint): Likewise.
6611 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
6612 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6613 * sysdeps/arm/math_private.h: Remove.
6614 * sysdeps/generic/fenv_private.h: New file. Contents moved from
6616 * sysdeps/generic/math_private.h: ... this file. Include
6617 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
6618 Include <fenv_private.h>. Remove functions and macros moved to
6620 * sysdeps/i386/fpu/math_private.h: Remove.
6621 * sysdeps/mips/math_private.h: Move to ....
6622 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
6623 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
6624 [__mips_hard_float] conditional. Include next <fenv_private.h>.
6625 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
6626 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6627 * sysdeps/powerpc/fpu/math_private.h: Do not include
6629 * sysdeps/riscv/rvf/math_private.h: Move to ....
6630 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
6631 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
6633 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
6634 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6635 * sysdeps/sparc/fpu/math_private.h: Remove.
6636 * sysdeps/i386/fpu/fenv_private.h: Move to ....
6637 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
6638 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
6640 * sysdeps/x86_64/fpu/math_private.h: Do not include
6641 <sysdeps/i386/fpu/fenv_private.h>.
6643 2018-08-28 Florian Weimer <fweimer@redhat.com>
6646 * posix/tst-regcomp-truncated.c: New file.
6647 * posix/Makefile (tests): Add it.
6648 (tst-regcomp-truncated.out): Depend on generated locales.
6650 2018-08-28 Florian Weimer <fweimer@redhat.com>
6652 * support/test-container.c (main): Treat unshare failure with
6653 EPERM as an unsupported test.
6655 2018-08-28 Florian Weimer <fweimer@redhat.com>
6658 nscd: Fix use-after-free in addgetnetgrentX and its callers.
6659 * nscd/netgroupcache.c
6660 (addgetnetgrentX): Add tofreep parameter. Do not free
6661 heap-allocated buffer.
6662 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
6663 (addgetnetgrentX_ignore): New function.
6664 (addgetnetgrent): Call it.
6665 (readdgetnetgrent): Likewise.
6667 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6669 * string/memmem.c: Use memcmp for first match.
6671 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6674 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
6676 2018-08-27 DJ Delorie <dj@redhat.com>
6678 * support/Makefile (others): Don't list programs explicitly as a
6679 dependency of "others".
6681 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6683 * sysdeps/generic/math-tests-trap-force.h: New file.
6684 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
6685 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
6686 * sysdeps/powerpc/math-tests.h: Remove file.
6687 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
6689 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
6690 Torvald Riegel <triegel@redhat.com>
6693 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
6694 Update r to include the set wake-request flag if waiters are
6695 remaining after spinning.
6697 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6699 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
6701 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
6704 regex: fix uninitialized memory access
6705 I introduced this bug into gnulib in commit
6706 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
6707 eventually it was merged into glibc. The bug was found by
6708 project-repo <bugs@feusi.co> and reported here:
6709 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
6710 Diagnosis and draft fix reported by Assaf Gordon here:
6711 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
6712 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
6713 * posix/regex_internal.c (build_wcs_upper_buffer):
6714 Fix bug when mbrtowc returns 0.
6716 2018-08-24 Carlos O'Donell <carlos@redhat.com>
6718 * po/be.po: Update translation.
6720 2018-08-24 DJ Delorie <dj@delorie.com>
6722 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
6725 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6728 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
6729 create temporary files in source tree.
6731 2018-08-24 Joseph Myers <joseph@codesourcery.com>
6733 * sysdeps/generic/math-tests-trap.h: New file.
6734 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
6735 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
6736 * sysdeps/aarch64/math-tests.h: Remove file.
6737 * sysdeps/arm/math-tests.h: Likewise.
6738 * sysdeps/riscv/math-tests.h: Likewise.
6739 * sysdeps/aarch64/math-tests-trap.h: New file.
6740 * sysdeps/arm/math-tests-trap.h: Likewise.
6741 * sysdeps/riscv/math-tests-trap.h: Likewise.
6743 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
6745 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
6746 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
6747 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
6748 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
6749 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
6750 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
6751 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6752 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
6753 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
6754 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6755 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6756 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6757 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6758 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
6759 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
6760 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
6761 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6762 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6764 2018-08-23 Joseph Myers <joseph@codesourcery.com>
6766 * sysdeps/generic/math-tests-exceptions.h: New file.
6767 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
6768 (EXCEPTION_TESTS_float): Do not define here.
6769 (EXCEPTION_TESTS_double): Likewise.
6770 (EXCEPTION_TESTS_long_double): Likewise.
6771 (EXCEPTION_TESTS_float128): Likewise.
6772 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
6774 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
6775 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
6776 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
6777 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
6778 * sysdeps/mips/math-tests.h: Likewise.
6779 * sysdeps/nios2/math-tests.h: Likewise.
6780 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6781 (EXCEPTION_TESTS_float): Do not define here.
6782 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
6783 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
6784 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
6786 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6788 * NEWS: Move optimized sinf entry to 2.29.
6790 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6792 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
6794 2018-08-22 DJ Delorie <dj@redhat.com>
6796 * Makefile (testroot.pristine): New rules to initialize the
6797 test-in-container "testroot".
6798 * Makerules (all-testsuite): Add tests-container.
6799 * Rules (tests-expected): Add tests-container.
6800 (binaries-all-tests): Likewise.
6801 (tests-container): New, run these tests in the testroot container.
6802 * support/Makefile (others): Add *-container, support_paths.c,
6803 xmkdirp, and links-dso-program.
6804 * support/links-dso-program-c.c: New.
6805 * support/links-dso-program.cc: New.
6806 * support/test-container.c: New.
6807 * support/shell-container.c: New.
6808 * support/echo-container.c: New.
6809 * support/true-container.c: New.
6810 * support/xmkdirp.c: New.
6811 * support/xsymlink.c: New.
6812 * support/support_paths.c: New.
6813 * support/support.h: Add support paths prototypes.
6814 * support/xunistd.h: Add xmkdirp () and xsymlink ().
6816 * nss/tst-nss-test3.c: Convert to test-in-container.
6817 * nss/tst-nss-test3.root/: New.
6819 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
6821 regex: port Gnulib code to z/OS POSIX environment
6822 Problem reported by Arnold Robbins in:
6823 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
6824 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
6827 2018-08-22 Joseph Myers <joseph@codesourcery.com>
6829 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
6830 (ROUNDING_TESTS_double): Remove.
6831 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
6832 (ROUNDING_TESTS_double): Remove.
6833 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
6834 (ROUNDING_TESTS_double): Remove.
6835 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
6836 (ROUNDING_TESTS_float): Remove.
6837 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
6838 (ROUNDING_TESTS_float): Remove.
6839 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
6840 (ROUNDING_TESTS_float): Remove.
6841 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
6843 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6844 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6846 * sysdeps/generic/math-tests-rounding.h: New file.
6847 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
6848 (ROUNDING_TESTS_float): Do not define here.
6849 (ROUNDING_TESTS_double): Likewise.
6850 (ROUNDING_TESTS_long_double): Likewise.
6851 (ROUNDING_TESTS_float128): Likewise.
6852 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
6853 (ROUNDING_TESTS_double): Undefine before defining.
6854 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
6855 (ROUNDING_TESTS_double): Undefine before defining.
6856 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
6857 (ROUNDING_TESTS_double): Undefine before defining.
6858 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
6859 (ROUNDING_TESTS_float): Undefine before defining.
6860 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
6861 (ROUNDING_TESTS_float): Undefine before defining.
6862 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
6863 (ROUNDING_TESTS_float): Undefine before defining.
6864 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
6865 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
6867 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
6868 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
6869 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
6870 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6871 (ROUNDING_TESTS_float): Do not define here.
6872 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
6873 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
6874 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
6875 (ROUNDING_TESTS_float): Likewise.
6876 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
6877 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
6878 * sysdeps/mips/math-tests.h [__mips_soft_float]
6879 (ROUNDING_TESTS_float): Likewise.
6880 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
6881 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
6882 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
6883 (ROUNDING_TESTS_double): Likewise.
6884 (ROUNDING_TESTS_long_double): Likewise.
6886 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
6888 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
6889 (PF_XDP): New macro.
6890 (AF_XDP): New macro.
6891 (SOL_XDP): New macro.
6893 2018-08-21 Joseph Myers <joseph@codesourcery.com>
6895 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
6896 (TCP_INQ): Likewise.
6897 (TCP_CM_INQ): Likewise.
6898 (TCP_REPAIR_ON): Likewise.
6899 (TCP_REPAIR_OFF): Likewise.
6900 (TCP_REPAIR_OFF_NO_WP): Likewise.
6901 (struct tcp_zerocopy_receive): New type.
6903 2018-08-21 Florian Weimer <fweimer@redhat.com>
6905 * support/support.h (support_descriptor_supports_holes): Declare.
6906 * support/Makefile (libsupport-routines): Add
6907 support_descriptor_supports_holes.
6908 * support/support_descriptor_supports_holes.c: New file.
6909 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
6910 and stop testing if holes are not supported.
6911 * io/test-lfs.c (do_prepare): Likewise.
6912 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
6914 * timezone/tst-tzset.c (create_tz_file): Likewise.
6915 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
6917 (do_prepare): Set it.
6918 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
6920 2018-08-21 Florian Weimer <fweimer@redhat.com>
6923 * Makeconfig (+cflags): Do not sort (and deduplicate).
6925 2018-08-21 Florian Weimer <fweimer@redhat.com>
6927 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
6928 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
6930 2018-08-20 Florian Weimer <fweimer@redhat.com>
6932 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
6933 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
6935 2018-08-20 Joseph Myers <joseph@codesourcery.com>
6937 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
6938 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
6939 and ssi_arch members.
6941 * elf/elf.c (NT_VMCOREDD): New macro.
6942 (AT_MINSIGSTKSZ): Likewise.
6944 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6946 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6947 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
6948 s_cosf-ppc64 and s_cosf-power8.
6949 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
6950 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6951 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6952 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
6954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
6955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
6956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
6957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
6959 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
6960 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
6962 2018-08-17 Florian Weimer <fweimer@redhat.com>
6964 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6966 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
6968 * malloc/malloc.c (_int_malloc): Additional binning code checks.
6970 2018-08-16 Florian Weimer <fweimer@redhat.com>
6972 * configure.ac: Add --with-nonshared-cflags option.
6973 * config.make.in (extra-nonshared-cflags): Set variable.
6974 * Makeconfig (CFLAGS-.oS): Use it.
6975 * manual/install.texi (Configuring and compiling): Document
6976 --with-nonshared-cflags.
6977 * configure: Regenerate.
6978 * INSTALL: Likewise.
6980 2018-08-16 Florian Weimer <fweimer@redhat.com>
6982 * Makeconfig (ASFLAGS): Always append required assembler flags.
6984 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
6986 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
6987 (malloc_consolidate): Likewise.
6989 2018-08-16 Pochang Chen <johnchen902@gmail.com>
6991 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
6993 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
6995 * benchtests/bench-strlen.c (do_test): Allocate buffers before
6998 * benchtests/bench-strlen.c: Print performance numbers in json.
7000 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7002 * sysdeps/powerpc/powerpc64/multiarch/Makefile
7003 (sysdep_routines): Build strcmp-power9 and strncmp-power9
7004 only for little endian.
7005 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7006 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
7007 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
7008 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
7009 Add check for little endian.
7010 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7011 (__strcmp_power9): Add check for little endian.
7012 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
7013 Add check for little endian.
7014 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7015 (__strncmp_power9): Add check for little endian.
7016 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
7017 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
7018 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
7019 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
7020 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
7022 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
7024 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
7025 [!STRLEN](STRLEN): Set to __strlen.
7026 * sysdeps/aarch64/multiarch/strlen.c: New file.
7027 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
7028 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
7029 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7030 (__libc_ifunc_impl_list): Add strlen.
7031 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7032 strlen_generic and strlen_asimd.
7034 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7036 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
7037 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
7038 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7040 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7042 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
7044 2018-08-14 Florian Weimer <fweimer@redhat.com>
7047 * include/stdio.h (__vfxprintf): Declare.
7048 * stdio-common/fxprintf.c (__vfxprintf): New function.
7049 (__fxprintf): Call it.
7050 * misc/err.c (convert_and_print): Remove function.
7051 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
7052 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
7053 * misc/Makefile (tests): Add tst-warn-wide.
7054 * misc/tst-warn-wide.c: New file.
7056 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
7057 Szabolcs Nagy <szabolcs.nagy@arm.com>
7059 * NEWS: Mention sinf, cosf, sincosf.
7060 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
7061 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
7062 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
7063 constants rather than including generic sincosf.h.
7064 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
7065 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
7066 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
7067 (reduced_cos): Remove.
7068 (sinf_poly): New function.
7069 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
7071 2018-08-14 Florian Weimer <fweimer@redhat.com>
7075 * nss/nss_files/files-alias.c (get_next_alias): During :include:
7076 processing, bail out if no room, and close the stream before
7078 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
7079 (tst-nss-files-alias-leak): Link with libdl.
7080 (tst-nss-files-alias-leak.out): Depend on nss_files.
7082 * nss/tst-nss-files-alias-leak.c: New file.
7084 2018-08-14 Florian Weimer <fweimer@redhat.com>
7086 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
7087 server_user, stat_user.
7089 2018-08-13 Joseph Myers <joseph@codesourcery.com>
7091 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7093 (io_pgetevents): New syscall.
7096 * manual/install.texi (Configuring and compiling): Do not list
7097 tools used for testing pretty printers here.
7098 (Tools for Compilation): List Python, PExpect and GDB here.
7099 Update descriptions of uses of Perl and Python.
7100 * INSTALL: Regenerate.
7102 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7105 2018-08-13 Florian Weimer <fweimer@redhat.com>
7107 * misc/error.c (error): Add missing va_end call.
7108 (error_at_line): Likewise.
7110 2018-08-13 Florian Weimer <fweimer@redhat.com>
7112 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
7114 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
7116 * benchtests/scripts/benchout.schema.json (properties): Add
7119 * benchtests/bench-skeleton.c (main): Add duration and
7120 iterations attributes.
7122 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
7124 regex: Gnulib unibyte RRI uses bytes not chars
7125 Adjust the non-glibc code to agree with what Gawk needs for
7126 rational range interpretation (RRI) for regular expression ranges.
7127 In unibyte locales, Gawk wants ranges to use the underlying byte
7128 rather than the character code point. This change does not affect
7130 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
7131 In unibyte locales, use the byte value rather than
7132 running it through btowc.
7134 2018-08-10 Joseph Myers <joseph@codesourcery.com>
7136 * sysdeps/generic/math-tests-snan.h: New file.
7137 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
7138 (SNAN_TESTS_float): Do not define here.
7139 (SNAN_TESTS_double): Likewise.
7140 (SNAN_TESTS_long_double): Likewise.
7141 (SNAN_TESTS_float128): Likewise.
7142 * sysdeps/i386/fpu/math-tests-snan.h: New file.
7143 * sysdeps/i386/fpu/math-tests.h: Remove file.
7144 * sysdeps/ia64/math-tests-snan.h: New file.
7145 * sysdeps/ia64/math-tests.h: Remove file.
7146 * sysdeps/x86/math-tests.h: Likewise.
7147 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
7149 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7150 Szabolcs Nagy <szabolcs.nagy@arm.com>
7152 * math/Makefile: Add s_sincosf_data.c.
7153 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
7154 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
7155 (sincosf_poly): Likewise.
7156 (reduce_small): Likewise.
7157 (reduce_large): Likewise.
7158 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
7159 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
7160 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
7161 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
7163 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7164 Szabolcs Nagy <szabolcs.nagy@arm.com>
7166 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
7167 (converttoint): Use lround.
7168 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
7169 document the semantics when TOINT_INTRINSICS is set.
7170 (converttoint): Likewise.
7171 (TOINT_RINT): Remove.
7172 (TOINT_SHIFT): Remove.
7173 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
7176 2018-08-10 Florian Weimer <fweimer@redhat.com>
7179 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
7181 (__old_getdents64): Use getdents64. Convert entries without
7183 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
7184 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
7185 tst-readdir64-compat.
7187 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7189 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
7192 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7194 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
7195 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
7196 code to s390x-mcount.h and #include it.
7197 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
7198 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7201 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7203 * stdlib/Versions: Remove __fentry__.
7204 * sysdeps/i386/Versions: Add __fentry__.
7205 * sysdeps/x86_64/Versions: Add __fentry__.
7207 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7209 * sysdeps/s390/Makefile: Register the new tests.
7210 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
7211 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
7212 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
7213 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
7214 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
7215 * sysdeps/s390/tst-dl-runtime.c: New file.
7217 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7219 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7222 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7224 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7227 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7229 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7232 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7234 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7237 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7239 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7240 Use symbolic offsets for stack variables.
7242 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7244 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7245 Use symbolic offsets for stack variables.
7247 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7249 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7250 Use symbolic offsets for stack variables.
7252 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7254 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7255 Use symbolic offsets for stack variables.
7257 2018-08-09 Joseph Myers <joseph@codesourcery.com>
7259 * math/gen-libm-test.py: New file.
7260 * math/gen-libm-test.pl: Remove.
7261 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
7262 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
7264 ($(libm-test-c-noauto-obj)): Likewise.
7265 ($(libm-test-c-auto-obj)): Likewise.
7266 ($(libm-test-c-narrow-obj)): Likewise.
7267 (regen-ulps): Likewise.
7268 * math/README.libm-test: Update references to gen-libm-test.pl.
7269 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
7270 referencing gen-libm-test.pl.
7271 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
7272 * math/libm-test-support.c: Likewise.
7273 * math/libm-test-support.h: Likewise.
7274 * sysdeps/generic/libm-test-ulps: Likewise.
7276 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
7278 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
7281 2018-08-08 Joseph Myers <joseph@codesourcery.com>
7283 * math/libm-test-nextdown.inc (do_test): Move comment to ....
7284 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
7286 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7288 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
7290 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
7291 __pthread_setspecific): Add hidden proto.
7292 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
7293 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
7295 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7297 * benchtests/bench-string.h (buf1_size, buf2_size): New
7299 (init_sizes): New function.
7300 (test_init): Use it.
7301 (alloc_buf, exit_error): New functions.
7302 (alloc_bufs): Use ALLOC_BUF.
7303 (realloc_bufs): Remove.
7304 * benchtests/bench-memcmp.c (do_test): Adjust.
7305 * benchtests/bench-memset-large.c (do_test): Likewise.
7306 * benchtests/bench-memset-walk.c (do_test): Likewise.
7307 * benchtests/bench-memset.c (do_test): Likewise.
7308 * benchtests/bench-strncmp.c (do_test): Likewise.
7310 2018-08-06 Andreas Schwab <schwab@suse.de>
7312 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
7313 of CONST_THREAD_AREA.
7315 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
7317 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
7318 (STATE_SAVE_MASK): Likewise.
7319 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
7320 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
7321 (STATE_SAVE_MASK): Likewise.
7322 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
7323 instead of <cpu-features.h>.
7325 2018-08-03 DJ Delorie <dj@redhat.com>
7327 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
7328 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
7330 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7332 2018-08-03 Joseph Myers <joseph@codesourcery.com>
7334 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
7336 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
7337 * math/libm-test-logb.inc (logb_test_data): Likewise.
7339 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
7341 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
7342 * string/strstr.c (AVAILABLE): Likewise.
7344 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7346 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
7348 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
7349 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
7350 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
7352 2018-08-03 Carlos O'Donell <carlos@redhat.com>
7354 * po/be.po: Update translation.
7356 * po/be.po: Update translation.
7358 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7360 * sysdeps/x86/cpu-features-offsets.sym
7361 (rtld_global_ro_offsetof): Removed.
7362 (CPU_FEATURES_SIZE): Likewise.
7363 (CPUID_OFFSET): Likewise.
7364 (CPUID_SIZE): Likewise.
7365 (CPUID_EAX_OFFSET): Likewise.
7366 (CPUID_EBX_OFFSET): Likewise.
7367 (CPUID_ECX_OFFSET): Likewise.
7368 (CPUID_EDX_OFFSET): Likewise.
7369 (FAMILY_OFFSET): Likewise.
7370 (MODEL_OFFSET): Likewise.
7371 (FEATURE_OFFSET): Likewise.
7372 (FEATURE_SIZ): Likewise.
7373 (COMMON_CPUID_INDEX_1): Likewise.
7374 (COMMON_CPUID_INDEX_7): Likewise.
7375 (FEATURE_INDEX_1): Likewise.
7376 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
7378 2018-08-02 Carlos O'Donell <carlos@redhat.com>
7380 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
7381 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
7382 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
7383 (install-locales): Depend on install-locale-archive.
7384 (install-locale-archive): Define.
7385 (install-locale-files): Define.
7386 (build-one-locale): Define macro.
7387 * manual/install.texi (Running make install): Document.
7388 * manual/INSTALL: Regenerate.
7390 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
7392 * benchtests/scripts/compare_strings.py: Import traceback.
7393 (parse_file): Pretty-print error.
7395 * NEWS: Mention the change.
7396 * elf/dl-tunables.list: Rename tune namespace to cpu.
7397 * sysdeps/powerpc/dl-tunables.list: Likewise.
7398 * sysdeps/x86/dl-tunables.list: Likewise.
7399 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
7401 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
7402 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
7403 * manual/README.tunables: Likewise.
7404 * manual/tunables.texi: Likewise.
7405 * sysdeps/powerpc/cpu-features.c: Likewise.
7406 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
7407 (init_cpu_features): Likewise.
7408 * sysdeps/x86/cpu-features.c: Likewise.
7409 * sysdeps/x86/cpu-features.h: Likewise.
7410 * sysdeps/x86/cpu-tunables.c: Likewise.
7411 * sysdeps/x86_64/Makefile: Likewise.
7412 * sysdeps/x86/dl-cet.c: Likewise.
7414 2018-08-02 Joseph Myers <joseph@codesourcery.com>
7417 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
7418 [__mips_hard_float].
7419 (FE_UNDERFLOW): Likewise.
7420 (FE_OVERFLOW): Likewise.
7421 (FE_DIVBYZERO): Likewise.
7422 (FE_INVALID): Likewise.
7423 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
7424 (FE_TOWARDZERO): Define only if [__mips_hard_float].
7425 (FE_UPWARD): Likewise.
7426 (FE_DOWNWARD): Likewise.
7427 (__FE_UNDEFINED): Define if [!__mips_hard_float]
7428 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
7429 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
7430 [__mips_hard_float].
7431 (FP_ROUNDMODE): Likewise.
7432 (FP_RND_NEAREST): Likewise.
7433 (FP_RND_ZERO): Likewise.
7434 (FP_RND_PINF): Likewise.
7435 (FP_RND_MINF): Likewise.
7436 (FP_EX_INVALID): Likewise.
7437 (FP_EX_OVERFLOW): Likewise.
7438 (FP_EX_UNDERFLOW): Likewise.
7439 (FP_EX_DIVZERO): Likewise.
7440 (FP_EX_INEXACT): Likewise.
7441 (FP_INIT_ROUNDMODE): Likewise.
7442 * sysdeps/mips/nofpu/fesetenv.c: New file.
7443 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
7445 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7447 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
7448 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
7449 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
7450 conditional on [FE_UPWARD].
7452 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
7454 regex: fix memory leak in Gnulib
7455 Problem and fix reported by Assaf Gordon in:
7456 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
7457 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
7458 range_ends members too, as they are defined in 'struct
7459 re_charset_t' even if not _LIBC. This affects only Gnulib.
7461 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
7463 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
7465 (get_common_indices): This.
7466 (init_cpu_features): Updated.
7468 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7470 * sysdeps/generic/math-tests-snan-payload.h: New file.
7471 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
7472 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
7473 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
7474 * sysdeps/generic/math-tests.h: Include
7475 <math-tests-snan-payload.h>.
7476 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7477 * sysdeps/hppa/math-tests.h: Remove file.
7478 * sysdeps/mips/math-tests.h [!__mips_nan2008]
7479 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7480 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
7483 * sysdeps/generic/math-tests-snan-cast.h: New file.
7484 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
7485 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
7486 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
7487 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
7489 2018-08-01 Carlos O'Donel <carlos@redhat.com>
7491 * version.h (RELEASE): Set to "development".
7492 (VERSION): Set to "2.28.9000".
7493 * NEWS (2.29): New section.
7495 * version.h (RELEASE): Set to "stable".
7496 (VERSION): Set to "2.28".
7497 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
7498 * NEWS: Add the list of bugs fixed in 2.28.
7500 * po/ca.po: Update to latest version.
7501 * po/cs.po: Likewise
7502 * po/da.po: Likewise
7503 * po/el.po: Likewise
7504 * po/eo.po: Likewise
7505 * po/es.po: Likewise
7506 * po/fi.po: Likewise
7507 * po/fr.po: Likewise
7508 * po/gl.po: Likewise
7509 * po/hu.po: Likewise
7510 * po/ia.po: Likewise
7511 * po/id.po: Likewise
7512 * po/it.po: Likewise
7513 * po/ja.po: Likewise
7514 * po/ko.po: Likewise
7515 * po/lt.po: Likewise
7516 * po/nb.po: Likewise
7517 * po/nl.po: Likewise
7518 * po/pt_BR.po: Likewise
7519 * po/ru.po: Likewise
7520 * po/rw.po: Likewise
7521 * po/sk.po: Likewise
7522 * po/sl.po: Likewise
7523 * po/tr.po: Likewise
7524 * po/zh_CN.po: Likewise
7525 * po/zh_TW.po: Likewise
7527 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7529 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
7531 (init): ... before initializing libpthread.
7533 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
7534 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
7535 (__mach_setup_tls): ... new function.
7536 (mach_setup_tls): New alias.
7537 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
7538 __mach_setup_thread.
7539 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
7540 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
7541 * mach/Versions [libc] (mach_setup_tls): Add symbol.
7542 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
7544 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7546 * manual/install.texi: Update versions.
7547 * INSTALL: Regenerate.
7549 * manual/contrib.texi (Contributors): Update contributions.
7551 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7553 * po/be.po: Update translations.
7555 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7557 * sysdeps/sh/libm-test-ulps: Update.
7559 2018-07-30 Carlos O'Donell <carlos@redhat.com>
7561 * po/bg.po: Update translations.
7562 * po/de.po: Likewise.
7563 * po/hr.po: Likewise.
7564 * po/pt_BR.po: Likewise.
7565 * po/sv.po: Likewise.
7566 * po/vi.po: Likewise.
7568 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7571 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7572 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
7573 (CFLAGS-tst-cet-property-1.o): New.
7574 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
7575 ($(objpfx)tst-cet-property-2): Likewise.
7576 ($(objpfx)tst-cet-property-2.out): Likewise.
7577 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
7578 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
7579 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
7580 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
7581 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
7583 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7586 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
7588 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7590 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
7591 __sbrk): Do not set attribute_hidden.
7592 * sysdeps/mach/hurd/not-errno.h: New file.
7593 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7594 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
7596 2018-07-27 Carlos O'Donell <carlos@redhat.com>
7598 * po/uk.po: Update translations.
7599 * po/cs.po: Likewise.
7600 * po/pl.po: Likewise.
7602 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
7604 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
7605 parse beyond the note end.
7607 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7609 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
7610 kernel does not support OFD locks.
7611 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
7613 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7615 * sysdeps/mach/hurd/Versions (libc): Make __access and
7616 __access_noerrno external so they can override the ld symbols.
7617 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
7618 __writev, __open64, __access_noerrno extern so they can be overrided.
7619 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
7620 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7622 2018-07-26 Carlos O'Donell <carlos@redhat.com>
7624 * po/libc.pot: Regenerate.
7626 2018-07-26 Joseph Myers <joseph@codesourcery.com>
7628 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7630 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7633 * sysdeps/x86/cpu-features.c (get_extended_indices): New
7635 (init_cpu_features): Call get_extended_indices for both Intel
7637 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
7638 Remove "for AMD" comment.
7640 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7643 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
7644 COMMON_CPUID_INDEX_80000001.
7646 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
7648 * string/tst-xbzero-opt.c (use_test_buffer): New function.
7649 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
7651 2018-07-26 Florian Weimer <fweimer@redhat.com>
7653 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
7654 aliases for symbols not in the implementation namespace.
7656 2018-07-25 Carlos O'Donell <carlos@redhat.com>
7659 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
7660 lowercase in LATIN script.
7661 * localedata/Makefile (test-input): Add en_US.UTF-8.
7662 * localedata/en_US.UTF-8.in: New file.
7663 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
7664 and restore old tests.
7665 * posix/tst-regexloc.c (do_test): Add back range expression test.
7667 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7669 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
7671 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7673 * nptl/threads.h: Move to ...
7674 * sysdeps/nptl/threads.h: ... here.
7675 * sysdeps/hurd/stdc-predef.h: New file.
7677 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7679 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7680 tst-cet-setcontext-1 if CET is enabled.
7681 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
7682 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
7684 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7686 * include/threads.h: Move to ...
7687 * sysdeps/nptl/threads.h: ... here.
7688 * sysdeps/htl/threads.h: New file.
7689 * conform/Makefile (linknamespace-libs-ISO11): Use
7690 static-thread-library instead of linking libpthread.
7691 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
7693 2018-07-25 Florian Weimer <fweimer@redhat.com>
7695 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
7696 nanoseconds into seconds.
7697 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
7698 (do_test): Likewise.
7699 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
7700 (do_test): Likewise. Avoid nanosecond overflow and spurious
7701 timeouts due to system load.
7702 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
7703 (child_wait): Increment it.
7704 (do_test): Wait as long as necessary until all expected threads
7707 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
7708 H.J. Lu <hongjiu.lu@intel.com>
7710 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
7712 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
7713 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
7714 (__push___start_context): New.
7715 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
7717 (__getcontext): Record the current shadow stack base. Save the
7718 caller's shadow stack pointer and base.
7719 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
7720 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
7721 (__push___start_context): New prototype.
7722 (__makecontext): Call __push___start_context to allocate a new
7723 shadow stack, push __start_context onto the new stack as well
7724 as the new shadow stack.
7725 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
7727 (__setcontext): Restore the target shadow stack.
7728 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
7730 (__swapcontext): Record the current shadow stack base. Save
7731 the caller's shadow stack pointer and base. Restore the target
7733 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7734 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
7735 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
7737 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7739 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
7740 tst-setcontext8 and tst-setcontext9.
7741 * stdlib/tst-setcontext6.c: New file.
7742 * stdlib/tst-setcontext7.c: Likewise.
7743 * stdlib/tst-setcontext8.c: Likewise.
7744 * stdlib/tst-setcontext9.c: Likewise.
7746 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7748 * stdlib/Makefile ((tests): Add tst-setcontext5.
7749 * stdlib/tst-setcontext5.c: New file.
7751 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7753 * stdlib/Makefile (tests): Add tst-setcontext4.
7754 * stdlib/tst-setcontext4.c: New file.
7756 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7758 * stdlib/Makefile (tests): Add tst-swapcontext1.
7759 * stdlib/tst-swapcontext1.c: New test.
7761 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7763 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
7764 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
7765 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
7766 and tst-cet-legacy-4c.
7767 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
7768 and tst-cet-legacy-mod-4.
7769 (CFLAGS-tst-cet-legacy-2.c): New.
7770 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
7771 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
7772 (CFLAGS-tst-cet-legacy-3.c): Likewise.
7773 (CFLAGS-tst-cet-legacy-4.c): Likewise.
7774 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
7775 ($(objpfx)tst-cet-legacy-1): Likewise.
7776 ($(objpfx)tst-cet-legacy-2): Likewise.
7777 ($(objpfx)tst-cet-legacy-2.out): Likewise.
7778 ($(objpfx)tst-cet-legacy-2a): Likewise.
7779 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
7780 ($(objpfx)tst-cet-legacy-4): Likewise.
7781 ($(objpfx)tst-cet-legacy-4.out): Likewise.
7782 ($(objpfx)tst-cet-legacy-4a): Likewise.
7783 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
7784 (tst-cet-legacy-4a-ENV): Likewise.
7785 ($(objpfx)tst-cet-legacy-4b): Likewise.
7786 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
7787 (tst-cet-legacy-4b-ENV): Likewise.
7788 ($(objpfx)tst-cet-legacy-4c): Likewise.
7789 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
7790 (tst-cet-legacy-4c-ENV): Likewise.
7791 * sysdeps/x86/tst-cet-legacy-1.c: New file.
7792 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
7793 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
7794 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
7795 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
7796 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
7797 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
7798 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
7799 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
7800 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
7801 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
7803 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7805 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
7806 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
7808 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
7809 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
7812 2018-07-25 Andreas Schwab <schwab@suse.de>
7815 * locale/weightwc.h (findidx): Handle the case where usrc is a
7816 prefix of cp but one character too short.
7818 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7820 * NEWS: Add ISO C threads addition.
7822 2018-07-24 Florian Weimer <fweimer@redhat.com>
7824 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7825 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
7826 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
7829 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7831 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
7832 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
7833 <sys/prctl.h> and <asm/prctl.h>.
7834 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
7835 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
7837 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
7838 ARCH_CET_LEGACY_BITMAP.
7839 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
7840 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
7841 * sysdeps/x86/libc-start.c: Include <startup.h>.
7843 2018-07-24 Florian Weimer <fweimer@redhat.com>
7845 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
7846 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
7848 2018-07-24 Rical Jasan <rj@2c3t.io>
7849 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7850 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
7853 * manual/debug.texi: Update adjacent chapter name.
7854 * manual/probes.texi: Likewise.
7855 * manual/threads.texi (ISO C Threads): New section.
7856 (POSIX Threads): Convert to a section.
7858 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7859 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
7862 * nptl/Makefile (tests): Add new test files.
7863 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
7864 * nptl/tst-cnd-basic.c: Likewise.
7865 * nptl/tst-cnd-broadcast.c: Likewise.
7866 * nptl/tst-cnd-timedwait.c: Likewise.
7867 * nptl/tst-mtx-basic.c: Likewise.
7868 * nptl/tst-mtx-recursive.c: Likewise.
7869 * nptl/tst-mtx-timedlock.c: Likewise.
7870 * nptl/tst-mtx-trylock.c: Likewise.
7871 * nptl/tst-thrd-basic.c: Likewise.
7872 * nptl/tst-thrd-detach.c: Likewise.
7873 * nptl/tst-thrd-sleep.c: Likewise.
7874 * nptl/tst-tss-basic.c: Likewise.
7876 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7879 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
7880 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
7882 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7883 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7884 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7885 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7886 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7887 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7888 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7889 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7890 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7891 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7892 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7893 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7901 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7902 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7903 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7904 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7905 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7906 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7907 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7908 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7909 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
7910 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
7911 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
7912 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
7913 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
7915 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
7916 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
7917 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
7918 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
7919 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
7920 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
7921 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
7922 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
7923 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
7924 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
7925 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
7926 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
7928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
7929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7933 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
7934 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
7935 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
7936 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
7937 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
7938 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
7939 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
7940 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
7943 * conform/data/threads.h-data (thread_local): New macro.
7944 (TSS_DTOR_ITERATIONS): Likewise.
7946 (tss_dtor_t): Likewise.
7947 (tss_create): New function.
7948 (tss_get): Likewise.
7949 (tss_set): Likewise.
7950 (tss_delete): Likewise.
7951 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
7952 tss_get, and tss_set objects.
7953 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
7954 * nptl/tss_create.c: New file.
7955 * nptl/tss_delete.c: Likewise.
7956 * nptl/tss_get.c: Likewise.
7957 * nptl/tss_set.c: Likewise.
7958 * sysdeps/nptl/threads.h (thread_local): New define.
7959 (TSS_DTOR_ITERATIONS): Likewise.
7960 (tss_t): New typedef.
7961 (tss_dtor_t): Likewise.
7962 (tss_create): New prototype.
7963 (tss_get): Likewise.
7964 (tss_set): Likewise.
7965 (tss_delete): Likewise.
7968 * conform/data/threads.h-data (cnd_t): New type.
7969 (cnd_init): New function.
7970 (cnd_signal): Likewise.
7971 (cnd_broadcast): Likewise.
7972 (cnd_wait): Likewise.
7973 (cnd_timedwait): Likewise.
7974 (cnd_destroy): Likewise.
7975 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
7976 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
7978 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
7979 * nptl/cnd_broadcast.c: New file.
7980 * nptl/cnd_destroy.c: Likewise.
7981 * nptl/cnd_init.c: Likewise.
7982 * nptl/cnd_signal.c: Likewise.
7983 * nptl/cnd_timedwait.c: Likewise.
7984 * nptl/cnd_wait.c: Likewise.
7985 * sysdeps/nptl/threads.h (cnd_t): New type.
7986 (cnd_init): New prototype.
7987 (cnd_signa): Likewise.
7988 (cnd_broadcast): Likewise.
7989 (cnd_wait): Likewise.
7990 (cnd_timedwait): Likewise.
7991 (cnd_destroy): Likewise.
7994 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
7995 (once_flag): New type.
7996 (call_once): New function.
7997 * nptl/Makefile (libpthread-routines): Add call_once object.
7998 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
7999 * nptl/call_once.c: New file.
8000 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
8001 (once_flag): New type.
8002 (call_once): New prototype.
8005 * conform/data/threads.h-data (mtx_plain): New constant.
8006 (mtx_recursive): Likewise.
8007 (mtx_timed): Likewise.
8009 (mtx_init): New function.
8010 (mtx_lock): Likewise.
8011 (mtx_timedlock): Likewise.
8012 (mtx_trylock): Likewise.
8013 (mtx_unlock): Likewise.
8014 (mtx_destroy): Likewise.
8015 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
8016 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
8017 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
8018 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
8019 * nptl/mtx_destroy.c: New file.
8020 * nptl/mtx_init.c: Likewise.
8021 * nptl/mtx_lock.c: Likewise.
8022 * nptl/mtx_timedlock.c: Likewise.
8023 * nptl/mtx_trylock.c: Likewise.
8024 * nptl/mtx_unlock.c: Likewise.
8025 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
8026 (mtx_recursive): Likewise.
8027 (mtx_timed): Likewise.
8029 (mtx_init): New prototype.
8030 (mtx_lock): Likewise.
8031 (mtx_timedlock): Likewise.
8032 (mtx_trylock): Likewise.
8033 (mtx_unlock): Likewise.
8034 (mtx_destroy): Likewise.
8037 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
8038 (linknamespace-libs-ISO11): Add libpthread.a.
8039 * conform/data/threads.h-data: New file: add C11 thrd_* types and
8041 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
8042 * nptl/Makefile (headers): Add threads.h.
8043 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
8044 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
8046 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
8047 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
8048 thrd_join, thrd_sleep, and thrd_yield symbols.
8049 * nptl/descr.h (struct pthread): Add c11 field.
8050 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
8051 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
8052 routine with expected function prototype.
8053 (__pthread_create_2_1): Add C11 threads check based on attribute
8055 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
8056 * nptl/thrd_create.c: New file.
8057 * nptl/thrd_current.c: Likewise.
8058 * nptl/thrd_detach.c: Likewise.
8059 * nptl/thrd_equal.c: Likewise.
8060 * nptl/thrd_exit.c: Likewise.
8061 * nptl/thrd_join.c: Likewise.
8062 * nptl/thrd_priv.h: Likewise.
8063 * nptl/thrd_sleep.c: Likewise.
8064 * nptl/thrd_yield.c: Likewise.
8065 * include/threads.h: Likewise.
8067 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8069 * bits/indirect-return.h: New file.
8070 * misc/sys/cdefs.h (__glibc_has_attribute): New.
8071 * sysdeps/x86/bits/indirect-return.h: Likewise.
8072 * stdlib/Makefile (headers): Add bits/indirect-return.h.
8073 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
8074 (swapcontext): Add __INDIRECT_RETURN.
8075 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
8076 (prepare_test_buffer): Use it.
8078 2018-07-24 Andreas Schwab <schwab@suse.de>
8081 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
8082 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
8084 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8086 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
8087 Redefine if shadow stack is enabled.
8088 (SYSCALL_ERROR_LABEL): Likewise.
8089 (__vfork): Pop shadow stack and jump back to to caller directly
8090 when shadow stack is in use.
8091 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
8092 Redefine if shadow stack is enabled.
8093 (SYSCALL_ERROR_LABEL): Likewise.
8094 (__vfork): Pop shadow stack and jump back to to caller directly
8095 when shadow stack is in use.
8097 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8099 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
8102 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
8105 2018-07-20 Joseph Myers <joseph@codesourcery.com>
8107 * scripts/build-many-glibcs.py (Context.checkout): Default
8108 binutils version to 2.31 branch.
8110 2018-07-20 Zong Li <zong@andestech.com>
8112 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
8113 URL of gcc's tarball.
8115 2018-07-20 Florian Weimer <fweimer@redhat.com>
8118 * posix/regcomp.c (build_equiv_class): When comparing weights, do
8119 not compare an extra byte after the end of the weights.
8121 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
8123 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
8125 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
8127 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
8128 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
8129 * scripts/check-execstack.awk: Consider `xfail' variable containing a
8130 list of libraries whose stack executability is expected.
8131 * elf/Makefile ($(objpfx)check-execstack.out): Pass
8132 $(check-execstack-xfail) to check-execstack.awk through `xfail'
8134 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
8135 libc.so libpthread.so.
8137 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
8139 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
8141 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
8143 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
8145 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
8147 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8149 * benchtests/scripts/compare_bench.py (__main__): use the argparse
8150 library to improve command line parsing.
8151 (__main__): make schema file as optional parameter (--schema),
8152 defaulting to benchtests/scripts/benchout.schema.json.
8153 (main): move out of the parsing stuff to __main_ and leave it
8154 only as caller of main comparison functions.
8156 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
8158 * NEWS: Add a note for Intel CET status.
8159 * manual/install.texi: Likewise.
8160 * INSTALL: Regenerated.
8162 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
8165 * localedata/locales/oc_FR (mon): Rename to...
8166 (alt_mon): This, then update October (typo fix).
8167 (mon): New content (genitive case, month names preceded by
8171 * localedata/locales/oc_FR (abday): Update all items.
8172 (day): Update Wednesday and Saturday (typo fixes).
8173 (abmon): Update all items, except May.
8174 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
8175 (LC_IDENTIFICATION): Bump the revision number and date.
8176 Keep the "category" entries in alphabetic order.
8177 (LC_ADDRESS): Remove no longer needed comment.
8178 (LC_COLLATE): Use “copy "ca_ES"”.
8179 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
8182 2018-07-18 Joseph Myers <joseph@codesourcery.com>
8184 * grp/tst_fgetgrent.c: Include <unistd.h>.
8185 (main): Use mkstemp instead of tmpnam.
8186 * io/test-utime.c (main): Likewise.
8187 * posix/annexc.c (macrofile): Change to modifiable array.
8188 (main): Remove macrofile here.
8189 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8191 (check_header): Do not remove macrofile here.
8192 * posix/bug-getopt1.c: Include <stdlib.h>.
8193 (do_test): Use mkstemp instead of tmpnam.
8194 * posix/bug-getopt2.c: Include <stdlib.h>.
8195 (do_test): Use mkstemp instead of tmpnam.
8196 * posix/bug-getopt3.c: Include <stdlib.h>.
8197 (do_test): Use mkstemp instead of tmpnam.
8198 * posix/bug-getopt4.c: Include <stdlib.h>.
8199 (do_test): Use mkstemp instead of tmpnam.
8200 * posix/bug-getopt5.c: Include <stdlib.h>.
8201 (do_test): Use mkstemp instead of tmpnam.
8202 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
8203 (main): Use mkstemp instead of tmpnam.
8204 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
8205 (main): Use mkstemp instead of tmpnam.
8206 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
8207 (main): use mkstemp instead of tmpnam.
8208 * stdlib/isomac.c (macrofile): Change to modifiable array.
8209 (main): Remove macrofile here.
8210 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8212 (check_header): Do not remove macrofile here.
8214 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8216 * manual/tunables.texi: Document glibc.tune.x86_ibt and
8217 glibc.tune.x86_shstk.
8219 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8221 * NEWS: Mention --enable-cet.
8222 * manual/install.texi: Document --enable-cet.
8223 * INSTALL: Regenerated.
8225 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8227 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
8228 Add _CET_NOTRACK before indirect jump to jump table.
8230 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8232 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
8233 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8236 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8238 * sysdeps/i386/i686/multiarch/strcat-sse2.S
8239 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8242 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8244 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
8245 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8248 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8250 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
8251 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8254 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8256 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
8257 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8259 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
8261 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8263 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
8264 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8267 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8269 * sysdeps/i386/i686/multiarch/memset-sse2.S
8270 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8273 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8275 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
8276 indirect jump to jump table.
8278 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8280 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
8281 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8285 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8287 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
8288 (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/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8295 _CET_NOTRACK before indirect jump to jump table.
8297 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8299 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
8300 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8303 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8305 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
8306 indirect jump to jump table.
8308 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
8311 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
8312 (LOCALES): Likewise.
8313 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
8314 * localedata/locales/sah_RU: New file.
8315 * localedata/sah_RU.UTF-8.in: New file.
8317 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8319 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
8321 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8322 _CET_ENDBR to indirect jump targets and adjust jump destination
8324 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
8326 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8327 _CET_ENDBR to indirect jump targets and adjust jump destination
8329 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
8331 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
8332 _CET_ENDBR to indirect jump targets and adjust jump destination
8335 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8337 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8340 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8342 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
8344 (_dl_tlsdesc_undefweak): Likewise.
8345 (_dl_tlsdesc_dynamic): Likewise.
8346 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
8347 (_dl_tlsdesc_resolve_rel): Likewise.
8348 (_dl_tlsdesc_resolve_rela): Likewise.
8349 (_dl_tlsdesc_resolve_hold): Likewise.
8350 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
8351 (_dl_tlsdesc_undefweak): Likewise.
8352 (_dl_tlsdesc_dynamic): Likewise.
8353 (_dl_tlsdesc_resolve_rela): Likewise.
8354 (_dl_tlsdesc_resolve_hold): Likewise.
8356 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8358 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
8360 * sysdeps/x86_64/crti.S (_init): Likewise.
8363 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
8366 * localedata/locales/os_RU (mon): Rename to...
8368 (mon): Import from CLDR (genitive case).
8370 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8372 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
8373 cet-tunables.h> when CET is enabled.
8375 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
8378 * configure.ac: Add --enable-cet.
8379 * configure: Regenerated.
8380 * elf/Makefille (all-built-dso): Add a comment.
8381 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
8382 Include <dl-prop.h>.
8383 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
8385 * elf/dl-open.c: Include <dl-prop.h>.
8386 (dl_open_worker): Call _dl_open_check.
8387 * elf/rtld.c: Include <dl-prop.h>.
8388 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
8390 * sysdeps/generic/dl-prop.h: New file.
8391 * sysdeps/i386/dl-cet.c: Likewise.
8392 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
8393 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
8394 * sysdeps/x86/cet-tunables.h: Likewise.
8395 * sysdeps/x86/check-cet.awk: Likewise.
8396 * sysdeps/x86/configure: Likewise.
8397 * sysdeps/x86/configure.ac: Likewise.
8398 * sysdeps/x86/dl-cet.c: Likewise.
8399 * sysdeps/x86/dl-procruntime.c: Likewise.
8400 * sysdeps/x86/dl-prop.h: Likewise.
8401 * sysdeps/x86/libc-start.h: Likewise.
8402 * sysdeps/x86/link_map.h: Likewise.
8403 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
8405 (_dl_runtime_profile): Likewise.
8406 (_dl_runtime_resolve_shstk): New.
8407 (_dl_runtime_profile_shstk): Likewise.
8408 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
8410 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
8411 (CFLAGS-.os): Likewise.
8412 (CFLAGS-.op): Likewise.
8413 (CFLAGS-.oS): Likewise.
8414 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
8416 (tests-special): Add $(objpfx)check-cet.out.
8417 (cet-built-dso): New.
8418 (+$(cet-built-dso:=.note)): Likewise.
8419 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
8420 ($(objpfx)check-cet.out): New.
8421 (generated): Add check-cet.out.
8422 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
8424 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
8425 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8426 (init_cpu_features): Call get_cet_status to check CET status
8427 and update dl_x86_feature_1 with CET status. Call
8428 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
8429 (set_x86_shstk). Disable and lock CET in libc.a.
8430 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
8431 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
8432 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8433 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
8434 (_CET_ENDBR): Define if not defined.
8435 (ENTRY): Add _CET_ENDBR.
8436 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
8438 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
8440 (_dl_runtime_profile): Likewise.
8442 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
8445 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
8446 restore r2 on longjmp.
8447 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
8449 Added rules to build test tst-setjmp-bug21895-static.
8450 Added module setjmp-bug21895 and rules to build a shared object from it.
8451 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
8452 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
8454 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
8456 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
8457 * benchtests/bench-strstr.c: Likewise.
8458 * string/memmem.c (FASTSEARCH): Define.
8459 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
8460 Add support for FASTSEARCH.
8461 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
8462 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
8463 (FASTSEARCH): Define.
8464 * string/test-strcasestr.c: Rename __strnlen to strnlen.
8465 * string/test-strstr.c: Likewise.
8467 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
8469 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
8470 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
8472 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
8473 H.J. Lu <hongjiu.lu@intel.com>
8475 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
8476 (__longjmp): Restore shadow stack pointer if shadow stack is
8477 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8478 isn't defined for __longjmp_cancel.
8479 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
8480 (_setjmp): Save shadow stack pointer if shadow stack is enabled
8481 and SHADOW_STACK_POINTER_OFFSET is defined.
8482 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
8483 (setjmp): Save shadow stack pointer if shadow stack is enabled
8484 and SHADOW_STACK_POINTER_OFFSET is defined.
8485 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
8486 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8487 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8488 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
8490 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8491 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8492 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
8493 Remove jmp_buf-ssp.sym.
8494 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8496 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8497 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8498 * sysdeps/x86/Makefile (gen-as-const-headers): Add
8500 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
8501 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
8502 (__longjmp): Restore shadow stack pointer if shadow stack is
8503 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8504 isn't defined for __longjmp_cancel.
8505 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
8506 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8507 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8509 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
8512 * nptl/pthread_create.c: Include <tls-setup.h>.
8513 (__pthread_create_2_1): Call tls_setup_tcbhead.
8514 * sysdeps/generic/tls-setup.h: New file.
8515 * sysdeps/x86/nptl/tls-setup.h: Likewise.
8516 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
8517 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
8519 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
8521 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
8522 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
8523 (X86_FEATURE_1_SHSTK): Likewise.
8524 (CET_ENABLED): Likewise.
8525 (IBT_ENABLED): Likewise.
8526 (SHSTK_ENABLED): Likewise.
8528 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
8531 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
8532 (LOCALES): Likewise.
8533 * localedata/dsb_DE.UTF-8.in: New file.
8534 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
8536 2018-07-12 Florian Weimer <fweimer@redhat.com>
8538 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
8539 __mprotect, not mprotect.
8541 2018-07-11 Florian Weimer <fweimer@redhat.com>
8543 * io/Makefile (headers): Add bits/statx.h.
8545 2018-07-10 Mike FABIAN <mfabian@redhat.com>
8547 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
8548 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
8550 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
8551 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
8554 2018-07-10 Florian Weimer <fweimer@redhat.com>
8556 * io/Makefile (routines): Add statx.
8557 (tests-internal): Add tst-statx.
8558 * io/Versions (GLIBC_2.28): Export statx.
8559 * io/bits/statx.h: New file.
8560 * io/sys/stat.h [__USE_GNU]: Include it.
8561 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
8562 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
8564 * io/statx.c: New file.
8565 * io/statx_generic.: Likewise.
8566 * io/tst-statx.: Likewise.
8567 * include/bits/statx.h: Likewise.
8568 * sysdeps/unix/sysv/linux/kernel-features.h
8569 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
8570 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8571 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
8572 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
8574 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8575 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
8576 * sysdeps/unix/sysv/linux/statx.c: New file.
8577 * manual/filesys.texi: Note that statx is undocumented.
8578 * sysdeps/**/libc*.abilist: Update.
8580 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8582 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
8583 a kernel issue which lead to test failure in some cases.
8585 2018-07-10 Florian Weimer <fweimer@redhat.com>
8588 * posix/regexec.c (check_node_accept_bytes): When comparing
8589 weights, do not compare an extra byte after the end of the
8592 2018-07-10 Florian Weimer <fweimer@redhat.com>
8594 * libio/readline.c: Fix copyright year.
8595 * libio/tst-readline.c Likewise.
8596 * nss/tst-nss-files-hosts-getent.c: Likewise.
8598 2018-07-06 Florian Weimer <fweimer@redhat.com>
8601 * nss/nss_files/files-XXX.c (internal_getent): Use
8602 __libc_readline_unlocked. Seek back to the start of the line if
8603 parsing failes with ERANGE.
8604 (get_contents_ret, get_contents): Remove.
8605 * nss/tst-nss-files-hosts-getent.c: New file.
8606 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
8607 (tst-nss-files-hosts-getent): Link with -ldl.
8609 2018-07-06 Florian Weimer <fweimer@redhat.com>
8611 * include/stdio.h (__libc_readline_unlocked): Declare.
8612 (__ftello64, __fseeko64): Declare aliases.
8613 * libio/readline.c: New file.
8614 * libio/tst-readline.c: Likewise.
8615 (routines): Add readline.
8616 (tests-internal): Add tst-readlime.
8617 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
8618 __libc_readline_unlocked.
8619 * libio/fseeko.c (__fseeko): Rename from fseeko.
8620 (fseeko): Add alias.
8621 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
8622 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
8623 (fseeko64): Add alias.
8624 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
8625 * libio/ftello64.c (__ftello64): Rename from ftello64.
8626 (ftello64): Add alias.
8628 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8630 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
8633 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8635 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
8636 Use dl_hwcap without masking.
8637 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
8640 2018-07-06 Florian Weimer <fweimer@redhat.com>
8642 * conform/conformtest.pl (checknamespace): Escape literal braces
8643 in regular expressions.
8645 2018-07-06 Amit Pawar <amit.pawar@amd.com>
8647 * sysdeps/x86/cpu-features.c (get_common_indeces):
8648 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
8649 * sysdeps/x86/cpu-features.c (init_cpu_features):
8650 AVX_Fast_Unaligned_Load is disabled for Excavator core.
8652 2018-07-05 Florian Weimer <fweimer@redhat.com>
8654 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
8656 (CFLAGS-elf-init.oS): Likewise.
8658 2018-07-05 Florian Weimer <fweimer@redhat.com>
8659 Carlos O'Donell <carlos@redhat.com>
8661 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
8662 $(no-stack-protector). stack_chk_fail_local.c can be compiled
8663 with stack protector enabled because there is no risk of infinite
8666 2018-07-05 Maciej W. Rozycki <macro@mips.com>
8670 * libc-abis (ABSOLUTE): New ABI.
8671 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
8672 * NEWS: Mention the new ABI.
8674 2018-07-05 Florian Weimer <fweimer@redhat.com>
8677 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
8678 (RENAME_WHITEOUT): Define.
8679 [__USE_GNU] (renameat2): Declare.
8680 * stdio-common/Makefile (routines): Add renameat2.
8681 (tests): Add tst-renameat2.
8682 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
8683 * stdio-common/renameat2.c: New file.
8684 * stdio-common/tst-renameat2.c: Likewise.
8685 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
8686 * manual/filesys.texi (Temporary Files): Note that renameat2 is
8688 * sysdeps/unix/sysv/linux/kernel-features.h
8689 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
8690 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8691 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8692 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8693 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8694 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8695 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
8696 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8697 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
8698 * include/stdio.h (__renameat): Add alias for renameat.
8699 * stdio-common/renameat.c (__renameat): Rename from renameat.
8700 Add hidden definition and alias.
8701 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8702 * sysdeps/mach/hurd/renameat.c: Likewise.
8703 * sysdeps/**/libc*.abilist: Add renameat2.
8705 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8707 * posix/bug-regex33.c: Fix build after regex sync.
8709 2018-07-04 Carlos O'Donell <carlos@redhat.com>
8712 * localedata/tst-langinfo-setlocale.c: New file.
8713 * localedata/tst-langinfo-setlocale-static.c: New file.
8714 * localedata/tst-langinfo-newlocale.c: New file.
8715 * localedata/tst-langinfo-newlocale-static.c: New file.
8716 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
8717 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
8718 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
8719 (tests-static): Remove tst-langinfo-static. Add
8720 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
8721 (tests-special): Remove $(objpfx)tst-langinfo.out,
8722 $(objpfx)tst-langinfo-static.out. Add
8723 $(objpfx)tst-langinfo-setlocale.out,
8724 $(objpfx)tst-langinfo-newlocale.out,
8725 $(objpfx)tst-langinfo-setlocale-static.out,
8726 $(objpfx)tst-langinfo-newlocale-static.out.
8727 ($(objpfx)tst-langinfo.out): Remove.
8728 ($(objpfx)tst-langinfo-static.out): Remove.
8729 ($(objpfx)tst-langinfo-newlocale.out): New target.
8730 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
8731 (test-xfail-tst-langinfo-newlocale-static): Add.
8732 ($(objpfx)tst-langinfo-setlocale.out): New target.
8733 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
8734 * localedata/tst-langinfo.c: Call test_locale.
8735 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
8738 2018-07-04 Florian Weimer <fweimer@redhat.com>
8740 testrun.sh: Implement --tool=strace, --tool=valgrind
8741 * Makefile (testrun-script): Define variable.
8742 (testrun.sh): Use variable.
8743 * manual/install.texi (Tools for Compilation): make 4.0 or later
8745 * configure.ac: Check for make 4.0 or later.
8746 * INSTALL: Regenerate.
8747 * configure: Likewise.
8749 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8755 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
8756 * posix/PCRE.tests: Remove invalid test.
8757 * posix/bug-regex28.c: Fix expected values for used syntax.
8758 * posix/bug-regex37.c: New file.
8759 * posix/bug-regex38.c: Likewise.
8760 * posix/regcomp.c: Sync with gnulib.
8761 * posix/regex.c: Likewise.
8762 * posix/regex.h: Likewise.
8763 * posix/regex_internal.c: Likewise.
8764 * posix/regex_internal.h: Likewise.
8765 * posix/regexec.c: Likewise.
8767 2018-06-26 Mike FABIAN <mfabian@redhat.com>
8770 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
8771 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
8772 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
8773 * localedata/unicode-gen/PropList.txt: likewise.
8774 * localedata/unicode-gen/UnicodeData.txt: likewise.
8775 * localedata/charmaps/UTF-8: Regenerate.
8776 * localedata/locales/i18n_ctype: likewise.
8777 * localedata/locales/tr_TR: likewise.
8778 * localedata/locales/translit_circle: likewise.
8779 * localedata/locales/translit_cjk_compat: likewise.
8780 * localedata/locales/translit_combining: likewise.
8781 * localedata/locales/translit_compat: likewise.
8782 * localedata/locales/translit_font: likewise.
8783 * localedata/locales/translit_fraction: likewise.
8785 2018-07-03 Florian Weimer <fweimer@redhat.com>
8788 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
8789 * stdio-common/tst-printf.sh: Adjust expected output.
8792 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8794 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
8797 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8799 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
8800 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
8801 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
8802 * stdio-common/tst-printfsz-islongdouble.c: New file.
8803 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
8804 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
8805 [subdir == stdio-common] (routines): Add ieee128-printf_size.
8806 [subdir == stdio-common] (tests-internal): Add
8807 test-printf-size-ieee128, and test-printf-size-ibm128.
8808 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
8809 (CFLAGS-test-printf-size-ibm128.c): New variables.
8810 [subdir == stdio-common] (tests-special): Add
8811 $(objpfx)test-printf-size-ieee128.out and
8812 $(objpfx)test-printf-size-ibm128.out.
8813 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
8814 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
8815 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
8816 __printf_sizeieee128.
8817 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
8819 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
8821 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
8824 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
8826 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
8827 (exp2f_inline): Likewise.
8828 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
8829 (__math_uflowf): Likewise.
8830 (__math_may_uflowf): Likewise.
8831 (__math_divzerof): Likewise.
8832 (__math_invalidf): Likewise.
8833 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
8834 (__math_oflowf): Likewise.
8835 (__math_uflowf): Likewise.
8836 (__math_may_uflowf): Likewise.
8837 (__math_divzerof): Likewise.
8838 (__math_invalidf): Likewise.
8840 2018-06-29 DJ Delorie <dj@redhat.com>
8841 Carlos O'Donell <carlos@redhat.com>
8844 * include/libc-symbols.h: Comment the freeres framework.
8845 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
8846 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
8847 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
8848 * dlfcn/dlerror.c: Include libc-symbols.h
8849 (__dlerror_main_freeres): New function.
8850 * dlfcn/dlfreeres.c: New file.
8851 * dlfcn/sdlfreeres.c: New file.
8852 * include/dlfcn.h: Declare __dlerror_main_freeres.
8853 * malloc/set-freeres.c: Declare __libdl_freeres, and
8854 __libpthread_freeres.
8855 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
8856 the releavant libraries are loaded.
8857 * malloc/thread-freeres.c: Add comments.
8858 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
8859 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
8860 * nptl/allocatestack.c (__nptl_free_stacks): New function.
8861 (__free_stacks): Rename to...
8862 (free_stacks): ...this. Mark static.
8863 (queue_stack): Call free_stacks.
8864 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
8865 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
8866 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
8867 ptr_freeres element from struct.
8868 (pthread_functions): Remove .ptr_freeres from struct initializer.
8869 [SHARED] (nptl_freeres): Remove.
8870 * nptl/nptlfreeres.c: New file.
8872 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
8873 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
8875 (__free_stacks): Rename to...
8876 (__nptl_stacks_freeres): ...this.
8877 (__shm_directory_freeres): Declare.
8878 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
8879 (__nptl_unwind_freeres): ...this.
8880 * resolv/res-close.c: Add comment.
8881 * resolv/resolv_conf.c: Include libc-symbols.h.
8882 * string/strerror_l.c: Include libc-symbols.h.
8883 * sunrpc/rpc_thread.c: Include libc-symbols.h.
8884 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
8885 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
8886 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
8888 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8890 * stdlib/tst-strfmon_l.c: Add tests for long double.
8892 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
8895 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
8896 * localedata/locales/dsb_DE: New file.
8898 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
8901 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
8903 (alt_mon): New entry, import from CLDR (nominative case).
8905 2018-06-29 Sylvain Lesage <severo@rednegra.net>
8908 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
8910 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
8912 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
8913 Use vector registers.
8915 * sysdeps/aarch64/multiarch/memmove_falkor.S
8916 (__memcpy_falkor): Use vector registers.
8918 2018-06-29 Martin Sebor <msebor@redhat.com>
8920 * manual/stdio.texi (Customizing Printf): Mention interaction
8923 2018-06-29 Maciej W. Rozycki <macro@mips.com>
8926 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
8927 `st_value' is 0 if `st_shndx' is SHN_ABS.
8928 * elf/tst-absolute-zero.c: New file.
8929 * elf/tst-absolute-zero-lib.c: New file.
8930 * elf/tst-absolute-zero-lib.lds: New file.
8931 * elf/Makefile (tests): Add `tst-absolute-zero'.
8932 (modules-names): Add `tst-absolute-zero-lib'.
8933 (LDLIBS-tst-absolute-zero-lib.so): New variable.
8934 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
8935 ($(objpfx)tst-absolute-zero: New dependency.
8937 2018-06-29 Zack Weinberg <zackw@panix.com>
8939 * configure.ac: New command-line option --disable-crypt.
8940 Force --disable-nss-crypt when --disable-crypt is given, with a
8941 warning if it was explicitly enabled.
8942 * configure: Regenerate.
8943 * config.make.in: New boolean substitution variable $(build-crypt).
8944 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
8945 when $(build-crypt).
8946 * manual/install.texi: Document --disable-crypt.
8947 * INSTALL: Regenerate.
8949 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
8951 * conform/Makefile: Only include libcrypt.a in
8952 linknamespace-libs-xsi and linknamespace-libs-XPG4
8953 when $(build-crypt).
8954 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
8955 USE_CRYPT to 1 when $(build-crypt).
8956 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
8957 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
8958 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
8960 2018-06-29 Zack Weinberg <zackw@panix.com>
8962 * crypt/crypt.h, posix/unistd.h: Update comments and
8963 prototypes for crypt and crypt_r.
8965 * manual/crypt.texi (Cryptographic Functions): New initial
8967 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
8968 (Unpredictable Bytes): Improve initial exposition. Clarify error
8969 behavior of getentropy and getrandom.
8970 * manual/examples/genpass.c: Generate a salt using getentropy
8971 instead of the current time. Use hash $5$ (SHA-2-256).
8972 * manual/examples/testpass.c: Demonstrate validation against
8973 hashes generated with three different one-way functions.
8975 * manual/intro.texi: crypt.texi does not need an overview
8978 * manual/nss.texi, manual/memory.texi, manual/socket.texi
8979 * manual/terminal.texi: Consistently refer to "passphrases"
8980 * instead of "passwords", and to the "user database" instead
8981 * of the "password database".
8982 * manual/users.texi: Similarly. Add notes about how actual
8983 passphrase hashes are now stored in the shadow database.
8984 Remove 20-year-old junk todo note.
8986 2018-06-29 Zack Weinberg <zackw@panix.com>
8988 * manual/crypt.texi: Use a normal top-level @node declaration.
8989 Move most of the introductory text to the 'crypt' section.
8990 Move the example programs below the @deftypefun for 'crypt_r'.
8991 Move the 'getpass' section...
8992 * manual/terminal.texi: ...here.
8994 2018-06-29 Zack Weinberg <zackw@panix.com>
8995 Florian Weimer <fweimer@redhat.com>
8997 * posix/unistd.h: Do not declare encrypt.
8998 (_XOPEN_CRYPT): Remove macro definition.
8999 (crypt): Declare only for _USE_MISC.
9000 * stdlib/stdlib.h: Do not declare setkey.
9001 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
9002 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
9004 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
9005 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
9006 into compat symbols. Don't define initial_perm if it's not
9008 * crypt/cert.c: Link explicitly with the expected versions for
9009 setkey and encrypt. If they are not available at all, mark
9010 the test as unsupported.
9012 * sunrpc/des_crypt.c: Unconditionally block linkage with
9013 cbc_crypt and ecb_crypt for new binaries.
9014 * sunrpc/des_soft.c: Unconditionally block linkage with
9015 des_setparity for new binaries.
9017 * manual/crypt.texi: Remove the entire "DES Encryption"
9018 section. Also remove the paragraph talking about FIPS 140-2
9019 from the introduction.
9020 * manual/string.texi (strfry, memfrob): Revise. Recommend use
9021 of libgcrypt for "real" encryption, not DES.
9022 * manual/conf.texi (Constants for Sysconf): Mention that
9023 _XOPEN_CRYPT is no longer impelemented.
9025 * conform/data/unistd.h-data: Remove crypt function declaration.
9027 2018-06-29 Florian Weimer <fweimer@redhat.com>
9030 * malloc/hooks.c: Update comments on restoring of dumped heaps.
9031 (disallow_malloc_check): Remove variable.
9032 (__malloc_check_init): Adjust.
9033 (malloc_set_state): Update comment.
9034 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
9037 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9040 * localedata/locales/ast_ES (mon): Rename to...
9042 (mon): Import from CLDR (genitive case).
9044 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
9045 Jakub Sitnicki <jkbs@redhat.com>
9048 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
9051 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
9053 * manual/llio.texi: Remove spurious space.
9055 2018-06-28 Florian Weimer <fweimer@redhat.com>
9058 * time/bits/types/struct_timespec.h: Change header inclusion guard to
9061 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9063 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
9064 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
9065 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
9066 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
9067 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
9068 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
9069 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
9071 2018-06-27 Maciej W. Rozycki <macro@mips.com>
9074 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
9075 Copy and null-terminate entries that are not terminated, in
9076 addition to empty ones.
9078 2018-06-27 Florian Weimer <fweimer@redhat.com>
9081 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
9082 (extend_alloca_account): Remove.
9083 * manual/stdio.texi (Variable Arguments Output): Update comment.
9085 2018-06-27 Joseph Myers <joseph@codesourcery.com>
9087 * nptl/sockperf.c: Remove file.
9089 2018-06-27 Florian Weimer <fweimer@redhat.com>
9092 * elf/dl-deps.c (_dl_map_object_deps): Use struct
9093 scratch_buffer instead of extend_alloca.
9095 2018-06-27 Florian Weimer <fweimer@redhat.com>
9098 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
9099 scratch_buffer instead of extend_alloca. Update comments.
9101 2018-06-27 Florian Weimer <fweimer@redhat.com>
9104 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
9105 instead of extend_alloca.
9107 2018-06-26 Joseph Myers <joseph@codesourcery.com>
9110 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
9111 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
9113 * scripts/test-installation.pl: Put temporary files in build
9114 directory, not /tmp.
9115 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
9116 (CFLAGS-bug4.c): Likewise.
9117 (CFLAGS-bug5.c): Likewise.
9118 (CFLAGS-test-fseek.c): Likewise.
9119 (CFLAGS-test-popen.c): Likewise.
9120 (CFLAGS-test_rdwr.c): Likewise.
9121 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
9123 * stdio-common/bug4.c (main): Likewise.
9124 * stdio-common/bug5.c (main): Likewise.
9125 * stdio-common/test-fseek.c (TESTFILE): Likewise.
9126 * stdio-common/test-popen.c (do_test): Likewise.
9127 * stdio-common/test_rdwr.c (main): Likewise.
9129 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
9131 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
9132 (sem_open): Set sem.newsem.pad to zero for valgrind.
9134 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9137 * NEWS: Mention fcntl64 addition.
9138 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
9139 * login/utmp_file.c: Likewise.
9140 * sysdeps/posix/fdopendir.c: Likewise.
9141 * sysdeps/posix/opendir.c: Likewise.
9142 * sysdeps/unix/pt-fcntl.c: Likewise.
9143 * include/fcntl.h (__libc_fcntl64, __fcntl64,
9144 __fcntl64_nocancel_adjusted): New prototype.
9145 (__fcntl_nocancel_adjusted): Remove prototype.
9146 * io/Makefile (routines): Add fcntl64.
9147 (CFLAGS-fcntl64.c): New rule.
9148 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
9149 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
9150 * io/fcntl.h (fcntl64): Add prototype and redirect if
9151 __USE_FILE_OFFSET64 is defined.
9152 * io/fcntl64.c: New file.
9153 * manual/llio.text: Add a note for which commands fcntl acts a
9155 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
9156 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
9157 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
9159 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
9160 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
9162 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
9163 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
9164 to __fcntl64_nocancel.
9165 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
9166 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
9167 to __fcntl64_nocancel.
9168 * sysdeps/generic/not-cancel.h: Likewise.
9169 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
9170 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
9171 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9172 (fcntl64): New symbol.
9173 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9174 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9175 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9178 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9179 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9180 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9181 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9182 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9183 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
9185 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9186 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
9187 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9188 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9189 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9190 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9191 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9192 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9193 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9198 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9199 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9200 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9202 2018-06-26 Florian Weimer <fweimer@redhat.com>
9204 Run thread shutdown functions in an explicit order.
9205 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
9207 (__libc_thread_freeres): Call thread shutdown functions
9209 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
9210 * include/string.h (__strerror_thread_freeres): Declare.
9211 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
9212 arena_thread_freeres. No longer static. Remove thread shutdown
9214 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
9216 * resolv/res-close.c (__res_thread_freeres): Renamed from
9217 res_thread_freeres. No longer static. Remove thread shutdown
9219 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
9220 * resolv/resolv_conf.c (freeres): Remove incorrect section
9221 attribute and use libc_freeres_fn.
9222 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
9223 strerror_thread_freeres. No longer static. Remove thread
9224 shutdown hook registration.
9225 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
9226 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
9227 shutdown hook registration.
9228 * Makerules (shlib.lds): Do not provide section boundary symbols
9229 for __libc_thread_subfreeres.
9230 * manual/memory.texi (Basic Allocation): Update comment.
9232 2018-06-26 Florian Weimer <fweimer@redhat.com>
9234 Remove always-defined _RPC_THREAD_SAFE_ macro.
9235 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
9236 Do not define _RPC_THREAD_SAFE_.
9237 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
9239 * sunrpc/clnt_perr.c: Likewise.
9240 * sunrpc/clnt_raw.c: Likewise.
9241 * sunrpc/clnt_simp.c: Likewise.
9242 * sunrpc/key_call.c: Likewise.
9243 * sunrpc/rpc_common.c: Likewise.
9244 * sunrpc/rpc_main.c: Likewise.
9245 * sunrpc/rpc_thread.c: Likewise.
9246 * sunrpc/svc.c: Likewise.
9247 * sunrpc/svc_raw.c: Likewise.
9248 * sunrpc/svc_simple.c: Likewise.
9249 * sumrpc/svcauth_des.c: Likewise.
9251 2018-06-26 Florian Weimer <fweimer@redhat.com>
9253 * libio/Makefile (tests-internal): Add tst-vtables,
9254 tst-vtables-interposed.
9255 * libio/tst-vtables.c: New file.
9256 * libio/tst-vtables-common.c: Likewise.
9257 * libio/tst-vtables-interposed.c: Likewise.
9259 2018-06-26 Florian Weimer <fweimer@redhat.com>
9261 * support/support_test_main.c (support_test_main): Only call
9262 setvbuf if not disables.
9263 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
9264 * support/test-driver.h (struct test_config): Add no_setvbuf member.
9266 2018-06-26 Florian Weimer <fweimer@redhat.com>
9269 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
9271 2018-06-25 Florian Weimer <fweimer@redhat.com>
9274 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9275 Use struct scratch_buffer instead of extend_alloca.
9277 2018-06-25 Florian Weimer <fweimer@redhat.com>
9280 * nss/getent.c (initgroups_keys): Use dynarray instead of
9283 2018-06-25 Florian Weimer <fweimer@redhat.com>
9286 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
9287 Use struct scratch_buffer instead of extend_alloca.
9289 2018-06-25 Florian Weimer <fweimer@redhat.com>
9292 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
9293 back to malloc directly, without stack allocations.
9295 2018-06-25 Florian Weimer <fweimer@redhat.com>
9298 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
9301 2018-06-25 Florian Weimer <fweimer@redhat.com>
9304 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
9306 * nscd/hstcache.c (addhstbyX): Likewise.
9307 * nscd/pwdcache.c (addpwbyX): Likewise.
9308 * nscd/servicescache.c (addservbyX): Likewise.
9310 2018-06-25 Florian Weimer <fweimer@redhat.com>
9313 * nscd/connections.c (read_cmdline): New function.
9314 (restart): Use it. Update comment.
9316 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9319 * localedata/locales/csb_PL (mon): Rename to...
9321 (abmon): Rename to...
9323 (mon): Add with proper genitive forms, copy from Wikipedia.
9326 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9329 * localedata/locales/csb_PL (mon): Fix typos:
9330 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
9331 (yesstr): Add, value is "jo".
9332 (nostr): Add, value is "nié".
9334 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9336 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
9337 all log1p and significand functions on m680x0.
9338 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
9339 of s_significand.c..
9340 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
9341 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
9342 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
9343 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
9344 s_log1p.c and include it..
9346 2018-06-21 Vincent Chen <vincentc@andestech.com>
9348 * elf/elf.h (R_NDS32_NONE): New define.
9349 (R_NDS32_32_RELA): Likewise.
9350 (R_NDS32_COPY): Likewise.
9351 (R_NDS32_GLOB_DAT): Likewise.
9352 (R_NDS32_JUMP_SLOT): Likewise.
9353 (R_NDS32_RELATIVE): Likewise.
9354 (R_NDS32_TLS_TPOFF): Likewise.
9355 (R_NDS32_TLS_DESC): Likewise.
9357 2018-06-21 Mark Wielaard <mark@klomp.org>
9359 * elf/elf.h (R_BPF_MAP_FD): Removed.
9360 (R_BPF_64_64, R_BPF_64_32): New.
9362 2018-06-21 Florian Weimer <fweimer@redhat.com>
9365 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
9366 Renamed from libc_feholdsetround_ctx.
9367 (default_libc_feresetround_ctx): Renamed from
9368 libc_feresetround_ctx.
9369 (default_libc_feholdsetround_noex_ctx): Renamed from
9370 libc_feholdsetround_noex_ctx.
9371 (default_libc_feresetround_noex_ctx): Renamed from
9372 libc_feresetround_noex_ctx.
9373 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
9374 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
9375 forwardning to the old implementations under the new names.
9376 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
9377 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
9378 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
9379 (libc_feresetround_ctx): Forward to default implements for i386
9380 and MATH_SET_BOTH_ROUNDING_MODES.
9381 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
9382 Add -DMATH_SET_BOTH_ROUNDING_MODES.
9384 2018-06-20 Joseph Myers <joseph@codesourcery.com>
9386 * string/tst-cmp.c: Include <libc-diag.h>.
9387 (strncmp_max): Disable -Wstringop-overflow= around call to
9389 (strncasecmp_max): Disable -Wstringop-overflow= around call to
9392 * string/bug-strpbrk1.c: Include <libc-diag.h>.
9393 (main): Disable -Wunused-value around call to strpbrk.
9394 * string/bug-strspn1.c: Include <libc-diag.h>.
9395 (main): Disable -Wunused-value around call to strspn.
9397 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9398 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9400 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
9401 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
9403 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9405 * math/Makefile (libm-calls): Move s_significandF to...
9406 (gen-libm-calls): ... here.
9407 * math/s_significand_template.c: New file.
9408 * math/s_significand.c: Removed.
9409 * math/s_significandf.c: Removed.
9410 * math/s_significandl.c: Removed.
9411 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
9412 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
9414 * math/e_exp2_template.c (declare_mgen_finite_alias,
9415 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
9416 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
9417 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
9419 2018-06-20 Florian Weimer <fweimer@redhat.com>
9421 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
9423 2018-06-19 Joseph Myers <joseph@codesourcery.com>
9426 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
9427 floating-point number to strtod functions rather than possibly
9428 negating result of those functions.
9429 * stdio-common/tst-scanf-round.c: New file.
9430 * stdio-common/Makefile (tests): Add tst-scanf-round.
9431 ($(objpfx)tst-scanf-round): Depend on $(libm).
9433 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
9435 * sysdeps/mach/hurd/localplt.data: Move to...
9436 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
9437 R_386_GLOB_DAT like on Linux i386.
9439 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9441 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
9442 (SHM_STAT_ANY): New macro.
9443 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
9444 (SHM_STAT_ANY): Likewise.
9445 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
9446 (SHM_STAT_ANY): Likewise.
9447 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
9448 (SHM_STAT_ANY): Likewise.
9449 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
9450 (SHM_STAT_ANY): Likewise.
9451 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
9452 (SHM_STAT_ANY): Likewise.
9453 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
9454 (SHM_STAT_ANY): Likewise.
9455 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
9456 (SHM_STAT_ANY): Likewise.
9457 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
9458 (SHM_STAT_ANY): Likewise.
9459 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
9460 (SHM_STAT_ANY): Likewise.
9461 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
9462 (SHM_STAT_ANY): Likewise.
9463 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
9464 (SHM_STAT_ANY): Likewise.
9466 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
9467 (SEM_STAT_ANY): New macro.
9468 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
9469 (SEM_STAT_ANY): Likewise.
9470 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
9471 (SEM_STAT_ANY): Likewise.
9472 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
9473 (SEM_STAT_ANY): Likewise.
9474 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
9475 (SEM_STAT_ANY): Likewise.
9476 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
9477 (SEM_STAT_ANY): Likewise.
9478 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
9479 (SEM_STAT_ANY): Likewise.
9480 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
9481 (SEM_STAT_ANY): Likewise.
9482 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
9483 (SEM_STAT_ANY): Likewise.
9484 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
9485 (SEM_STAT_ANY): Likewise.
9487 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
9488 (MSG_STAT_ANY): New macro.
9489 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
9490 (MSG_STAT_ANY): Likewise.
9491 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
9492 (MSG_STAT_ANY): Likewise.
9493 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
9494 (MSG_STAT_ANY): Likewise.
9495 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
9496 (MSG_STAT_ANY): Likewise.
9497 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
9498 (MSG_STAT_ANY): Likewise.
9499 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
9500 (MSG_STAT_ANY): Likewise.
9501 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
9502 (MSG_STAT_ANY): Likewise.
9503 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
9504 (MSG_STAT_ANY): Likewise.
9505 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
9506 (MSG_STAT_ANY): Likewise.
9508 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9509 (MAP_TYPE): Change value to 0x2b.
9511 2018-06-18 Florian Weimer <fweimer@redhat.com>
9514 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
9515 socket with SOCK_CLOEXEC.
9517 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9520 * sysdeps/powerpc/powerpc64/le/Makefile
9521 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
9522 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
9523 (gnulib-tests): Also add $(f128-loader-link) for
9524 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
9526 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
9528 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
9529 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
9531 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
9532 (sendfile64): New strong alias.
9533 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
9534 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
9535 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
9536 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
9538 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
9539 ___pthread_get_cleanup_stack.
9540 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
9541 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
9542 * mach/shortcut.awk: Make syscall stubs include
9543 <mach-shortcuts-hidden.h> and add hidden definition.
9544 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
9545 (__mach_msg): Add hidden prototype.
9546 * mach/msg.c: Include <mach.h>.
9547 (__mach_msg): Add hidden definition.
9548 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
9549 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
9550 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
9551 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
9552 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
9553 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
9554 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
9555 prototype and definition.
9556 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
9557 hidden target for _hurd_self_sigstate.
9559 2018-06-15 Joseph Myers <joseph@codesourcery.com>
9562 * stdlib/tst-strtod-nan-sign-main.c: New file.
9563 * stdlib/tst-strtod-nan-sign.c: Likewise.
9564 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
9565 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
9566 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
9567 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
9568 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
9570 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
9573 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
9576 2018-06-14 Florian Weimer <fweimer@redhat.com>
9579 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
9580 that the result stays within the ISO-8859-1 range.
9581 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
9582 characters are defined in IBM273.
9584 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
9586 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
9587 __mach_task_self): Remove attribute_hidden.
9589 2018-06-14 Joseph Myers <joseph@codesourcery.com>
9591 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
9592 ignore -Wrestrict for one test.
9594 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
9595 Szabolcs Nagy <szabolcs.nagy@arm.com>
9597 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
9599 2018-06-14 Florian Weimer <fweimer@redhat.com>
9601 * scripts/update-abilist.sh: Accept empty list of files to patch.
9603 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
9605 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
9606 test-xfail-check-abi-libmachuser): Add.
9607 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
9608 __libc_read and __libc_write to __read and __write.
9609 * sysdeps/hurd/include/hurd/port.h: New file.
9610 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
9611 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
9612 __thread_switch, __evc_wait): Move declarations to...
9613 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
9615 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
9616 use PLT to call _hurd_self_sigstate.
9618 2018-06-13 Joseph Myers <joseph@codesourcery.com>
9621 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
9622 MAX_EXP as overflowing.
9623 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
9625 (round_str): Output also whether result overflows in each rounding
9627 * stdlib/tst-strtod-round-data: Add more tests.
9628 * stdlib/tst-strtod-round-data.h: Regenerated.
9629 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
9630 (TEST): Handle extra arguments for overflow flags.
9631 (struct test_overflow): New type.
9632 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
9633 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
9634 (test_in_one_mode): Take argument with overflow information.
9635 (do_test): Update calls to test_in_one_mode.
9637 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9639 * elf/dl-load (_dl_dst_substitute): Correct comment.
9640 (_dl_dst_count): Likewise.
9642 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
9643 lll_futex_timed_wait.
9645 2018-06-12 Joseph Myers <joseph@codesourcery.com>
9648 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
9650 * math/test-nan-const.c: New file.
9651 * math/Makefile (tests): Add test-nan-const.
9652 (CFLAGS-test-nan-const.c): New variable.
9654 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9656 * benchtests/scripts/compare_strings.py (process_results): Add
9657 funcs argument. Compare only functions which are selected.
9658 (main): Check if base function is among selected functions.
9659 Pass selected functions to process_results.
9660 (__main__): Add -f/--functions argument.
9662 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
9663 Hongbo Zhang <hongbo.zhang@linaro.org>
9665 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
9666 __memcpy_falkor for phecda core.
9667 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
9668 __memmove_falkor for phecda core.
9669 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
9670 __memset_falkor for phecda core.
9671 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
9673 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
9674 macro to identify phecda core.
9676 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9677 Andreas Schwab <schwab@suse.de>
9678 Dmitry V. Levin <ldv@altlinux.org>
9679 Florian Weimer <fweimer@redhat.com>
9686 * elf/dl-dst.h: Remove DL_DST_COUNT.
9687 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
9688 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
9689 (is_dst): Comment. Support ELF gABI.
9690 (_dl_dst_count): Comment. Simplify and count DSTs.
9691 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
9692 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
9695 2018-06-12 Zack Weinberg <zackw@panix.com>
9697 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
9698 * sysdeps/unix/sysv/linux/dl-sysdep.c
9699 Include not-cancel.h. Use __close_nocancel instead of __close,
9700 __open64_nocancel instead of __open, __read_nocancel instead of
9701 __libc_read, and __write_nocancel instead of __libc_write.
9703 * csu/check_fds.c (check_one_fd)
9704 * sysdeps/posix/fdopendir.c (__fdopendir)
9705 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
9706 instead of __fcntl and/or __libc_fcntl.
9708 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
9709 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
9710 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
9711 Use __open64_nocancel instead of __open_nocancel.
9713 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
9714 hidden_proto declarations to the end and issue them if either
9715 IS_IN(libc) or IS_IN(rtld).
9716 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
9717 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
9718 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
9719 read_nocancel, waitpid_nocancel, write_nocancel.
9721 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
9722 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
9723 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
9725 * nptl/pt-fcntl.c: New file.
9726 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
9727 (libpthread-routines): Add pt-fcntl.
9728 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
9729 (__libc_fcntl): Remove attribute_hidden.
9730 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
9731 __fcntl_nocancel_adjusted, not fcntl_common.
9732 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
9733 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
9734 to fcntl_nocancel.c.
9735 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
9736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
9737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9738 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
9740 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
9741 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
9742 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
9743 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
9744 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
9745 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
9746 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
9747 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
9748 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
9749 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
9750 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
9751 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
9752 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
9753 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
9754 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
9755 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
9756 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
9757 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
9758 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
9759 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
9761 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
9762 libpthread-routines.
9763 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
9766 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
9767 __libc_read, and __write instead of __libc_write. Define
9768 __open64 in addition to __open.
9770 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9774 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
9775 to _private_tm[3] and add __glibc_reserved2.
9776 Add _Static_assert of offset of __private_ss == 0x30.
9777 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
9778 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
9780 2018-06-12 Florian Weimer <fweimer@redhat.com>
9782 x86: Make strncmp usable from rtld.
9783 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
9784 __strncmp_ia32 if in libc (and not in rtld).
9785 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
9786 strncmp if not in libc (and not to __strncmp_sse2).
9788 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
9791 * localedata/locales/gd_GB (mon): Rename to...
9793 (mon): Import from CLDR (genitive case).
9794 * localedata/locales/hsb_DE (mon): Rename to...
9796 (mon): Import from CLDR (genitive case).
9797 * localedata/locales/wa_BE (mon): Rename to...
9799 (mon): Add, fill with the proper genitive forms, but CLDR data
9800 is incomplete; completed according to the comments in this file.
9801 (d_t_fmt): Do not use "di" before the month name, no longer needed.
9803 * localedata/locales/wa_BE (country_name): Reword
9804 "Beljike" -> "Beldjike".
9806 2018-06-11 Joseph Myers <joseph@codesourcery.com>
9809 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
9810 cases of non-finite arguments.
9811 * math/libm-test-fma.inc (fma_test_data): Add more tests.
9813 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
9816 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
9818 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9821 * include/unistd.h (__execvpex): New prototype.
9822 * posix/Makefile (tests): Add tst-spawn4.
9823 (tests-internal): Add tst-spawn4-compat.
9824 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
9825 * posix/tst-spawn4-compat.c: New file.
9826 * posix/tst-spawn4.c: Likewise.
9827 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
9828 binaries as shell scripts.
9829 * sysdeps/posix/spawni.c (__spawni): Likewise.
9831 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
9834 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
9835 ($(all-built-dso:=.dynsym): New target.
9836 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
9837 ($(objpfx)check-initfini.out): New target.
9838 (generated): Add check-initfini.out.
9839 * scripts/check-initfini.awk: New file.
9840 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
9842 * sysdeps/alpha/crti.S (_init): Mark as hidden.
9844 * sysdeps/arm/crti.S (_init): Mark as hidden.
9846 * sysdeps/hppa/crti.S (_init): Mark as hidden.
9848 * sysdeps/i386/crti.S (_init): Mark as hidden.
9850 * sysdeps/ia64/crti.S (_init): Mark as hidden.
9852 * sysdeps/m68k/crti.S (_init): Mark as hidden.
9854 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
9856 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
9858 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
9860 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
9862 * sysdeps/nios2/crti.S (_init): Mark as hidden.
9864 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
9866 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
9868 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
9870 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
9872 * sysdeps/sh/crti.S (_init): Mark as hidden.
9874 * sysdeps/sparc/crti.S (_init): Mark as hidden.
9876 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
9879 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9881 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
9882 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
9883 and TF redirection to KFtype and KF only when the default
9884 long double type is not the IEEE 128-bit floating point type.
9886 2018-06-05 Joseph Myers <joseph@codesourcery.com>
9888 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
9890 (HWCAP_USCAT): Likewise.
9891 (HWCAP_ILRCPC): Likewise.
9892 (HWCAP_FLAGM): Likewise.
9893 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
9895 (_dl_aarch64_cap_flags): Add new flag names.
9897 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
9898 (MAP_FIXED_NOREPLACE): New macro.
9899 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
9900 (MAP_FIXED_NOREPLACE): Likewise.
9901 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
9902 (MAP_FIXED_NOREPLACE): Likewise.
9903 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9904 (MAP_FIXED_NOREPLACE): Likewise.
9905 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
9906 (MAP_FIXED_NOREPLACE): Likewise.
9907 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
9908 (MAP_FIXED_NOREPLACE): Likewise.
9909 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
9910 (MAP_FIXED_NOREPLACE): Likewise.
9911 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
9912 (MAP_FIXED_NOREPLACE): Likewise.
9913 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
9914 (MAP_FIXED_NOREPLACE): Likewise.
9915 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
9916 (MAP_FIXED_NOREPLACE): Likewise.
9917 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
9918 (MAP_FIXED_NOREPLACE): Likewise.
9919 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
9920 (MAP_FIXED_NOREPLACE): Likewise.
9921 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
9922 (MAP_FIXED_NOREPLACE): Likewise.
9923 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
9924 (MAP_FIXED_NOREPLACE): Likewise.
9925 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
9926 (MAP_FIXED_NOREPLACE): Likewise.
9928 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9931 2018-06-04 Joseph Myers <joseph@codesourcery.com>
9933 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9936 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9938 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
9940 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
9942 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9944 * benchtests/scripts/compare_string.py: (process_results) Catch
9945 exception in non-existent base_func and catch exception in
9946 non-existent attribute.
9947 (parse_file) Catch exception if input file does not exist.
9949 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9951 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
9952 options to avoid diff calculation and omit header, respectively.
9953 (main): process --no-diff and --no-header
9955 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9956 H.J. Lu <hongjiu.lu@intel.com>
9958 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9959 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
9961 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9962 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
9963 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
9965 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
9966 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
9967 AVX unaligned load is fast and vzeroupper is preferred.
9968 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
9969 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
9970 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
9971 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
9972 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
9973 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
9974 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
9975 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
9976 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
9977 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
9980 2018-06-01 Florian Weimer <fweimer@redhat.com>
9982 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
9983 configuring with --disable-multi-arch, building with
9984 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
9987 2018-06-01 Florian Weimer <fweimer@redhat.com>
9989 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
9990 results from building with “-march=x86-64 -mtune=generic
9991 -mfpmath=sse” and running on a Haswell-era CPU.
9993 2018-06-01 Joseph Myers <joseph@codesourcery.com>
9996 * soft-fp/sqrttf2.c: Remove file.
9997 * soft-fp/sqrtdf2.c: Move to ....
9998 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
10000 (__sqrtdf2): Make conditional on
10001 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10003 * soft-fp/sqrtsf2.c: Move to ....
10004 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
10006 (__sqrtsf2): Make conditional on
10007 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10009 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
10010 (gcc-double-routines): Remove sqrtdf2.
10011 (gcc-quad-routines): Remove sqrttf2.
10012 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10013 Do not filter out sqrtsf2 and sqrtdf2.
10014 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10015 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
10017 2018-06-01 Florian Weimer <fweimer@redhat.com>
10019 * sysdeps/generic/libcidn.abilist: Remove file.
10021 2018-06-01 Florian Weimer <fweimer@redhat.com>
10024 * libio/strfile.h (struct _IO_str_fields): Rename members to
10025 discourage their use and add comment.
10026 (_IO_STR_DYNAMIC): Remove unused macro.
10027 * libio/strops.c (_IO_str_init_static_internal): Do not use
10028 callback pointers. Call malloc and free.
10029 (_IO_str_overflow): Do not use callback pointers. Call malloc
10031 (enlarge_userbuf): Likewise.
10032 (_IO_str_finish): Call free.
10033 * libio/wstrops.c (_IO_wstr_init_static): Initialize
10034 _allocate_buffer_unused.
10035 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
10037 (enlarge_userbuf): Likewise.
10038 (_IO_wstr_finish): Call free.
10039 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
10040 _allocate_buffer_unused, _free_buffer_unused.
10041 * libio/memstream.c (__open_memstream): Likewise.
10042 * libio/vasprintf.c (_IO_vasprintf): Likewise.
10043 * libio/wmemstream.c (open_wmemstream): Likewise.
10045 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10047 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
10050 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10052 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
10053 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
10054 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
10056 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
10058 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
10060 2018-05-29 Florian Weimer <fweimer@redhat.com>
10062 * support/Makefile (libsupport-routines): Add
10063 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
10064 xpthread_barrierattr_setpshared.
10065 * support/xpthread_barrierattr_destroy.c: New file.
10066 * support/xpthread_barrierattr_init.c: Likewise.
10067 * support/xpthread_barrierattr_setpshared.c: Likewise.
10069 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
10072 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
10073 _r_debug and update DT_DEBUG for debugger.
10075 2018-05-29 Florian Weimer <fweimer@redhat.com>
10077 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
10078 (tst-strtod5i.out): Likewise.
10080 2018-05-25 Joseph Myers <joseph@codesourcery.com>
10082 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
10083 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
10084 (sparc64-quad-routines): New variable. Moved from ....
10085 [$(subdir) = soft-fp] (sysdep_routines): Add
10086 $(sparc64-quad-routines). Moved from ....
10087 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
10088 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
10089 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
10091 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
10092 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
10093 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
10094 * sysdeps/sparc/sparc64/qp_add.c: ... here.
10095 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
10096 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
10097 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
10098 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
10099 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
10100 * sysdeps/sparc/sparc64/qp_div.c: ... here.
10101 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
10102 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
10103 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
10104 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
10105 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
10106 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
10107 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
10108 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
10109 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
10110 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
10111 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
10112 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
10113 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
10114 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
10115 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
10116 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
10117 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
10118 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
10119 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
10120 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
10121 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
10122 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
10123 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
10124 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
10125 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
10126 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
10127 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
10128 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
10129 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
10130 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
10131 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
10132 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
10133 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
10134 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
10135 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
10136 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
10137 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
10138 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
10139 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
10140 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
10141 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
10142 * sysdeps/sparc/sparc64/qp_util.c: ... here.
10143 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
10144 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
10145 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
10146 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
10147 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
10148 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
10150 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
10151 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
10152 (sparc32-quad-routines): New variable. Moved from ....
10153 [$(subdir) = soft-fp] (sysdep_routines): Add
10154 $(sparc32-quad-routines). Moved from ....
10155 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
10156 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
10158 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
10159 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
10160 * sysdeps/sparc/sparc32/q_add.c: ... here.
10161 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
10162 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
10163 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
10164 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
10165 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
10166 * sysdeps/sparc/sparc32/q_div.c: ... here.
10167 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
10168 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
10169 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
10170 * sysdeps/sparc/sparc32/q_feq.c: ... here.
10171 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
10172 * sysdeps/sparc/sparc32/q_fge.c: ... here.
10173 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
10174 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
10175 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
10176 * sysdeps/sparc/sparc32/q_fle.c: ... here.
10177 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
10178 * sysdeps/sparc/sparc32/q_flt.c: ... here.
10179 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
10180 * sysdeps/sparc/sparc32/q_fne.c: ... here.
10181 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
10182 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
10183 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
10184 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
10185 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
10186 * sysdeps/sparc/sparc32/q_mul.c: ... here.
10187 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
10188 * sysdeps/sparc/sparc32/q_neg.c: ... here.
10189 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
10190 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
10191 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
10192 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
10193 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
10194 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
10195 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
10196 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
10197 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
10198 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
10199 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
10200 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
10201 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
10202 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
10203 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
10204 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
10205 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
10206 * sysdeps/sparc/sparc32/q_sub.c: ... here.
10207 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
10208 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
10209 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
10210 * sysdeps/sparc/sparc32/q_util.c: ... here.
10211 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
10212 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
10213 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
10214 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
10216 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10217 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10219 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
10220 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
10221 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
10222 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
10224 2018-05-24 Joseph Myers <joseph@codesourcery.com>
10226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
10228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10230 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
10231 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
10233 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10236 * math/math.h [C++] (iseqsig): Fix parameter type for the long
10239 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10241 * sysdeps/sh/Implies: Remove sh/soft-fp.
10242 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
10243 * sysdeps/sh/sfp-machine.h: ... here.
10245 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10247 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10248 (__mempcpy_erms): Skip zero length.
10249 (__memmove_erms): Likewise.
10250 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10251 (__memset_erms): Likewise.
10253 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10255 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
10256 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10257 Add functions moved from ....
10258 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
10259 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
10260 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
10262 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
10263 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
10264 * sysdeps/alpha/e_sqrtl.c: ... here.
10265 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
10266 * sysdeps/alpha/local-soft-fp.h: ... here.
10267 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
10268 * sysdeps/alpha/ots_add.c: ... here.
10269 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
10270 * sysdeps/alpha/ots_cmp.c: ... here.
10271 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
10272 * sysdeps/alpha/ots_cmpe.c: ... here.
10273 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
10274 * sysdeps/alpha/ots_cvtqux.c: ... here.
10275 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
10276 * sysdeps/alpha/ots_cvtqx.c: ... here.
10277 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
10278 * sysdeps/alpha/ots_cvttx.c: ... here.
10279 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
10280 * sysdeps/alpha/ots_cvtxq.c: ... here.
10281 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
10282 * sysdeps/alpha/ots_cvtxt.c: ... here.
10283 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
10284 * sysdeps/alpha/ots_div.c: ... here.
10285 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
10286 * sysdeps/alpha/ots_mul.c: ... here.
10287 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
10288 * sysdeps/alpha/ots_nintxq.c: ... here.
10289 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
10290 * sysdeps/alpha/ots_sub.c: ... here.
10291 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
10292 * sysdeps/alpha/sfp-machine.h: ... here.
10294 2018-05-23 Florian Weimer <fweimer@redhat.com>
10302 Switch to extern IDNA implementation (libidn2).
10303 * libidn: Remove subdirectory.
10304 * LICENSES: Do not mention licensing conditions for the removed
10306 * config.h.in (HAVE_LIBIDN): Remove.
10307 * include/dlfcn.h (__libc_dlopen): Update comment.
10308 * include/idna.h: Remove file.
10309 * inet/Makefile (routines): Add idna.
10310 (tests-static, tests-internal): Add tst-idna_name_classify.
10311 (LOCALES): Generate locales for tests.
10312 (tst-idna_name_classify.out): Depend on generated locales.
10313 * inet/idna_name_classify.c: New file.
10314 * inet/tst-idna_name_classify.c: Likewise.
10315 * inet/net-internal.h (__idna_to_dns_encoding)
10316 (__idna_from_dns_encoding): Declare.
10317 * inet/net-internal.h (enum idna_name_classification): Define.
10318 (__idna_name_classify): Declare.
10319 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
10320 __idna_from_dns_encoding.
10321 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
10322 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
10323 name as a fallback in case of encoding errors.
10324 (getnameinfo): Use DEPRECATED_NI_IDN.
10325 * inet/idna.c: New file.
10326 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
10327 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
10328 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
10329 (modules-names): Add tst-no-libidn2.
10330 (extra-test-objs): Add tst-no-libidn2.os.
10331 (LDFLAGS-tst-no-libidn2.so): Set soname.
10332 (LOCALES): Set, and generate locales.
10333 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
10334 (tst-resolv-ai_idn-latin1): Likewise.
10335 (tst-resolv-ai_idn-nolibidn2): Likewise.
10336 (tst-resolv-ai_idn.out): Depend on locales.
10337 (tst-resolv-ai_idn-latin1.out): Depend on locales.
10338 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
10340 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
10341 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
10342 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
10343 * resolv/tst-resolv-ai_idn.c: New file.
10344 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
10345 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
10346 * resolv/tst-no-libidn2.c: Likewise.
10347 * support/support_format_addrinfo.c (format_ai_flags): Do not
10348 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
10349 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
10350 (gaih_inet): Call __idna_to_dns_encoding and
10351 __idna_from_dns_encoding, and use the original (punycode) name if
10352 __idna_from_dns_encoding fails due to an encoding error.
10353 (getaddrinfo): Use DEPRECATED_AI_IDN.
10354 * sysdeps/unix/inet/Subdirs (libidn): Remove.
10355 * sysdeps/unix/inet/configure: Remove file.
10356 * sysdeps/unix/inet/configure.ac: Likewise.
10358 2018-05-23 Florian Weimer <fweimer@redhat.com>
10360 Implement allocate_once.
10361 * include/allocate_once.h: New file.
10362 * misc/allocate_once.c: Likewise.
10363 * misc/tst-allocate_once.c: Likewise.
10364 * misc/Makefile (routines): Add allocate_once.
10365 (tests-internal): Add tst-allocate_once.
10366 (generated): Add tst-allocate_once.mtrace,
10367 tst-allocate_once-mem.out.
10368 (tests-special): Add tst-allocate_once-mem.out.
10369 (tst-allocate_once-ENV): Set MALLOC_TRACE.
10370 (tst-allocate_once-mem.out): Call mtrace.
10371 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
10373 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10376 * string/test-memcpy.c (do_test1): New function.
10377 (test_main): Call it.
10379 2018-05-23 Andreas Schwab <schwab@suse.de>
10383 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
10384 (L(preloop_large)): Save initial destination pointer in %r11 and
10385 use it instead of %rax after the loop.
10386 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
10388 2018-05-22 Joseph Myers <joseph@codesourcery.com>
10390 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
10391 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
10392 -I../soft-fp. Moved from ....
10393 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
10394 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
10395 * sysdeps/aarch64/e_sqrtl.c: ... here.
10396 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
10397 * sysdeps/aarch64/sfp-machine.h: ... here.
10399 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
10400 -Wmaybe-uninitialized around access to fq[0].
10401 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10405 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
10406 aliases for non-libc case of versioned symbols.
10407 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
10408 (llseek): Define as compat symbol if
10409 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
10411 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
10412 Make into a compat symbol, disabled for minimum symbol version
10413 GLIBC_2.28 and later.
10414 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
10416 2018-05-22 Florian Weimer <fweimer@redhat.com>
10418 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
10419 not add -mpreferred-stack-boundary=4.
10420 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
10421 (stack-align-test-flags): Likewise.
10422 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
10424 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
10425 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
10426 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
10427 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
10428 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
10429 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
10430 (CFLAGS-tst-align2.c): Likewise.
10432 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10434 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
10435 (index_arch_Prefer_FSRM): Likewise.
10436 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
10437 Also check Prefer_FSRM.
10438 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
10439 Also return OPTIMIZE (erms) for Prefer_FSRM.
10441 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10443 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
10444 (index_cpu_FSRM): Likewise.
10445 (reg_FSRM): Likewise.
10447 2018-05-18 Joseph Myers <joseph@codesourcery.com>
10449 * math/gen-tgmath-tests.py: Import sys.
10450 (Tests.__init__): Initialize macros_seen.
10451 (Tests.add_tests): Add macro to macros_seen. Only generate tests
10452 if requested to do so for this macro.
10453 (Tests.add_all_tests): Take argument for macro for which to
10455 (Tests.check_macro_list): New function.
10456 (main): Handle check-list argument and argument specifying macro
10457 for which to generate tests.
10458 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
10459 [PYTHON] (tgmath3-macro-tests): Likewise.
10460 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
10461 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
10462 not test-tgmath3.c.
10463 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
10464 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
10466 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
10467 [PYTHON] ($(foreach
10468 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
10470 [PYTHON] (tests-special): Add
10471 $(objpfx)test-tgmath3-macro-list.out.
10472 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
10474 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
10475 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
10479 * time/tzset.c (SECSPERDAY): Cast to time_t.
10480 * time/tst-y2039.c: New file.
10481 * time/Makefile (tests): Add tst-y2039.
10483 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10485 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10486 (PREFETCH_ONE_SET): Remove duplicate line.
10488 2018-05-17 Florian Weimer <fweimer@redhat.com>
10490 * sysdeps/generic/math-type-macros-double.h: Include
10491 <math-nan-payload-double.h> after <libm-alias-double.h>.
10492 * sysdeps/generic/math-type-macros-float.h: Include
10493 <math-nan-payload-float.h> after <libm-alias-float.h>.
10494 * sysdeps/generic/math-type-macros-float128.h: Include
10495 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
10496 * sysdeps/generic/math-type-macros-ldouble.h: Include
10497 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
10499 2018-05-17 Andreas Schwab <schwab@suse.de>
10501 * resolv/res_send.c (__res_context_send): Don't set errno when
10502 returing error after malloc failure.
10504 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
10506 * nptl/allocatestack.c (allocate_stack): Remove the
10507 !__ASSUME_PRIVATE_FUTEX paths.
10508 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
10509 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10511 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
10512 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10513 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10514 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10515 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
10516 !__ASSUME_PRIVATE_FUTEX path.
10517 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
10518 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
10519 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10520 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
10521 !__ASSUME_PRIVATE_FUTEX macros.
10522 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10523 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10524 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10525 * sysdeps/unix/sysv/linux/kernel-features.h
10526 (__ASSUME_PRIVATE_FUTEX): Removed.
10528 2018-05-17 Joseph Myers <joseph@codesourcery.com>
10530 * math/Makefile (libm-narrow-fns): Add div.
10531 (libm-test-funcs-narrow): Likewise.
10532 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
10533 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
10534 * math/gen-auto-libm-tests.c (test_functions): Add div.
10535 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
10536 (NARROW_DIV_ROUND_TO_ODD): Likewise.
10537 (NARROW_DIV_TRIVIAL): Likewise.
10538 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
10540 (__ddivl): Likewise.
10541 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
10543 (CFLAGS-nldbl-ddiv.c): New variable.
10544 (CFLAGS-nldbl-fdiv.c): Likewise.
10545 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10547 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
10549 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
10550 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
10551 * math/auto-libm-test-in: Add tests of div.
10552 * math/auto-libm-test-out-narrow-div: New generated file.
10553 * math/libm-test-narrow-div.inc: New file.
10554 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
10555 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
10556 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
10557 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
10558 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
10559 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
10560 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
10561 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
10562 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
10563 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
10564 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
10565 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
10566 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
10567 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
10568 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
10569 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
10570 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
10571 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
10572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10573 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10574 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10575 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10576 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10577 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10578 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10579 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10580 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10581 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10582 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10583 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10584 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10585 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10590 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10591 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10592 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10593 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10594 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10595 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10596 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10597 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10599 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10602 * nscd/nscd-client.h (sendfileall): Remove prototype.
10603 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
10604 (handle_request): Use writeall instead of sendfileall.
10605 * nscd/aicache.c (addhstaiX): Likewise.
10606 * nscd/grpcache.c (cache_addgr): Likewise.
10607 * nscd/hstcache.c (cache_addhst): Likewise.
10608 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10609 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
10610 * nscd/pwdcache.c (cache_addpw): Likewise.
10611 * nscd/servicescache.c (cache_addserv): Likewise.
10612 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
10613 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
10614 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
10617 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
10619 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
10620 Include <string/strncat.c>.
10621 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
10623 (__GI___strncat): New hidden alias.
10625 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10627 * sysdeps/mips/mips32/libm-test-ulps: Update.
10628 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10630 2018-05-16 Florian Weimer <fweimer@redhat.com>
10632 * support/Makefile (libsupport-routines): Add support_quote_blob,
10633 support_test_compare_blob.
10634 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
10635 * support/check.h (TEST_COMPARE_BLOB): Define.
10636 (support_test_compare_blob): Declare.
10637 * support/support.h (support_quote_blob): Declare.
10638 * support/support_quote_blob.c: New file.
10639 * support/support_test_compare_blob.c: Likewise.
10640 * support/tst-support_quote_blob.c: Likewise.
10641 * support/tst-test_compare_blob.c: Likewise.
10643 2018-05-16 Florian Weimer <fweimer@redhat.com>
10645 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
10646 of <strtod_nan_double.h>.
10647 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
10648 instead of SET_MANTISSA.
10649 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
10650 of include <strtod_nan_float.h>.
10651 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
10652 instead of <strtod_nan_ldouble.h>.
10653 * stdlib/strtod_nan_double.h: Move to ...
10654 * sysdeps/generic/math-nan-payload-double.h: ... here.
10655 (FLOAT): Remove definition.
10656 (SET_MANTISSA): Rename to ...
10657 (SET_NAN_PAYLOAD): ... this.
10658 * stdlib/strtod_nan_float.h: Move to ...
10659 * sysdeps/generic/math-nan-payload-float.h: ... here.
10660 (FLOAT): Remove definition.
10661 (SET_MANTISSA): Rename to ...
10662 (SET_NAN_PAYLOAD): ... this.
10663 * sysdeps/generic/math-type-macros-double.h: Include
10664 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
10665 instead of <math-svid-compat.h>.
10666 * sysdeps/generic/math-type-macros-float.h: Include
10667 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
10668 instead of <math-svid-compat.h>.
10669 * sysdeps/generic/math-type-macros-float128.h: Include
10670 <math-nan-payload-float128.h>.
10671 * sysdeps/generic/math-type-macros-ldouble.h: Include
10672 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
10673 instead of <math-svid-compat.h>.
10674 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
10675 check for definition.
10676 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
10677 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
10678 Include <ieee754_float128.h>.
10679 (FLOAT): Remove definition.
10680 (SET_MANTISSA): Rename to ...
10681 (SET_NAN_PAYLOAD): ... this.
10682 * sysdeps/ieee754/float128/strtof128_nan.c: Include
10683 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
10684 Do not include <float128_private.h>.
10685 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
10686 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
10687 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
10688 (FLOAT): Remove definition.
10689 (SET_MANTISSA): Rename to ...
10690 (SET_NAN_PAYLOAD): ... this.
10691 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
10692 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
10693 (FLOAT): Remove definition.
10694 (SET_MANTISSA): Rename to ...
10695 (SET_NAN_PAYLOAD): ... this.
10696 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
10697 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
10698 (FLOAT): Remove definition.
10699 (SET_MANTISSA): Rename to ...
10700 (SET_NAN_PAYLOAD): ... this.
10701 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
10702 of "../stdlib/strtod_nan_double.h".
10703 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
10704 of "../stdlib/strtod_nan_float.h".
10705 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
10706 instead of "../stdlib/strtod_nan_ldouble.h".
10707 * manual/arith.texi (Parsing of Floats): Adjust comment.
10709 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10711 * math/Makefile (libm-narrow-fns): Add mul.
10712 (libm-test-funcs-narrow): Likewise.
10713 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
10714 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
10715 * math/gen-auto-libm-tests.c (test_functions): Add mul.
10716 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
10717 (NARROW_MUL_ROUND_TO_ODD): Likewise.
10718 (NARROW_MUL_TRIVIAL): Likewise.
10719 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
10720 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
10722 (__dmull): Likewise.
10723 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
10725 (CFLAGS-nldbl-dmul.c): New variable.
10726 (CFLAGS-nldbl-fmul.c): Likewise.
10727 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10729 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
10731 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
10732 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
10733 * math/auto-libm-test-in: Add tests of mul.
10734 * math/auto-libm-test-out-narrow-mul: New generated file.
10735 * math/libm-test-narrow-mul.inc: New file.
10736 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
10737 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
10738 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
10739 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
10740 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
10741 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
10742 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
10743 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
10744 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
10745 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
10746 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
10747 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
10748 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
10749 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
10750 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
10751 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
10752 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
10753 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
10754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10755 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10756 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10757 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10758 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10759 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10760 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10761 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10762 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10763 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10764 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10765 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10766 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10767 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10772 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10773 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10774 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10775 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10776 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10777 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10778 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10779 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10781 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10783 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
10784 with *%eax in call.
10786 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10788 * sysdeps/i386/ldsodefs.h: Removed.
10789 * sysdeps/x86_64/ldsodefs.h: Moved to ...
10790 * sysdeps/x86/ldsodefs.h: This.
10791 (La_i86_regs): New.
10792 (La_i86_retval): Likewise.
10793 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
10794 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
10796 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10798 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
10801 2018-05-13 Alan Modra <amodra@gmail.com>
10803 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
10804 R_PARISC_TLS_DTPOFF32 reloc addend.
10806 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10808 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
10809 * math/math.h: Restrict the prototype definition for the functions
10810 issignaling(_Float128) and iszero(_Float128); and template
10811 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
10812 __HAVE_FLOAT128_UNLIKE_LDBL.
10813 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
10814 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
10815 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
10816 __f128() constants; define the type _Float128 as long double;
10817 and reuse long double in __CFLOAT128.
10819 2018-05-11 Joseph Myers <joseph@codesourcery.com>
10821 * sysdeps/generic/math_private.h: Do not include
10823 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
10825 * math/fromfp.h: Include <math-barriers.h>.
10826 * math/math-narrow.h: Likewise.
10827 * math/s_nextafter.c: Likewise.
10828 * math/s_nexttowardf.c: Likewise.
10829 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
10830 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
10831 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
10832 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
10833 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10834 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10835 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10836 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10837 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10838 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10839 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10840 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10841 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10842 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10843 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10844 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10845 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10846 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10847 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10848 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10849 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10850 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10851 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10852 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10853 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10854 * sysdeps/ieee754/k_standardl.c: Likewise.
10855 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10856 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10857 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10858 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10859 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10860 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10861 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10862 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10863 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10864 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10865 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10866 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10867 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10868 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10869 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10870 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10871 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10872 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10873 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10874 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10875 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
10876 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
10878 2018-05-11 Florian Weimer <fweimer@redhat.com>
10880 Use 64-bit epoch values in the time zone file parser.
10881 * include/time.h (internal_time_t): Define.
10882 (__tzfile_compute): Use it.
10883 * time/tzfile.c (struct leap): Use internal_time_t for epoch
10885 (transitions): Switch to internal_time_t.
10886 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
10888 (__tzfile_compute): Use internal_time_t for timer argument. Check
10889 for truncation before calling __offtime.
10891 2018-05-11 Florian Weimer <fweimer@redhat.com>
10894 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
10895 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
10897 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
10898 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
10899 export without --enable-obsolete-rpc.
10900 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
10901 symbol. This should not have been exported, ever.
10903 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
10906 * localedata/locales/gd_GB (abmon): Fix typo in May:
10907 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
10909 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10911 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10912 Use multiple registers to copy data in loop tail.
10914 * sysdeps/aarch64/multiarch/memmove_falkor.S
10915 (__memmove_falkor): Use multiple registers to move data in
10918 2018-05-10 Joseph Myers <joseph@codesourcery.com>
10920 * math/math-underflow.h: New file.
10921 * sysdeps/generic/math_private.h: Do not include <float.h>.
10922 (fabs_tg): Remove macro. Moved to math-underflow.h.
10923 (min_of_type_f): Likewise.
10924 (min_of_type_): Likewise.
10925 (min_of_type_l): Likewise.
10926 (min_of_type_f128): Likewise.
10927 (min_of_type): Likewise.
10928 (math_check_force_underflow): Likewise.
10929 (math_check_force_underflow_nonneg): Likewise.
10930 (math_check_force_underflow_complex): Likewise.
10931 * math/e_exp2_template.c: Include <math-underflow.h>.
10932 * math/k_casinh_template.c: Likewise.
10933 * math/s_catan_template.c: Likewise.
10934 * math/s_catanh_template.c: Likewise.
10935 * math/s_ccosh_template.c: Likewise.
10936 * math/s_cexp_template.c: Likewise.
10937 * math/s_clog10_template.c: Likewise.
10938 * math/s_clog_template.c: Likewise.
10939 * math/s_csin_template.c: Likewise.
10940 * math/s_csinh_template.c: Likewise.
10941 * math/s_csqrt_template.c: Likewise.
10942 * math/s_ctan_template.c: Likewise.
10943 * math/s_ctanh_template.c: Likewise.
10944 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10945 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10946 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10947 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10948 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10949 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10950 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10951 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10952 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10953 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10954 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10955 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10956 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10957 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10958 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10959 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10960 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10961 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10962 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10963 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10964 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10965 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10966 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10967 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10968 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10969 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10970 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10971 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10972 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10973 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10974 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10975 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10976 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10977 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10978 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10979 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10980 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10981 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10982 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10983 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10984 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10985 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10986 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10987 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10988 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10989 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10990 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10991 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10992 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10993 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10994 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10995 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10996 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10997 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10998 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10999 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11000 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11001 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11002 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11003 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11004 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11005 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11006 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11007 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11008 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11009 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11010 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11011 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11012 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11013 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11014 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11015 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11016 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11017 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
11018 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11019 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11020 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11021 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11022 * sysdeps/x86/fpu/powl_helper.c: Likewise.
11023 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
11024 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
11025 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11026 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
11027 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
11029 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11031 * sysdeps/generic/math-barriers.h: New file.
11032 * sysdeps/generic/math_private.h [!math_opt_barrier]
11033 (math_opt_barrier): Move to math-barriers.h.
11034 [!math_opt_barrier] (math_force_eval): Likewise.
11035 * sysdeps/aarch64/fpu/math-barriers.h: New file.
11036 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
11038 (math_force_eval): Likewise.
11039 * sysdeps/alpha/fpu/math-barriers.h: New file.
11040 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
11042 (math_force_eval): Likewise.
11043 * sysdeps/x86/fpu/math-barriers.h: New file.
11044 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
11046 (math_force_eval): Likewise.
11047 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
11048 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
11049 multiple-include guard for rename.
11050 * sysdeps/powerpc/fpu/math-barriers.h: New file.
11051 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
11053 (math_force_eval): Likewise.
11055 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
11059 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
11061 * stdlib/Makefile (test-bz22786): New test.
11062 * stdlib/test-bz22786.c: New test.
11064 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11066 * include/math-narrow-eval.h: New file. Contents moved from ....
11067 * sysdeps/generic/math_private.h: ... here.
11068 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
11069 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11070 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
11071 * stdlib/strtod_l.c: Likewise.
11072 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11073 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11074 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11075 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11076 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11077 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11078 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11079 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11080 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11081 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11082 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11083 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11084 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11085 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11086 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11087 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11088 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11089 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11090 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11091 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11092 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11093 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11094 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11095 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11096 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11097 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11098 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11099 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11100 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11102 2018-05-08 Andreas Schwab <schwab@suse.de>
11104 * sysdeps/nptl/internaltypes.h: Fix comment.
11106 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
11108 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11109 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
11112 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11114 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
11115 of I into loop header.
11116 * benchtests/bench-memmove-walk.c
11117 (test_main): Likewise.
11119 2018-05-07 Alexandre Oliva <oliva@gnu.org>
11122 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11123 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11125 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11128 * elf/dl-load.c (open_verify): Fix stack overflow.
11129 * elf/Makefile (tst-big-note): New test.
11130 * elf/tst-big-note-lib.S: New.
11131 * elf/tst-big-note.c: New.
11133 2018-05-04 Joseph Myers <joseph@codesourcery.com>
11135 * scripts/abilist.awk: Ignore absolute symbols.
11136 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
11137 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
11138 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
11139 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
11140 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
11141 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
11142 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11143 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
11144 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
11145 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
11146 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
11147 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
11148 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
11149 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
11150 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
11151 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11152 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
11153 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
11154 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11155 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
11156 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11157 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
11158 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
11159 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
11160 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
11161 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
11162 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
11163 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
11164 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11165 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
11166 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
11167 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11168 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
11169 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11170 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
11171 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
11172 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
11173 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
11174 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
11175 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
11176 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
11177 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11178 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
11179 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
11180 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11181 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
11182 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11183 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
11184 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
11185 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
11186 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
11187 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
11188 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
11189 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
11190 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11191 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
11192 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
11193 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11194 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
11195 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11196 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
11197 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
11198 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
11199 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
11200 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
11201 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
11202 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
11203 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11204 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
11205 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
11206 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11207 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
11208 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11209 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
11210 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
11211 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
11212 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
11213 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
11214 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
11215 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
11216 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11217 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
11218 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
11219 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11220 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
11221 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11222 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
11223 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
11224 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
11225 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
11226 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
11227 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11229 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
11230 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11231 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
11232 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
11233 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11234 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
11235 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11236 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
11237 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
11238 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
11239 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
11240 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
11241 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11243 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
11244 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11245 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
11246 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
11247 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11248 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
11249 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11250 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
11251 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
11252 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
11253 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
11254 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
11255 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
11256 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
11257 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11258 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
11259 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
11260 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11261 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
11262 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11263 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
11264 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
11265 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
11266 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
11267 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11268 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
11269 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11271 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
11272 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
11273 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
11274 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
11275 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11276 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
11277 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
11278 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
11279 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
11280 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
11281 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
11282 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
11283 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
11284 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11285 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
11286 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
11287 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
11288 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
11289 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11290 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11292 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
11293 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
11294 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
11295 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11296 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
11297 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11298 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
11299 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
11300 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
11301 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
11302 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11303 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
11304 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
11305 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11306 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
11307 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
11308 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
11309 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
11310 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11311 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
11312 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
11313 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11314 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
11315 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11316 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
11317 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
11318 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
11319 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
11320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
11321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
11323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
11326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
11327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
11328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
11329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
11333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
11334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
11337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
11349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
11350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
11355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
11356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
11357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
11361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
11362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
11370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
11371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
11372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
11379 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
11380 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
11382 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
11383 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11384 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
11385 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
11386 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11387 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
11388 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11389 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
11390 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
11391 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
11392 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
11393 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
11394 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
11395 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11397 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11398 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
11399 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
11400 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11401 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
11402 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11403 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
11404 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
11405 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
11406 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
11407 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
11408 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11410 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11411 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
11412 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
11413 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11414 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
11415 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11416 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
11417 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
11418 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
11419 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
11420 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
11421 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
11422 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
11423 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11424 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
11425 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
11426 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11427 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
11428 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11429 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
11430 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
11431 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
11432 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
11433 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
11434 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11436 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
11437 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11438 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
11439 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
11440 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11441 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
11442 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11443 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
11444 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
11445 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
11446 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
11447 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
11448 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11450 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
11451 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11452 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
11453 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
11454 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11455 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
11456 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11457 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
11458 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
11459 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
11460 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
11461 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
11462 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
11463 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
11464 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11465 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
11466 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
11467 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11468 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
11469 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11470 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
11471 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
11472 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
11473 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
11474 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
11475 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
11476 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
11477 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
11478 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11479 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
11480 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
11481 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11482 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
11483 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11484 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
11485 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
11486 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
11487 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
11489 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
11492 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
11493 Use atomic_load_acquire to load __tid.
11495 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11497 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
11498 Restore the pointer into %rdx, after syscall and use %rdx,
11499 instead of %rsi, to restore context.
11501 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11503 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
11504 Pop the pointer into %rdx after syscall and use %rdx, instead
11505 of %rsi, to restore context.
11507 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11509 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
11510 handlers after setjmp.
11511 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
11513 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
11514 <libc-pointer-arith.h>.
11515 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
11516 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
11517 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
11518 _JUMP_BUF_SIGSET_BITS_PER_WORD.
11519 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
11520 * sysdeps/x86/__longjmp_cancel.S: New file.
11521 * sysdeps/x86/longjmp.c: Likewise.
11522 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
11524 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11526 * NEWS: Add ustat.h deprecation entry.
11527 * bits/ustat.h: Remove file.
11528 * misc/sys/ustat.h: Likewise.
11529 * misc/ustat.h: Likewise.
11530 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
11531 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
11532 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
11533 compatibility mode.
11534 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
11535 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
11536 generic Linux implementation.
11538 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11540 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
11541 * math/w_expl_compat.c: Likewise.
11542 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
11544 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11546 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11548 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11550 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
11551 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
11552 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
11554 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
11555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11556 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11557 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
11558 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
11561 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11563 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
11565 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
11566 * math/w_asin_template.c: Likewise.
11567 * math/w_atanh_template.c: Likewise.
11569 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11571 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
11572 to powerpc/powerpc64/be for big-endian.
11573 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
11576 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
11577 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
11578 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
11579 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
11580 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11581 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
11582 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
11583 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
11584 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
11585 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11586 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
11587 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
11588 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
11589 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
11590 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
11591 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
11592 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
11593 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
11594 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
11595 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
11596 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
11597 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11598 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
11599 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
11600 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
11601 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11602 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
11603 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
11604 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
11605 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11606 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11607 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11609 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
11610 adjusted to imply powerpc64 and older processors on powerpc64/be.
11611 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
11612 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
11613 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
11614 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
11615 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
11616 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
11617 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
11618 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
11619 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
11620 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
11621 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
11622 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
11623 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
11624 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
11625 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
11626 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
11627 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
11628 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
11629 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
11630 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
11631 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
11632 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
11633 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
11634 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
11635 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
11636 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
11637 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
11638 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
11639 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
11640 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
11641 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
11643 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
11644 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
11645 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
11646 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
11648 * sysdeps/powerpc/powerpc64/be/Implies: New file.
11649 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
11650 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
11651 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
11653 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
11654 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
11655 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
11656 * sysdeps/powerpc/powerpc64le/configure: Likewise.
11657 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
11658 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
11659 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
11660 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
11661 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
11662 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
11663 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
11665 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
11666 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
11667 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
11668 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
11669 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
11670 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
11671 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
11672 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
11673 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
11674 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
11675 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
11677 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
11678 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
11679 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
11680 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
11681 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
11682 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
11683 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
11684 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
11685 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
11686 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
11687 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
11688 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
11690 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
11691 and adjusted to imply olders processors.
11692 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
11693 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
11694 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
11695 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
11696 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
11697 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
11698 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
11699 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
11700 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
11701 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
11702 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
11704 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
11706 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
11707 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
11709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
11711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
11712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
11714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
11716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
11718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
11720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
11721 powerpc64 and adjusted.
11722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
11723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
11724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
11727 2018-04-27 Joseph Myers <joseph@codesourcery.com>
11729 * sysdeps/tile: Remove.
11730 * sysdeps/unix/sysv/linux/tile: Likewise.
11731 * README (tilegx-*-linux-gnu): Remove from list of supported
11733 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
11734 contribution of support for generic Linux kernel syscall
11736 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
11737 tilegx configurations.
11738 (Config.install_linux_headers): Do not handle tile.
11739 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
11741 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
11742 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
11743 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11744 conditional undefine and redefine.
11745 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
11747 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11748 conditional undefine and redefine.
11750 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
11752 * signal/tst-sigaction.c: New file to test BZ #23069.
11753 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
11755 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11758 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
11759 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
11760 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
11761 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11763 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11765 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
11766 _DIRENT_MATCHES_DIRENT64 is not defined.
11767 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
11768 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
11770 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
11771 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
11773 2018-04-25 Joseph Myers <joseph@codesourcery.com>
11775 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
11776 version to GCC 8 branch.
11778 2018-04-24 Joseph Myers <joseph@codesourcery.com>
11780 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
11781 (check_no_hidden): Use type of original function when declaring
11784 * sysdeps/unix/sysv/linux/sys/ptrace.h
11785 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
11786 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
11787 (struct __ptrace_seccomp_metadata): New type.
11788 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11789 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11790 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
11791 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11792 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
11793 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11794 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11795 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11796 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
11797 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11798 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
11799 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11800 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
11801 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11802 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
11803 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11805 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11807 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
11809 * dirent/versionsort.c (versionsort): Likewise.
11810 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
11811 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
11812 * dirent/versionsort64.c (versionsort64): Likewise.
11813 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
11814 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
11815 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
11816 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
11817 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
11818 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
11819 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
11820 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
11821 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
11822 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
11823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
11824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
11825 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
11826 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
11828 2018-04-23 Joseph Myers <joseph@codesourcery.com>
11830 * elf/elf.h (NT_PPC_PKEY): New macro.
11832 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
11835 * localedata/locales/hr_HR: fix thousands_sep and
11838 2018-04-20 Joseph Myers <joseph@codesourcery.com>
11840 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
11841 (XTABS): Define to TAB3.
11843 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11845 * sysdeps/hppa/fpu/libm-test-ulps: Update.
11847 * dirent/scandir-tail-common.c: New file.
11848 * dirent/scandir-tail.c: Use scandir-tail-common.c.
11849 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
11850 * dirent/scandir.c: Use scandir-tail-common.c.
11851 * dirent/scandirat.c: Likewise.
11852 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
11853 * dirent/scandir64.c (scandir64): Always build and alias to scandir
11854 if _DIRENT_MATCHES_DIRENT64 is defined.
11855 * dirent/scandirat64.c (scandirat64): Likewise.
11856 * include/dirent.h (__scandir_tail): Only define iff
11857 _DIRENT_MATCHES_DIRENT64 is not defined.
11858 (__scandir64_tail): Define regardless.
11859 (__scandirat, scandirat64): Remove libc_hidden_proto.
11860 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
11861 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
11862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
11863 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
11864 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11865 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
11866 * sysdeps/unix/sysv/linux/scandir64.c: New file.
11868 2018-04-20 Joseph Myers <joseph@codesourcery.com>
11870 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
11872 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11874 (_dl_aarch64_cap_flags): Add asimdfhm.
11876 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
11878 * sysdeps/nios2/libm-test-ulps: Update.
11880 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11882 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
11883 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
11885 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
11887 (_DIRENT_MATCHES_DIRENT64): Undef
11888 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
11889 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
11890 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
11891 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
11892 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
11893 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
11894 use getdents64 syscalls as base.
11895 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
11896 symbol if required.
11897 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
11898 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
11899 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
11900 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
11901 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
11902 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
11903 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
11904 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
11905 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11906 (__get_clockfreq_via_proc_openprom): Use __getdents64.
11907 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
11909 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11911 * scripts/test_printers_common.py (init_test): Disable lock elision.
11913 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11915 * math/test-tgmath.c (count_double, count_float,
11916 count_ldouble, count_cdouble, count_cfloat,
11917 count_cldouble): Use volatile int.
11919 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11921 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11922 (conformtest-xfail-conds): Add i386-gnu.
11923 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
11925 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
11926 ipc_perm.cuid, ipc_perm.cgid): Likewise.
11927 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
11928 msqid_ds.msg_lrpid): Likewise.
11929 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
11931 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
11932 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
11933 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
11934 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
11936 (struct statvfs64): Likewise.
11937 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
11939 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
11940 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
11941 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
11942 instead of wait_queue.
11943 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
11944 instead of vm_area_struct.
11945 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
11946 struct sched_param definition to it.
11947 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11948 * bits/types/struct_sched_param.h: New file.
11949 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
11950 <bits/types/struct_sched_param.h> instead of <sched.h>.
11951 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
11952 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
11953 generic version but include <bits/pthreadtypes.h> to make struct
11954 sigevent's sigev_notify_attributes field a pthread_attr_t*.
11955 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
11957 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
11958 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
11959 [__USE_XOPEN] (OFDEL): New macro.
11960 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
11961 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
11962 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
11964 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
11965 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
11966 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
11968 * sysdeps/i386/sys/ucontext.h: Likewise.
11969 * sysdeps/m68k/sys/ucontext.h: Likewise.
11970 * sysdeps/mips/sys/ucontext.h: Likewise.
11971 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
11972 * sysdeps/mach/hurd/i386/Makefile
11973 (test-xfail-POSIX/fcntl.h/conform): Add.
11974 (test-xfail-POSIX/signal.h/conform): Add.
11975 (test-xfail-POSIX/semaphore.h/conform): Add.
11976 (test-xfail-POSIX/regex.h/conform): Add.
11977 (test-xfail-POSIX/aio.h/conform): Add.
11978 (test-xfail-POSIX/mqueue.h/conform): Add.
11979 (test-xfail-POSIX/sys/types.h/conform): Add.
11980 (test-xfail-UNIX98/fcntl.h/conform): Add.
11981 (test-xfail-UNIX98/netdb.h/conform): Add.
11982 (test-xfail-UNIX98/signal.h/conform): Add.
11983 (test-xfail-UNIX98/semaphore.h/conform): Add.
11984 (test-xfail-UNIX98/regex.h/conform): Add.
11985 (test-xfail-UNIX98/aio.h/conform): Add.
11986 (test-xfail-UNIX98/ftw.h/conform): Add.
11987 (test-xfail-UNIX98/mqueue.h/conform): Add.
11988 (test-xfail-UNIX98/netinet/in.h/conform): Add.
11989 (test-xfail-UNIX98/sys/wait.h/conform): Add.
11990 (test-xfail-UNIX98/sys/sem.h/conform): Add.
11991 (test-xfail-UNIX98/sys/uio.h/conform): Add.
11992 (test-xfail-UNIX98/sys/socket.h/conform): Add.
11993 (test-xfail-UNIX98/sys/types.h/conform): Add.
11994 (test-xfail-UNIX98/stdlib.h/conform): Add.
11995 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
11996 (test-xfail-POSIX2008/fcntl.h/conform): Add.
11997 (test-xfail-POSIX2008/netdb.h/conform): Add.
11998 (test-xfail-POSIX2008/signal.h/conform): Add.
11999 (test-xfail-POSIX2008/semaphore.h/conform): Add.
12000 (test-xfail-POSIX2008/regex.h/conform): Add.
12001 (test-xfail-POSIX2008/aio.h/conform): Add.
12002 (test-xfail-POSIX2008/mqueue.h/conform): Add.
12003 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
12004 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
12005 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
12006 (test-xfail-POSIX2008/sys/types.h/conform): Add.
12007 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
12008 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
12009 (test-xfail-XOPEN2K/netdb.h/conform): Add.
12010 (test-xfail-XOPEN2K/signal.h/conform): Add.
12011 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
12012 (test-xfail-XOPEN2K/regex.h/conform): Add.
12013 (test-xfail-XOPEN2K/aio.h/conform): Add.
12014 (test-xfail-XOPEN2K/ftw.h/conform): Add.
12015 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
12016 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
12017 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
12018 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
12019 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
12020 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
12021 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
12022 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
12023 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
12024 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
12025 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
12026 (test-xfail-XOPEN2K8/signal.h/conform): Add.
12027 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
12028 (test-xfail-XOPEN2K8/regex.h/conform): Add.
12029 (test-xfail-XOPEN2K8/aio.h/conform): Add.
12030 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
12031 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
12032 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
12033 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
12034 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
12035 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
12036 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
12037 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
12038 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
12039 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
12040 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
12042 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
12043 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
12045 2018-04-18 Joseph Myers <joseph@codesourcery.com>
12047 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
12048 --enable-obsolete for powerpc-linux-gnuspe.
12050 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12052 * conform/data/sys/un.h-data: Allow sun_ prefix.
12053 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
12055 * sysdeps/mach/include/mach.h: Likewise.
12056 * sysdeps/mach/include/mach/mig_support.h: Likewise.
12057 * sysdeps/mach/include/mach_error.h: Likewise.
12059 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12061 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
12062 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
12063 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
12064 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
12066 2018-04-16 Andreas Schwab <schwab@suse.de>
12069 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
12071 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
12073 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
12074 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
12076 2018-04-12 DJ Delorie <dj@redhat.com>
12078 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12081 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12083 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
12084 (struct kernel_sigaction): Use the same definition on 31bit as is used
12087 2018-04-09 Florian Weimer <fweimer@redhat.com>
12090 * resolv/res_send.c (send_dg): Use designated initializers instead
12091 of assignment to zero-initialize other fields of struct mmsghdr.
12093 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12095 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
12096 __READDIR_ALIAS): Undefine after usage.
12097 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
12098 __READDIR_R_ALIAS): Likewise.
12099 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
12100 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
12101 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
12102 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
12103 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
12104 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
12105 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12106 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12107 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
12108 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
12109 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
12110 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
12111 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12112 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
12113 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
12114 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
12115 * sysdeps/unix/sysv/linux/readdir.c: New file.
12116 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
12117 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
12118 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
12120 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12122 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
12124 * manual/charset.texi (Converting a Character): Fix typo.
12126 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12130 * sysdeps/arm/libm-test-ulps: Update.
12132 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
12133 as base implementation.
12134 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12135 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12136 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12137 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12138 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12139 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
12140 remove unrequired definitions and update comments.
12141 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
12142 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
12143 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
12144 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
12145 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
12146 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
12147 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
12148 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
12149 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
12150 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
12151 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
12152 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12153 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12154 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
12155 and RESET_SA_RESTORER hooks.
12157 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
12159 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12161 2018-04-05 Florian Weimer <fweimer@redhat.com>
12163 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
12164 integer overflow, memory leak on error, and indeterminate errno
12165 value. Add a null wide character to terminate the result string.
12166 * manual/charset.texi (Converting a Character): Mention embedded
12167 null bytes in the mbrtowc input string. Explain what happens in
12168 the -2 result case. Do not claim that mbrtowc is simple or
12169 obvious to use. Adjust the description of the code example. Use
12170 @code, not @var, for concrete variables.
12172 2018-04-05 Florian Weimer <fweimer@redhat.com>
12174 * manual/examples/mbstouwcs.c: New file.
12175 * manual/charset.texi (Converting a Character): Include it.
12177 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
12179 * include/dirent.h (dirfd): Add hidden proto.
12180 * dirent/dirfd.c (dirfd): Add hidden def.
12181 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
12182 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
12184 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12186 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
12187 sin, cos and sincos to 1 ULP.
12189 2018-04-04 Maciej W. Rozycki <macro@mips.com>
12192 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
12194 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
12195 * elf/tst-absolute-sym.c: New file.
12196 * elf/tst-absolute-sym-lib.c: New file.
12197 * elf/tst-absolute-sym-lib.lds: New file.
12198 * elf/Makefile (tests): Add `tst-absolute-sym'.
12199 (modules-names): Add `tst-absolute-sym-lib'.
12200 (LDLIBS-tst-absolute-sym-lib.so): New variable.
12201 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
12202 ($(objpfx)tst-absolute-sym): New dependency.
12205 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
12207 (SYMBOL_ADDRESS): New macro.
12208 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
12209 SYMBOL_ADDRESS for symbol address calculation.
12210 * elf/dl-runtime.c (_dl_fixup): Likewise.
12211 (_dl_profile_fixup): Likewise.
12212 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
12213 * elf/rtld.c (dl_main): Likewise.
12214 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
12215 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
12216 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
12217 (elf_machine_rela): Likewise.
12218 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
12219 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
12220 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12221 (elf_machine_rela): Likewise.
12222 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12223 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12224 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
12225 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
12227 (elf_machine_reloc): Likewise.
12228 (elf_machine_got_rel): Likewise.
12229 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
12230 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
12231 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12233 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12235 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
12236 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12238 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12240 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12241 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12243 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12245 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
12246 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12248 2018-04-04 Zack Weinberg <zackw@panix.com>
12250 * sysdeps/generic/internal-signals.h: Include signal.h,
12251 sigsetops.h, and stdbool.h.
12252 (__libc_signal_block_all): Actually block all signals.
12253 (__libc_signal_block_app): Likewise.
12254 (__libc_signal_restore_set): Actually restore the signal mask.
12256 2018-04-04 Florian Weimer <fweimer@redhat.com>
12258 inet: Actually build and run tst-deadline.
12259 * inet/Makefile (tests-internal): Add tst-deadline and do not
12260 overwrite the variable.
12261 (tests-static-internal): Remove variable.
12263 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
12266 * bits/uio-ext.h (RWF_APPEND): New.
12267 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
12268 * manual/llio.texi: Document RWF_APPEND.
12269 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
12270 (RWF_SUPPORTED): Add RWF_APPEND.
12272 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12275 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
12276 check for internal nptl signals.
12277 * nptl/sigaction.c (__sigaction): Likewise.
12278 * signal/sigaddset.c (sigaddset): Likewise.
12279 * signal/sigdelset.c (sigdelset): Likewise.
12280 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12281 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
12283 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
12284 to filter out internal nptl signals.
12285 * signal/tst-sigset.c (do_test): Check ech signal indidually and
12286 also check realtime signals using standard macros.
12287 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
12288 __is_internal_signal, __libc_signal_block_all,
12289 __libc_signal_block_app, __libc_signal_restore_set): New functions.
12290 * sysdeps/nptl/sigfillset.c: Remove file.
12291 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
12292 Change return to bool.
12293 (__clear_internal_signals): Remove SIGTIMER clean since it is
12294 equal to SIGCANEL on Linux.
12295 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
12296 signal set was constructed using standard functions.
12298 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
12300 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
12301 ifname is too long.
12302 * hurd/hurdsig.c (interrupted_reply_port_location): Use
12303 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
12304 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
12306 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
12307 * signal/sigaddset.c: Include <sigsetopts.h>.
12308 * signal/sigdelset.c: Likewise.
12310 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12312 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
12314 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
12315 logic as sin and cos.
12317 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12319 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
12320 inputs. Return correct sign.
12321 (do_sincos): Remove small input check before do_sin, let do_sin set
12326 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12328 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
12329 (do_cos_slow): Likewise.
12330 (do_sin_slow): Likewise.
12331 (reduce_and_compute): Likewise.
12336 (sloww1): Likewise.
12337 (sloww2): Likewise.
12339 (bslow1): Likewise.
12340 (bslow2): Likewise.
12341 (cslow2): Likewise.
12343 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12345 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
12346 (do_cos): Remove corp parameter and calculations.
12347 (do_sin): Likewise.
12348 (do_sincos): Remove cor variable.
12349 (__sin): Use do_sincos for huge inputs.
12351 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12352 (reduce_and_compute_sincos): Remove unused function.
12354 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12356 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
12357 reduce_sincos, improve accuracy to 136 bits.
12358 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
12359 (__sin): Use improved reduction and simplified do_sincos calculation.
12361 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12363 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12365 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
12366 (do_sincos_2): Likewise.
12367 (__sin): Remove middle range reduction case.
12369 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
12372 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12374 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
12375 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
12378 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
12380 2018-04-03 Joseph Myers <joseph@codesourcery.com>
12382 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12385 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12387 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
12388 Remove definitions.
12389 (opendir_oflags): Use O_DIRECTORY regardless.
12390 (__opendir, __opendirat): Remove need_isdir_precheck usage.
12391 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
12393 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12395 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
12396 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
12398 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
12399 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
12400 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
12401 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
12402 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
12403 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
12405 * htl/Makefile: Bump licence to LGPL 2.1+.
12406 * htl/alloca_cutoff.c: Likewise.
12407 * htl/cthreads-compat.c: Likewise.
12408 * htl/lockfile.c: Likewise.
12409 * htl/pt-alloc.c: Likewise.
12410 * htl/pt-cancel.c: Likewise.
12411 * htl/pt-cleanup.c: Likewise.
12412 * htl/pt-create.c: Likewise.
12413 * htl/pt-dealloc.c: Likewise.
12414 * htl/pt-detach.c: Likewise.
12415 * htl/pt-exit.c: Likewise.
12416 * htl/pt-getattr.c: Likewise.
12417 * htl/pt-initialize.c: Likewise.
12418 * htl/pt-internal.h: Likewise.
12419 * htl/pt-join.c: Likewise.
12420 * htl/pt-self.c: Likewise.
12421 * htl/pt-setcancelstate.c: Likewise.
12422 * htl/pt-setcanceltype.c: Likewise.
12423 * htl/pt-sigmask.c: Likewise.
12424 * htl/pt-spin-inlines.c: Likewise.
12425 * htl/pt-testcancel.c: Likewise.
12426 * htl/pt-yield.c: Likewise.
12427 * htl/tests/test-1.c: Likewise.
12428 * htl/tests/test-10.c: Likewise.
12429 * htl/tests/test-11.c: Likewise.
12430 * htl/tests/test-12.c: Likewise.
12431 * htl/tests/test-13.c: Likewise.
12432 * htl/tests/test-14.c: Likewise.
12433 * htl/tests/test-15.c: Likewise.
12434 * htl/tests/test-16.c: Likewise.
12435 * htl/tests/test-17.c: Likewise.
12436 * htl/tests/test-2.c: Likewise.
12437 * htl/tests/test-3.c: Likewise.
12438 * htl/tests/test-4.c: Likewise.
12439 * htl/tests/test-5.c: Likewise.
12440 * htl/tests/test-6.c: Likewise.
12441 * htl/tests/test-7.c: Likewise.
12442 * htl/tests/test-8.c: Likewise.
12443 * htl/tests/test-9.c: Likewise.
12444 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
12445 * sysdeps/htl/bits/cancelation.h: Likewise.
12446 * sysdeps/htl/bits/pthread-np.h: Likewise.
12447 * sysdeps/htl/bits/pthread.h: Likewise.
12448 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
12449 * sysdeps/htl/bits/semaphore.h: Likewise.
12450 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
12451 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
12452 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
12453 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
12454 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
12455 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
12456 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
12457 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
12458 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
12459 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
12460 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
12461 * sysdeps/htl/old_pt-atfork.c: Likewise.
12462 * sysdeps/htl/pt-atfork.c: Likewise.
12463 * sysdeps/htl/pt-attr-destroy.c: Likewise.
12464 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
12465 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
12466 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
12467 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
12468 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
12469 * sysdeps/htl/pt-attr-getscope.c: Likewise.
12470 * sysdeps/htl/pt-attr-getstack.c: Likewise.
12471 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
12472 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
12473 * sysdeps/htl/pt-attr-init.c: Likewise.
12474 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
12475 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
12476 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
12477 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
12478 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
12479 * sysdeps/htl/pt-attr-setscope.c: Likewise.
12480 * sysdeps/htl/pt-attr-setstack.c: Likewise.
12481 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
12482 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
12483 * sysdeps/htl/pt-attr.c: Likewise.
12484 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
12485 * sysdeps/htl/pt-barrier-init.c: Likewise.
12486 * sysdeps/htl/pt-barrier-wait.c: Likewise.
12487 * sysdeps/htl/pt-barrier.c: Likewise.
12488 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
12489 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
12490 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
12491 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
12492 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
12493 * sysdeps/htl/pt-cond-destroy.c: Likewise.
12494 * sysdeps/htl/pt-cond-init.c: Likewise.
12495 * sysdeps/htl/pt-cond-signal.c: Likewise.
12496 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
12497 * sysdeps/htl/pt-cond-wait.c: Likewise.
12498 * sysdeps/htl/pt-cond.c: Likewise.
12499 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
12500 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
12501 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
12502 * sysdeps/htl/pt-condattr-init.c: Likewise.
12503 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
12504 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
12505 * sysdeps/htl/pt-destroy-specific.c: Likewise.
12506 * sysdeps/htl/pt-equal.c: Likewise.
12507 * sysdeps/htl/pt-getconcurrency.c: Likewise.
12508 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
12509 * sysdeps/htl/pt-getschedparam.c: Likewise.
12510 * sysdeps/htl/pt-getspecific.c: Likewise.
12511 * sysdeps/htl/pt-init-specific.c: Likewise.
12512 * sysdeps/htl/pt-key-create.c: Likewise.
12513 * sysdeps/htl/pt-key-delete.c: Likewise.
12514 * sysdeps/htl/pt-key.h: Likewise.
12515 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
12516 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
12517 * sysdeps/htl/pt-mutex-init.c: Likewise.
12518 * sysdeps/htl/pt-mutex-lock.c: Likewise.
12519 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
12520 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
12521 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
12522 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
12523 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
12524 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
12525 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
12526 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
12527 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
12528 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
12529 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
12530 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
12531 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
12532 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
12533 * sysdeps/htl/pt-mutexattr.c: Likewise.
12534 * sysdeps/htl/pt-once.c: Likewise.
12535 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
12536 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
12537 * sysdeps/htl/pt-rwlock-init.c: Likewise.
12538 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
12539 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
12540 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
12541 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
12542 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
12543 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
12544 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
12545 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
12546 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
12547 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
12548 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
12549 * sysdeps/htl/pt-setconcurrency.c: Likewise.
12550 * sysdeps/htl/pt-setschedparam.c: Likewise.
12551 * sysdeps/htl/pt-setschedprio.c: Likewise.
12552 * sysdeps/htl/pt-setspecific.c: Likewise.
12553 * sysdeps/htl/pt-spin.c: Likewise.
12554 * sysdeps/htl/pt-startup.c: Likewise.
12555 * sysdeps/htl/pthread.h: Likewise.
12556 * sysdeps/htl/sem-close.c: Likewise.
12557 * sysdeps/htl/sem-destroy.c: Likewise.
12558 * sysdeps/htl/sem-getvalue.c: Likewise.
12559 * sysdeps/htl/sem-init.c: Likewise.
12560 * sysdeps/htl/sem-open.c: Likewise.
12561 * sysdeps/htl/sem-post.c: Likewise.
12562 * sysdeps/htl/sem-timedwait.c: Likewise.
12563 * sysdeps/htl/sem-trywait.c: Likewise.
12564 * sysdeps/htl/sem-unlink.c: Likewise.
12565 * sysdeps/htl/sem-wait.c: Likewise.
12566 * sysdeps/hurd/htl/pt-kill.c: Likewise.
12567 * sysdeps/i386/htl/pt-machdep.h: Likewise.
12568 * sysdeps/mach/htl/pt-block.c: Likewise.
12569 * sysdeps/mach/htl/pt-spin.c: Likewise.
12570 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
12571 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
12572 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
12573 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
12574 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
12575 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
12576 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
12577 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
12578 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
12579 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
12580 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
12581 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
12582 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
12583 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
12584 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
12585 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
12586 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
12587 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
12588 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
12589 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
12590 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
12591 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
12592 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
12593 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
12594 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
12595 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
12596 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
12597 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
12598 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
12599 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
12600 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
12601 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
12602 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
12603 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
12604 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
12605 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
12606 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
12607 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
12608 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
12609 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
12610 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
12611 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
12612 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
12614 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
12615 * README: Remove the mention of out-of-tree patches needed for
12618 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
12619 (UTIME_NOW, UTIME_OMIT): Define macros.
12621 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
12622 instead of pthread_detach.
12623 (__cthread_fork): Call __pthread_create instead of pthread_create.
12624 (__cthread_keycreate): Call __pthread_key_create instead of
12625 pthread_key_create.
12626 (__cthread_getspecific): Call __pthread_getspecific instead of
12627 pthread_getspecific.
12628 (__cthread_setspecific): Call __pthread_setspecific instead of
12629 pthread_setspecific.
12630 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
12631 __pthread_mutex_unlock instead of pthread_mutex_lock and
12632 pthread_mutex_unlock.
12633 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
12634 ___pthread_get_cleanup_stack.
12635 (__pthread_get_cleanup_stack): New strong alias.
12636 * htl/pt-create.c: Include <pthreadP.h>.
12637 (entry_point): Call __pthread_exit instead of pthread_exit.
12638 (pthread_create): Rename to __pthread_create.
12639 (pthread_create): New strong alias.
12640 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
12641 (pthread_detach): New strong alias.
12642 (__pthread_detach): Call __pthread_cond_broadcast instead of
12643 pthread_cond_broadcast.
12644 * htl/pt-exit.c: Include <pthreadP.h>.
12645 (__pthread_exit): Call __pthread_setcancelstate and
12646 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
12647 __pthread_get_cleanup_stack.
12648 * htl/pt-testcancel.c: Include <pthreadP.h>.
12649 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
12650 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
12651 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
12652 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
12653 pthread_attr_getstacksize.
12654 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
12655 Rename to __pthread_attr_getstackaddr.
12656 (pthread_attr_getstackaddr): New strong alias.
12657 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
12658 Rename to __pthread_attr_getstacksize.
12659 (pthread_attr_getstacksize): New strong alias.
12660 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
12661 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
12662 (pthread_attr_setstack): New strong alias.
12663 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
12664 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
12665 pthread_attr_getstacksize, pthread_attr_setstacksize and
12666 pthread_attr_setstackaddr.
12667 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
12668 Rename to __pthread_attr_setstackaddr.
12669 (pthread_attr_setstackaddr): New strong alias.
12670 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
12671 Rename to __pthread_attr_setstacksize.
12672 (pthread_attr_setstacksize): New strong alias.
12673 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
12674 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
12676 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
12677 (__pthread_key_create): New hidden def.
12678 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
12679 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
12680 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
12681 __pthread_exit, __pthread_key_create, __pthread_getspecific,
12682 __pthread_setspecific, __pthread_setcancelstate,
12683 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
12684 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
12685 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
12687 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
12688 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
12689 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
12690 (pthread_attr_setstackaddr): New strong alias.
12691 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
12692 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
12693 (pthread_attr_setstacksize): New strong alias.
12694 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
12695 (call_exit): Call __pthread_exit instead of pthread_exit.
12696 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
12697 (_pthread_mutex_init): New hidden definition.
12698 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
12699 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
12700 instead of pthread_attr_init and pthread_attr_setstack.
12702 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
12703 __vm_deallocate instead of vm_allocate and vm_deallocate.
12704 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
12706 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
12708 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
12710 * hurd/siginfo.c: Include <libioP.h>.
12711 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
12712 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
12714 * mach/devstream.c: Include <libioP.h>.
12715 (dealloc_ref): Call __mach_port_deallocate instead of
12716 mach_port_deallocate.
12717 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
12718 Call __mach_port_deallocate instead of mach_port_deallocate.
12719 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
12721 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
12723 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
12724 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
12725 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
12727 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
12729 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
12730 instead of sysconf.
12731 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
12732 __clock_gettime instead of clock_gettime.
12733 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
12734 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12735 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
12736 * sysdeps/unix/bsd/stty.c (stty): Likewise.
12737 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
12739 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
12740 __clock_gettime and __nanosleep instead of clock_gettime and
12742 * hurd/catch-signal.c (hurd_catch_signal): Rename to
12743 __hurd_catch_signal.
12744 (hurd_catch_signal): New strong alias.
12745 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
12746 __hurd_catch_signal instead of hurd_catch_signal.
12747 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
12748 * hurd/hurdexec.c (_hurd_init): Add hidden def.
12749 * hurd/hurdinit.c (_hurd_init): Add hidden def.
12750 * hurd/hurdsig.c: Include <mach/mig_support.h>.
12751 (_hurd_thread_sigstate): Add hidden def.
12752 (_hurd_internal_post_signal): Use __mutex_unlock instead of
12754 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
12755 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
12756 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
12757 __hurd_file_name_path_lookup.
12758 (hurd_file_name_path_lookup): New strong alias.
12759 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
12760 hurd_file_name_path_lookup.
12761 * mach/errstring.c (mach_error_type): Add hidden def.
12762 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
12763 * mach/mutex-init.c (__mutex_init): Add hidden def.
12764 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
12765 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
12766 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
12767 * sysdeps/mach/hurd/getcwd.c
12768 (_hurd_canonicalize_directory_name_internal): Rename to
12769 __hurd_canonicalize_directory_name_internal.
12770 (_hurd_canonicalize_directory_name_internal): New strong alias.
12771 (__canonicalize_directory_name_internal, __getcwd): Call
12772 __hurd_canonicalize_directory_name_internal instead of
12773 _hurd_canonicalize_directory_name_internal.
12774 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
12775 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
12777 * sysdeps/hurd/include/hurd.h: New file.
12778 * sysdeps/hurd/include/hurd/fd.h: New file.
12779 * sysdeps/hurd/include/hurd/signal.h: New file.
12780 * sysdeps/mach/include/lock-intern.h: New file.
12781 * sysdeps/mach/include/mach.h: New file.
12782 * sysdeps/mach/include/mach/mig_support.h: New file.
12783 * sysdeps/mach/include/mach_error.h: New file.
12784 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
12786 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
12787 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
12788 _HEADER_H_HIDDEN_DEF macro.
12789 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
12790 _hurd_fd_error_signal): Add hidden prototype.
12791 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
12793 * libio/iolibio.h (_IO_puts): New hidden prototype.
12794 * libio/ioputs.c (_IO_puts): New hidden def.
12795 * sysdeps/mach/hurd/localplt.data: New file.
12797 2018-04-02 Agustina Arzille <avarzille@riseup.net>
12798 Amos Jeffries <squid3@treenet.co.nz>
12799 David Michael <fedora.dm0@gmail.com>
12800 Marco Gerards <marco@gnu.org>
12801 Marcus Brinkmann <marcus@gnu.org>
12802 Neal H. Walfield <neal@gnu.org>
12803 Pino Toscano <toscano.pino@tiscali.it>
12804 Richard Braun <rbraun@sceen.net>
12805 Roland McGrath <roland@gnu.org>
12806 Samuel Thibault <samuel.thibault@ens-lyon.org>
12807 Thomas DiModica <ricinwich@yahoo.com>
12808 Thomas Schwinge <tschwinge@gnu.org>
12810 * htl: New directory.
12811 * sysdeps/htl: New directory.
12812 * sysdeps/hurd/htl: New directory.
12813 * sysdeps/i386/htl: New directory.
12814 * sysdeps/mach/htl: New directory.
12815 * sysdeps/mach/hurd/htl: New directory.
12816 * sysdeps/mach/hurd/i386/htl: New directory.
12817 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
12818 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
12819 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
12821 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12823 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
12824 signals in thread created for runing timers.
12826 2018-04-01 Florian Weimer <fweimer@redhat.com>
12828 * support/support_format_addrinfo.c (support_format_addrinfo):
12829 Include unknown error number in formatted result.
12831 2018-03-29 Florian Weimer <fweimer@redhat.com>
12833 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
12836 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12838 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
12839 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
12840 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12841 (__ASSUME_CLONE_BACKWARDS): Define.
12843 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
12846 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
12847 early when linux sentinel value is set.
12849 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12851 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
12853 2018-03-27 Andreas Schwab <schwab@suse.de>
12856 * resolv/res_send.c (__res_context_send): Return ENOMEM if
12857 allocation of private copy of nsaddr_list fails.
12859 2018-03-26 Joseph Myers <joseph@codesourcery.com>
12862 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
12863 * sysdeps/unix/sysv/linux/umount.c: ... here.
12864 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
12865 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
12866 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
12867 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
12868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
12869 * sysdeps/unix/sysv/linux/umount.S: Likewise.
12870 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
12872 2018-03-26 Andreas Schwab <schwab@suse.de>
12874 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
12875 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
12876 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
12877 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
12878 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
12879 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
12880 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
12881 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
12882 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
12883 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
12884 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
12885 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
12886 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
12887 (R_RISCV_NUM): Define.
12889 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
12891 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
12892 TLS declaration of errno.
12893 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
12895 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
12896 (ARCH_SETUP_TLS): Likewise.
12897 * sysdeps/mach/hurd/libc-start.h: New file copied from
12898 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
12899 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
12900 instead of __libc_setup_tls.
12901 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
12902 __libc_setup_tls before initializing libpthread and running _hurd_init
12903 which starts the signal thread.
12904 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
12906 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12908 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
12911 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
12912 after it is defined.
12914 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
12915 Max Horn <max@quendi.de>
12919 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
12921 * string/test-memmove.c (do_test2): New testcase.
12923 2018-03-22 Joseph Myers <joseph@codesourcery.com>
12925 * sysdeps/generic/frame.h: Remove file.
12926 * sysdeps/arm/frame.h: Likewise.
12927 * sysdeps/hppa/frame.h: Likewise.
12928 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
12930 (GET_FRAME): Likewise.
12931 (GET_STACK): Likewise.
12932 (CALL_SIGHANDLER): Likewise.
12933 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
12935 (GET_FRAME): Likewise.
12936 (GET_STACK): Likewise.
12937 (CALL_SIGHANDLER): Likewise.
12938 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
12939 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12940 (GET_FRAME): Likewise.
12941 (GET_STACK): Likewise.
12942 (CALL_SIGHANDLER): Likewise.
12943 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
12944 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12945 (GET_FRAME): Likewise.
12946 (GET_STACK): Likewise.
12947 (ADVANCE_STACK_FRAME): Likewise.
12948 (CALL_SIGHANDLER): Likewise.
12949 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
12950 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12951 (GET_FRAME): Likewise.
12952 (GET_STACK): Likewise.
12953 (CALL_SIGHANDLER): Likewise.
12954 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
12955 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12956 (GET_FRAME): Likewise.
12957 (GET_STACK): Likewise.
12958 (CALL_SIGHANDLER): Likewise.
12959 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
12960 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12961 (GET_FRAME): Likewise.
12962 (GET_STACK): Likewise.
12963 (CALL_SIGHANDLER): Likewise.
12964 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
12965 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12966 (GET_FRAME): Likewise.
12967 (GET_STACK): Likewise.
12968 (CALL_SIGHANDLER): Likewise.
12969 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
12970 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12971 (GET_FRAME): Likewise.
12972 (GET_STACK): Likewise.
12973 (CALL_SIGHANDLER): Likewise.
12974 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
12975 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12976 (GET_FRAME): Likewise.
12977 (GET_STACK): Likewise.
12978 (CALL_SIGHANDLER): Likewise.
12979 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
12980 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12981 (GET_FRAME): Likewise.
12982 (GET_STACK): Likewise.
12983 (CALL_SIGHANDLER): Likewise.
12984 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
12985 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12986 (GET_FRAME): Likewise.
12987 (GET_STACK): Likewise.
12988 (CALL_SIGHANDLER): Likewise.
12989 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
12990 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12991 (GET_FRAME): Likewise.
12992 (GET_STACK): Likewise.
12993 (CALL_SIGHANDLER): Likewise.
12994 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
12995 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12996 (FIRST_FRAME_POINTER): Likewise.
12997 (ADVANCE_STACK_FRAME): Likewise.
12998 (GET_STACK): Likewise.
12999 (GET_FRAME): Likewise.
13000 (CALL_SIGHANDLER): Likewise.
13001 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
13002 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13003 (ADVANCE_STACK_FRAME): Likewise.
13004 (GET_STACK): Likewise.
13005 (GET_FRAME): Likewise.
13006 (CALL_SIGHANDLER): Likewise.
13007 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
13008 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13009 (GET_FRAME): Likewise.
13010 (GET_STACK): Likewise.
13011 (CALL_SIGHANDLER): Likewise.
13012 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
13013 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13014 (GET_FRAME): Likewise.
13015 (GET_STACK): Likewise.
13016 (CALL_SIGHANDLER): Likewise.
13018 2018-03-21 Joseph Myers <joseph@codesourcery.com>
13020 * sysdeps/x86_64/backtrace.c: Move to ....
13021 * debug/backtrace.c: ... here.
13022 * sysdeps/aarch64/backtrace.c: Remove file.
13023 * sysdeps/alpha/backtrace.c: Likewise.
13024 * sysdeps/hppa/backtrace.c: Likewise.
13025 * sysdeps/ia64/backtrace.c: Likewise.
13026 * sysdeps/mips/backtrace.c: Likewise.
13027 * sysdeps/nios2/backtrace.c: Likewise.
13028 * sysdeps/riscv/backtrace.c: Likewise.
13029 * sysdeps/sh/backtrace.c: Likewise.
13030 * sysdeps/tile/backtrace.c: Likewise.
13032 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13035 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
13038 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
13041 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
13042 possibly overflowing computations.
13044 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
13046 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
13047 values from Linux-specific section now that it is in the GNU section.
13048 * sysdeps/gnu/errlist.c: Regenerate.
13050 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13052 * math/Makefile (libm-narrow-fns): Add sub.
13053 (libm-test-funcs-narrow): Likewise.
13054 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
13055 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
13056 * math/gen-auto-libm-tests.c (test_functions): Add sub.
13057 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
13058 (NARROW_SUB_ROUND_TO_ODD): Likewise.
13059 (NARROW_SUB_TRIVIAL): Likewise.
13060 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
13062 (__dsubl): Likewise.
13063 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
13065 (CFLAGS-nldbl-dsub.c): New variable.
13066 (CFLAGS-nldbl-fsub.c): Likewise.
13067 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13069 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
13071 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
13072 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
13073 * math/auto-libm-test-in: Add tests of sub.
13074 * math/auto-libm-test-out-narrow-sub: New generated file.
13075 * math/libm-test-narrow-sub.inc: New file.
13076 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13077 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
13078 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
13079 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
13080 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
13081 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
13082 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
13083 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
13084 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
13085 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
13086 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
13087 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
13088 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
13089 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
13090 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
13091 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
13092 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
13093 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
13094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13095 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13096 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13097 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13098 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13099 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13100 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13101 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13102 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13103 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13104 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13105 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13106 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13107 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13112 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13113 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13114 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13115 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13116 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13117 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13118 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
13119 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
13120 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13121 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13123 2018-03-19 Joseph Myers <joseph@codesourcery.com>
13126 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
13128 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
13130 * benchtests/bench-timing.h (attribute_hidden): Undefine.
13132 2018-03-18 Richard Braun <rbraun@sceen.net>
13134 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
13137 2018-03-18 Agustina Arzille <avarzille@riseup.net>
13139 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
13140 (__libc_cleanup_fct): Define function.
13141 (__libc_cleanup_region_start, __libc_cleanup_region_end,
13142 __libc_cleanup_end): Rewrite implementation using
13143 __attribute__ ((__cleanup__)).
13144 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
13145 * hurd/Makefile (routines): Add hurdlock.
13146 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
13148 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
13149 * hurd/hurdpid.c: Include <lowlevellock.h>
13150 (_S_msg_proc_newids): Use lll_wait to synchronize.
13151 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
13152 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
13153 * mach/Makefile (lock-headers): Remove machine-lock.h.
13154 * mach/lock-intern.h: Include <lowlevellock.h> instead of
13156 (__spin_lock_t): New type.
13157 (__SPIN_LOCK_INITIALIZER): New macro.
13158 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
13159 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
13160 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
13161 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
13162 (__mutex_init): Initialize with lll.
13163 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
13164 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
13166 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13167 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
13168 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
13169 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
13170 (__setpgid): Use lll for synchronization.
13171 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
13172 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
13173 instead of <cthreads.h>.
13174 (_IO_lock_inexpensive): New macro
13175 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
13176 (__libc_lock_self0): New declaration.
13177 (__libc_lock_owner_self): New macro.
13178 (__libc_key_t): Remove type.
13179 (_LIBC_LOCK_INITIALIZER): New macro.
13180 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
13181 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
13182 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
13183 __libc_lock_define_initialized_recursive,
13184 __rtld_lock_define_initialized_recursive,
13185 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
13186 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
13187 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
13188 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
13189 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
13190 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
13191 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
13193 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
13194 * hurd/hurdlock.c: New file.
13195 * hurd/hurdlock.h: New file.
13196 * mach/lowlevellock.h: New file
13198 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13200 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
13201 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
13202 when opening a symlink with O_NOFOLLOW.
13203 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
13204 path when flags contains O_NOFOLLOW.
13205 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
13206 if flags contains O_DIRECTORY and the result is a directory.
13207 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
13208 oneself when the pointer given in D is nul (as set by ext2fs).
13209 * sysdeps/mach/hurd/mlockall.c: New file.
13210 * sysdeps/mach/hurd/munlockall.c: New file.
13212 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
13214 * hurd/hurdsig.c: Include <pthread.h>.
13215 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
13216 get the signal thread stack layout.
13217 * hurd/Makefile (headers): Remove threadvar.h.
13218 (inline-headers): Remove threadvar.h.
13219 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
13220 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
13221 __hurd_threadvar_max, __hurd_errno_location.
13222 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
13223 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
13224 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
13225 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
13226 unless TLS is not initialized yet, in which case we do not need a
13227 critical section yet anyway.
13228 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
13230 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
13232 (__hurd_threadvar_index): Remove enum.
13233 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
13234 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
13236 (__hurd_reply_port0): New variable declaration.
13237 (__hurd_local_reply_port): New macro.
13238 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
13239 (interrupted_reply_port_location): Add thread_t parameter. Use it
13240 with THREAD_TCB to access thread-local variables.
13241 (_hurdsig_abort_rpcs): Pass ss->thread to
13242 interrupted_reply_port_location.
13243 (_hurd_internal_post_signal): Likewise.
13244 (_hurdsig_init): Use presence of cthread_fork instead of
13245 __hurd_threadvar_stack_mask to start signal thread by hand.
13246 Remove signal thread threadvar initialization.
13247 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
13248 * hurd/sigunwind.c: Include <hurd/threadvar.h>
13249 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
13251 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
13253 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
13254 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
13255 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
13256 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
13257 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
13258 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
13259 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
13261 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
13262 <hurd/threadvar.h>.
13263 [IS_IN(rtld)] (rtld_errno): New variable.
13264 [IS_IN(rtld)] (__errno_location): New weak function.
13265 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
13266 * sysdeps/mach/hurd/errno.c: Remove file.
13267 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
13268 (__fork): Remove THREADVAR_SPACE macro and its use.
13269 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
13271 (init): Do not initialize threadvar.
13272 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
13274 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
13275 __hurd_local_reply_port instead of threadvar.
13276 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
13277 _hurd_sigstate fields.
13278 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
13279 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
13280 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
13281 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
13282 instead of threadvar.
13283 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
13284 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
13285 (use_threadvar, global_reply_port): Remove variables.
13286 (__hurd_reply_port0): New variable.
13287 (__mig_get_reply_port): Use __hurd_local_reply_port and
13288 __hurd_reply_port0 instead of threadvar.
13289 (__mig_dealloc_reply_port): Likewise.
13290 (__mig_init): Do not initialize threadvar.
13291 * sysdeps/mach/hurd/profil.c: Fix comment.
13292 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
13293 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
13294 cthread_keycreate, cthread_getspecific, cthread_setspecific to
13295 __cthread_fork, __cthread_detach, __pthread_getattr_np,
13296 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
13297 __cthread_setspecific.
13298 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
13299 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
13300 __cthread_t instead of cthread_fork, cthread_detach,
13301 pthread_getattr_np, pthread_attr_getstack.
13302 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
13303 __cthread_keycreate.
13304 (cthread_getspecific): Rename to __cthread_getspecific.
13305 (cthread_setspecific): Rename to __cthread_setspecific.
13306 (__libc_getspecific): Use __cthread_getspecific instead of
13307 cthread_getspecific.
13308 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
13309 __cthread_keycreate instead of cthread_keycreate.
13310 (__libc_setspecific): Use __cthread_setspecific instead of
13311 cthread_setspecific.
13312 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
13314 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
13315 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
13316 testing whether it is defined.
13318 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13320 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
13322 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
13323 * sysdeps/mach/i386/thread_state.h
13324 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
13326 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
13328 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
13330 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
13331 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
13333 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
13335 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
13336 descriptor instead of creating a new one.
13337 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
13339 * mach/setup-thread.c: Include <ldsodefs.h>.
13340 (__mach_setup_thread): Call _dl_allocate_tls, pass
13341 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
13342 MACHINE_THREAD_STATE_FLAVOR, before getting
13343 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
13344 MACHINE_THREAD_STATE_FLAVOR with the result.
13345 * hurd/hurdfault.c (_hurdsig_fault_init): Call
13346 MACHINE_THREAD_STATE_FIX_NEW.
13347 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
13348 too. Add original thread parameter.
13350 2018-03-16 Joseph Myers <joseph@codesourcery.com>
13352 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
13353 Remove inline function.
13355 * sysdeps/i386/fpu/libm-test-ulps: Update.
13356 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
13358 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
13360 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
13363 2018-03-15 Joseph Myers <joseph@codesourcery.com>
13365 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
13366 (__sincos_code): Remove define and undefine.
13367 [__FAST_MATH__] (__sincos): Remove inline function.
13368 [__FAST_MATH__] (__sincosf): Remove inline function.
13369 [__FAST_MATH__] (__sincosl): Remove inline function.
13370 (__atan2l): Remove inline functions.
13371 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
13372 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
13374 (floor): Remove inline function.
13376 [__FAST_MATH__] (__ldexp_code): Remove macro.
13377 [__FAST_MATH__] (ldexp): Remove inline function.
13378 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
13379 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
13380 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
13381 [__USE_ISOC99] (__lrint_code): Remove macro.
13382 [__USE_ISOC99] (__llrint_code): Likewise.
13383 [__USE_ISOC99] (lrintf): Remove inline function.
13384 [__USE_ISOC99] (lrint): Likewise.
13385 [__USE_ISOC99] (lrintl): Likewise.
13386 [__USE_ISOC99] (llrint): Likewise.
13387 [__USE_ISOC99] (llrintf): Likewise.
13388 [__USE_ISOC99] (llrintl): Likewise.
13390 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13392 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
13393 (__ieee754_sqrtf): Remove.
13394 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
13395 (__ieee754_sqrtf): Remove.
13396 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
13397 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13398 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
13399 (__ieee754_sqrtf): Remove.
13400 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
13401 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
13404 (__ieee754_sqrt): Remove.
13405 (__ieee754_sqrtf): Remove.
13406 (__ieee754_sqrtl): Remove.
13407 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13408 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
13409 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
13410 (__ieee754_sqrtf): Remove.
13411 (__ieee754_sqrtl): Remove.
13413 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13415 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
13416 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13417 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13418 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
13419 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
13420 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13421 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13422 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13424 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
13425 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
13426 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13427 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13428 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13429 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
13430 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
13431 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
13432 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13433 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13434 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
13435 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13436 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
13437 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
13438 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
13439 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13440 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13441 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13442 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
13443 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
13444 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13445 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13446 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
13447 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
13448 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
13449 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
13450 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13451 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13452 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
13453 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13454 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13455 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
13456 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13457 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
13458 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13459 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13460 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
13461 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
13462 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13463 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
13465 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13467 * include/math.h (sqrt): Declare with asm redirect.
13470 (sqrtf128): Likewise.
13471 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
13472 nonlib and libnldbl with -fmath-errno.
13473 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
13474 * math/w_sqrt_template.c: Likewise.
13475 * math/w_sqrtf_compat.c: Likewise.
13476 * math/w_sqrtl_compat.c: Likewise.
13477 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
13478 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
13479 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
13482 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13484 * benchtests/Makefile: Define _ISOMAC.
13485 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
13486 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
13487 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
13488 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
13489 * benchtests/bench-timing.h: Define attribute_hidden.
13491 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13493 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
13496 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13499 * localedata/locales/cs_CZ (mon): Rename to...
13501 (mon): Import from CLDR (genitive case).
13503 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13506 * localedata/locales/el_CY (abmon): Rename to...
13507 (ab_alt_mon): This.
13508 (abmon): Import from CLDR (abbreviated genitive case).
13509 * localedata/locales/el_GR (abmon): Rename to...
13510 (ab_alt_mon): This.
13511 (abmon): Import from CLDR (abbreviated genitive case).
13513 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13516 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
13518 2018-03-15 Robert Buj <robert.buj@gmail.com>
13521 * localedata/locales/ca_ES (abmon): Rename to...
13522 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
13523 (mon): Rename to...
13525 (abmon): Import from CLDR (genitive case, month names preceded by
13528 (abday): Synchronize with CLDR.
13529 (d_t_fmt): Likewise.
13533 (LC_TIME): Improve indentation.
13534 (LC_TELEPHONE): Likewise.
13535 (LC_NAME): Likewise.
13536 (LC_ADDRESS): Likewise.
13538 2018-03-14 Joseph Myers <joseph@codesourcery.com>
13540 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
13541 (lrintf): Remove definitions used only with old GCC.
13542 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
13543 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
13544 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
13545 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
13546 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
13547 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
13548 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
13549 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
13550 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
13551 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
13552 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
13553 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
13554 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
13555 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
13556 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
13557 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
13558 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
13559 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
13560 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
13561 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
13562 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
13563 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
13564 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
13565 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
13566 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
13567 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
13568 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
13569 [__FAST_MATH__] (__M_SQRT2): Remove macro.
13571 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
13573 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
13574 instruction to unbreak builds with binutils 2.26 and older.
13576 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
13578 * sysdeps/aarch64/strncmp.S (count): New macro.
13579 (strncmp): Store misaligned length in SRC1 in COUNT.
13580 (mutual_align): Adjust.
13581 (misaligned8): Load dword at a time when it is safe.
13583 2018-03-12 Zack Weinberg <zackw@panix.com>
13587 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
13588 if the _IO_EOF_SEEN bit is already set; update commentary.
13589 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
13590 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
13592 * support/support_openpty.c, support/tty.h: New files.
13593 * support/Makefile (libsupport-routines): Add support_openpty.
13595 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
13597 * libio/Makefile (tests): Add tst-fgetc-after-eof.
13598 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
13600 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
13602 * po/pt_BR.po: Update translations.
13604 2018-03-12 David Michael <fedora.dm0@gmail.com>
13606 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
13607 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
13608 get a port to the startup server.
13610 2018-03-11 Zack Weinberg <zackw@panix.com>
13612 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
13613 before nldbl-compat.h.
13615 2018-03-10 Zack Weinberg <zackw@panix.com>
13617 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
13618 math.h or math_private.h.
13620 * sysdeps/alpha/fpu/s_isnan.c
13621 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
13622 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
13623 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
13624 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
13625 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
13626 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
13627 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
13628 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
13629 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
13630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
13631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
13632 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
13633 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
13634 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
13635 Include math_private.h.
13637 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
13638 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
13639 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
13640 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
13641 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
13642 * sysdeps/powerpc/power7/fpu/s_logb.c:
13643 Include math.h and math_private.h.
13645 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
13646 uses of $at in .set noat / .set at.
13648 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
13650 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
13651 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
13652 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
13653 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
13656 2018-03-09 Florian Weimer <fweimer@redhat.com>
13658 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
13661 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
13664 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
13665 Add nop before __startcontext, add explaining comments.
13667 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13670 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
13672 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
13673 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
13674 Do not build hardware transactional code for __SPE__.
13675 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13676 (__lll_trylock_elision): Likewise.
13677 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13678 (__lll_unlock_elision): Likewise.
13680 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
13681 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
13682 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
13683 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
13684 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
13685 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
13686 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
13687 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
13688 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
13689 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
13690 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
13691 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
13692 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
13693 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
13694 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
13695 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
13696 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
13697 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
13698 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
13699 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
13700 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
13701 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13702 (__ASSUME_CLONE_BACKWARDS): Define.
13703 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
13704 __clone2 if __NR_clone2 is defined.
13705 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13706 (__ASSUME_CLONE_BACKWARDS): Likewise.
13707 * sysdeps/unix/sysv/linux/i386/kernel-features.h
13708 (__ASSUME_CLONE_BACKWARDS): Likewise.
13709 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13710 (__ASSUME_CLONE2): Likewise.
13711 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13712 (__ASSUME_CLONE_BACKWARDS3): Likewise.
13713 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
13714 variants and the define architecture can use.
13715 (__ASSUME_CLONE_DEFAULT): Define as default.
13716 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13717 (__ASSUME_CLONE_BACKWARDS): Likewise.
13718 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13719 (__ASSUME_CLONE_BACKWARDS): Likewise.
13720 * sysdeps/unix/sysv/linux/s390/kernel-features.h
13721 (__ASSUME_CLONE_BACKWARDS2): Likewise.
13723 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
13725 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
13727 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
13730 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
13731 (do_test_limit): Likewise.
13733 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
13734 for every implementation.
13735 (do_test): Likewise.
13737 * benchtests/bench-strncmp.c: Convert output to json.
13739 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13741 * io/futimens.c: Add missing start-of-file descriptive comment.
13742 * io/utime.c: Likewise.
13743 * misc/futimesat.c: Likewise.
13744 * misc/utimes.c: Likewise.
13745 * sysdeps/mach/hurd/futimesat.c: Likewise.
13746 * sysdeps/mach/hurd/utimes.c: Likewise.
13747 * sysdeps/posix/utime.c: Likewise.
13748 * sysdeps/posix/utimes.c: Likewise.
13749 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
13750 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13751 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
13752 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
13754 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13756 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
13758 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
13759 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
13760 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
13761 (__futimens): Move implementation to...
13762 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
13763 utime_tvalue_from_tspec): ... new helper functions.
13764 (hurd_futimens): New function.
13765 * sysdeps/mach/hurd/futimesat.c: New file.
13766 * sysdeps/mach/hurd/utimensat.c: New file.
13768 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
13770 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
13771 UTIME_OMIT): New macros.
13772 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
13773 before reverting to converting time spec to time value and calling
13775 * sysdeps/mach/hurd/utime-helper.c: New file.
13776 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
13777 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
13778 reverting to utime_tvalue_from_tval and __file_utimes.
13779 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
13780 (__lutimes): Just call hurd_futimens after lookup.
13781 * sysdeps/mach/hurd/utimes.c: Likewise.
13783 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13785 * bits/sigaction.h: Add include guard.
13786 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
13787 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
13788 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
13789 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
13790 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
13791 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
13792 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
13793 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
13794 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
13796 2018-03-05 Joseph Myers <joseph@codesourcery.com>
13798 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
13799 -Wmaybe-uninitialized for -Os.
13800 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
13803 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13805 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
13806 __INO_T_MATCHES_INO64_T is defined.
13807 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
13808 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
13810 * dirent/alphasort64.c: Likewise.
13811 * dirent/scandir.c: Likewise.
13812 * dirent/scandir64-tail.c: Likewise.
13813 * dirent/scandir64.c: Likewise.
13814 * dirent/scandirat.c: Likewise.
13815 * dirent/scandirat64.c: Likewise.
13816 * dirent/versionsort.c: Likewise.
13817 * dirent/versionsort64.c: Likewise.
13818 * include/dirent.h: Likewise.
13820 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
13821 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
13822 for socketpair endpoint.
13823 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
13824 WRITE_BUFFER_SIZE as buffer size for sending socket.
13825 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
13826 issue on system where send is implemented with sendto syscall.
13827 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
13828 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
13829 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
13830 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
13833 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
13834 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
13835 sa_restorer for vDSO case.
13836 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
13838 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13840 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
13841 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
13842 * hurd/hurd/ioctl.h: Include <mach/port.h>
13843 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
13844 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
13845 <mach/mach_types.h> and <mach/message.h>.
13846 (headers): Move mach/param.h to bits/mach/param.h.
13847 * sysdeps/mach/i386/mach/param.h: Move file to ...
13848 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
13849 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
13851 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
13852 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
13853 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
13854 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
13855 trivial, for C++ conformity.
13856 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
13857 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
13858 Process mig output through $(migheadersed).
13859 * hurd/Makefile (migheadersed): Define variable.
13860 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
13861 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
13863 * hurd/hurd.h: Include <bits/types/sigset_t.h>
13864 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
13865 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
13866 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
13867 <bits/types/sigset_t.h>.
13868 [!defined __USE_GNU]: Do not #error out.
13869 (struct hurd_sigstate): Use _NSIG instead of NSIG.
13870 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
13871 Include <stddef.h> and <bits/types/sigset_t.h>
13872 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
13873 instead of sighandler_t.
13874 * stdlib/errno.h (error_t): Move definition to...
13875 * bits/types/error_t.h: ... new header.
13876 * stdlib/Makefile (headers): Add bits/types/error_t.h.
13877 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
13878 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
13879 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
13880 * hurd/hurd.h: Include <bits/types/error_t.h>
13881 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
13882 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
13883 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
13884 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
13885 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
13886 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
13887 * sysdeps/mach/hurd/futimens.c: New file.
13889 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
13892 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
13893 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
13894 * nscd/gai.c (__nss_hosts_database): Readd definition.
13895 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
13896 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
13897 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
13899 2018-03-02 Joseph Myers <joseph@codesourcery.com>
13901 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
13902 (ifunc_one): Likewise.
13904 2018-03-01 DJ Delorie <dj@delorie.com>
13907 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
13910 2018-03-01 Maciej W. Rozycki <macro@mips.com>
13912 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
13913 `match_pid' parameter.
13914 (td_ta_thr_iter): Update accordingly.
13916 2018-03-01 Florian Weimer <fweimer@redhat.com>
13918 * nptl/Makefile (install-lib-ldscripts): Remove.
13919 (install): Remove rule.
13920 ($(inst_libdir)/libpthread.so): Likewise.
13922 2018-03-01 Mike FABIAN <mfabian@redhat.com>
13925 * localedata/locales/an_ES: update month and day names,
13926 improve d_fmt, improve postal_fmt, add country_post,
13929 2018-03-01 Mike FABIAN <mfabian@redhat.com>
13931 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
13932 Ukrainian instead of Bulgarian.
13934 2018-03-01 Florian Weimer <fweimer@redhat.com>
13936 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
13939 2018-03-01 Florian Weimer <fweimer@redhat.com>
13941 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
13942 * nptl/Makefile (routines): Add pthread_atfork.
13943 (static-only-routines): Set to pthread_atfork.
13944 (libpthread-routines): Remove pthread_atfork.
13945 (libpthread-static-only-routines): Remove.
13946 (install): Update comment.
13947 (libpthread.so): Do not install libpthread_nonshared.a.
13948 (tests): Do not link with libpthread_nonshared.a.
13949 (generated): Remove libpthread_nonshared.a.
13950 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
13951 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
13952 with libpthread_nonshared.a.
13954 2018-02-28 Joseph Myers <joseph@codesourcery.com>
13957 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
13958 (libc_feholdexcept_setroundf128): New macro.
13959 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
13962 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
13964 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
13965 * include/inttypes.h: New file.
13967 2018-02-27 Joseph Myers <joseph@codesourcery.com>
13969 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
13970 -Os in two more places.
13972 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13974 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
13975 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
13976 be sorted correctly at the moment because of a bug.
13978 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13980 [BZ #22550] - es_ES locale (and other es_* locales): collation should
13981 treat ñ as a primary different character, sync the collation
13982 for Spanish with CLDR.
13983 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
13984 * localedata/Makefile: Add new test files.
13985 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
13986 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
13988 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
13989 * localedata/am_ET.UTF-8.in: New test file.
13990 * localedata/az_AZ.UTF-8.in: Likewise.
13991 * localedata/be_BY.UTF-8.in: Likewise.
13992 * localedata/ber_DZ.UTF-8.in: Likewise.
13993 * localedata/ber_MA.UTF-8.in: Likewise.
13994 * localedata/bg_BG.UTF-8.in: Likewise.
13995 * localedata/br_FR.UTF-8.in: Likewise.
13996 * localedata/cmn_TW.UTF-8.in: Likewise.
13997 * localedata/crh_UA.UTF-8.in: Likewise.
13998 * localedata/csb_PL.UTF-8.in: Likewise.
13999 * localedata/cv_RU.UTF-8.in: Likewise.
14000 * localedata/cy_GB.UTF-8.in: Likewise.
14001 * localedata/dz_BT.UTF-8.in: Likewise.
14002 * localedata/eo.UTF-8.in: Likewise.
14003 * localedata/es_ES.UTF-8.in: Likewise.
14004 * localedata/fa_IR.UTF-8.in: Likewise.
14005 * localedata/fi_FI.UTF-8.in: Likewise.
14006 * localedata/fil_PH.UTF-8.in: Likewise.
14007 * localedata/fur_IT.UTF-8.in: Likewise.
14008 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
14009 * localedata/ha_NG.UTF-8.in: Likewise.
14010 * localedata/ig_NG.UTF-8.in: Likewise.
14011 * localedata/ik_CA.UTF-8.in: Likewise.
14012 * localedata/kk_KZ.UTF-8.in: Likewise.
14013 * localedata/ku_TR.UTF-8.in: Likewise.
14014 * localedata/ky_KG.UTF-8.in: Likewise.
14015 * localedata/ln_CD.UTF-8.in: Likewise.
14016 * localedata/mi_NZ.UTF-8.in: Likewise.
14017 * localedata/ml_IN.UTF-8.in: Likewise.
14018 * localedata/mn_MN.UTF-8.in: Likewise.
14019 * localedata/mr_IN.UTF-8.in: Likewise.
14020 * localedata/mt_MT.UTF-8.in: Likewise.
14021 * localedata/nb_NO.UTF-8.in: Likewise.
14022 * localedata/om_KE.UTF-8.in: Likewise.
14023 * localedata/os_RU.UTF-8.in: Likewise.
14024 * localedata/ps_AF.UTF-8.in: Likewise.
14025 * localedata/ro_RO.UTF-8.in: Likewise.
14026 * localedata/ru_RU.UTF-8.in: Likewise.
14027 * localedata/sc_IT.UTF-8.in: Likewise.
14028 * localedata/se_NO.UTF-8.in: Likewise.
14029 * localedata/sq_AL.UTF-8.in: Likewise.
14030 * localedata/sv_SE.UTF-8.in: Likewise.
14031 * localedata/szl_PL.UTF-8.in: Likewise.
14032 * localedata/tg_TJ.UTF-8.in: Likewise.
14033 * localedata/tk_TM.UTF-8.in: Likewise.
14034 * localedata/tt_RU.UTF-8.in: Likewise.
14035 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
14036 * localedata/ug_CN.UTF-8.in: Likewise.
14037 * localedata/uz_UZ.UTF-8.in: Likewise.
14038 * localedata/vi_VN.UTF-8.in: Likewise.
14039 * localedata/yi_US.UTF-8.in: Likewise.
14040 * localedata/yo_NG.UTF-8.in: Likewise.
14041 * localedata/zh_CN.UTF-8.in: Likewise.
14042 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
14043 file and fix bugs in the collation.
14044 * localedata/locales/az_AZ: Likewise.
14045 * localedata/locales/be_BY: Likewise.
14046 * localedata/locales/ber_DZ: Likewise.
14047 * localedata/locales/ber_MA: Likewise.
14048 * localedata/locales/bg_BG: Likewise.
14049 * localedata/locales/br_FR: Likewise.
14050 * localedata/locales/br_FR@euro: Likewise.
14051 * localedata/locales/ca_ES: Likewise.
14052 * localedata/locales/cns11643_stroke: Likewise.
14053 * localedata/locales/crh_UA: Likewise.
14054 * localedata/locales/cs_CZ: Likewise.
14055 * localedata/locales/csb_PL: Likewise.
14056 * localedata/locales/cv_RU: Likewise.
14057 * localedata/locales/cy_GB: Likewise.
14058 * localedata/locales/da_DK: Likewise.
14059 * localedata/locales/dz_BT: Likewise.
14060 * localedata/locales/en_CA: Likewise.
14061 * localedata/locales/eo: Likewise.
14062 * localedata/locales/es_CU: Likewise.
14063 * localedata/locales/es_EC: Likewise.
14064 * localedata/locales/es_ES: Likewise.
14065 * localedata/locales/es_US: Likewise.
14066 * localedata/locales/et_EE: Likewise.
14067 * localedata/locales/fa_IR: Likewise.
14068 * localedata/locales/fi_FI: Likewise.
14069 * localedata/locales/fil_PH: Likewise.
14070 * localedata/locales/fur_IT: Likewise.
14071 * localedata/locales/gez_ER@abegede: Likewise.
14072 * localedata/locales/ha_NG: Likewise.
14073 * localedata/locales/hr_HR: Likewise.
14074 * localedata/locales/hsb_DE: Likewise.
14075 * localedata/locales/hu_HU: Likewise.
14076 * localedata/locales/ig_NG: Likewise.
14077 * localedata/locales/ik_CA: Likewise.
14078 * localedata/locales/is_IS: Likewise.
14079 * localedata/locales/iso14651_t1_pinyin: Likewise.
14080 * localedata/locales/kk_KZ: Likewise.
14081 * localedata/locales/ku_TR: Likewise.
14082 * localedata/locales/ky_KG: Likewise.
14083 * localedata/locales/ln_CD: Likewise.
14084 * localedata/locales/lt_LT: Likewise.
14085 * localedata/locales/lv_LV: Likewise.
14086 * localedata/locales/mi_NZ: Likewise.
14087 * localedata/locales/ml_IN: Likewise.
14088 * localedata/locales/mn_MN: Likewise.
14089 * localedata/locales/mr_IN: Likewise.
14090 * localedata/locales/mt_MT: Likewise.
14091 * localedata/locales/nb_NO: Likewise.
14092 * localedata/locales/om_KE: Likewise.
14093 * localedata/locales/os_RU: Likewise.
14094 * localedata/locales/pl_PL: Likewise.
14095 * localedata/locales/ps_AF: Likewise.
14096 * localedata/locales/ro_RO: Likewise.
14097 * localedata/locales/ru_RU: Likewise.
14098 * localedata/locales/ru_UA: Likewise.
14099 * localedata/locales/sc_IT: Likewise.
14100 * localedata/locales/se_NO: Likewise.
14101 * localedata/locales/si_LK: Likewise.
14102 * localedata/locales/sq_AL: Likewise.
14103 * localedata/locales/sv_FI: Likewise.
14104 * localedata/locales/sv_FI@euro: Likewise.
14105 * localedata/locales/sv_SE: Likewise.
14106 * localedata/locales/szl_PL: Likewise.
14107 * localedata/locales/tg_TJ: Likewise.
14108 * localedata/locales/ti_ER: Likewise.
14109 * localedata/locales/tk_TM: Likewise.
14110 * localedata/locales/tl_PH: Likewise.
14111 * localedata/locales/tr_TR: Likewise.
14112 * localedata/locales/tt_RU: Likewise.
14113 * localedata/locales/tt_RU@iqtelif: Likewise.
14114 * localedata/locales/ug_CN: Likewise.
14115 * localedata/locales/uk_UA: Likewise.
14116 * localedata/locales/uz_UZ: Likewise.
14117 * localedata/locales/uz_UZ@cyrillic: Likewise.
14118 * localedata/locales/vi_VN: Likewise.
14119 * localedata/locales/yi_US: Likewise.
14120 * localedata/locales/yo_NG: Likewise.
14122 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14124 * gen-locales.mk: Make test files which contain @ modifiers in their
14126 * localedata/gen-locale.sh: Likewise.
14128 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14130 * posix/tst-fnmatch.input: Fix results for range expressions
14132 * posix/tst-regexloc.c: Do not use a range expression for
14133 de_DE.ISO-8859-1 locale.
14135 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14137 * posix/bug-regex5.c: Fix test case because with the new
14138 iso14651_t1_common file, the da_DK locale now has 6 collating elements
14139 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
14142 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14144 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
14145 downloaded from ISO, the collation order of @-. and space has changed.
14146 Therefore, this test file needed to be adapted.
14147 * localedata/fr_CA.UTF-8.in: Likewise.
14148 * localedata/fr_FR.UTF-8.in: Likewise.
14149 * localedata/uk_UA.UTF-8.in: Likewise.
14151 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14153 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
14154 order of ȥ in the new iso14651_t1_common file.
14155 * localedata/pl_PL.UTF-8.in: Likewise.
14157 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14159 * localedata/locales/iso14651_t1_common: Add sections for various
14160 scripts to the iso14651_t1_common file.
14162 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14164 * localedata/locales/iso14651_t1_common: Use the code point of a
14165 character in the fourth collation level instead of IGNORE for all
14166 entries which have IGNORE on all 4 levels.
14168 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14170 * localedata/locales/iso14651_t1_common: Add some convenient collation
14171 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
14172 rules similar to those in CLDR.
14174 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14176 * localedata/locales/iso14651_t1_common: The new version of this
14177 file downloaded from ISO contained several syntax errors which
14178 are fixed by this patch.
14180 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14182 * localedata/locales/iso14651_t1_common: replace all <U.....>
14183 with <U000.....> because glibc understands only 4 digit or 8 digit
14185 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14187 * localedata/locales/iso14651_t1_common: Necessary changes
14188 to make the file downloaded from ISO usable by glibc.
14190 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14193 * localedata/locales/iso14651_t1_common: Update file to
14194 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
14196 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14198 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
14199 of <nptl/pthreadP.h>
14200 (thread_attr_compare): Move function to...
14201 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
14202 * sysdeps/nptl/timer_routines.h: ... new header.
14203 * sysdeps/mach/hurd/gai_misc.h: New file.
14205 2018-02-26 Joseph Myers <joseph@codesourcery.com>
14207 * string/strcoll_l.c: Include <libc-diag.h>.
14208 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
14209 declarations of seq1 and seq2.
14212 * stdlib/atoi.c (atoi): Use libc_hidden_def.
14213 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
14215 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
14219 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
14220 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
14221 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
14222 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
14223 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
14224 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
14226 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14228 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
14229 macros used in __ptrace_request.
14231 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
14234 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
14236 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
14237 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
14238 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
14241 2018-02-23 Joseph Myers <joseph@codesourcery.com>
14244 * ctype/ctype.c (tolower): Use libc_hidden_def.
14245 (toupper): Likewise.
14246 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
14247 [!_ISOMAC] (toupper): Likewise.
14249 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14251 * localedata/Makefile: Remove --quiet argument when
14254 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14257 * localedata/locales/pt_BR (LC_TIME): use / instead of -
14259 * localedata/locales/pt_PT (LC_TIME): likewise
14261 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14264 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
14265 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
14266 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
14268 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14272 * nptl/Makefile (routines): Remove unregister-atfork.
14273 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
14274 (fork_handler_alloc): Remove function.
14275 (fork_handlers, fork_handler_init): New variables.
14276 (__fork_lock): Rename to atfork_lock.
14277 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
14278 to use a dynamic array to add/remove atfork handlers.
14279 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14280 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
14281 Remove declaration.
14282 (fork_handler): Remove next, refcntr, and need_signal member.
14283 (__run_fork_handler_type): New enum.
14284 (__run_fork_handlers): New prototype.
14285 * nptl/register-atfork.c: Remove file.
14286 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
14288 * sysdeps/nptl/nptl-signals.h: Move to ...
14289 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
14291 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
14292 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
14293 unnecessary check for SIGTIMER.
14294 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
14295 remove unnecessary removal of SIGTIMER.
14296 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
14297 include-signals.h rename.
14298 * nptl/pthreadP.h: Likewise.
14299 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
14300 __is_internal_signal instead of __nptl_is_internal_signal.
14302 2018-02-22 Andrew Waterman <andrew@sifive.com>
14305 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
14306 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
14307 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
14308 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
14310 2018-02-22 DJ Delorie <dj@delorie.com>
14312 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
14314 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
14316 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
14317 do_misaligned, not misaligned8.
14319 2018-02-22 Steve Ellcey <sellcey@cavium.com>
14321 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
14322 Add memcpy_thunderx2.
14323 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
14325 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
14326 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
14327 and IS_THUNDERX2PA checks.
14328 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
14329 Use macro to set name appropriately.
14330 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
14331 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
14332 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
14334 (IS_THUNDERX2): New macro.
14336 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
14338 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14340 2018-02-21 Zack Weinberg <zackw@panix.com>
14342 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
14343 Define here, unconditionally.
14344 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
14345 * libio/libioP.h: Remove #if 0 blocks.
14346 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
14347 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
14348 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
14350 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
14351 Assume weak_alias is always defined.
14353 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
14354 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
14355 Remove #if 0 and #ifdef TODO blocks.
14356 Assume text_set_element is always defined.
14358 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
14359 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
14360 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
14362 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
14363 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
14364 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
14365 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
14366 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
14367 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
14368 Reformat bit flags for _flags field to make occupancy clearer.
14370 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
14371 Keep definitions consistent with those in libio/libio.h.
14373 * libio/libio.h (_IO_file_flags): Remove macro.
14374 All uses changed to _flags.
14376 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
14377 (__HAVE_COLUMN, _IO_BE): Don't define.
14378 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
14379 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
14380 * libio/libioP.h (EOF): Don't define.
14381 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
14382 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
14383 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
14384 testing _IO_UNIFIED_JUMPTABLES.
14386 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
14387 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
14388 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
14389 (_IO_size_t): Delete; all uses changed to size_t.
14390 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
14391 (_IO_off_t): Delete; all uses changed to off_t.
14392 (_IO_off64_t): Delete; all uses changed to off64_t.
14393 (_IO_pid_t): Delete; all uses changed to pid_t.
14394 (_IO_uid_t): Delete; all uses changed to uid_t.
14395 (_IO_wint_t): Delete; all uses changed to wint_t.
14396 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
14397 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
14398 (_IO_cookie_io_functions_t): Delete; all uses changed to
14399 cookie_io_functions_t.
14400 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
14401 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
14402 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
14403 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
14405 * libio/iofopncook.c: Remove unnecessary forward declarations.
14406 * libio/iolibio.h: Correct outdated commentary.
14407 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
14408 * stdio-common/fxprintf.c (__fxprintf_nocancel):
14409 Remove unnecessary casts.
14410 * stdio-common/getline.c: Use _IO_getdelim directly.
14411 Don't redefine ssize_t.
14412 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
14413 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
14414 Remove outdated comments.
14415 * stdio-common/vfscanf.c: Don't redefine va_list.
14417 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
14418 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
14419 Remove preprocessor conditionals on _LIBC and __USE_GNU,
14420 which are always true, and __cplusplus, which is always false.
14422 2018-02-21 Joseph Myers <joseph@codesourcery.com>
14426 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
14427 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
14428 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
14429 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
14431 [!_ISOMAC] (putc_unlocked): Likewise.
14432 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
14433 define inline if [__USE_EXTERN_INLINES].
14434 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
14439 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
14440 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
14441 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
14442 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
14443 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
14445 * time/tzfile.c (__tzfile_read): Likewise.
14447 2018-02-21 Mike FABIAN <mfabian@redhat.com>
14450 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
14452 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14454 * io/fcntl.h: Fix a typo in a comment.
14456 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14459 * include/features.h: Add _ISOC11_SOURCE to test for whether to
14460 define _DEFAULT_SOURCE.
14461 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
14463 2018-02-21 Florian Weimer <fweimer@redhat.com>
14466 * elf/cache.c (save_cache): Call fsync on temporary file before
14468 (save_aux_cache): Call fdatasync on temporary file before renaming
14471 2018-02-21 Florian Weimer <fweimer@redhat.com>
14474 * include/caller.h: Remove file.
14475 * elf/dl-caller.c: Likewise.
14476 * elf/Makefile (dl-routines): Remove dl-caller.
14477 (shared-only-routines): Do not add dl-caller.
14478 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
14480 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
14482 (dl_open_worker): Do not call __check_caller.
14483 (_dl_open): Do not set caller_dl_open member.
14484 * elf/rtld.c (_rtld_global_ro): Do not initialize
14485 _dl_check_caller member.
14486 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
14487 _dl_check_caller member.
14488 (_dl_check_caller): Remove declaration.
14489 * sysdeps/unix/sysv/linux/dl-execstack.c
14490 (_dl_make_stack_executable): Do not call __check_caller.
14492 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
14494 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
14495 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
14497 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14499 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
14502 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14505 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
14506 of 199606L, 200112L, and 200809L.
14507 (_XOPEN_SOURCE): Document special values of 600 and 700.
14508 (_ISOC11_SOURCE): Document macro.
14509 (_ATFILE_SOURCE): Likewise.
14510 (_FORTIFY_SOURCE): Likewise.
14512 2018-02-19 Joseph Myers <joseph@codesourcery.com>
14516 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
14517 and define as weak alias of __ferror_unlocked. Use
14519 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
14521 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
14522 function if [__USE_EXTERN_INLINES].
14523 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
14526 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
14529 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
14531 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14534 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
14535 the GLIBC_2.1 version.
14537 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14540 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
14541 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
14542 intl/tst-gettext-de.po from po/de.po by removing the
14543 POT-Creation-Date line.
14544 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
14546 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
14549 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14551 * mach/Makefile (headers): Add mach/param.h.
14552 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
14553 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
14554 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
14555 (__ptsname_r): Move implementation to...
14556 (__ptsname_internal): ... new function. Add filling the STP
14559 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
14561 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
14564 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
14566 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
14569 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14571 * nptl/Makefile (tst-mutex8-ENV): Delete.
14572 * nptl/tst-mutex8.c (check_type):
14573 Add runtime check if mutex will be elided.
14575 2018-02-15 Joseph Myers <joseph@codesourcery.com>
14579 * manual/install.texi (Configuring and compiling): Describe
14580 passing CC and CFLAGS on configure command line, not as
14581 environment variables. Use @code markup on those variables.
14582 Specify what options go in CC and what go in CFLAGS. Note the
14583 requirement to compile with optimization.
14584 * INSTALL: Regenerated.
14587 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
14588 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
14589 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
14590 __sigprocmask instead of sigprocmask.
14591 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
14593 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
14594 __sigsetjmp and sigprocmask.
14597 * include/argz.h (argz_next): Use libc_hidden_proto.
14598 (__argz_next): Likewise.
14599 * string-argz-next.c (__argz_next): Use libc_hidden_def.
14600 (argz_next): Use libc_hidden_weak.
14603 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
14605 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
14609 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
14611 * libio/iofputs.c (fputs): Use libc_hidden_weak.
14615 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
14616 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
14617 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
14618 (__feof_unlocked): New declaration, and inline function if
14619 [__USE_EXTERN_INLINES].
14620 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
14621 instead of feof_unlocked.
14622 * intl/localealias.c [_LIBC] (FEOF): Likewise.
14623 * nss/nsswitch.c (nss_parse_file): Likewise.
14624 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
14626 * time/getdate.c (__getdate_r): Likewise.
14627 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
14628 Define as macro to call __feof_unlocked.
14630 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14632 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
14634 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14636 * math/Makefile: Remove mpexp.c and mplog.c
14637 * sysdeps/i386/fpu/mpexp.c: Delete file.
14638 * sysdeps/i386/fpu/mplog.c: Likewise.
14639 * sysdeps/ia64/fpu/mpexp.c: Likewise.
14640 * sysdeps/ia64/fpu/mplog.c: Likewise.
14641 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
14642 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
14643 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
14644 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14645 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
14646 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
14647 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
14648 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
14649 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
14650 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14651 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
14652 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
14653 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14654 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
14655 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
14656 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14658 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14660 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14662 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14664 * sysdeps/sh/libm-test-ulps: Update.
14666 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14668 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
14671 2018-02-12 Zack Weinberg <zackw@panix.com>
14674 * posix/sys/types.h: Don't include sys/sysmacros.h.
14675 * misc/sys/sysmacros.h: Remove the conditional deprecation
14676 warnings for the macros defined by this header.
14678 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
14680 * manual/probes.texi: Remove slowexp probes.
14681 * math/Makefile: Remove slowexp.
14682 * sysdeps/generic/math_private.h (__slowexp): Remove.
14683 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
14684 document error bounds.
14685 * sysdeps/i386/fpu/slowexp.c: Remove.
14686 * sysdeps/ia64/fpu/slowexp.c: Remove.
14687 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
14688 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
14689 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
14690 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
14691 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
14692 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
14693 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
14694 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
14695 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
14696 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
14697 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
14699 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
14702 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
14703 * benchtests/pow-inputs: Update comment for slow path cases.
14704 * manual/probes.texi (slowpow_p10): Delete removed probe.
14705 (slowpow_p10): Likewise.
14706 * math/Makefile: Remove halfulp.c and slowpow.c.
14707 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
14708 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
14709 (__halfulp): Remove.
14710 (__slowpow): Remove.
14711 * sysdeps/i386/fpu/halfulp.c: Delete file.
14712 * sysdeps/i386/fpu/slowpow.c: Likewise.
14713 * sysdeps/ia64/fpu/halfulp.c: Likewise.
14714 * sysdeps/ia64/fpu/slowpow.c: Likewise.
14715 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
14716 improve comments and add error analysis.
14717 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
14718 (power1): Remove function:
14719 (log1): Remove error argument, add error analysis.
14720 (my_log2): Remove function.
14721 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
14722 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14723 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
14724 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
14725 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
14726 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
14727 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
14728 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
14729 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
14730 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
14731 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
14732 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14733 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
14734 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14736 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
14738 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
14739 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
14741 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
14744 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
14745 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
14746 and PTRACE_SETHBPREGS.
14748 2018-02-10 Zack Weinberg <zackw@panix.com>
14751 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
14753 * malloc/tst-malloc-stats-cancellation.c: New test case.
14754 * malloc/Makefile: Add new test case.
14756 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
14758 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
14760 2018-02-10 Joseph Myers <joseph@codesourcery.com>
14762 * math/Makefile (libm-narrow-fns): Add add.
14763 (libm-test-funcs-narrow): Likewise.
14764 * math/Versions (GLIBC_2.28): Add narrowing add functions.
14765 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
14766 * math/gen-auto-libm-tests.c (test_functions): Add add.
14767 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
14768 (NARROW_ADD_ROUND_TO_ODD): Likewise.
14769 (NARROW_ADD_TRIVIAL): Likewise.
14770 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
14772 (__daddl): Likewise.
14773 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
14775 (CFLAGS-nldbl-dadd.c): New variable.
14776 (CFLAGS-nldbl-fadd.c): Likewise.
14777 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14779 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
14781 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
14782 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
14783 * math/auto-libm-test-in: Add tests of add.
14784 * math/auto-libm-test-out-narrow-add: New generated file.
14785 * math/libm-test-narrow-add.inc: New file.
14786 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14787 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
14788 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
14789 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
14790 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
14791 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
14792 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
14793 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
14794 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
14795 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
14796 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
14797 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
14798 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
14799 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
14800 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
14801 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
14802 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
14803 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
14804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14805 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14806 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14807 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14808 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14809 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14810 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14811 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14812 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14813 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14814 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14815 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14816 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14817 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14822 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14823 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14824 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14825 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14826 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14827 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14828 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14829 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14830 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14831 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14833 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
14834 (f128-pairs): New variable.
14835 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
14836 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
14838 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
14839 Also make tests add $(f128-loader-link) to gnulib-tests.
14841 2018-02-09 DJ Delorie <dj@redhat.com>
14844 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
14845 64-bit ELF type for 64-bit ELF objects.
14847 2018-02-09 Joseph Myers <joseph@codesourcery.com>
14849 * math/libm-test-driver.c (snan_tests_arg): New variable.
14850 * math/libm-test-support.h (snan_tests_arg): New declaration.
14851 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
14853 * math/Makefile (test-type-pairs): New variable.
14854 (test-type-pairs-f64xf128-yes): Likewise.
14855 (tests): Add test-narrow-macros.
14856 (libm-test-funcs-narrow): New variable.
14857 (libm-test-c-narrow): Likewise.
14858 (generated): Add $(libm-test-c-narrow).
14859 (libm-tests-base-narrow): New variable.
14860 (libm-tests-narrow): Likewise.
14861 (libm-tests): Add $(libm-tests-narrow).
14862 (libm-tests-for-type): Handle $(libm-tests-narrow).
14863 (libm-test-c-narrow-obj): New variable.
14864 ($(libm-test-c-narrow-obj)): New rule.
14865 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
14866 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
14867 $(o-iterator) to set dependencies and CFLAGS.
14868 * math/gen-auto-libm-tests.c: Document use for narrowing
14870 (output_for_one_input_case): Take argument NARROW.
14871 (generate_output): Likewise. Update call to
14872 output_for_one_input_case.
14873 (main): Take --narrow option. Update call to generate_output.
14874 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
14875 (apply_lit): Update call to _apply_lit.
14876 (apply_arglit): New function.
14877 (parse_args): Handle "a" arguments.
14878 (parse_auto_input): Handle format names using ":".
14879 * math/README.libm-test: Document "a" parameter type.
14880 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
14881 (ARG_TYPE_TRUE_MIN): Likewise.
14882 (ARG_TYPE_MAX): Likwise.
14883 (ARG_MIN_EXP): Likewise.
14884 (ARG_MAX_EXP): Likewise.
14885 (ARG_MANT_DIG): Likewise.
14886 (TEST_COND_arg_ibm128): Likewise.
14887 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
14888 (TEST_COND_arg_fmt): New macro.
14889 (init_max_error): Update prototype.
14890 * math/libm-test-support.c (test_ibm128): New variable.
14891 (init_max_error): Take argument testing_ibm128 and set test_ibm128
14892 instead of using [TEST_COND_ibm128] conditional.
14893 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
14894 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
14895 [TEST_NARROW] (TEST_MSG): New definition.
14896 (arg_plus_zero): New macro.
14897 (arg_minus_zero): Likewise.
14898 (arg_plus_infty): Likewise.
14899 (arg_minus_infty): Likewise.
14900 (arg_qnan_value_pl): Likewise.
14901 (arg_qnan_value): Likewise.
14902 (arg_snan_value_pl): Likewise.
14903 (arg_snan_value): Likewise.
14904 (arg_max_value): Likewise.
14905 (arg_min_value): Likewise.
14906 (arg_min_subnorm_value): Likewise.
14907 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
14908 (RUN_TEST_LOOP_aa_f): New macro.
14909 (TEST_SUFF): New macro.
14910 (TEST_SUFF_STR): Likewise.
14911 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
14912 (TEST_COND_any_ibm128): New macro.
14913 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
14914 this_func. Update call to init_max_error.
14915 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
14916 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
14917 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
14918 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
14919 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
14920 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
14921 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
14922 * math/test-math-scalar.h (TEST_NARROW): Likewise.
14923 * math/test-math-vector.h (TEST_NARROW): Likewise.
14924 * math/test-arg-double.h: New file.
14925 * math/test-arg-float128.h: Likewise.
14926 * math/test-arg-float32x.h: Likewise.
14927 * math/test-arg-float64.h: Likewise.
14928 * math/test-arg-float64x.h: Likewise.
14929 * math/test-arg-ldouble.h: Likewise.
14930 * math/test-math-narrow.h: Likewise.
14931 * math/test-narrow-macros.c: Likewise.
14932 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
14933 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
14934 test-narrow-macros-ldbl-64.
14935 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
14937 * math/bits/mathcalls-narrow.h: New file.
14938 * include/bits/mathcalls-narrow.h: Likewise.
14939 * math/math-narrow.h: Likewise.
14940 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
14941 (__MATHCALL_NARROW_ARGS_2): Likewise.
14942 (__MATHCALL_NARROW_ARGS_3): Likewise.
14943 (__MATHCALL_NARROW_NORMAL): Likewise.
14944 (__MATHCALL_NARROW_REDIR): Likewise.
14945 (__MATHCALL_NARROW): Likewise.
14946 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
14947 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
14949 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
14950 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
14951 (libm-narrow-fns): New variable.
14952 (libm-narrow-types-basic): Likewise.
14953 (libm-narrow-types-ldouble-yes): Likewise.
14954 (libm-narrow-types-float128-yes): Likewise.
14955 (libm-narrow-types-float128-alias-yes): Likewise.
14956 (libm-narrow-types): Likewise.
14957 (libm-routines): Add narrowing functions.
14958 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
14959 (libc_feholdexcept_setroundf128): New macro.
14960 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
14961 * sysdeps/ieee754/float128/float128_private.h: Include
14962 <math/math-narrow.h>.
14963 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
14964 Undefine and redefine.
14965 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
14966 (libm_alias_float_ldouble): Undefine and redefine.
14967 (libm_alias_double_ldouble): Likewise.
14969 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
14971 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
14973 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
14976 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
14978 * manual/creature.texi: Convert references to gcc.info to gcc.
14979 * manual/stdio.texi: Likewise.
14980 * manual/string.texi: Likewise.
14982 2018-02-07 Joseph Myers <joseph@codesourcery.com>
14985 * posix/bits/types.h (__int_least8_t): New typedef.
14986 (__uint_least8_t): Likewise.
14987 (__int_least16_t): Likewise.
14988 (__uint_least16_t): Likewise.
14989 (__int_least32_t): Likewise.
14990 (__uint_least32_t): Likewise.
14991 (__int_least64_t): Likewise.
14992 (__uint_least64_t): Likewise.
14993 * sysdeps/generic/stdint.h (int_least8_t): Define using
14995 (int_least16_t): Define using __int_least16_t.
14996 (int_least32_t): Define using __int_least32_t.
14997 (int_least64_t): Define using __int_least64_t.
14998 (uint_least8_t): Define using __uint_least8_t.
14999 (uint_least16_t): Define using __uint_least16_t.
15000 (uint_least32_t): Define using __uint_least32_t.
15001 (uint_least64_t): Define using __uint_least64_t.
15002 * wcsmbs/uchar.h: Include <bits/types.h>.
15003 (char16_t): Define using __uint_least16_t conditional only on
15005 (char32_t): Define using __uint_least32_t conditional only on
15007 * wcsmbs/test-char-types.c: New file.
15008 * wcsmbs/Makefile (tests): Add test-char-types.
15010 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
15013 2018-02-07 Zack Weinberg <zackw@panix.com>
15015 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
15016 Delete all contents except for definitions of _G_HAVE_MMAP and
15017 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
15018 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
15019 sysdeps/unix/sysv/linux/_G_config.h. Make same content
15022 * libio/libio.h: Don't include bits/_G_config.h here.
15023 Include stddef.h with __need_wchar_t defined. Include
15024 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
15025 Define _IO_iconv_t here, directly.
15026 Don't define _IO_HAVE_ST_BLKSIZE.
15027 * libio/libioP.h: Include _G_config.h here. Move include of
15028 shlib-compat.h up with rest of includes. Simplify conditionals
15029 controlling definition of _IO_JUMPS_OFFSET.
15031 * csu/init.c: Remove always-true #if around entire file.
15032 Don't include stdio.h. Set _IO_stdin_used to hardwired
15033 constant 0x20001, and update commentary.
15034 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
15035 Replace all uses of _G_va_list with __gnuc_va_list.
15036 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
15037 instead of #if _IO_HAVE_ST_BLKSIZE.
15038 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
15039 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
15042 * libio/bits/libio.h: Move back to libio/libio.h and adjust
15043 multiple-include guard to match.
15044 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
15046 Remove preprocessor conditionals that are always true and/or
15047 redundant to other preprocessor conditionals in the same nest.
15048 Include shlib-compat.h unconditionally.
15049 Error out if _LIBC is not defined, or if _ISOMAC is defined,
15050 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
15051 defined after including stdio.h.
15052 Use __BEGIN_DECLS/__END_DECLS.
15054 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
15055 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
15056 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
15058 2018-02-07 Zack Weinberg <zackw@panix.com>
15060 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
15061 New single-type headers split from _G_config.h.
15062 * libio/bits/types/cookie_io_functions_t.h
15063 * libio/bits/types/struct_FILE.h
15064 New single-type headers split from libio.h.
15066 * libio/Makefile: Install the above new headers. Don't install
15067 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
15069 * libio/_G_config.h, libio/libio.h: Delete file.
15071 * libio/bits/libio.h: Remove improper-inclusion guard.
15072 Include stdio.h and don't repeat anything that it does.
15073 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
15074 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
15075 __io_read_fn as cookie_read_function_t,
15076 __io_write_fn as cookie_write_function_t,
15077 __io_seek_fn as cookie_seek_function_t,
15078 __io_close_fn as cookie_close_function_t,
15079 and _IO_cookie_io_functions_t as cookie_io_functions_t.
15080 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
15081 here, in the "compatibility defines" section. Remove an #if 0
15082 block. Use the "body" macros from bits/types/struct_FILE.h to
15083 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
15084 and _IO_ferror_unlocked.
15085 Move prototypes of __uflow and __overflow...
15087 * libio/stdio.h: ...here. Don't include bits/libio.h.
15088 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
15089 directly from stdarg.h. Include bits/types/__fpos_t.h,
15090 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
15091 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
15092 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
15093 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
15094 cookie_io_functions_t, not _IO_cookie_io_functions_t;
15095 __ssize_t, not _IO_ssize_t. Unconditionally define
15096 BUFSIZ as 8192 and EOF as (-1).
15098 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
15099 macros from bits/types/struct_FILE.h instead of _IO_* macros
15100 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
15101 instead of _IO_ssize_t.
15102 * libio/bits/stdio2.h: Similarly.
15104 * libio/iolibio.h: Add multiple-include guard.
15105 Include bits/libio.h after stdio.h.
15106 * libio/libioP.h: Add multiple-include guard.
15107 Include stdio.h and bits/libio.h before iolibio.h.
15109 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
15110 * include/bits/types/cookie_io_functions_t.h
15111 * include/bits/types/struct_FILE.h: New wrappers.
15113 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
15114 Get definitions of _G_fpos_t and _G_fpos64_t from
15115 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
15116 respectively. Remove improper-inclusion guards.
15118 * conform/data/stdio.h-data: Update expectations of va_list.
15119 * scripts/check-installed-headers.sh: Remove special case for
15120 libio.h and _G_config.h.
15122 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15126 * include/sys/sysmacros.h [!_ISOMAC]
15127 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
15128 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
15129 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
15130 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
15132 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
15133 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
15135 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
15136 Undefine and redefine to add use __gnu_dev_ prefix.
15137 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
15139 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
15140 and define as hidden inline function.
15141 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
15143 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
15145 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
15146 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
15147 (gnu_dev_minor): Likewise.
15148 (gnu_dev_makedev): Likewise.
15149 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
15151 * posix/wordexp.c (exec_comm_child): Likewise.
15152 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
15153 instead of minor and __gnu_dev_major instead of major.
15154 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
15155 __gnu_dev_major instead of major.
15156 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
15157 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
15158 instead of gnu_dev_minor.
15159 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
15160 (SLAVE_P): Likewise.
15161 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
15162 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
15166 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
15168 * locale/weightwc.h (findidx): Likewise.
15170 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
15172 * manual/probes.texi (slowlog): Delete documentation of removed probe.
15173 (slowlog_inexact): Likewise
15174 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
15175 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
15177 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
15180 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
15181 missing second underscore to parameter name.
15183 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15189 * bits/byteswap.h: Update file comment. Do not include
15190 <bits/byteswap-16.h>.
15191 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
15193 (__bswap_16): Define as inline function.
15194 (__bswap_constant_32): Reformat definition.
15195 (__bswap_32): Always define as inline function, not macro, using
15196 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
15197 otherwise __bswap_constant_32.
15198 (__bswap_constant_64): Reformat definition. Do not use
15199 __extension__ here.
15200 (__bswap_64): Always define as inline function, not macro. Use
15201 __extension__ on function definition. Use __builtin_bswap64 if
15202 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
15203 * string/test-endian-file-scope.c: New file.
15204 * string/test-endian-sign-conversion.c: Likewise.
15205 * string/Makefile (headers): Remove bits/byteswap-16.h.
15206 (tests): Add test-endian-file-scope and
15207 test-endian-sign-conversion.
15208 (CFLAGS-test-endian-sign-conversion.c): New variable.
15209 * bits/byteswap-16.h: Remove file.
15210 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
15211 * sysdeps/ia64/bits/byteswap.h: Likewise.
15212 * sysdeps/m68k/bits/byteswap.h: Likewise.
15213 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15214 * sysdeps/s390/bits/byteswap.h: Likewise.
15215 * sysdeps/tile/bits/byteswap.h: Likewise.
15216 * sysdeps/x86/bits/byteswap-16.h: Likewise.
15217 * sysdeps/x86/bits/byteswap.h: Likewise.
15220 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
15221 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
15222 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
15223 199901L] (__restrict): Define to restrict.
15226 * string/testcopy.c: Include <support/support.h>. Do not include
15227 <malloc.h>. Use <support/test-driver.c>.
15228 (main): Rename to do_test. Make static. Use xmalloc instead of
15232 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
15233 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
15234 (SSIZE_MAX): Define to INT_MAX.
15235 * posix/test-ssize-max.c: New file.
15236 * posix/Makefile (tests): Add test-ssize-max.
15239 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
15240 <support/support.h>. Do not include <malloc.h>.
15241 (query_auxv): Use xmalloc instead of malloc.
15244 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
15245 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
15248 2018-02-06 Florian Weimer <fweimer@redhat.com>
15251 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15252 Use scratch_buffer instead of extend_alloca.
15254 2018-02-06 Zack Weinberg <zackw@panix.com>
15256 * libio/stdio.h: Don't define getc or putc as macros.
15257 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
15258 not _IO_getc and _IO_putc.
15260 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
15261 * stdio-common/tstgetln.c: Don't redefine ssize_t.
15263 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15265 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
15266 (TCP_FASTOPEN_NO_COOKIE): Likewise.
15268 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
15271 * elf/elf.h (NT_PRFPREG): New macro.
15272 (NT_S390_VXRS_LOW): Likewise.
15273 (NT_S390_VXRS_HIGH): Likewise.
15274 (NT_S390_GS_CB): Likewise.
15275 (NT_S390_GS_BC): Likewise.
15276 (NT_S390_RI_CB): Likewise.
15278 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
15279 (MAP_SYNC): New macro.
15280 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
15282 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
15283 (MAP_SYNC): Likewise.
15284 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
15285 (MAP_SYNC): Likewise.
15286 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
15287 (MAP_SYNC): Likewise.
15288 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
15289 (MAP_SYNC): Likewise.
15290 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
15291 (MAP_SYNC): Likewise.
15292 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
15293 (MAP_SYNC): Likewise.
15294 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
15296 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
15299 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
15300 (MAP_SHARED_VALIDATE): New macro.
15301 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15302 (MAP_SHARED_VALIDATE): Likewise.
15304 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15306 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
15307 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
15308 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
15310 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15312 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
15313 (DT_NUM): Updated to 35.
15315 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15317 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
15318 __builtin_expect with __glibc_likely and __glibc_unlikely.
15319 (elf_machine_rela): Likewise.
15320 (elf_machine_lazy_rel): Likewise.
15322 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15324 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
15325 __builtin_expect with __glibc_likely and __glibc_unlikely.
15326 (elf_machine_lazy_rel): Likewise.
15328 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15331 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
15333 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
15335 2018-02-05 Andreas Schwab <schwab@suse.de>
15338 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
15341 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15343 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
15344 not check against PTHREAD_STACK_MIN.
15346 2018-02-02 Sean McKean <smckean83@gmail.com>
15349 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
15351 2018-02-02 Florian Weimer <fweimer@redhat.com>
15354 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
15355 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
15356 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
15357 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
15358 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
15359 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
15360 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
15361 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
15362 * manual/llio.texi (Scatter-Gather): Mention offset -1.
15363 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
15364 * misc/tst-preadvwritev2.c (do_test): Call it.
15365 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
15367 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
15369 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
15371 * benchtests/bench-memcmp.c: Print json instead of plain text.
15373 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
15376 2018-02-01 Joseph Myers <joseph@codesourcery.com>
15378 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15380 (s390_sthyi): New syscall.
15382 * sysdeps/generic/ldbl-classify-compat.h: New file.
15383 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
15384 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
15385 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
15386 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
15387 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
15388 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
15389 * sysdeps/ieee754/dbl-64/s_finite.c: Include
15390 <ldbl-classify-compat.h>.
15391 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15392 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
15393 <ldbl-classify-compat.h>.
15394 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15395 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
15396 <ldbl-classify-compat.h>.
15397 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15398 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
15399 <ldbl-classify-compat.h>.
15400 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15401 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
15402 <ldbl-classify-compat.h>.
15403 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15404 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
15405 <ldbl-classify-compat.h>.
15406 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15407 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
15408 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15409 * sysdeps/m68k/coldfire/math_private.h: Remove file.
15410 * sysdeps/microblaze/math_private.h: Likewise.
15411 * sysdeps/nios2/math_private.h: Likewise.
15412 * sysdeps/sh/math_private.h: Likewise.
15414 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
15415 * sysdeps/m68k/coldfire/math_private.h: ... here.
15416 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
15417 * sysdeps/tile/math_private.h: Likewise.
15418 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
15420 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
15423 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
15425 (libc_fetestexcept): Likewise.
15426 (libc_feupdateenv_test): Likewise.
15427 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
15428 (libc_fetestexcept): Likewise.
15429 (libc_feupdateenv_test): Likewise.
15430 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
15431 (libc_fetestexcept): Likewise.
15432 (libc_feupdateenv_test): Likewise.
15433 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
15434 (libc_fetestexcept): Likewise.
15435 (libc_feupdateenv_test): Likewise.
15437 * sysdeps/generic/math_private.h
15438 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
15439 New inline function.
15440 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
15443 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
15444 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
15445 * sysdeps/generic/math_private.h
15446 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
15448 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
15450 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
15452 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
15454 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
15456 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
15458 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
15459 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
15460 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
15461 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
15462 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
15463 (__fegetenv): Likewise.
15464 (fesetenv): Likewise.
15465 (__fesetenv): Likewise.
15466 (feupdateenv): Likewise.
15467 (__feupdateenv): Likewise.
15468 (fegetround): Likewise.
15469 (__fegetround): Likewise.
15470 (fesetround): Likewise.
15471 (__fesetround): Likewise.
15473 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
15474 (feraiseexcept): New macro.
15475 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
15476 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
15478 (__feraiseexcept): Likewise.
15479 (feclearexcept): Likewise.
15480 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
15481 (__feraiseexcept): Likewise.
15482 (feclearexcept): Likewise.
15483 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
15484 (__feraiseexcept): Likewise.
15485 (feclearexcept): Likewise.
15486 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
15487 (__feraiseexcept): Likewise.
15488 (feclearexcept): Likewise.
15489 (fetestexcept): Likewise.
15491 * sysdeps/m68k/coldfire/math-tests.h: New file.
15493 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
15494 * sysdeps/m68k/bits/fenv.h: ... here.
15495 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
15497 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
15499 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
15501 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
15503 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
15505 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
15507 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
15508 (__FE_UNDEFINED): New enum constant.
15509 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
15511 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
15513 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
15515 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
15516 to match generic bits/fenv.h.
15517 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
15520 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
15522 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
15523 * soft-fp/half.h (union _FP_UNION_H): Likewise.
15524 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
15525 * soft-fp/single.h (union _FP_UNION_S): Likewise.
15527 2018-02-01 Carlos O'Donell <carlos@redhat.com>
15528 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
15529 Joseph Myers <joseph@codesourcery.com>
15532 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
15533 (__log1p): Disable -Wmaybe-uninitialized for -Os around
15534 computation using c.
15535 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
15536 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
15537 computation using c.
15539 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15541 * version.h (RELEASE): Set to "development".
15542 (VERSION): Set to "2.27.9000".
15543 * NEWS (2.28): New section.
15545 * version.h (RELEASE): Set to "stable".
15546 (VERSION): Set to "2.27".
15547 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
15549 * NEWS: Add the list of bugs fixed in 2.27.
15551 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15553 * stdlib/test-atexit-race-common.c (do_test): Check stack size
15554 against PTHREAD_STACK_MIN.
15556 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15558 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
15560 (Rafal Luzynski, Andreas Schwab): Update.
15562 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
15565 * NEWS: List the languages which actually use the alternative
15566 months feature in this release. Also explain that "alt_mon" and
15567 "ab_alt_mon" are optional.
15569 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
15572 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
15574 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
15576 * manual/install.texi (Tools for Compilation): Update the newest
15577 versions of gcc, binutils, texinfo, gawk, bison, and sed.
15578 * INSTALL: Regenerated.
15580 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15582 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
15583 instead of __builtin_expect.
15585 2018-01-30 Florian Weimer <fweimer@redhat.com>
15587 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
15589 * nss/tst-nss-getpwent.c (do_test): Likewise.
15591 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
15594 * localedata/locales/hr_HR (mon): Rename to...
15596 (mon): Import from CLDR (genitive case).
15597 (d_t_fmt): Update the comment.
15599 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
15601 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
15602 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
15603 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
15605 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15607 * mach/Versions: Fix version when __mach_host_self_ was added.
15608 * hurd/Versions: Fix version when _hurd_exec_paths was added.
15609 * sysdeps/mach/hurd/i386/ld.abilist: New file.
15610 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
15611 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
15612 * sysdeps/mach/hurd/i386/libc.abilist: New file.
15613 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
15614 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
15615 * sysdeps/mach/hurd/i386/libm.abilist: New file.
15616 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
15617 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
15618 * sysdeps/mach/hurd/i386/librt.abilist: New file.
15619 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
15620 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
15621 || to respect codestyle.
15622 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
15623 (do_test_bz20181): Rename accordingly.
15624 * malloc/malloc.c: Include <assert.h>.
15625 (assert): Do not define.
15626 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
15627 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
15628 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
15629 * sysdeps/mach/hurd/hp-timing.h: New file.
15630 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
15632 2018-01-29 Darius Rad <darius@bluespec.com>
15634 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
15636 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
15638 * sysdeps/init_array/crti.S (.section .init_array): Add
15639 PREINIT_FUNCTION when defined.
15640 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
15641 * config.h.in: Regenerate.
15642 * manual/platform.texi: Add RISC-V documenation for
15643 __riscv_flush_icache.
15644 * sysdeps/riscv/__longjmp.S: New file.
15645 * sysdeps/riscv/backtrace.c: Likewise.
15646 * sysdeps/riscv/bits/endian.h: Likewise.
15647 * sysdeps/riscv/bits/setjmp.h: Likewise.
15648 * sysdeps/riscv/bits/wordsize.h: Likewise.
15649 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
15650 * sysdeps/riscv/bsd-setjmp.c: Likewise.
15651 * sysdeps/riscv/dl-trampoline.S: Likewise.
15652 * sysdeps/riscv/gccframe.h: Likewise.
15653 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
15654 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
15655 * sysdeps/riscv/machine-gmon.h: Likewise.
15656 * sysdeps/riscv/memusage.h: Likewise.
15657 * sysdeps/riscv/setjmp.S: Likewise.
15658 * sysdeps/riscv/sys/asm.h: Likewise.
15659 * sysdeps/riscv/tls-macros.h: Likewise.
15660 * sysdeps/riscv/dl-tls.h: New file.
15661 * sysdeps/riscv/libc-tls.c: Likewise.
15662 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
15663 * sysdeps/riscv/nptl/tls.h: Likewise.
15664 * sysdeps/riscv/stackinfo.h: Likewise.
15665 * sysdeps/riscv/bits/fenv.h: New file.
15666 * sysdeps/riscv/e_sqrtl.c: Likewise.
15667 * sysdeps/riscv/fpu_control.h: Likewise.
15668 * sysdeps/riscv/math-tests.h: Likewise.
15669 * sysdeps/riscv/nofpu/Implies: Likewise.
15670 * sysdeps/riscv/sfp-machine.h: Likewise.
15671 * sysdeps/riscv/tininess.h: Likewise.
15672 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
15673 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
15674 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
15675 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
15676 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
15677 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
15678 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
15679 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
15680 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
15681 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
15682 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
15683 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
15684 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
15685 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
15686 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
15687 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
15688 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
15689 * sysdeps/riscv/rvd/s_finite.c: Likewise.
15690 * sysdeps/riscv/rvd/s_fma.c: Likewise.
15691 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
15692 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
15693 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
15694 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
15695 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
15696 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
15697 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
15698 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
15699 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
15700 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
15701 * sysdeps/riscv/rvf/fegetround.c: Likewise.
15702 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
15703 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
15704 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
15705 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
15706 * sysdeps/riscv/rvf/fesetround.c: Likewise.
15707 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
15708 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
15709 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
15710 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
15711 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
15712 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
15713 * sysdeps/riscv/rvf/math_private.h: Likewise.
15714 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
15715 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
15716 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
15717 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
15718 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
15719 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
15720 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
15721 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
15722 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
15723 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
15724 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
15725 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
15726 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
15727 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
15728 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
15729 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
15730 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
15731 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
15732 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
15733 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
15734 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
15735 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15736 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
15737 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
15738 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
15739 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
15740 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
15741 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
15742 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
15743 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
15744 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
15745 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
15746 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
15747 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
15748 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
15749 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
15750 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
15751 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
15752 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
15753 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
15754 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
15755 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
15756 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
15757 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
15758 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
15759 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
15760 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
15761 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
15762 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
15763 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
15764 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
15765 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
15766 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
15767 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
15768 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
15769 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
15770 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
15771 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
15772 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
15773 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
15774 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15775 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15776 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15777 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15778 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15779 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15780 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15781 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15782 * sysdeps/riscv/Implies: New file.
15783 * sysdeps/riscv/Makefile: Likewise.
15784 * sysdeps/riscv/configure: Likewise.
15785 * sysdeps/riscv/configure.ac: Likewise.
15786 * sysdeps/riscv/nptl/Makefile: Likewise.
15787 * sysdeps/riscv/preconfigure: Likewise.
15788 * sysdeps/riscv/rv64/Implies-after: Likewise.
15789 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
15790 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
15791 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
15792 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
15793 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
15794 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
15795 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
15796 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
15797 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
15798 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
15799 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
15800 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
15801 (Config): Likewise.
15803 2018-01-29 Florian Weimer <fweimer@redhat.com>
15806 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
15807 libnsl_hidden_proto.
15808 * include/rpcsvc/yp.h (yp_xdrall): Declare with
15809 libnsl_hidden_proto.
15810 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
15811 * nis/Makefile (libnsl-routines): Add nss-default only for
15812 build-obsolete-nsl.
15813 * nis/nis_defaults.c (__nis_default_ttl): Add
15814 libnsl_hidden_nolink_def.
15815 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
15817 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
15818 * nis/ypclnt.c (yp_maplist): Likewise.
15820 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
15822 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15823 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
15825 2018-01-29 Joseph Myers <joseph@codesourcery.com>
15827 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
15828 clean -dxfq for git updates when replacing sources.
15830 * scripts/build-many-glibcs.py (Config.build_gcc): Use
15831 --disable-libcilkrts unconditionally, not just for the final GCC
15834 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15837 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15840 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
15843 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15846 * localedata/locales/be_BY (mon): Rename to...
15847 (alt_mon): This, then synchronize with CLDR (nominative case).
15848 (abmon): Rename to...
15849 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15850 (mon): Import from CLDR (genitive case).
15852 * localedata/locales/be_BY@latin (mon): Rename to...
15854 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
15856 * localedata/locales/be_BY@latin (lang_name): Reworded to
15857 "biełaruskaja mova".
15859 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15862 * localedata/locales/el_CY (mon): Renamed to...
15864 (mon): Import from CLDR (genitive case).
15865 * localedata/locales/el_GR: Likewise.
15867 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15870 * localedata/locales/ru_RU (mon): Rename to...
15872 (abmon): Rename to...
15873 (ab_alt_mon): This.
15874 (mon): Import from CLDR (genitive case).
15875 (abmon): Copy from the old content except the 5th month which is
15876 now in the genitive case, even when abbreviated.
15877 * localedata/locales/ru_UA: Likewise.
15878 * time/tst-strptime.c (day_tests): Add an actual example of
15879 a difference between %b and %Ob in Russian.
15881 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15883 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
15884 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
15886 * resolv/res-close.c: Include <stdlib.h>.
15887 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
15888 <sys/wait.h>, <time.h>, <sys/uio.h>.
15889 (NOT_CANCEL_H): Add inclusion guard.
15890 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
15891 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
15892 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
15894 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
15895 vm_address_t * to ElfW(Addr) * for dl_main parameter.
15896 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
15898 * sysdeps/pthread/timer_create.c (timer_create): Do not use
15899 timer_ptr2id to cast struct timer_node * to void *.
15900 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
15901 --disable-libcilkrts to gcc configure.
15902 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
15903 and make them the default for now.
15904 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
15905 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
15906 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
15907 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
15908 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
15910 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
15911 __task_terminate would ever return successfully.
15912 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
15914 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
15915 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
15916 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
15917 critical section to make code simpler and avoid warning.
15918 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
15919 critical section to make code simpler and avoid warning.
15920 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
15921 const char * instead of char *.
15922 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
15923 __hurd_file_name_split, hurd_file_name_split,
15924 __hurd_directory_name_split, hurd_directory_name_split,
15925 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
15926 hurd_file_name_path_lookup): Make lookup function parameter take a
15927 const char *name instead of char *name.
15928 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
15929 __hurd_directory_name_split): Likewise.
15930 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
15931 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
15932 * sysdeps/mach/hurd/check_native.c: New file.
15933 * sysdeps/mach/hurd/check_pf.c: New file.
15934 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
15935 (__freeifaddrs): Define macro to freeifaddrs.
15936 * sysdeps/mach/hurd/libhurduser.abilist: New file.
15937 * sysdeps/mach/libmachuser.abilist: New file.
15938 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
15939 (do_test_bz20181): Rename accordingly.
15940 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
15941 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
15943 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
15944 version only if __USE_EXTERN_INLINES is defined.
15945 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
15946 __hurd_sockfail): Likewise.
15947 (_hurd_fd_get): Always declare functions, and provide inline versions
15948 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
15949 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
15950 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
15951 _hurd_port_set): Always declare functions, and provide inline versions
15952 only if __USE_EXTERN_INLINES and _LIBC are defined and
15954 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
15955 _hurd_critical_section_unlock): Likewise.
15956 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
15957 * __hurd_threadvar_location): Likewise.
15958 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
15959 _hurd_userlink_clear): Likewise.
15960 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
15961 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
15962 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
15963 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
15964 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
15965 __spin_lock_locked): Likewise.
15966 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
15967 __spin_lock_locked): Likewise.
15968 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
15969 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
15970 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
15971 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
15972 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
15973 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
15974 _POSIX_NO_TRUNC): Define to 0.
15975 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
15976 check size against PTHREAD_STACK_MIN.
15977 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
15978 IS_IN(libpthread)]: Include <sigsetops.h>.
15979 * mach/Makefile (user-interfaces): Add mach/gnumach.
15980 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
15981 * sysdeps/mach/configure (mach_interface_list): Regenerate.
15982 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
15983 instead of invalid -1.
15984 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
15985 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
15986 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
15989 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
15991 * hurd/fcntl-internal.h: New file.
15993 2018-01-27 James Clarke <jrtc27@jrtc27.com>
15995 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15997 * sysdeps/alpha/fpu/libm-test-ulps: Update.
15999 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
16002 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
16003 Build only shared objects.
16005 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16007 * README: Update for hppa.
16009 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16011 * sysdeps/sparc/fpu/libm-test-ulps: Update
16012 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
16014 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16018 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16021 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16022 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
16023 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16024 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
16027 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16030 * bits/types/__cancel_jmp_buf_tag.h: New file.
16031 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
16032 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
16033 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
16034 * nptl/Makefile (headers): Add
16035 bits/types/__cancel_jmp_buf_tag.h.
16036 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
16037 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
16038 * sysdeps/nptl/pthread.h: Include
16039 <bits/types/__cancel_jmp_buf_tag.h>.
16040 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
16042 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
16044 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
16047 * localedata/locales/uk_UA (mon): Renamed to...
16049 (alt_digits): "0" removed and then renamed to...
16051 (date_fmt): Definition changed not to use the alternative
16054 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
16056 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
16057 FLAG_RISCV_FLOAT_ABI_DOUBLE.
16058 * elf/elf.h (EF_RISCV_RVC): New define.
16059 (EF_RISCV_FLOAT_ABI): Likewise.
16060 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
16061 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
16062 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16063 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
16064 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
16066 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16068 2018-01-25 Andreas Schwab <schwab@suse.de>
16070 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
16072 * sysdeps/gnu/configure: Regenerate.
16073 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
16074 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16076 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
16077 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
16078 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
16079 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
16080 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
16082 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16084 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
16085 URL, and run autoconf, make it the default for now.
16087 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16089 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16090 soft-float ColdFire configuration.
16092 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
16093 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
16094 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
16096 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
16099 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
16101 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
16103 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
16106 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
16107 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
16108 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
16111 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
16114 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
16115 Rename to __reserved and add comment.
16116 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
16117 Rename to __reserved.
16119 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16121 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16122 i686-gnu configurations.
16123 (Context.run_builds): Include mig, gnumach and hurd in components
16125 (Context.checkout): Add mig, gnumach and hurd to components.
16126 (Context.checkout_tar): Add URL mappings for mig, gnumach and
16128 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
16129 (Config.build): Install gnumach headers, build mig and install
16130 hurd headers for 'gnu' OS.
16131 (Config.install_gnumach_headers): New function.
16132 (Config.install_hurd_headers): Likewise.
16133 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
16134 when building for 'gnu' OS.
16136 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
16138 * manual/tunables.texi (Hardware Capability Tunables): Fix
16141 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
16143 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
16144 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
16145 (ALTMON_11, ALTMON_12): Improve documentation.
16146 * manual/time.texi (strftime): Likewise.
16148 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16151 * localedata/locales/pl_PL: Alternative month names added,
16152 primary month names are genitive now.
16153 * time/tst-strptime.c (day_tests): Actually use a genitive case
16154 of a month name in Polish language.
16156 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16159 * manual/locale.texi: Document ALTMON_1..12 constants for
16160 nl_langinfo. Specify when to use ALTMON instead of MON.
16161 * manual/time.texi (strftime, strptime): Document GNU extension
16162 permitting O modifier with %B and %b. Specify when to use
16165 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16168 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
16169 names, define them as the same as abbreviated month names explicitly.
16170 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
16171 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
16172 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
16173 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
16174 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
16175 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
16176 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
16177 _NL_WABALTMON_12): New enum constants.
16178 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
16179 wab_alt_mon, and ab_alt_mon_defined members.
16180 (time_output): Output ab_alt_mon and wab_alt_mon members.
16181 (time_read): Read them, initialize them as copies of abmon and wabmon
16182 respectively if they are missing, initialize ab_alt_mon_defined.
16183 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
16184 * locale/programs/locfile-kw.h: Regenerate.
16185 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
16186 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
16188 * time/strftime_l.c (a_altmonth, aam_len): New macros.
16189 [!COMPILE_WIDE] (ABALTMON_1): New macro.
16190 (__strftime_internal): Handle %Ob and %Oh formats.
16191 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
16192 (__strptime_internal): Handle %Ob and %Oh formats.
16193 * time/tst-strptime.c (day_tests): Add more tests to parse different
16194 forms of month names including the new %Ob format specifier.
16196 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16199 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
16200 define them as the same as primary full month names explicitly.
16201 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
16202 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
16203 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
16204 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
16205 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
16206 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
16207 _NL_WALTMON_12): New enum constants.
16208 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
16209 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
16211 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
16212 walt_mon, and alt_mon_defined members.
16213 (time_output): Output alt_mon and walt_mon members.
16214 (time_read): Read them, initialize them as copies of mon and wmon
16215 respectively if they are missing, initialize alt_mon_defined.
16216 * locale/programs/locfile-kw.gperf (alt_mon): Define.
16217 * locale/programs/locfile-kw.h: Regenerate.
16218 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
16219 * localedata/tst-langinfo.c (map): Add tests for the new constants
16220 ALTMON_1 .. ALTMON_12.
16221 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
16223 * time/strftime_l.c (f_altmonth): New macro.
16224 (__strftime_internal): Handle %OB format.
16225 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
16226 (__strptime_internal): Handle %OB format.
16227 * time/tst-strptime.c (day_tests): Add tests to parse different forms
16228 of month names including the new %OB format specifier.
16230 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16233 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
16234 from ABORT_TRANSACTION.
16235 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
16236 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
16237 ABORT_TRANSACTION_IMPL): Likewise.
16238 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
16239 Linux code, but remove the code that aborts transactions.
16241 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16243 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
16245 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
16247 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
16248 in date: "2004-14-09" should be "2004-09-14".
16249 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
16250 "2003-15-09" should be "2003-09-15".
16252 2018-01-18 Arjun Shankar <arjun@redhat.com>
16258 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
16260 (_int_memalign): check for integer overflow before calling
16262 * malloc/tst-malloc-too-large.c: New test.
16263 * malloc/Makefile: Add tst-malloc-too-large.
16265 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
16267 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
16268 in date: "2017-24-07" should be "2017-07-24".
16269 * localedata/locales/mai_IN: Likewise.
16270 * localedata/locales/mai_NP: Likewise.
16272 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
16274 * po/ru.po: Update translations.
16276 2018-01-17 Joseph Myers <joseph@codesourcery.com>
16279 * sysdeps/hppa/backtrace.c: New file.
16281 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
16284 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
16285 align La_x86_64_retval to VEC_SIZE.
16287 2018-01-16 Joseph Myers <joseph@codesourcery.com>
16289 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
16290 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
16292 2018-01-16 Florian Weimer <fweimer@redhat.com>
16294 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
16295 Move tst-thread-exit-clobber ...
16296 [$(CXX)] (tests-unsupported): ... to here.
16298 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16300 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
16301 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
16302 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16303 (_dl_aarch64_cap_flags): Update.
16304 (_DL_HWCAP_COUNT): Update.
16306 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16308 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
16309 (_DL_HWCAP_LAST): Remove.
16310 (_DL_HWCAP_COUNT): Move to ...
16311 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16312 (_DL_HWCAP_COUNT): ... here.
16314 2018-01-16 Florian Weimer <fweimer@redhat.com>
16316 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
16317 mode with GNU extensions.
16319 2018-01-15 Alan Hayward <alan.hayward@arm.com>
16321 * elf/elf.h (NT_ARM_SVE): Define.
16323 2018-01-15 Florian Weimer <fweimer@redhat.com>
16326 * nptl/tst-minstack-throw.cc: New file.
16327 * nptl/Makefile (tests): Add tst-minstack-throw.
16328 (LDLIBS-tst-minstack-throw): Link with libstdc++.
16329 [!CXX] (tests-unsupported): Add tst-minstack-throw.
16331 2018-01-15 Joseph Myers <joseph@codesourcery.com>
16333 * scripts/build-many-glibcs.py (Context.checkout): Default
16334 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
16337 2018-01-13 Carlos O'Donell <carlos@redhat.com>
16340 * elf/elf.h (DF_1_STUB): Define.
16341 (DF_1_PIE): Define.
16343 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16346 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
16347 Do not add 0.5 to integer or out-of-range arguments.
16349 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16351 * po/bg.po: Update translations.
16352 * po/cs.po: Likewise.
16353 * po/de.po: Likewise.
16354 * po/ko.po: Likewise.
16355 * po/pl.po: Likewise.
16356 * po/sv.po: Likewise.
16357 * po/uk.po: Likewise.
16358 * po/vi.po: Likewise.
16360 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16362 * aarch64/start.S (_start): Use __wrap_main.
16363 (__wrap_main): New local symbol.
16365 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16369 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
16370 generic_getcwd if the path returned by getcwd syscall is not absolute.
16371 * io/tst-getcwd-abspath.c: New test.
16372 * io/Makefile (tests): Add tst-getcwd-abspath.
16374 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
16376 * malloc/malloc.c (malloc_consolidate): Add size check.
16378 2018-01-12 Florian Weimer <fweimer@redhat.com>
16380 * support/write_message.c (write_message): Preserve errno.
16381 * support/check.c (print_failure): Likewise.
16382 * support/support_test_verify_impl.c (support_test_verify_impl):
16384 * support/support_test_compare_failure.c
16385 (support_test_compare_failure): Likewise.
16387 2018-01-12 Florian Weimer <fweimer@redhat.com>
16390 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
16391 Prevent installation of libnsl.so.
16392 (libnsl-inhibit-o): Do not build (or install) static libraries.
16394 2018-01-12 Egmont Koblinger <egmont@gmail.com>
16397 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
16398 before the day number which may produce a double space.
16399 (date_fmt): Likewise.
16401 2018-01-12 Joseph Myers <joseph@codesourcery.com>
16403 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
16404 instead of fegetenv.
16406 2018-01-11 Joseph Myers <joseph@codesourcery.com>
16409 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
16410 comment to say exceptions are discarded.
16411 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
16413 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
16416 2018-01-11 Florian Weimer <fweimer@redhat.com>
16418 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
16421 2018-01-11 Florian Weimer <fweimer@redhat.com>
16424 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
16425 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
16427 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16430 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
16431 negative arguments in test for NaN or infinity argument.
16433 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
16435 * po/libc.pot: Regenerate.
16437 2018-01-10 Florian Weimer <fweimer@redhat.com>
16440 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
16441 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
16443 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16445 * hurd/hurd/fd.h: Include <fcntl.h>
16446 (__hurd_at_flags): New function.
16447 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
16448 with call to __hurd_at_flags.
16449 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
16450 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
16452 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
16453 (__access_noerrno): Use __faccessat_common instead of access_common.
16454 (__access): Likewise.
16455 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
16456 with a call to __faccessat.
16457 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
16458 (__faccessat_common): ... this. Move implementation of __access into it when
16459 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
16460 reauthenticate_cwdir_at helper to implement AT mechanism.
16461 (__faccessat_noerrno): New function, just calls __faccessat_common.
16462 (__faccessat): New function, just calls __faccessat_common.
16463 (faccessat): Define weak alias.
16465 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16468 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16469 (CFLAGS-s_fmaxmagl.c): New variable.
16470 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
16473 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
16474 long int for arguments of possibly overflowing addition or
16476 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16478 2018-01-09 Joseph Myers <joseph@codesourcery.com>
16481 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16482 (CFLAGS-e_remainderl.c): New variable.
16485 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
16487 (CFLAGS-s_cacoshl.c): Likewise.
16488 (CFLAGS-s_casinhl.c): Likewise.
16489 (CFLAGS-s_catanl.c): Likewise.
16490 (CFLAGS-s_catanhl.c): Likewise.
16491 (CFLAGS-s_cexpl.c): Likewise.
16492 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
16493 (CFLAGS-s_csinhl.c): Likewise.
16494 (CFLAGS-s_clogl.c): Likewise.
16495 (CFLAGS-s_clog10l.c): Likewise.
16496 (CFLAGS-s_csinl.c): Likewise.
16497 (CFLAGS-s_csqrtl.c): Likewise.
16499 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
16500 2017-01-09 Svante Signell <svante.signell@gmail.com>
16502 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
16503 (_hurd_exec_paths): New function.
16504 * hurd/hurd.h (_hurd_exec): Deprecate function.
16505 (_hurd_exec_paths): Declare function.
16506 * hurd/Versions: Export _hurd_exec_paths.
16507 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
16508 (__execve): Use __getcwd to build absolute path, and use
16509 _hurd_exec_paths instead of _hurd_exec.
16510 * sysdeps/mach/hurd/spawni.c: Likewise.
16511 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
16514 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
16516 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
16517 test instead of failing in case of ENOENT returned by posix_openpt.
16519 2018-01-08 Florian Weimer <fweimer@redhat.com>
16521 resolv: Support binary labels in test framework.
16522 * support/resolv_test.c (struct to_be_freed): Remove.
16523 (struct compressed_name): New.
16524 (allocate_compressed_name, ascii_tolower)
16525 (compare_compressed_name): New functions.
16526 (struct resolv_response_builder): Update type of
16527 compression_offsets for use with tsearch. Rempve to_be_freed.
16528 (response_push_pointer_to_free): Remove function.
16529 (resolv_response_add_name): Rewrite using struct compressed_name
16530 and tsearch instead of hsearch_r.
16531 (response_builder_allocate): Remove initialization of
16532 compression_offsets.
16533 (response_builder_free): Update for removal of to_be_freed. Use
16534 tdestroy instead of hdestroy_r.
16535 * resolv/Makefile (tests): Add tst-resolv-binary.
16536 (tst-resolv-binary): Link with -lresolv -lpthread.
16538 2018-01-08 Florian Weimer <fweimer@redhat.com>
16540 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
16541 time. Pass positive flag instead of negative flag to
16542 support_test_compare_failure.
16543 (support_test_compare_failure): Change negative parameter to
16545 * support/support_test_compare_failure.c (report)
16546 (support_test_compare_failure): Likewise.
16547 * support/tst-test_compare.c (return_ssize_t, return_int): New.
16548 (do_test): Check int/size_t, ssize_t/size_t comparisons.
16550 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
16553 * nptl/descr.h (stackblock, stackblock_size): Update comments.
16554 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
16555 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
16557 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16559 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
16561 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16562 Add s_sincosf-sse2 and s_sincosf-fma.
16563 (CFLAGS-s_sincosf-fma.c): New.
16564 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
16565 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
16566 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
16567 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
16568 __sincosf is defined.
16570 2018-01-08 Florian Weimer <fweimer@redhat.com>
16572 * nptl/tst-thread-exit-clobber.cc: New file.
16573 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
16575 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
16576 (tests): Add tst-thread-exit-clobber.
16577 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
16579 2018-01-08 Florian Weimer <fweimer@redhat.com>
16581 * support/check.h (support_static_assert): Define.
16582 (TEST_COMPARE): Use it.
16584 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
16586 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
16587 [!__RLIM_T_MATCHES_RLIM64_T]
16588 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
16589 __getrlimit64. Add libc_hidden_weak.
16591 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
16593 * elf/elf.h (R_RISCV_NONE): New define.
16594 (R_RISCV_32): Likewise.
16595 (R_RISCV_64): Likewise.
16596 (R_RISCV_RELATIVE): Likewise.
16597 (R_RISCV_COPY): Likewise.
16598 (R_RISCV_JUMP_SLOT): Likewise.
16599 (R_RISCV_TLS_DTPMOD32): Likewise.
16600 (R_RISCV_TLS_DTPMOD64): Likewise.
16601 (R_RISCV_TLS_DTPREL32): Likewise.
16602 (R_RISCV_TLS_DTPREL64): Likewise.
16603 (R_RISCV_TLS_TPREL32): Likewise.
16604 (R_RISCV_TLS_TPREL64): Likewise.
16605 * Makerules (make-link-multidir): Make directories before linking into
16607 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
16609 (VDSO_HASH_LINUX_4_15): Likewise.
16610 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
16611 in subdirectories of lib.
16612 * nptl/Makefile (/librt.so): Always depend on
16613 "$(shared-thread-library)".
16615 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16617 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
16618 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
16619 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
16621 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
16622 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
16624 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
16625 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
16626 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
16627 * sysdeps/gnu/glob-lstat-compat.c: New file.
16628 * sysdeps/gnu/glob64-lstat-compat.c: New file.
16629 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
16631 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16633 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
16634 Reserve 16 chars to reloc_addr before calling _itoa_word.
16636 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16639 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
16640 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
16642 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
16643 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
16645 * resource/tst-getrlimit.c: Add copyright header.
16647 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16648 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16650 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16651 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
16652 Define __GI_getrlimit64 as weak alias of __getrlimit64.
16653 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
16655 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16656 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
16657 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
16658 RLIM64_INFINITY): Fix values to match the kernel ones.
16659 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
16660 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
16661 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
16662 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
16663 getrlimit64@@GLIBC_2_27.
16664 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
16666 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
16667 getrlimit, setrlimit, getrlimit64 and setrlimit64.
16668 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
16669 setrlimit, getrlimit64 and setrlimit64.
16671 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16674 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
16675 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
16677 2018-01-04 Joseph Myers <joseph@codesourcery.com>
16679 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
16680 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
16681 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
16683 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16687 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
16688 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
16692 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
16693 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
16694 * sysdeps/alpha/fpu/s_floor.c: Likewise.
16695 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
16697 2018-01-04 Florian Weimer <fweimer@redhat.com>
16700 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16701 Align the stack before calling exit.
16702 * stdlib/tst-makecontext-align.c: New file.
16703 * stdlib/Makefile (tests): Add tst-makecontext-align.
16705 2018-01-04 Florian Weimer <fweimer@redhat.com>
16707 Add support for calling dlvsym from libc.so.
16708 * include/dlfcn.h (__libc_dlvsym): Declare.
16709 * elf/Makefile (tests-static-internal): Add
16710 tst-libc_dlvsym-static.
16711 (tests-internal): Add tst-libc_dlvsym.
16712 (modules-names): Add tst-libc_dlvsym-dso.
16713 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
16714 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
16715 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
16716 object tst-libc_dlvsym-dso.so needs to be built before running
16718 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
16719 * elf/Versions: Export __libc_dlvsym.
16720 * elf/dl-libc.c (struct do_dlvsym_args): New.
16721 (do_dlvsym, __libc_dlvsym): New functions.
16722 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
16723 (_dl_open_hook2): New variable.
16724 (__libc_register_dl_open_hook): Set it.
16725 * elf/tst-libc_dlvsym-dso.c: New file.
16726 * elf/tst-libc_dlvsym-static.c: Likewise.
16727 * elf/tst-libc_dlvsym.c: Likewise.
16728 * elf/tst-libc_dlvsym.h: Likewise.
16730 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16732 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
16733 include <sys/mount.h>.
16735 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
16737 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
16738 Add __NO_MATH_ERRNO__ check.
16740 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16742 * sysdeps/mips/mips32/libm-test-ulps: Update.
16743 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16745 2018-01-02 Florian Weimer <fweimer@redhat.com>
16747 * misc/tst-pselect.c: Add copyright header.
16749 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16751 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
16753 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
16755 (settrlimit): Rename into setrlimit.
16756 (__sttrlimit): Rename into __setrlimit.
16758 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
16759 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
16760 never defined in that case.
16762 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16764 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
16766 * sysdeps/arm/libm-test-ulps: Update.
16768 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
16769 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
16771 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16773 * NEWS: Add cosf and sincosf to list of optimized functions.
16775 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16778 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
16779 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
16780 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
16781 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
16783 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
16786 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
16788 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
16789 making a copy of it.
16791 2018-01-01 Joseph Myers <joseph@codesourcery.com>
16793 * manual/texinfo.tex: Update to version 2017-12-26.21 with
16794 trailing whitespace removed.
16795 * scripts/config.guess: Update to version 2018-01-01.
16796 * scripts/config.sub: Update to version 2018-01-01.
16797 * scripts/move-if-change: Update from gnulib.
16799 * NEWS: Update copyright dates.
16800 * catgets/gencat.c (print_version): Likewise.
16801 * csu/version.c (banner): Likewise.
16802 * debug/catchsegv.sh: Likewise.
16803 * debug/pcprofiledump.c (print_version): Likewise.
16804 * debug/xtrace.sh (do_version): Likewise.
16805 * elf/ldconfig.c (print_version): Likewise.
16806 * elf/ldd.bash.in: Likewise.
16807 * elf/pldd.c (print_version): Likewise.
16808 * elf/sotruss.sh: Likewise.
16809 * elf/sprof.c (print_version): Likewise.
16810 * iconv/iconv_prog.c (print_version): Likewise.
16811 * iconv/iconvconfig.c (print_version): Likewise.
16812 * locale/programs/locale.c (print_version): Likewise.
16813 * locale/programs/localedef.c (print_version): Likewise.
16814 * login/programs/pt_chown.c (print_version): Likewise.
16815 * malloc/memusage.sh (do_version): Likewise.
16816 * malloc/memusagestat.c (print_version): Likewise.
16817 * malloc/mtrace.pl: Likewise.
16818 * manual/libc.texinfo: Likewise.
16819 * nptl/version.c (banner): Likewise.
16820 * nscd/nscd.c (print_version): Likewise.
16821 * nss/getent.c (print_version): Likewise.
16822 * nss/makedb.c (print_version): Likewise.
16823 * posix/getconf.c (main): Likewise.
16824 * scripts/test-installation.pl: Likewise.
16825 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16827 * All files with FSF copyright notices: Update copyright dates
16828 using scripts/update-copyrights.
16829 * locale/programs/charmap-kw.h: Regenerated.
16830 * locale/programs/locfile-kw.h: Likewise.
16832 2017-12-31 Zack Weinberg <zackw@panix.com>
16834 * libio/bits/libio-ldbl.h: Correct check for improper
16835 inclusion. Add own multiple include guard.
16837 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
16838 Dmitry V. Levin <ldv@altlinux.org>
16842 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
16843 string token expansion. Check for NULL pointer or empty string possibly
16844 returned by expand_dynamic_string_token.
16845 (decompose_rpath): Check for empty path after dynamic string
16848 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
16851 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
16853 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
16854 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
16855 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
16856 and PTRACE_SYSCALL.
16857 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
16858 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16859 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16860 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16861 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16862 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
16864 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
16865 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
16866 __ptrace_peeksiginfo_flags, ptrace): Move to ...
16867 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
16868 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16869 bits/ptrace-shared.h.
16870 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
16871 <bits/ptrace-shared.h>.
16872 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
16873 __ptrace_peeksiginfo_flags, ptrace): Remove.
16874 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16875 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16876 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16877 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16878 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
16880 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
16883 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
16884 end of the loop. Improve comments.
16886 2017-12-29 Zack Weinberg <zackw@panix.com>
16889 * manual/errno.texi (Checking for Errors): Explicitly say that errno
16890 might be set on success.
16892 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
16895 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
16896 is unchanged on success.
16898 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
16900 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
16902 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
16903 expand_dynamic_string_token): Likewise.
16904 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
16907 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
16910 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
16911 is set and name contains ':', and all code depending on these checks.
16913 2017-12-24 Zack Weinberg <zackw@panix.com>
16915 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
16916 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
16918 * libio/libio.h: Rename the original version of this file to
16919 libio/bits/libio.h. Error out if not included by stdio.h or the
16921 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
16922 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
16923 if not included by bits/libio.h or the stub _G_config.h.
16924 * sysdeps/unix/sysv/linux/_G_config.h: Move to
16925 sysdeps/unix/sysv/linux/bits. Error out if not included by
16926 bits/libio.h or the stub _G_config.h.
16927 * libio/stdio.h: Include bits/libio.h, not libio.h.
16928 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
16929 well as libio.h and _G_config.h.
16931 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
16932 * libio/strfile.h, stdio-common/vfscanf.c
16933 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
16934 Include stdio.h, not _G_config.h nor libio.h.
16935 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
16936 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
16938 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
16940 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
16943 * stdlib/getrandom.c (getrandom): Fix comment.
16944 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
16946 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
16949 * manual/arith.texi (strtoul): Fix a typo.
16952 * manual/arith.texi (finite): Fix the description of the return
16955 2017-12-22 Eric Blake <ebb9@byu.net>
16957 Avoid gcc warnings on cygwin
16958 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
16959 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
16960 Avoid unused variable.
16962 2017-12-22 Florian Weimer <fweimer@redhat.com>
16964 * io/Makefile (routines): Add copy_file_range.
16965 (tests): Add tst-copy_file_range.
16966 (tests-static, tests-internal): Add tst-copy_file_range-compat.
16967 * io/Versions (GLIBC_2.27): Export copy_file_range.
16968 * io/copy_file_range-compat.c: New file.
16969 * io/copy_file_range.c: Likewise.
16970 * io/tst-copy_file_range-compat.c: Likewise.
16971 * io/tst-copy_file_range.c: Likewise.
16972 * manual/llio.texi (Copying File Data): New section.
16973 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
16974 * support/Makefile (libsupport-routines): Add support-xfstat,
16975 xftruncate, xlseek.
16976 * support/support-xfstat.c: New file.
16977 * support/xftruncate.c: Likewise.
16978 * support/xlseek.c: Likewise.
16979 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
16980 * sysdeps/unix/sysv/linux/**.abilist: Update.
16981 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
16983 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
16985 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16986 disable-multi-arch variant to aarch64-linux-gnu.
16988 2017-12-20 Joseph Myers <joseph@codesourcery.com>
16990 * manual/texinfo.tex: Update to version 2017-12-18.20 with
16991 trailing whitespace removed.
16992 * scripts/config.guess: Update to version 2017-12-17.
16993 * scripts/config.sub: Update to version 2017-11-23.
16994 * scripts/install-sh: Update to version 2017-09-23.17.
16995 * scripts/move-if-change: Update to version 2017-09-13 06:45.
16997 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16999 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
17000 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17001 * sysdeps/tile/_mcount.S (__mcount): Likewise.
17002 * sysdeps/tile/crti.S (_init, _fini): Likewise.
17003 * sysdeps/tile/crtn.S: Likewise.
17004 * sysdeps/tile/dl-start.S (_start): Likewise.
17005 * sysdeps/tile/dl-trampoline.S: Likewise.
17006 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
17007 * sysdeps/tile/start.S (_start): Likewise.
17008 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
17009 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
17010 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
17011 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
17012 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
17013 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
17014 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
17016 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
17018 * sysdeps/tile/preconfigure: Remove tilegx folder.
17019 * sysdeps/tile/tilegx/Implies: Move definitions to ...
17020 * sysdeps/tile/Implies: ... here.
17021 * sysdeps/tile/tilegx/Makefile: Move rules to ...
17022 * sysdeps/tile/Makefile: ... here.
17023 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
17024 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
17025 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
17026 * sysdeps/tile/bits/wordsize.h: ... here.
17027 * sysdeps/tile/tilegx/*: Move to ...
17028 * sysdeps/tile/*: ... here.
17029 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
17030 * sysdeps/tile/tilegx32/Implies: ... here.
17031 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
17032 * sysdeps/tile/tilegx64/Implies: ... here.
17033 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
17035 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17036 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
17037 * sysdeps/unix/sysv/linux/tile/*: ... here.
17038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
17039 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
17040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
17041 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
17043 * README: Remove tilepro-*-linux-gnu from supported architecture.
17044 * scripts/build-many-glibcs.py: Likewise.
17045 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17046 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
17047 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
17048 elf_machine_matches_host, elf_machine_dynamic,
17049 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
17050 howto, elf_machine_rela): Likewise.
17051 * sysdeps/tile/dl-start.S (_start): Likewise.
17052 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
17053 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
17054 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
17055 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
17056 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
17057 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
17059 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
17060 * sysdeps/tile/preconfigure: Likewise.
17061 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
17062 POINTER_CHK_GUARD): Likewise.
17063 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
17064 * sysdeps/tile/start.S (_start): Likewise.
17065 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
17067 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
17068 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
17070 * sysdeps/unix/sysv/linux/tile/bits/environments.h
17071 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
17072 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
17074 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
17075 * sysdeps/tile/tilepro/Implies: Remove file.
17076 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
17077 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
17078 * sysdeps/tile/tilepro/memchr.c: Likewise.
17079 * sysdeps/tile/tilepro/memcpy.S: Likewise.
17080 * sysdeps/tile/tilepro/memset.c: Likewise.
17081 * sysdeps/tile/tilepro/memusage.h: Likewise.
17082 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
17083 * sysdeps/tile/tilepro/strchr.c: Likewise.
17084 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
17085 * sysdeps/tile/tilepro/strlen.c: Likewise.
17086 * sysdeps/tile/tilepro/strrchr.c: Likewise.
17087 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
17088 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
17089 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
17090 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
17091 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
17092 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17094 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
17095 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17096 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
17097 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
17098 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17099 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
17100 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
17101 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
17102 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
17103 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
17104 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
17105 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
17106 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
17107 tilepro mention in comment.
17109 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
17110 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
17111 * nptl/pthread_join_common.c: New file: common function used on
17112 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
17113 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
17114 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
17115 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17116 (cleanup): Move definition to pthread_join_common.c.
17117 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
17118 Remove superflous checks.
17119 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
17122 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
17124 * sysdeps/aarch64/libm-test-ulps: Update.
17126 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17128 * sysdeps/aarch64/memset.S (MEMSET): Define.
17130 2017-12-20 Florian Weimer <fweimer@redhat.com>
17133 nptl: Provide full implementation of pthread_self in libc.so.
17134 * nptl/Makefile (routines): Add pthread_self.
17135 (libpthread-routines): Replace pthread_self with
17136 compat-pthread_self.
17137 * nptl/forward.c (pthread_self): Remove.
17138 * nptl/nptl-init.c (pthread_functions): Do not initialize
17140 * nptl/pthread_self.c (pthread_self): Remove weak alias.
17141 * nptl/compat-pthread_self.c: New file.
17142 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
17143 Remove ptr_pthread_self.
17145 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
17147 * posix/regcomp.c: Fix spelling in comments.
17148 * posix/regex.h: Likewise.
17149 * posix/regex_internal.c: Likewise.
17150 * posix/regexec.c: Likewise.
17152 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17155 * math/Makefile [C++] (tests): Add test for iseqsig.
17156 * math/math.h [C++] (iseqsig): New implementation, which does
17157 not rely on __MATH_TG/__builtin_types_compatible_p.
17158 * math/test-math-iseqsig.cc: New file.
17159 * sysdeps/powerpc/powerpc64le/Makefile
17160 (CFLAGS-test-math-iseqsig.cc): New variable.
17162 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
17164 * elf/dl-load.c (is_trusted_path): Remove.
17165 (fillin_rpath): Remove check_trusted argument and its use,
17166 all callers changed.
17168 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17171 * Makeconfig (link-pie-before-libc): Replace -pie with
17172 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
17173 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
17174 (tst-dlopen-aout-no-pie): New.
17175 (LDFLAGS-tst-prelink): Removed.
17176 (tst-prelink-no-pie): New.
17177 (LDFLAGS-tst-main1): Removed.
17178 (tst-main1-no-pie): New.
17179 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
17180 (tst-gmon-no-pie): New.
17182 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17184 * manual/install.texi: Document that --enable-static-pie
17186 * INSTALL: Regenerated.
17188 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
17191 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
17194 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17198 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17200 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17202 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17204 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17205 <errno.h>. Include "eexp.tbl".
17206 (half): New constant.
17208 (__ieee754_exp): Rewrite.
17209 (__slowexp): Remove prototype.
17210 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17211 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17212 * sysdeps/i386/fpu/slowexp.c: Likewise.
17213 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17214 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17215 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17216 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17217 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17218 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17219 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17221 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17222 (CPPFLAGS-slowexp.c): Remove variable.
17223 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17224 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17225 (CFLAGS-slowexp-fma.c): Remove variable.
17226 (CFLAGS-slowexp-fma4.c): Likewise.
17227 (CFLAGS-slowexp-avx.c): Likewise.
17228 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17230 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17231 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17232 * math/Makefile (type-double-routines): Remove slowexp.
17233 * manual/probes.texi (slowexp_p6): Remove.
17234 (slowexp_p32): Likewise.
17236 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17238 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
17241 * lib/glob.c (glob): Do not pass NULL to mempcpy.
17243 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17245 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17247 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17249 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17250 <errno.h>. Include "eexp.tbl".
17251 (half): New constant.
17253 (__ieee754_exp): Rewrite.
17254 (__slowexp): Remove prototype.
17255 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17256 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17257 * sysdeps/i386/fpu/slowexp.c: Likewise.
17258 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17259 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17260 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17261 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17262 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17263 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17264 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17266 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17267 (CPPFLAGS-slowexp.c): Remove variable.
17268 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17269 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17270 (CFLAGS-slowexp-fma.c): Remove variable.
17271 (CFLAGS-slowexp-fma4.c): Likewise.
17272 (CFLAGS-slowexp-avx.c): Likewise.
17273 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17275 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17276 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17277 * math/Makefile (type-double-routines): Remove slowexp.
17278 * manual/probes.texi (slowexp_p6): Remove.
17279 (slowexp_p32): Likewise.
17281 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17282 James Clarke <jrtc27@jrtc27.com>
17285 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
17288 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17291 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
17294 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17297 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17298 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17299 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17300 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17303 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17306 * bits/types/__cancel_jmp_buf_tag.h: New file.
17307 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17308 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17309 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17310 * nptl/Makefile (headers): Add
17311 bits/types/__cancel_jmp_buf_tag.h.
17312 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17313 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17314 * sysdeps/nptl/pthread.h: Include
17315 <bits/types/__cancel_jmp_buf_tag.h>.
17316 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17318 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17320 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17322 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17323 --enable-static-pie variants to x86_64, x32 and i686.
17325 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17328 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
17329 argument for attrubutes. All callers changed.
17330 (__inline_mathop1): Likewise. All callers changed.
17331 (__inline_mathop): Likewise. All callers changed.
17332 [__USE_MISC] (scalbn): Use __inline_forward instead of
17333 __inline_forward_c.
17334 [__USE_ISOC99] (scalbln): Likewise.
17335 [__USE_ISOC99] (nearbyint): Likewise.
17336 [__USE_ISOC99] (lrint): Likewise.
17337 [__USE_MISC] (scalbnf): Likewise.
17338 [__USE_ISOC99] (scalblnf): Likewise.
17339 [__USE_ISOC99] (nearbyintf): Likewise.
17340 [__USE_ISOC99] (lrintf): Likewise.
17341 [__USE_MISC] (scalbnl): Likewise.
17342 [__USE_ISOC99] (scalblnl): Likewise.
17343 [__USE_ISOC99] (nearbyintl): Likewise.
17344 [__USE_ISOC99] (lrintl): Likewise.
17345 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
17346 __inline_mathop and __m81_defun changed.
17348 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
17349 CPU or FPU for ARM hard-float configurations.
17351 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17353 * nptl/tst-attr3.c: Include <libc-diag.h>.
17354 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
17356 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
17358 * string/tester.c (test_strncat): Also disable -Warray-bounds
17359 warnings for two tests.
17361 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17364 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
17365 $(cc-pie-default) == yes.
17366 * config.make.in (cc-pie-default): New.
17367 * configure.ac (libc_cv_pie_default): Renamed to ...
17368 (libc_cv_cc_pie_default): This.
17369 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
17370 * configure: Regenerated.
17372 2017-12-18 Florian Weimer <fweimer@redhat.com>
17375 ld.so: Harden dl-libc/libdl hooks.
17376 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
17377 (rtld_active): New function.
17378 * dlfcn/dladdr.c (__dladdr): Call it.
17379 * dlfcn/dladdr1.c (__dladdr1): Likewise.
17380 * dlfcn/dlclose.c (__dlcose): Likewise.
17381 * dlfcn/dlerror.c (__dlerror): Likewise.
17382 * dlfcn/dlinfo.c (__dlinfo): Likewise.
17383 * dlfcn/dlmopen.c (__dlmopen): Likewise.
17384 * dlfcn/dlopen.c (__dlopen): Likewise.
17385 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17386 * dlfcn/dlsym.c (__dlsym): Likewise.
17387 * dlfcn/dlvsym.c (__dlvsym): Likewise.
17388 * libio/vtables.c (_IO_vtable_check): Likewise.
17389 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
17390 (__libc_dlclose): Likewise.
17391 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
17394 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17397 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
17398 buffers for readlink input and output.
17400 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
17403 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
17404 inhibit_stack_protector.
17407 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
17408 inhibit_stack_protector.
17410 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
17413 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
17414 code and invocation.
17416 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
17418 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
17420 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
17423 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
17425 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17427 * sysdeps/s390/fpu/libm-test-ulps: Update.
17429 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17433 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17435 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
17436 constants to s_sincosf.h file.
17437 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17438 * sysdeps/ieee754/flt-32/s_sincosf.c: New
17440 * sysdeps/ieee754/flt-32/s_sincosf.h:
17443 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17446 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
17449 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
17452 * INSTALL: Regenerated.
17453 * Makeconfig (real-static-start-installed-name): New.
17454 (pic-default): Updated for --enable-static-pie.
17455 (pie-default): New for --enable-static-pie.
17456 (default-pie-ldflag): Likewise.
17457 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
17458 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
17459 Replace $(static-start-installed-name) with
17460 $(real-static-start-installed-name).
17461 (+prectorT): Updated for --enable-static-pie.
17462 (+postctorT): Likewise.
17463 (CFLAGS-.o): Add $(pie-default).
17464 (CFLAGS-.op): Likewise.
17465 * NEWS: Mention --enable-static-pie.
17466 * config.h.in (ENABLE_STATIC_PIE): New.
17467 * configure.ac (--enable-static-pie): New configure option.
17468 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
17469 (have-static-pie): Likewise.
17470 Enable static PIE if linker supports --no-dynamic-linker.
17471 (ENABLE_STATIC_PIE): New AC_DEFINE.
17472 (enable-static-pie): New LIBC_CONFIG_VAR.
17473 * configure: Regenerated.
17474 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
17475 gr$(start-installed-name) for --enable-static-pie.
17476 (extra-objs): Likewise.
17477 (install-lib): Likewise.
17478 (extra-objs): Add static-reloc.o and static-reloc.os
17479 ($(objpfx)$(start-installed-name)): Also depend on
17480 $(objpfx)static-reloc.o.
17481 ($(objpfx)r$(start-installed-name)): New.
17482 ($(objpfx)g$(start-installed-name)): Also depend on
17483 $(objpfx)static-reloc.os.
17484 ($(objpfx)gr$(start-installed-name)): New.
17485 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
17487 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
17489 * csu/static-reloc.c: New file.
17490 * elf/Makefile (routines): Add dl-reloc-static-pie.
17491 (elide-routines.os): Likewise.
17492 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
17493 (tst-tls1-static-non-pie-no-pie): New.
17494 * elf/dl-reloc-static-pie.c: New file.
17495 * elf/dl-support.c (_dl_get_dl_main_map): New function.
17496 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
17497 STATIC_PIE_BOOTSTRAP.
17498 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17499 * gmon/Makefile (tests): Add tst-gmon-static-pie.
17500 (tests-static): Likewise.
17501 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
17502 (tst-gmon-static-no-pie): New.
17503 (CFLAGS-tst-gmon-static-pie.c): Likewise.
17504 (CRT-tst-gmon-static-pie): Likewise.
17505 (tst-gmon-static-pie-ENV): Likewise.
17506 (tests-special): Likewise.
17507 ($(objpfx)tst-gmon-static-pie.out): Likewise.
17508 (clean-tst-gmon-static-pie-data): Likewise.
17509 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
17510 * gmon/tst-gmon-static-pie.c: New file.
17511 * manual/install.texi: Document --enable-static-pie.
17512 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
17513 (_dl_get_dl_main_map): Likewise.
17514 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
17515 * sysdeps/x86_64/configure.ac: Likewise.
17516 * sysdeps/i386/configure: Regenerated.
17517 * sysdeps/x86_64/configure: Likewise.
17518 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
17519 (ASFLAGS-.op): Likewise.
17521 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17523 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
17524 * posix/tst-mmap-offset.c (fname): Use /tmp.
17525 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
17527 2017-12-15 Steve Ellcey <sellcey@cavium.com>
17529 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
17531 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
17533 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
17536 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17538 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
17539 --with-float=hard for arm-linux-gnueabihf configurations.
17542 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
17543 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
17544 ($(mo-installed)): Use $(objpfx)%.mo.
17545 (realclean): Remove rule.
17547 * po/Makefile (linguas): Remove rule and dependencies.
17548 (linguas.mo): Likewise.
17549 (.PHONY): Do not depend on linguas and linguas.mo.
17550 (podir): Remove variable.
17551 (pofiles): Likewise.
17552 [$(pofiles)] (%.po): Remove rule.
17554 * sysdeps/sparc/sparc32/Makefile
17555 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
17556 start-of-line whitespace in argument of echo.
17557 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
17558 with whitespace. Generate __wrap_.udiv alias.
17559 * sysdeps/sparc/sparc32/rem.S: Regenerated.
17560 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17561 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17562 * sysdeps/sparc/sparc32/urem.S: Likewise.
17564 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17566 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
17567 for aligned inputs.
17569 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17571 * benchtests/bench-strcmp.c: Print output in JSON format.
17573 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
17575 2017-12-14 Florian Weimer <fweimer@redhat.com>
17579 * elf/dl-load.c (_dl_init_paths): Compute number of components in
17580 the expanded path string.
17582 2017-12-14 Florian Weimer <fweimer@redhat.com>
17586 * elf/dl-load.c (system_dirs): Update comment.
17587 (nsystem_dirs_len): Use array_length.
17588 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
17590 2017-12-14 Florian Weimer <fweimer@redhat.com>
17592 Simplify compiling most of support/ outside of glibc.
17593 * support/check_addrinfo.c: Include <string.h>.
17594 * support/check_dns_packet.c: Likewise.
17595 * support/check_hostent.c: Likewise.
17596 * support/support_can_chroot.c: Include <support/xunistd.h>.
17597 * support/support_format_addrinfo.c: Include <stdlib.h>
17598 * support/support_format_dns_packet.c: Include <stdbool.h>.
17599 * support/support_format_hostent.c: Include <stdlib.h>.
17600 * support/support_format_netent.c: Likewise.
17601 * support/support_write_string.c: Include <support/xunistd.h>.
17602 * support/xdlfcn.c: Include <stddef.h>.
17604 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
17606 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
17608 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17609 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17611 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17612 (sysdeps_routines): Add memset-niagara7.
17613 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
17615 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
17617 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
17618 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17619 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
17620 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
17621 Add niagara7 option.
17622 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
17625 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17626 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
17627 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
17629 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
17631 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
17632 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
17633 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17634 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
17635 and __memmove_niagara7.
17636 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
17637 Add niagara7 option.
17638 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
17639 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
17640 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
17641 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
17642 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
17644 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
17646 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
17647 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
17648 * sysdeps/sparc/sparc64/memmove.S: Likewise.
17649 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
17651 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
17652 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
17653 _dl_sparc_cap_flags array.
17654 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
17656 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17658 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
17659 time whenever possible.
17661 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17663 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
17664 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
17666 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17668 * soft-fp/fmadf4.c: Move to ....
17669 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
17670 * soft-fp/fmasf4.c: Move to ....
17671 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
17672 * soft-fp/fmatf4.c: Move to ....
17673 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
17674 * sysdeps/ieee754/soft-fp/Makefile: New file.
17675 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
17676 * sysdeps/arm/preconfigure: Regenerated.
17677 * sysdeps/arm/nofpu/Implies: New file.
17678 * sysdeps/arm/s_fma.c: Remove file.
17679 * sysdeps/arm/s_fmaf.c: Likewise.
17680 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
17681 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
17682 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17683 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
17684 * sysdeps/microblaze/s_fma.c: Remove file.
17685 * sysdeps/microblaze/s_fmaf.c: Likewise.
17686 * sysdeps/mips/mips32/nofpu/Implies: New file.
17687 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
17688 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
17689 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
17690 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
17691 * sysdeps/mips/ieee754/s_fma.c: Remove file.
17692 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
17693 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
17695 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
17696 * sysdeps/nios2/s_fma.c: Remove file.
17697 * sysdeps/nios2/s_fmaf.c: Likewise.
17698 * sysdeps/sh/nofpu/Implies: New file.
17699 * sysdeps/sh/s_fma.c: Remove file.
17700 * sysdeps/sh/s_fmaf.c: Likewise.
17701 * sysdeps/tile/Implies: Add ieee754/soft-fp.
17702 * sysdeps/tile/s_fma.c: Remove file.
17703 * sysdeps/tile/s_fmaf.c: Likewise.
17705 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
17707 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17708 Add s_cosf-sse2 and s_cosf-fma.
17709 (CFLAGS-s_cosf-fma.c): New.
17710 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
17711 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
17712 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
17714 2017-12-12 Steve Ellcey <sellcey@cavium.com>
17716 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
17718 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17720 * libio/Makefile (tests): Add tst-bz22415.
17721 (tst-bz22415-ENV): New rule.
17722 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
17723 (tests-special): Add tst-bz22415-mem.out.
17724 ($(objpfx)tst-bz22415-mem.out): New rule.
17725 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
17726 in case of a successful seek operation.
17727 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17728 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
17729 buffer is required.
17730 * libio/tst-bz22415.c: New test.
17732 * sysdeps/ia64/fpu/libm-test-ulps: Update.
17734 2017-12-12 James Clarke <jrtc27@jrtc27.com>
17736 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
17737 __IPC_64 to 0 to avoid IPC_64 being set.
17739 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17742 * math/bits/mathcalls.h (nextafter): Remove const.
17743 (nexttoward): Likewise.
17745 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17747 * configure.ac (--with-fp): Remove configure option.
17748 (with_fp_cond): New variable.
17749 (libc_cv_with_fp): New configure test. Use this variable instead
17751 * configure: Regenerated.
17752 * config.make.in (with-fp): Use @libc_cv_with_fp@.
17753 * manual/install.texi (Configuring and compiling): Remove
17755 * INSTALL: Regenerated.
17756 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
17757 * sysdeps/mips/preconfigure (with_fp_cond): Define.
17758 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
17759 * sysdeps/sh/preconfigure (with_fp_cond): Define.
17760 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
17761 use --without-fp to configure glibc.
17763 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
17765 * manual/locale.texi (nl_langinfo): Fix a typo.
17767 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
17770 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
17772 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
17774 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
17775 (CFLAGS-argp-parse.c): Likewise.
17776 (CFLAGS-argp-fmtstream.c): Likewise.
17777 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
17778 (CPPFLAGS-sha512-crypt.c): Likewise.
17779 (CPPFLAGS-md5-crypt.c): Likewise.
17780 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
17781 (CFLAGS-stack_chk_fail_local.c): Likewise.
17782 (CFLAGS-backtrace.c): Likewise.
17783 (CFLAGS-sprintf_chk.c): Likewise.
17784 (CFLAGS-snprintf_chk.c): Likewise.
17785 (CFLAGS-vsprintf_chk.c): Likewise.
17786 (CFLAGS-vsnprintf_chk.c): Likewise.
17787 (CFLAGS-asprintf_chk.c): Likewise.
17788 (CFLAGS-vasprintf_chk.c): Likewise.
17789 (CFLAGS-obprintf_chk.c): Likewise.
17790 (CFLAGS-dprintf_chk.c): Likewise.
17791 (CFLAGS-vdprintf_chk.c): Likewise.
17792 (CFLAGS-printf_chk.c): Likewise.
17793 (CFLAGS-fprintf_chk.c): Likewise.
17794 (CFLAGS-vprintf_chk.c): Likewise.
17795 (CFLAGS-vfprintf_chk.c): Likewise.
17796 (CFLAGS-gets_chk.c): Likewise.
17797 (CFLAGS-fgets_chk.c): Likewise.
17798 (CFLAGS-fgets_u_chk.c): Likewise.
17799 (CFLAGS-fread_chk.c): Likewise.
17800 (CFLAGS-fread_u_chk.c): Likewise.
17801 (CFLAGS-swprintf_chk.c): Likewise.
17802 (CFLAGS-vswprintf_chk.c): Likewise.
17803 (CFLAGS-wprintf_chk.c): Likewise.
17804 (CFLAGS-fwprintf_chk.c): Likewise.
17805 (CFLAGS-vwprintf_chk.c): Likewise.
17806 (CFLAGS-vfwprintf_chk.c): Likewise.
17807 (CFLAGS-fgetws_chk.c): Likewise.
17808 (CFLAGS-fgetws_u_chk.c): Likewise.
17809 (CFLAGS-read_chk.c): Likewise.
17810 (CFLAGS-pread_chk.c): Likewise.
17811 (CFLAGS-pread64_chk.c): Likewise.
17812 (CFLAGS-recv_chk.c): Likewise.
17813 (CFLAGS-recvfrom_chk.c): Likewise.
17814 (CFLAGS-tst-longjmp_chk.c): Likewise.
17815 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
17816 (CFLAGS-tst-longjmp_chk2.c): Likewise.
17817 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
17818 (CFLAGS-tst-longjmp_chk3.c): Likewise.
17819 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17820 (CFLAGS-tst-chk1.c): Likewise.
17821 (CFLAGS-tst-chk2.c): Likewise.
17822 (CFLAGS-tst-chk3.c): Likewise.
17823 (CFLAGS-tst-chk4.cc): Likewise.
17824 (CFLAGS-tst-chk5.cc): Likewise.
17825 (CFLAGS-tst-chk6.cc): Likewise.
17826 (CFLAGS-tst-lfschk1.c): Likewise.
17827 (CFLAGS-tst-lfschk2.c): Likewise.
17828 (CFLAGS-tst-lfschk3.c): Likewise.
17829 (CFLAGS-tst-lfschk4.cc): Likewise.
17830 (CFLAGS-tst-lfschk5.cc): Likewise.
17831 (CFLAGS-tst-lfschk6.cc): Likewise.
17832 (CFLAGS-tst-ssp-1.c): Likewise.
17833 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
17834 (CFLAGS-scandir64.c): Likewise.
17835 (CFLAGS-scandir-tail.c): Likewise.
17836 (CFLAGS-scandir64-tail.c): Likewise.
17837 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
17838 (CFLAGS-dl-tunables.c): Likewise.
17839 (CFLAGS-dl-runtime.c): Likewise.
17840 (CFLAGS-dl-lookup.c): Likewise.
17841 (CFLAGS-dl-iterate-phdr.c): Likewise.
17842 (CFLAGS-vismain.c): Likewise.
17843 (CFLAGS-tst-linkall-static.c): Likewise.
17844 (CFLAGS-tst-linkall-static.c): Likewise.
17845 (CPPFLAGS-dl-load.c): Likewise.
17846 (CFLAGS-ldconfig.c): Likewise.
17847 (CFLAGS-dl-cache.c): Likewise.
17848 (CFLAGS-cache.c): Likewise.
17849 (CFLAGS-rtld.c): Likewise.
17850 (CFLAGS-multiload.c): Likewise.
17851 (CFLAGS-filtmod1.c): Likewise.
17852 (CFLAGS-tst-align.c): Likewise.
17853 (CFLAGS-tst-align2.c): Likewise.
17854 (CFLAGS-tst-alignmod.c): Likewise.
17855 (CFLAGS-tst-alignmod2.c): Likewise.
17856 (CPPFLAGS-tst-execstack.c): Likewise.
17857 (CFLAGS-tst-ptrguard1-static.c): Likewise.
17858 (CFLAGS-tst-latepthreadmod.c): Likewise.
17859 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
17860 (CFLAGS-getgrnam_r.c): Likewise.
17861 (CFLAGS-getgrent_r.c): Likewise.
17862 (CFLAGS-getgrent.c): Likewise.
17863 (CFLAGS-fgetgrent.c): Likewise.
17864 (CFLAGS-fgetgrent_r.c): Likewise.
17865 (CFLAGS-putgrent.c): Likewise.
17866 (CFLAGS-initgroups.c): Likewise.
17867 (CFLAGS-getgrgid.c): Likewise.
17868 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
17869 (CFLAGS-getsgent.c): Likewise.
17870 (CFLAGS-fgetsgent.c): Likewise.
17871 (CFLAGS-fgetsgent_r.c): Likewise.
17872 (CFLAGS-putsgent.c): Likewise.
17873 (CFLAGS-getsgnam.c): Likewise.
17874 (CFLAGS-getsgnam_r.c): Likewise.
17875 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
17876 (CFLAGS-iconv_charmap.c): Likewise.
17877 (CFLAGS-dummy-repertoire.c): Likewise.
17878 (CFLAGS-charmap.c): Likewise.
17879 (CFLAGS-linereader.c): Likewise.
17880 (CFLAGS-simple-hash.c): Likewise.
17881 (CFLAGS-gconv_conf.c): Likewise.
17882 (CFLAGS-iconvconfig.c): Likewise.
17883 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17884 (CFLAGS-gethstbyad.c): Likewise.
17885 (CFLAGS-gethstbynm_r.c): Likewise.
17886 (CFLAGS-gethstbynm.c): Likewise.
17887 (CFLAGS-gethstbynm2_r.c): Likewise.
17888 (CFLAGS-gethstbynm2.c): Likewise.
17889 (CFLAGS-gethstent_r.c): Likewise.
17890 (CFLAGS-gethstent.c): Likewise.
17891 (CFLAGS-rcmd.c): Likewise.
17892 (CFLAGS-getnetbynm_r.c): Likewise.
17893 (CFLAGS-getnetbynm.c): Likewise.
17894 (CFLAGS-getnetbyad_r.c): Likewise.
17895 (CFLAGS-getnetbyad.c): Likewise.
17896 (CFLAGS-getnetent_r.c): Likewise.
17897 (CFLAGS-getnetent.c): Likewise.
17898 (CFLAGS-getaliasent_r.c): Likewise.
17899 (CFLAGS-getaliasent.c): Likewise.
17900 (CFLAGS-getrpcent_r.c): Likewise.
17901 (CFLAGS-getrpcent.c): Likewise.
17902 (CFLAGS-getservent_r.c): Likewise.
17903 (CFLAGS-getservent.c): Likewise.
17904 (CFLAGS-getprtent_r.c): Likewise.
17905 (CFLAGS-getprtent.c): Likewise.
17906 (CFLAGS-either_ntoh.c): Likewise.
17907 (CFLAGS-either_hton.c): Likewise.
17908 (CFLAGS-getnetgrent.c): Likewise.
17909 (CFLAGS-getnetgrent_r.c): Likewise.
17910 (CFLAGS-tst-checks-posix.c): Likewise.
17911 (CFLAGS-tst-sockaddr.c): Likewise.
17912 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
17913 (CFLAGS-tst-translit.c): Likewise.
17914 (CFLAGS-tst-gettext2.c): Likewise.
17915 (CFLAGS-tst-codeset.c): Likewise.
17916 (CFLAGS-tst-gettext3.c): Likewise.
17917 (CFLAGS-tst-gettext4.c): Likewise.
17918 (CFLAGS-tst-gettext5.c): Likewise.
17919 (CFLAGS-tst-gettext6.c): Likewise.
17920 * io/Makefile (CFLAGS-open.c): Likewise.
17921 (CFLAGS-open64.c): Likewise.
17922 (CFLAGS-creat.c): Likewise.
17923 (CFLAGS-creat64.c): Likewise.
17924 (CFLAGS-fcntl.c): Likewise.
17925 (CFLAGS-poll.c): Likewise.
17926 (CFLAGS-ppoll.c): Likewise.
17927 (CFLAGS-lockf.c): Likewise.
17928 (CFLAGS-statfs.c): Likewise.
17929 (CFLAGS-fstatfs.c): Likewise.
17930 (CFLAGS-statvfs.c): Likewise.
17931 (CFLAGS-fstatvfs.c): Likewise.
17932 (CFLAGS-fts.c): Likewise.
17933 (CFLAGS-fts64.c): Likewise.
17934 (CFLAGS-ftw.c): Likewise.
17935 (CFLAGS-ftw64.c): Likewise.
17936 (CFLAGS-lockf.c): Likewise.
17937 (CFLAGS-posix_fallocate.c): Likewise.
17938 (CFLAGS-posix_fallocate64.c): Likewise.
17939 (CFLAGS-fallocate.c): Likewise.
17940 (CFLAGS-fallocate64.c): Likewise.
17941 (CFLAGS-read.c): Likewise.
17942 (CFLAGS-write.c): Likewise.
17943 (CFLAGS-test-stat.c): Likewise.
17944 (CFLAGS-test-lfs.c): Likewise.
17945 * libio/Makefile (CFLAGS-fileops.c): Likewise.
17946 (CFLAGS-fputc.c): Likewise.
17947 (CFLAGS-fputwc.c): Likewise.
17948 (CFLAGS-freopen64.c): Likewise.
17949 (CFLAGS-freopen.c): Likewise.
17950 (CFLAGS-fseek.c): Likewise.
17951 (CFLAGS-fseeko64.c): Likewise.
17952 (CFLAGS-fseeko.c): Likewise.
17953 (CFLAGS-ftello64.c): Likewise.
17954 (CFLAGS-ftello.c): Likewise.
17955 (CFLAGS-fwide.c): Likewise.
17956 (CFLAGS-genops.c): Likewise.
17957 (CFLAGS-getc.c): Likewise.
17958 (CFLAGS-getchar.c): Likewise.
17959 (CFLAGS-getwc.c): Likewise.
17960 (CFLAGS-getwchar.c): Likewise.
17961 (CFLAGS-iofclose.c): Likewise.
17962 (CFLAGS-iofflush.c): Likewise.
17963 (CFLAGS-iofgetpos64.c): Likewise.
17964 (CFLAGS-iofgetpos.c): Likewise.
17965 (CFLAGS-iofgets.c): Likewise.
17966 (CFLAGS-iofgetws.c): Likewise.
17967 (CFLAGS-iofputs.c): Likewise.
17968 (CFLAGS-iofputws.c): Likewise.
17969 (CFLAGS-iofread.c): Likewise.
17970 (CFLAGS-iofsetpos64.c): Likewise.
17971 (CFLAGS-iofsetpos.c): Likewise.
17972 (CFLAGS-ioftell.c): Likewise.
17973 (CFLAGS-iofwrite.c): Likewise.
17974 (CFLAGS-iogetdelim.c): Likewise.
17975 (CFLAGS-iogetline.c): Likewise.
17976 (CFLAGS-iogets.c): Likewise.
17977 (CFLAGS-iogetwline.c): Likewise.
17978 (CFLAGS-ioputs.c): Likewise.
17979 (CFLAGS-ioseekoff.c): Likewise.
17980 (CFLAGS-ioseekpos.c): Likewise.
17981 (CFLAGS-iosetbuffer.c): Likewise.
17982 (CFLAGS-iosetvbuf.c): Likewise.
17983 (CFLAGS-ioungetc.c): Likewise.
17984 (CFLAGS-ioungetwc.c): Likewise.
17985 (CFLAGS-oldfileops.c): Likewise.
17986 (CFLAGS-oldiofclose.c): Likewise.
17987 (CFLAGS-oldiofgetpos64.c): Likewise.
17988 (CFLAGS-oldiofgetpos.c): Likewise.
17989 (CFLAGS-oldiofsetpos64.c): Likewise.
17990 (CFLAGS-oldiofsetpos.c): Likewise.
17991 (CFLAGS-peekc.c): Likewise.
17992 (CFLAGS-putc.c): Likewise.
17993 (CFLAGS-putchar.c): Likewise.
17994 (CFLAGS-putwc.c): Likewise.
17995 (CFLAGS-putwchar.c): Likewise.
17996 (CFLAGS-rewind.c): Likewise.
17997 (CFLAGS-wfileops.c): Likewise.
17998 (CFLAGS-wgenops.c): Likewise.
17999 (CFLAGS-oldiofopen.c): Likewise.
18000 (CFLAGS-iofopen.c): Likewise.
18001 (CFLAGS-iofopen64.c): Likewise.
18002 (CFLAGS-oldtmpfile.c): Likewise.
18003 (CFLAGS-tst_putwc.c): Likewise.
18004 * locale/Makefile (CFLAGS-md5.c): Likewise.
18005 (CFLAGS-charmap.c): Likewise.
18006 (CFLAGS-locfile.c): Likewise.
18007 (CFLAGS-charmap-dir.c): Likewise.
18008 * login/Makefile (CFLAGS-grantpt.c): Likewise.
18009 (CFLAGS-getpt.c): Likewise.
18010 (CFLAGS-pt_chown.c): Likewise.
18011 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
18012 (CFLAGS-obstack.c): Likewise.
18013 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
18014 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
18015 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
18016 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
18017 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
18018 (CFLAGS-test-tgmath.c): Likewise.
18019 (CFLAGS-test-tgmath2.c): Likewise.
18020 (CFLAGS-test-tgmath-ret.c): Likewise.
18021 (CFLAGS-test-powl.c): Likewise.
18022 (CFLAGS-test-snan.c): Likewise.
18023 (CFLAGS-test-signgam-finite.c): Likewise.
18024 (CFLAGS-test-signgam-finite-c99.c): Likewise.
18025 (CFLAGS-test-signgam-finite-c11.c): Likewise.
18026 (CFLAGS-test-signgam-uchar.c): Likewise.
18027 (CFLAGS-test-signgam-uchar-init.c): Likewise.
18028 (CFLAGS-test-signgam-uchar-static.c): Likewise.
18029 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18030 (CFLAGS-test-signgam-uint.c): Likewise.
18031 (CFLAGS-test-signgam-uint-init.c): Likewise.
18032 (CFLAGS-test-signgam-uint-static.c): Likewise.
18033 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18034 (CFLAGS-test-signgam-ullong.c): Likewise.
18035 (CFLAGS-test-signgam-ullong-init.c): Likewise.
18036 (CFLAGS-test-signgam-ullong-static.c): Likewise.
18037 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18038 (CFLAGS-test-math-cxx11.cc): Likewise.
18039 (CFLAGS-test-math-isinff.cc): Likewise.
18040 (CFLAGS-test-math-iszero.cc): Likewise.
18041 (CFLAGS-test-math-issignaling.cc): Likewise.
18042 (CFLAGS-test-math-iscanonical.cc): Likewise.
18043 (CFLAGS-test-iszero-excess-precision.c): Likewise.
18044 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
18045 (CFLAGS-test-flt-eval-method.c): Likewise.
18046 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
18047 (CFLAGS-test-finite-macros.c): Likewise.
18048 * misc/Makefile (CFLAGS-select.c): Likewise.
18049 (CFLAGS-tsearch.c): Likewise.
18050 (CFLAGS-lsearch.c): Likewise.
18051 (CFLAGS-pselect.c): Likewise.
18052 (CFLAGS-readv.c): Likewise.
18053 (CFLAGS-writev.c): Likewise.
18054 (CFLAGS-preadv.c): Likewise.
18055 (CFLAGS-preadv64.c): Likewise.
18056 (CFLAGS-pwritev.c): Likewise.
18057 (CFLAGS-pwritev64.c): Likewise.
18058 (CFLAGS-preadv2.c): Likewise.
18059 (CFLAGS-preadv64v2.c): Likewise.
18060 (CFLAGS-pwritev2.c): Likewise.
18061 (CFLAGS-pwritev64v2.c): Likewise.
18062 (CFLAGS-usleep.c): Likewise.
18063 (CFLAGS-syslog.c): Likewise.
18064 (CFLAGS-error.c): Likewise.
18065 (CFLAGS-getpass.c): Likewise.
18066 (CFLAGS-mkstemp.c): Likewise.
18067 (CFLAGS-mkstemp64.c): Likewise.
18068 (CFLAGS-getsysstats.c): Likewise.
18069 (CFLAGS-getusershell.c): Likewise.
18070 (CFLAGS-err.c): Likewise.
18071 (CFLAGS-tst-tsearch.c): Likewise.
18072 (CFLAGS-msync.c): Likewise.
18073 (CFLAGS-fdatasync.c): Likewise.
18074 (CFLAGS-fsync.c): Likewise.
18075 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
18076 (CFLAGS-unwind.c): Likewise.
18077 (CFLAGS-unwind-forcedunwind.c): Likewise.
18078 (CFLAGS-pthread_cancel.c): Likewise.
18079 (CFLAGS-pthread_setcancelstate.c): Likewise.
18080 (CFLAGS-pthread_setcanceltype.c): Likewise.
18081 (CFLAGS-cancellation.c): Likewise.
18082 (CFLAGS-libc-cancellation.c): Likewise.
18083 (CFLAGS-pthread_exit.c): Likewise.
18084 (CFLAGS-forward.c): Likewise.
18085 (CFLAGS-pthread_testcancel.c): Likewise.
18086 (CFLAGS-pthread_join.c): Likewise.
18087 (CFLAGS-pthread_timedjoin.c): Likewise.
18088 (CFLAGS-pthread_once.c): Likewise.
18089 (CFLAGS-pthread_cond_wait.c): Likewise.
18090 (CFLAGS-sem_wait.c): Likewise.
18091 (CFLAGS-sem_timedwait.c): Likewise.
18092 (CFLAGS-fcntl.c): Likewise.
18093 (CFLAGS-lockf.c): Likewise.
18094 (CFLAGS-pread.c): Likewise.
18095 (CFLAGS-pread64.c): Likewise.
18096 (CFLAGS-pwrite.c): Likewise.
18097 (CFLAGS-pwrite64.c): Likewise.
18098 (CFLAGS-wait.c): Likewise.
18099 (CFLAGS-waitpid.c): Likewise.
18100 (CFLAGS-sigwait.c): Likewise.
18101 (CFLAGS-msgrcv.c): Likewise.
18102 (CFLAGS-msgsnd.c): Likewise.
18103 (CFLAGS-tcdrain.c): Likewise.
18104 (CFLAGS-open.c): Likewise.
18105 (CFLAGS-open64.c): Likewise.
18106 (CFLAGS-pause.c): Likewise.
18107 (CFLAGS-recv.c): Likewise.
18108 (CFLAGS-send.c): Likewise.
18109 (CFLAGS-accept.c): Likewise.
18110 (CFLAGS-sendto.c): Likewise.
18111 (CFLAGS-connect.c): Likewise.
18112 (CFLAGS-recvfrom.c): Likewise.
18113 (CFLAGS-recvmsg.c): Likewise.
18114 (CFLAGS-sendmsg.c): Likewise.
18115 (CFLAGS-close.c): Likewise.
18116 (CFLAGS-read.c): Likewise.
18117 (CFLAGS-write.c): Likewise.
18118 (CFLAGS-nanosleep.c): Likewise.
18119 (CFLAGS-sigsuspend.c): Likewise.
18120 (CFLAGS-msync.c): Likewise.
18121 (CFLAGS-fdatasync.c): Likewise.
18122 (CFLAGS-fsync.c): Likewise.
18123 (CFLAGS-pt-system.c): Likewise.
18124 (CFLAGS-tst-cleanup2.c): Likewise.
18125 (CFLAGS-tst-cleanupx2.c): Likewise.
18126 (CFLAGS-flockfile.c): Likewise.
18127 (CFLAGS-ftrylockfile.c): Likewise.
18128 (CFLAGS-funlockfile.c): Likewise.
18129 (CFLAGS-tst-initializers1.c): Likewise.
18130 (CFLAGS-tst-initializers1-c89.c): Likewise.
18131 (CFLAGS-tst-initializers1-c99.c): Likewise.
18132 (CFLAGS-tst-initializers1-c11.c): Likewise.
18133 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
18134 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
18135 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
18136 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
18137 (CFLAGS-nscd_getgr_r.c): Likewise.
18138 (CFLAGS-nscd_gethst_r.c): Likewise.
18139 (CFLAGS-nscd_getai.c): Likewise.
18140 (CFLAGS-nscd_initgroups.c): Likewise.
18141 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
18142 (CFLAGS-pause.c): Likewise.
18143 (CFLAGS-pread.c): Likewise.
18144 (CFLAGS-pread64.c): Likewise.
18145 (CFLAGS-pwrite.c): Likewise.
18146 (CFLAGS-pwrite64.c): Likewise.
18147 (CFLAGS-sleep.c): Likewise.
18148 (CFLAGS-wait.c): Likewise.
18149 (CFLAGS-waitid.c): Likewise.
18150 (CFLAGS-waitpid.c): Likewise.
18151 (CFLAGS-getopt.c): Likewise.
18152 (CFLAGS-wordexp.c): Likewise.
18153 (CFLAGS-sysconf.c): Likewise.
18154 (CFLAGS-pathconf.c): Likewise.
18155 (CFLAGS-fpathconf.c): Likewise.
18156 (CFLAGS-spawn.c): Likewise.
18157 (CFLAGS-spawnp.c): Likewise.
18158 (CFLAGS-spawni.c): Likewise.
18159 (CFLAGS-glob.c): Likewise.
18160 (CFLAGS-glob64.c): Likewise.
18161 (CFLAGS-getconf.c): Likewise.
18162 (CFLAGS-nanosleep.c): Likewise.
18163 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
18164 (CFLAGS-getpwent.c): Likewise.
18165 (CFLAGS-getpw.c): Likewise.
18166 (CFLAGS-fgetpwent_r.c): Likewise.
18167 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
18168 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
18169 (CFLAGS-mq_timedreceive.c): Likewise.
18170 (CFLAGS-mq_timedsend.c): Likewise.
18171 (CFLAGS-clock_nanosleep.c): Likewise.
18172 (CFLAGS-librt-cancellation.c): Likewise.
18173 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
18174 (CFLAGS-getspent.c): Likewise.
18175 (CFLAGS-fgetspent.c): Likewise.
18176 (CFLAGS-fgetspent_r.c): Likewise.
18177 (CFLAGS-putspent.c): Likewise.
18178 (CFLAGS-getspnam.c): Likewise.
18179 (CFLAGS-getspnam_r.c): Likewise.
18180 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
18181 (CFLAGS-sigsuspend.c): Likewise.
18182 (CFLAGS-sigtimedwait.c): Likewise.
18183 (CFLAGS-sigwait.c): Likewise.
18184 (CFLAGS-sigwaitinfo.c): Likewise.
18185 (CFLAGS-sigreturn.c): Likewise.
18186 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18187 (CFLAGS-vfwprintf.c): Likewise.
18188 (CFLAGS-tmpfile.c): Likewise.
18189 (CFLAGS-tmpfile64.c): Likewise.
18190 (CFLAGS-tempname.c): Likewise.
18191 (CFLAGS-psignal.c): Likewise.
18192 (CFLAGS-vprintf.c): Likewise.
18193 (CFLAGS-cuserid.c): Likewise.
18194 (CFLAGS-errlist.c): Likewise.
18195 (CFLAGS-siglist.c): Likewise.
18196 (CFLAGS-scanf15.c): Likewise.
18197 (CFLAGS-scanf17.c): Likewise.
18198 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
18199 (CFLAGS-msort.c): Likewise.
18200 (CFLAGS-qsort.c): Likewise.
18201 (CFLAGS-system.c): Likewise.
18202 (CFLAGS-fmtmsg.c): Likewise.
18203 (CFLAGS-strfmon.c): Likewise.
18204 (CFLAGS-strfmon_l.c): Likewise.
18205 (CFLAGS-strfromd.c): Likewise.
18206 (CFLAGS-strfromf.c): Likewise.
18207 (CFLAGS-strfroml.c): Likewise.
18208 (CFLAGS-tst-bsearch.c): Likewise.
18209 (CFLAGS-tst-qsort.c): Likewise.
18210 (CFLAGS-tst-makecontext2.c): Likewise.
18211 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
18212 (CFLAGS-xnlm_prot.c): Likewise.
18213 (CFLAGS-xrstat.c): Likewise.
18214 (CFLAGS-xyppasswd.c): Likewise.
18215 (CFLAGS-xklm_prot.c): Likewise.
18216 (CFLAGS-xrex.c): Likewise.
18217 (CFLAGS-xsm_inter.c): Likewise.
18218 (CFLAGS-xmount.c): Likewise.
18219 (CFLAGS-xrusers.c): Likewise.
18220 (CFLAGS-xspray.c): Likewise.
18221 (CFLAGS-xnfs_prot.c): Likewise.
18222 (CFLAGS-xrquota.c): Likewise.
18223 (CFLAGS-xkey_prot.c): Likewise.
18224 (CFLAGS-auth_unix.c): Likewise.
18225 (CFLAGS-key_call.c): Likewise.
18226 (CFLAGS-pmap_rmt.c): Likewise.
18227 (CFLAGS-clnt_perr.c): Likewise.
18228 (CFLAGS-openchild.c): Likewise.
18229 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
18230 (CFLAGS-msgsnd.c): Likewise.
18231 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
18232 * time/Makefile (CFLAGS-tzfile.c): Likewise.
18233 (CFLAGS-tzset.c): Likewise.
18234 (CFLAGS-getdate.c): Likewise.
18235 (CFLAGS-test_time.c): Likewise.
18236 (CPPFLAGS-tst-tzname.c): Likewise.
18237 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
18238 (CFLAGS-zic.c): Likewise.
18239 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
18240 (CFLAGS-wcswidth.c): Likewise.
18241 (CFLAGS-wcstol.c): Likewise.
18242 (CFLAGS-wcstoul.c): Likewise.
18243 (CFLAGS-wcstoll.c): Likewise.
18244 (CFLAGS-wcstoull.c): Likewise.
18245 (CFLAGS-wcstod.c): Likewise.
18246 (CFLAGS-wcstold.c): Likewise.
18247 (CFLAGS-wcstof128.c): Likewise.
18248 (CFLAGS-wcstof.c): Likewise.
18249 (CFLAGS-wcstol_l.c): Likewise.
18250 (CFLAGS-wcstoul_l.c): Likewise.
18251 (CFLAGS-wcstoll_l.c): Likewise.
18252 (CFLAGS-wcstoull_l.c): Likewise.
18253 (CFLAGS-wcstod_l.c): Likewise.
18254 (CFLAGS-wcstold_l.c): Likewise.
18255 (CFLAGS-wcstof128_l.c): Likewise.
18256 (CFLAGS-wcstof_l.c): Likewise.
18257 (CPPFLAGS-tst-wchar-h.c): Likewise.
18258 (CPPFLAGS-wcstold_l.c): Likewise.
18260 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
18262 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
18264 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18265 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18267 * manual/tunables.texi (Hardware Capability Tunables): Document
18268 glibc.tune.cached_memopt.
18269 * sysdeps/powerpc/cpu-features.c: New file.
18270 * sysdeps/powerpc/cpu-features.h: New file.
18271 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
18272 _dl_powerpc_cpu_features.
18273 * sysdeps/powerpc/dl-tunables.list: New file.
18274 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
18275 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18276 (INIT_ARCH): Initialize use_aligned_memopt.
18277 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
18278 IS_IN(rtld))]: Restrict dl_platform_init availability and
18279 initialize CPU features used by tunables.
18280 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
18281 Add memcpy-power8-cached.
18282 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
18283 __memcpy_power8_cached.
18284 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18285 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
18288 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18290 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
18291 (CFLAGS-noinl-tester.c): Likewise.
18292 (CFLAGS-tst-strlen.c): Likewise.
18293 (CFLAGS-stratcliff.c): Likewise.
18294 (CFLAGS-test-ffs.c): Likewise.
18295 (CFLAGS-tst-inlcall.c): Likewise.
18296 (CFLAGS-tst-xbzero-opt.c): Likewise.
18297 (CFLAGS-memcpy.c): Likewise.
18298 (CFLAGS-wordcopy.c): Likewise.
18300 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18302 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
18303 Store r15 on stack and add cfi rule.
18304 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
18307 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
18310 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
18313 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18315 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18316 Add s_sinf-sse2 and s_sinf-fma.
18317 (CFLAGS-s_sinf-fma.c): New.
18318 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
18319 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
18320 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
18322 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18324 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
18326 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18329 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
18330 part of result to imaginary part of argument if it is zero and the
18331 real part of the argument is not finite.
18332 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
18333 of result to real part of argument if it is zero and the imaginary
18334 part of the argument is not finite.
18336 2017-12-07 Mike FABIAN <mfabian@redhat.com>
18339 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
18340 and to the list of locales to be built for testing.
18341 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
18342 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
18343 and build the collation rules upon that.
18345 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18347 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
18348 * manual/math.texi (Mathematics): Document support for _Float32.
18349 * math/Makefile (test-types): Add float32.
18350 * math/Versions (GLIBC_2.27): Add _Float32 functions.
18351 * stdlib/Versions (GLIBC_2.27): Likewise.
18352 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18353 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18354 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18355 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18356 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18357 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18358 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18359 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18360 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18361 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18362 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18363 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18364 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18365 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18366 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18367 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18368 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18369 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18370 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18371 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18372 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18373 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18375 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18376 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18377 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18378 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18379 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18397 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18398 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18399 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18400 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18401 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18402 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18403 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18404 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18405 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18406 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18413 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18415 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18416 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18417 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18418 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18419 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18420 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18421 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18422 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18424 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18426 * stdlib/strtof.c: Include <bits/floatn.h>
18427 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
18428 and later undefine as macro. Define as weak alias if
18430 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
18431 and later undefine as macro. Define as weak alias if
18433 * stdlib/strtof_l.c: Include <bits/floatn.h>
18434 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
18435 and later undefine as macro. Define as weak alias if
18437 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
18438 and later undefine as macro. Define as weak alias if
18441 * stdlib/strfromf.c: Include <bits/floatn.h>.
18442 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
18443 and later undefine as macro and define as weak alias.
18445 * math/test-float32.h: New file.
18447 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
18448 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
18449 (libm_alias_float_other_r): Create f32 alias.
18450 (libm_alias_float_r): Use semicolon before call to
18451 libm_alias_float_other_r.
18453 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
18454 second argument to libm_alias_float_other.
18455 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
18456 second argument to libm_alias_float_other.
18457 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
18458 argument to libm_alias_float_other.
18461 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
18462 real part of result for argument 0 + i * NaN.
18463 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
18464 results for tests of 0 + i * NaN.
18466 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18468 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18470 2017-12-06 David S. Miller <davem@davemloft.net>
18472 * sysdeps/sparc/fpu/libm-test-ulps: Update
18473 exp_{downward,towardzero,upward} ulps.
18475 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18477 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
18480 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
18482 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
18484 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
18486 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
18489 2017-12-06 Mike FABIAN <mfabian@redhat.com>
18492 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
18493 and to the list of locales to be built for testing.
18494 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
18495 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
18496 and build the collation rules upon that.
18498 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18500 * NEWS: Add sinf to list of optimized functions.
18502 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18504 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
18505 (__HAVE_FLOAT32X): Likewise.
18506 * manual/math.texi (Mathematics): Document support for _Float64
18508 * math/Makefile (test-types): Add float64 and float32x.
18509 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
18511 * stdlib/Versions (GLIBC_2.27): Likewise.
18512 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18513 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18514 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18515 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18516 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18517 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18518 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18519 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18520 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18521 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18522 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18523 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18524 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18525 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18526 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18527 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18528 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18529 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18530 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18531 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18532 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18533 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18535 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18536 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18537 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18538 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18539 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18556 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18557 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18558 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18559 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18560 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18561 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18562 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18563 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18564 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18565 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18574 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18575 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18576 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18577 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18578 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18579 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18580 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18581 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18583 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18585 * bits/floatn-common.h: Include <bits/long-double.h>.
18586 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18587 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
18588 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18589 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
18590 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18591 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
18592 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18593 (__builtin_huge_valf64): Use __builtin_huge_vall.
18594 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18595 (__builtin_inff64): Use __builtin_infl.
18596 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18597 (__builtin_nanf64): Use __builtin_nanl.
18598 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18599 (__builtin_nansf64): Use __builtin_nansl.
18601 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
18602 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18603 Carlos O'Donnell <carlos@redhat.com>
18605 * elf/dl-tunables.list: Add elision parameters.
18606 * manual/tunables.texi: Add entries about elision tunable.
18607 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
18608 Add callback functions to dynamically enable/disable elision.
18609 Add multiple callbacks functions to set elision parameters.
18610 Deleted __libc_enable_secure check.
18611 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
18612 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
18613 * configure: Regenerated.
18614 * configure.ac: Option enable_lock_elision was deleted.
18615 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
18616 * config.make.in: Remove references to enable_lock_elision.
18617 * manual/install.texi: Elision configure option was removed.
18618 * INSTALL: Regenerated to remove enable_lock_elision.
18620 Disable elision so it can verify error case for destroying a mutex.
18621 * sysdeps/powerpc/nptl/elide.h:
18622 Cleanup ENABLE_LOCK_ELISION check.
18623 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
18624 * sysdeps/s390/configure: Regenerated.
18625 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
18626 * nptl/tst-mutex8.c:
18627 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
18628 * sysdeps/powerpc/powerpc32/sysdep.h:
18629 Deleted all ENABLE_LOCK_ELISION checks.
18630 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18631 * sysdeps/powerpc/sysdep.h: Likewise.
18632 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
18633 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
18634 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18635 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18636 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18637 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
18638 enable-lock-elision.
18640 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18642 * stdlib/strtod.c: Include <bits/floatn.h>.
18643 (BUILD_DOUBLE): New macro.
18644 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18645 (strtof64): Define and later undefine as macro. Define as weak
18646 alias if [!USE_WIDE_CHAR].
18647 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18648 (wcstof64): Define and later undefine as macro. Define as weak
18649 alias if [USE_WIDE_CHAR].
18650 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18651 (strtof32x): Define and later undefine as macro. Define as weak
18652 alias if [!USE_WIDE_CHAR].
18653 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18654 (wcstof32x): Define and later undefine as macro. Define as weak
18655 alias if [USE_WIDE_CHAR].
18656 * stdlib/strtod_l.c: Include <bits/floatn.h>.
18657 (BUILD_DOUBLE): New macro.
18658 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18659 (strtof64_l): Define and later undefine as macro. Define as weak
18660 alias if [!USE_WIDE_CHAR].
18661 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18662 (wcstof64_l): Define and later undefine as macro. Define as weak
18663 alias if [USE_WIDE_CHAR].
18664 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18665 (strtof32x_l): Define and later undefine as macro. Define as weak
18666 alias if [!USE_WIDE_CHAR].
18667 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18668 (wcstof32x_l): Define and later undefine as macro. Define as weak
18669 alias if [USE_WIDE_CHAR].
18671 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18673 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
18674 (reduced): Use ones as double instead of integer.
18676 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
18678 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
18680 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18682 * stdlib/strfromd.c: Include <bits/floatn.h>.
18683 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
18684 and later undefine as macro and define as weak alias.
18685 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
18688 * math/test-float32x.h: New file.
18689 * math/test-float64.h: Likewise.
18691 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
18692 (libm_alias_double_other_r_f64): New macro.
18693 (libm_alias_double_other_r_f32x): Likewise.
18694 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18695 libm_alias_double_other_r_f32x.
18696 (libm_alias_double_r): Use semicolon before call to
18697 libm_alias_double_other_r.
18698 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
18700 (libm_alias_double_other_r_f64): New macro.
18701 (libm_alias_double_other_r_f32x): Likewise.
18702 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18703 libm_alias_double_other_r_f32x.
18705 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
18707 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
18709 (SINF_FUNC): Likewise. Replace floor with simple casts.
18711 2017-12-05 Mike FABIAN <mfabian@redhat.com>
18714 * localedata/Makefile: Add et_EE.UTF-8 to test-input
18715 and to the list of locales to be built for testing.
18716 * localedata/et_EE.UTF-8.in: New file for testing the collation.
18717 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
18718 and build the collation rules upon that.
18720 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
18722 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
18723 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
18724 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
18725 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
18726 instead of __insn__xxx.
18727 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
18728 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
18729 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
18730 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
18731 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
18732 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
18734 2017-12-05 Florian Weimer <fweimer@redhat.com>
18736 Linux: Implement interfaces for memory protection keys
18737 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
18739 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
18740 * support/xunistd.h (xsysconf): Declare.
18741 * support/xraise.c: New file.
18742 * support/xsigaction.c: Likewise.
18743 * support/xsignal.c: Likewise.
18744 * support/xsysconf.c: Likewise.
18745 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
18746 pkey_set, pkey_get, pkey_mprotect.
18747 [misc] (tests): Add tst-pkey.
18748 (tst-pkey): Link with -lpthread.
18749 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
18750 pkey_free, pkey_set, pkey_get, pkey_mprotect.
18751 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
18752 (PKEY_DISABLE_WRITE): Define.
18753 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
18755 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
18756 (SEGV_PKUERR): Add.
18757 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
18758 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
18759 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
18760 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
18762 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
18763 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
18764 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
18765 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
18766 * sysdeps/unix/sysv/linux/**.abilist: Update.
18768 2017-12-05 Florian Weimer <fweimer@redhat.com>
18770 * support/tst-test_compare.c (subprocess): Use long long instead
18771 of long argument for consistent type width across 32-bit and
18772 64-bit architectures.
18773 (do_test): Adjust expected output.
18775 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18777 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
18778 (cosf): Define using libm_alias_float.
18779 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
18780 (fabsf): Define using libm_alias_float.
18781 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
18782 (fmaf): Define using libm_alias_float.
18783 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
18784 (rintf): Define using libm_alias_float.
18785 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
18786 (sinf): Define using libm_alias_float.
18787 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
18788 <libm-alias-float.h>.
18789 (modff): Define using libm_alias_float.
18790 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
18791 <libm-alias-float.h>.
18792 (logbf): Define using libm_alias_float.
18793 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
18794 <libm-alias-float.h>.
18795 (ceilf): Define using libm_alias_float.
18796 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
18797 <libm-alias-float.h>.
18798 (copysignf): Define using libm_alias_float.
18799 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
18800 <libm-alias-float.h>.
18801 (floorf): Define using libm_alias_float.
18802 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18803 <libm-alias-float.h>.
18804 (llrintf): Define using libm_alias_float.
18805 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18806 <libm-alias-float.h>.
18807 (llroundf): Define using libm_alias_float.
18808 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
18809 <libm-alias-float.h>.
18810 (lrintf): Define using libm_alias_float.
18811 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
18812 <libm-alias-float.h>.
18813 (lroundf): Define using libm_alias_float.
18814 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
18815 <libm-alias-float.h>.
18816 (nearbyintf): Define using libm_alias_float.
18817 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
18818 <libm-alias-float.h>.
18819 (rintf): Define using libm_alias_float.
18820 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
18821 <libm-alias-float.h>.
18822 (roundf): Define using libm_alias_float.
18823 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
18824 <libm-alias-float.h>.
18825 (truncf): Define using libm_alias_float.
18826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
18827 Include <libm-alias-float.h>.
18828 (ceilf): Define using libm_alias_float.
18829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
18830 Include <libm-alias-float.h>.
18831 (copysignf): Define using libm_alias_float.
18832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
18833 Include <libm-alias-float.h>.
18834 (floorf): Define using libm_alias_float.
18835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
18836 Include <libm-alias-float.h>.
18837 (llrintf): Define using libm_alias_float.
18838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
18839 Include <libm-alias-float.h>.
18840 (llroundf): Define using libm_alias_float.
18841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
18842 Include <libm-alias-float.h>.
18843 (logbf): Define using libm_alias_float.
18844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
18845 Include <libm-alias-float.h>.
18846 (lrintf): Define using libm_alias_float.
18847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
18848 Include <libm-alias-float.h>.
18849 (lroundf): Define using libm_alias_float.
18850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
18851 Include <libm-alias-float.h>.
18852 (modff): Define using libm_alias_float.
18853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
18854 Include <libm-alias-float.h>.
18855 (roundf): Define using libm_alias_float.
18856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
18857 Include <libm-alias-float.h>.
18858 (truncf): Define using libm_alias_float.
18859 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
18860 <libm-alias-float.h>.
18861 (llrintf): Define using libm_alias_float.
18862 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
18863 <libm-alias-float.h>.
18864 (llroundf): Define using libm_alias_float.
18865 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
18866 <libm-alias-float.h>.
18867 (ceilf): Define using libm_alias_float.
18868 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
18869 <libm-alias-float.h>.
18870 (floorf): Define using libm_alias_float.
18871 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
18872 <libm-alias-float.h>.
18873 (llroundf): Define using libm_alias_float.
18874 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
18875 <libm-alias-float.h>.
18876 (lroundf): Define using libm_alias_float.
18877 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
18878 <libm-alias-float.h>.
18879 (roundf): Define using libm_alias_float.
18880 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
18881 <libm-alias-float.h>.
18882 (truncf): Define using libm_alias_float.
18883 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
18884 <libm-alias-float.h>.
18885 (copysignf): Define using libm_alias_float.
18886 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
18887 <libm-alias-float.h>.
18888 (llrintf): Define using libm_alias_float.
18889 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
18890 <libm-alias-float.h>.
18891 (llroundf): Define using libm_alias_float.
18892 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
18893 <libm-alias-float.h>.
18894 (lrintf): Define using libm_alias_float.
18895 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
18896 <libm-alias-float.h>.
18897 (lroundf): Define using libm_alias_float.
18898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
18899 <libm-alias-float.h>.
18900 (ceilf): Define using libm_alias_float.
18901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
18902 <libm-alias-float.h>.
18903 (copysignf): Define using libm_alias_float.
18904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
18905 <libm-alias-float.h>.
18906 (cosf): Define using libm_alias_float.
18907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
18908 <libm-alias-float.h>.
18909 (floorf): Define using libm_alias_float.
18910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
18911 <libm-alias-float.h>.
18912 (llrintf): Define using libm_alias_float.
18913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
18914 <libm-alias-float.h>.
18915 (llroundf): Define using libm_alias_float.
18916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
18917 <libm-alias-float.h>.
18918 (logbf): Define using libm_alias_float.
18919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
18920 <libm-alias-float.h>.
18921 (modff): Define using libm_alias_float.
18922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
18923 <libm-alias-float.h>.
18924 (roundf): Define using libm_alias_float.
18925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
18926 <libm-alias-float.h>.
18927 (sinf): Define using libm_alias_float.
18928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
18929 <libm-alias-float.h>.
18930 (truncf): Define using libm_alias_float.
18931 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
18932 <libm-alias-float.h>.
18933 (ceilf): Define using libm_alias_float.
18934 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
18935 <libm-alias-float.h>.
18936 (copysignf): Define using libm_alias_float.
18937 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
18938 <libm-alias-float.h>.
18939 (floorf): Define using libm_alias_float.
18940 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
18941 <libm-alias-float.h>.
18942 (llrintf): Define using libm_alias_float.
18943 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
18944 <libm-alias-float.h>.
18945 (llroundf): Define using libm_alias_float.
18946 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
18947 <libm-alias-float.h>.
18948 (nearbyintf): Define using libm_alias_float.
18949 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
18950 <libm-alias-float.h>.
18951 (rintf): Define using libm_alias_float.
18952 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
18953 <libm-alias-float.h>.
18954 (roundf): Define using libm_alias_float.
18955 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
18956 <libm-alias-float.h>.
18957 (truncf): Define using libm_alias_float.
18958 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
18959 <libm-alias-float.h>.
18960 (ceilf): Define using libm_alias_float.
18961 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
18962 <libm-alias-float.h>.
18963 (floorf): Define using libm_alias_float.
18964 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
18965 <libm-alias-float.h>.
18966 (llroundf): Define using libm_alias_float.
18967 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
18968 <libm-alias-float.h>.
18969 (roundf): Define using libm_alias_float.
18970 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
18971 <libm-alias-float.h>.
18972 (truncf): Define using libm_alias_float.
18973 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
18974 <libm-alias-float.h>.
18975 (copysignf): Define using libm_alias_float.
18976 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
18977 <libm-alias-float.h>.
18978 (llrintf): Define using libm_alias_float.
18979 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
18980 <libm-alias-float.h>.
18981 (llroundf): Define using libm_alias_float.
18982 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
18983 <libm-alias-float.h>.
18984 (cosf): Define using libm_alias_float.
18985 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
18986 <libm-alias-float.h>.
18987 (llrintf): Define using libm_alias_float.
18988 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
18989 <libm-alias-float.h>.
18990 (llroundf): Define using libm_alias_float.
18991 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
18992 <libm-alias-float.h>.
18993 (sinf): Define using libm_alias_float.
18995 2017-12-04 Florian Weimer <fweimer@redhat.com>
18997 * support/check.h (TEST_COMPARE): Define.
18998 (support_test_compare_failure): Declare.
18999 * support/Makefile (libsupport-routines): Add
19000 support_test_compare_failure.
19001 (tests): Add tst-test_compare.
19002 * support /support_test_compare_failure.c: New file.
19003 * support/tst-test_compare.c: Likewise.
19005 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19008 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
19009 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
19010 available, this rewrite of the collation rules does reproduce
19011 the test file in the same order.
19013 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19016 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
19017 digraphs in the month and day names. Using single code points for
19018 digraphs is deprecated. While there are dedicated Unicode
19019 codepoints, for the digraphs, these are included for backwards
19020 compatibility and modern texts use a sequence of Basic Latin
19021 characters. See: https://www.unicode.org/faq/ligature_digraph.html
19022 This makes the month and day names agree exactly with CLDR now,
19023 CLDR does not use the single code points for the digraphs either.
19025 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
19027 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
19029 2017-12-04 Joseph Myers <joseph@codesourcery.com>
19031 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
19034 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
19036 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
19037 Define only for libc.so.
19039 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
19041 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19042 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
19043 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
19044 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
19045 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19047 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19050 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
19052 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
19055 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
19056 PREINIT_FUNCTION_WEAK is nonzero.
19057 (gmon_initializer): New function. Put procedure label for it in
19058 .init_array section.
19059 (_init): Don't call PREINIT_FUNCTION.
19060 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
19061 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
19062 value when map argument is null.
19064 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
19065 depi instruction from PIC pc-relative sequence.
19066 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
19067 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
19068 (elf_machine_load_address): Likewise.
19069 (elf_machine_runtime_setup): Likewise.
19071 2017-12-02 Joseph Myers <joseph@codesourcery.com>
19073 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
19074 <libm-alias-double.h>.
19075 (logb): Define using libm_alias_double.
19076 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19077 <libm-alias-double.h>.
19078 (copysign): Define using libm_alias_double.
19079 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
19080 <libm-alias-double.h>.
19081 (llrint): Define using libm_alias_double.
19082 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
19083 <libm-alias-double.h>.
19084 (llround): Define using libm_alias_double.
19085 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19086 <libm-alias-double.h>.
19087 (lrint): Define using libm_alias_double.
19088 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19089 <libm-alias-double.h>.
19090 (lround): Define using libm_alias_double.
19091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19092 Include <libm-alias-double.h>.
19093 (copysign): Define using libm_alias_double.
19094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
19095 Include <libm-alias-double.h>.
19096 (llrint): Define using libm_alias_double.
19097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
19098 Include <libm-alias-double.h>.
19099 (llround): Define using libm_alias_double.
19100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
19101 <libm-alias-double.h>.
19102 (logb): Define using libm_alias_double.
19103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
19104 Include <libm-alias-double.h>.
19105 (lrint): Define using libm_alias_double.
19106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
19107 Include <libm-alias-double.h>.
19108 (lround): Define using libm_alias_double.
19109 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
19110 <libm-alias-double.h>.
19111 (llrint): Define using libm_alias_double.
19112 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19113 <libm-alias-double.h>.
19114 (llround): Define using libm_alias_double.
19115 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19116 <libm-alias-double.h>.
19117 (llround): Define using libm_alias_double.
19118 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19119 <libm-alias-double.h>.
19120 (lround): Define using libm_alias_double.
19121 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19122 <libm-alias-double.h>.
19123 (copysign): Define using libm_alias_double.
19124 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
19125 <libm-alias-double.h>.
19126 (llrint): Define using libm_alias_double.
19127 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19128 <libm-alias-double.h>.
19129 (llround): Define using libm_alias_double.
19130 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19131 <libm-alias-double.h>.
19132 (lrint): Define using libm_alias_double.
19133 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19134 <libm-alias-double.h>.
19135 (lround): Define using libm_alias_double.
19136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
19137 <libm-alias-double.h>.
19138 (copysign): Define using libm_alias_double.
19139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
19140 <libm-alias-double.h>.
19141 (llrint): Define using libm_alias_double.
19143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
19144 <libm-alias-double.h>.
19145 (llround): Define using libm_alias_double.
19146 (lround): Likewise.
19147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
19148 <libm-alias-double.h>.
19149 (logb): Define using libm_alias_double.
19150 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19151 <libm-alias-double.h>.
19152 (copysign): Define using libm_alias_double.
19153 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19154 <libm-alias-double.h>.
19155 (llrint): Define using libm_alias_double.
19157 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
19158 <libm-alias-double.h>.
19159 (llround): Define using libm_alias_double.
19160 (lround): Likewise.
19161 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19162 <libm-alias-double.h>.
19163 (llround): Define using libm_alias_double.
19164 (lround): Likewise.
19165 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19166 <libm-alias-double.h>.
19167 (copysign): Define using libm_alias_double.
19168 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19169 <libm-alias-double.h>.
19170 (llrint): Define using libm_alias_double.
19172 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19173 <libm-alias-double.h>.
19174 (llround): Define using libm_alias_double.
19175 (lround): Likewise.
19176 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19177 <libm-alias-double.h>.
19178 (llrint): Define using libm_alias_double.
19180 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19181 <libm-alias-double.h>.
19182 (llround): Define using libm_alias_double.
19183 (lround): Likewise.
19185 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19188 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
19189 compat symbol based on llround.
19191 * sysdeps/powerpc/power7/fpu/s_logb.c
19192 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
19193 symbol based on __logb, not on logb.
19194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
19195 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
19197 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19199 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
19200 (rint): Define using libm_alias_double.
19201 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
19202 <libm-alias-double.h>.
19203 (modf): Define using libm_alias_double.
19204 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
19205 <libm-alias-double.h>.
19206 (ceil): Define using libm_alias_double.
19207 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
19208 <libm-alias-double.h>.
19209 (floor): Define using libm_alias_double.
19210 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
19211 <libm-alias-double.h>.
19212 (nearbyint): Define using libm_alias_double.
19213 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
19214 <libm-alias-double.h>.
19215 (rint): Define using libm_alias_double.
19216 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
19217 <libm-alias-double.h>.
19218 (round): Define using libm_alias_double.
19219 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
19220 <libm-alias-double.h>.
19221 (trunc): Define using libm_alias_double.
19222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
19223 <libm-alias-double.h>.
19224 (ceil): Define using libm_alias_double.
19225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
19226 Include <libm-alias-double.h>.
19227 (floor): Define using libm_alias_double.
19228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
19229 <libm-alias-double.h>.
19230 (modf): Define using libm_alias_double.
19231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
19232 Include <libm-alias-double.h>.
19233 (round): Define using libm_alias_double.
19234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
19235 Include <libm-alias-double.h>.
19236 (trunc): Define using libm_alias_double.
19237 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
19238 <libm-alias-double.h>.
19239 (ceil): Define using libm_alias_double.
19240 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
19241 <libm-alias-double.h>.
19242 (floor): Define using libm_alias_double.
19243 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
19244 <libm-alias-double.h>.
19245 (round): Define using libm_alias_double.
19246 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
19247 <libm-alias-double.h>.
19248 (trunc): Define using libm_alias_double.
19249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
19250 <libm-alias-double.h>.
19251 (ceil): Define using libm_alias_double.
19252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
19253 <libm-alias-double.h>.
19254 (floor): Define using libm_alias_double.
19255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
19256 <libm-alias-double.h>.
19257 (modf): Define using libm_alias_double.
19258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
19259 <libm-alias-double.h>.
19260 (round): Define using libm_alias_double.
19261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
19262 <libm-alias-double.h>.
19263 (trunc): Define using libm_alias_double.
19264 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
19265 <libm-alias-double.h>.
19266 (ceil): Define using libm_alias_double.
19267 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
19268 <libm-alias-double.h>.
19269 (floor): Define using libm_alias_double.
19270 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
19271 <libm-alias-double.h>.
19272 (nearbyint): Define using libm_alias_double.
19273 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
19274 <libm-alias-double.h>.
19275 (rint): Define using libm_alias_double.
19276 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
19277 <libm-alias-double.h>.
19278 (round): Define using libm_alias_double.
19279 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
19280 <libm-alias-double.h>.
19281 (trunc): Define using libm_alias_double.
19282 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
19283 <libm-alias-double.h>.
19284 (ceil): Define using libm_alias_double.
19285 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
19286 <libm-alias-double.h>.
19287 (floor): Define using libm_alias_double.
19288 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
19289 <libm-alias-double.h>.
19290 (round): Define using libm_alias_double.
19291 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
19292 <libm-alias-double.h>.
19293 (trunc): Define using libm_alias_double.
19295 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
19296 (fabs): Define using libm_alias_double.
19297 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
19298 (fma): Define using libm_alias_double.
19299 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
19300 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
19301 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
19302 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
19304 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19306 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
19308 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
19309 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
19310 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
19312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
19313 due redirect macro.
19315 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
19317 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
19319 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19321 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
19322 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
19323 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
19324 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
19326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19327 (libm-sysdep_routines): Add s_nearbyintf-generic and
19328 s_nearbyint-generic.
19329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
19331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
19332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
19334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
19336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
19338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19342 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
19343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
19345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
19346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
19348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
19349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
19350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19353 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
19354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
19356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
19357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
19359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
19360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
19361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
19363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19364 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
19365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
19367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
19368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
19370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
19371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
19372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19375 (sysdep_calls): New rule.
19376 (sysdep_routines): Use sysdep_calls as base.
19377 (libm-sysdep_routines): Add generic rule for symbols shared with
19378 libc. Add s_copysign-generic and s_copysign-generic objects.
19379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
19381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
19382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
19384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
19385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
19386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
19388 2017-12-01 Mike FABIAN <mfabian@redhat.com>
19391 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
19392 the list of locales to be built for testing.
19393 * localedata/is_IS.UTF-8.in: New file.
19394 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
19397 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19399 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
19400 <libm-alias-float.h>.
19401 (fabsf): Define using libm_alias_float.
19403 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19405 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
19407 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19409 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
19410 <libm-alias-float.h>.
19411 (fabsf): Define using libm_alias_float.
19412 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
19413 <libm-alias-float.h>.
19414 (lrintf): Define using libm_alias_float.
19415 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
19416 <libm-alias-float.h>.
19417 (rintf): Define using libm_alias_float.
19419 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
19420 <libm-alias-double.h>.
19421 (fabs): Define using libm_alias_double.
19422 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
19423 <libm-alias-double.h>.
19424 (lrint): Define using libm_alias_double.
19425 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
19426 <libm-alias-double.h>.
19427 (rint): Define using libm_alias_double.
19429 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
19430 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
19431 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
19432 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
19433 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
19434 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
19435 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
19436 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
19437 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
19438 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
19439 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
19440 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
19441 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
19442 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
19443 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
19444 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
19445 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
19446 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
19448 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
19449 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
19450 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
19452 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
19453 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
19454 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
19456 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
19457 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
19458 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
19459 s_expm1_template.c.
19460 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
19461 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
19462 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
19464 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
19465 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
19466 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
19467 s_floor_template.c.
19468 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
19469 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
19470 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
19471 s_frexp_template.c.
19472 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
19473 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
19474 s_lrint_template.c.
19475 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
19476 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
19477 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
19479 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
19480 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
19481 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
19482 s_nearbyint_template.c.
19483 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
19484 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
19485 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
19486 s_remquo_template.c.
19487 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
19488 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
19489 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
19491 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
19492 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
19493 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
19495 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
19496 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
19497 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
19498 s_sincos_template.c.
19499 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
19500 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
19501 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
19503 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
19504 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
19505 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
19507 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
19508 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
19509 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
19510 s_trunc_template.c.
19511 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
19512 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
19513 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
19514 s_atan.c instead of including s_atan.c.
19515 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
19516 s_atanf.c instead of including s_atanf.c.
19517 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
19518 s_atanl.c instead of including s_atanl.c.
19519 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
19520 instead of s_atan.c.
19521 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
19522 instead of s_atanf.c.
19523 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
19524 instead of s_atanl.c.
19526 * scripts/update-copyrights: Do not handle intl/plural.c
19529 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
19532 * configure.ac (BISON): Require to be present.
19533 * configure: Regenerated.
19534 * intl/Makefile (generated): Add plural.c.
19535 [$(BISON) != no]: Make code unconditional.
19536 (plural.c): Change rule to $(objpfx)plural.c.
19537 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
19538 * intl/plural.c: Remove.
19539 * manual/install.texi (Tools for Compilation): Document bison as
19541 * INSTALL: Regenerated.
19543 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19545 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
19546 <libm-alias-double.h>.
19547 (llrint): Define using libm_alias_double.
19548 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
19549 <libm-alias-float.h>.
19550 (llrintf): Define using libm_alias_float.
19551 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
19552 <libm-alias-ldouble.h>.
19553 (llrintl): Define using libm_alias_ldouble.
19555 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
19556 declare_mgen_alias instead of weak_alias.
19557 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
19558 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
19559 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
19561 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19563 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19565 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
19566 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
19567 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
19569 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19570 Add submul_1-generic.
19571 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
19572 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
19573 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
19575 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19576 Add addmul_1-generic.
19577 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
19578 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
19579 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
19581 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19583 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
19584 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
19585 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
19587 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19589 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
19590 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
19591 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
19593 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19595 According to CLDR, collation rules for Serbian and Bosnian
19596 should be the same as for Croatian.
19599 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
19600 and to the list of locales to be built for testing.
19601 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19602 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19603 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
19604 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
19606 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19608 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
19609 to make test case pass.
19610 * localedata/hr_HR.UTF-8.in: Add more test strings.
19612 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19614 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
19616 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19618 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
19619 the list of locales to built for testing.
19620 * localedata/hr_HR.UTF-8.in: New file.
19622 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19625 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
19627 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
19628 CLDR (except use ligatures for the digraphs, CLDR does not use
19629 the ligatures), add first_workday, some fixes in the date and time
19631 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
19633 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
19634 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
19635 Add int_p_cs_precedes and int_n_cs_precedes.
19636 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
19637 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
19639 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
19640 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
19642 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
19643 and lang_lib. Change postal_fmt.
19645 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19647 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
19649 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19650 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
19651 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19652 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
19653 * sysdeps/generic/setjmpP.h: New file.
19654 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
19655 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
19656 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
19657 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
19658 Add jmp_buf-ssp.sym.
19659 (tests): Add tst-saved_mask-1.
19661 2017-11-30 Arjun Shankar <arjun@redhat.com>
19665 * malloc/malloc.c (__libc_malloc): Use checked_request2size
19666 instead of request2size.
19668 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
19671 (__lllrint): Remove alias.
19672 (lllrint): Likewise.
19673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
19674 (__lllrintf): Likewise.
19675 (lllrintf): Likewise.
19677 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
19678 <libm-alias-float.h>.
19679 (copysignf): Define using libm_alias_float.
19680 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
19681 <libm-alias-float.h>.
19682 (fabsf): Define using libm_alias_float.
19683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19684 Include <libm-alias-float.h>.
19685 (copysignf): Define using libm_alias_float.
19686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
19687 <libm-alias-float.h>.
19688 (fabsf): Define using libm_alias_float.
19689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
19690 <libm-alias-float.h>.
19691 (fdimf): Define using libm_alias_float.
19692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
19693 <libm-alias-float.h>.
19694 (fmaf): Define using libm_alias_float.
19695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
19696 <libm-alias-float.h>.
19697 (llrintf): Define using libm_alias_float.
19698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19699 Include <libm-alias-float.h>.
19700 (nearbyintf): Define using libm_alias_float.
19701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
19702 <libm-alias-float.h>.
19703 (rintf): Define using libm_alias_float.
19704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
19705 <libm-alias-float.h>.
19706 (llrintf): Define using libm_alias_float.
19707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
19708 <libm-alias-float.h>.
19709 (lrintf): Define using libm_alias_float.
19710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
19711 <libm-alias-float.h>.
19712 (nearbyintf): Define using libm_alias_float.
19713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
19714 <libm-alias-float.h>.
19715 (rintf): Define using libm_alias_float.
19716 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
19717 <libm-alias-float.h>.
19718 (ceilf): Define using libm_alias_float.
19719 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
19720 <libm-alias-float.h>.
19721 (floorf): Define using libm_alias_float.
19722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
19723 <libm-alias-float.h>.
19724 (fmaf): Define using libm_alias_float.
19725 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
19726 <libm-alias-float.h>.
19727 (lrintf): Define using libm_alias_float.
19728 (llrintf): Likewise.
19729 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
19730 <libm-alias-float.h>.
19731 (nearbyintf): Define using libm_alias_float.
19732 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
19733 <libm-alias-float.h>.
19734 (rintf): Define using libm_alias_float.
19735 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
19736 <libm-alias-float.h>.
19737 (truncf): Define using libm_alias_float.
19738 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
19739 <libm-alias-float.h>.
19740 (copysignf): Define using libm_alias_float.
19741 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
19742 <libm-alias-float.h>.
19743 (fabsf): Define using libm_alias_float.
19744 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
19745 <libm-alias-float.h>.
19746 (lrintf): Define using libm_alias_float.
19747 (llrintf): Likewise.
19748 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
19749 <libm-alias-float.h>.
19750 (nearbyintf): Define using libm_alias_float.
19751 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
19752 <libm-alias-float.h>.
19753 (rintf): Define using libm_alias_float.
19755 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19757 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
19758 <libm-alias-double.h>.
19759 (copysign): Define using libm_alias_double.
19760 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
19761 <libm-alias-double.h>.
19762 (fabs): Define using libm_alias_double.
19763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19764 Include <libm-alias-double.h>.
19765 (copysign): Define using libm_alias_double.
19766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
19767 <libm-alias-double.h>.
19768 (fabs): Define using libm_alias_double.
19769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
19770 <libm-alias-double.h>.
19771 (fdim): Define using libm_alias_double.
19772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
19773 <libm-alias-double.h>.
19774 (fma): Define using libm_alias_double.
19775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
19776 <libm-alias-double.h>.
19777 (llrint): Define using libm_alias_double.
19778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
19779 Include <libm-alias-double.h>.
19780 (nearbyint): Define using libm_alias_double.
19781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
19782 <libm-alias-double.h>.
19783 (rint): Define using libm_alias_double.
19784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19785 <libm-alias-double.h>.
19786 (fabs): Define using libm_alias_double.
19787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
19788 <libm-alias-double.h>.
19789 (llrint): Define using libm_alias_double.
19790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
19791 <libm-alias-double.h>.
19792 (nearbyint): Define using libm_alias_double.
19793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
19794 <libm-alias-double.h>.
19795 (rint): Define using libm_alias_double.
19796 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
19797 <libm-alias-double.h>.
19798 (ceil): Define using libm_alias_double.
19799 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
19800 <libm-alias-double.h>.
19801 (floor): Define using libm_alias_double.
19802 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
19803 <libm-alias-double.h>.
19804 (fma): Define using libm_alias_double.
19805 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
19806 <libm-alias-double.h>.
19807 (lrint): Define using libm_alias_double.
19808 (llrint): Likewise.
19809 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
19810 <libm-alias-double.h>.
19811 (nearbyint): Define using libm_alias_double.
19812 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
19813 <libm-alias-double.h>.
19814 (rint): Define using libm_alias_double.
19815 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
19816 <libm-alias-double.h>.
19817 (trunc): Define using libm_alias_double.
19818 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
19819 <libm-alias-double.h>.
19820 (copysign): Define using libm_alias_double.
19821 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
19822 <libm-alias-double.h>.
19823 (fabs): Define using libm_alias_double.
19824 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
19825 <libm-alias-double.h>.
19826 (lrint): Define using libm_alias_double.
19827 (llrint): Likewise.
19828 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
19829 <libm-alias-double.h>.
19830 (nearbyint): Define using libm_alias_double.
19831 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
19832 <libm-alias-double.h>.
19833 (rint): Define using libm_alias_double.
19836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19838 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
19840 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19841 SPARC --disable-multi-arch glibc variants.
19843 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
19844 <libm-alias-float.h>.
19845 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19847 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
19848 <libm-alias-float.h>.
19849 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19851 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
19852 <libm-alias-float.h>.
19853 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19855 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
19856 <libm-alias-float.h>.
19857 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19859 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
19860 <libm-alias-float.h>.
19861 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19863 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
19864 <libm-alias-float.h>.
19865 (ceilf): Define using libm_alias_float.
19866 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
19867 <libm-alias-float.h>.
19868 (floorf): Define using libm_alias_float.
19869 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
19870 <libm-alias-float.h>.
19871 (fmaf): Define using libm_alias_float.
19872 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
19873 <libm-alias-float.h>.
19874 (nearbyintf): Define using libm_alias_float.
19875 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
19876 <libm-alias-float.h>.
19877 (rintf): Define using libm_alias_float.
19878 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
19879 <libm-alias-float.h>.
19880 (truncf): Define using libm_alias_float.
19881 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
19882 (copysignf): Define using libm_alias_float.
19883 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
19884 (cosf): Define using libm_alias_float.
19885 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
19886 (fabsf): Define using libm_alias_float.
19887 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19888 (fmaxf): Define using libm_alias_float.
19889 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
19890 (fminf): Define using libm_alias_float.
19891 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
19892 (llrintf): Define using libm_alias_float.
19893 [!__ILP32__] (lrintf): Likewise.
19894 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
19895 (sincosf): Define using libm_alias_float.
19896 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
19897 (sinf): Define using libm_alias_float.
19898 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
19899 (lrintf): Define using libm_alias_float.
19901 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
19902 <libm-alias-double.h>.
19903 (atan): Define using libm_alias_double.
19904 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
19905 <libm-alias-double.h>.
19906 (ceil): Define using libm_alias_double.
19907 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
19908 <libm-alias-double.h>.
19909 (floor): Define using libm_alias_double.
19910 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
19911 <libm-alias-double.h>.
19912 (fma): Define using libm_alias_double.
19913 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
19914 <libm-alias-double.h>.
19915 (nearbyint): Define using libm_alias_double.
19916 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
19917 <libm-alias-double.h>.
19918 (rint): Define using libm_alias_double.
19919 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
19920 <libm-alias-double.h>.
19921 (sin): Define using libm_alias_double.
19923 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
19924 <libm-alias-double.h>.
19925 (tan): Define using libm_alias_double.
19926 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
19927 <libm-alias-double.h>.
19928 (trunc): Define using libm_alias_double.
19929 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
19930 (copysign): Define using libm_alias_double.
19931 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
19932 (fabs): Define using libm_alias_double.
19933 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
19934 (fmax): Define using libm_alias_double.
19935 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
19936 (fmin): Define using libm_alias_double.
19937 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
19938 (llrint): Define using libm_alias_double.
19939 [!__ILP32__] (lrint): Likewise.
19940 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
19941 (lrint): Define using libm_alias_double.
19943 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19945 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19946 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
19948 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
19949 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
19950 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
19951 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
19952 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
19953 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
19955 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19956 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
19958 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
19959 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
19960 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
19961 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
19962 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
19963 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
19965 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19966 (libm-sysdep_routines): Add s_nearbyint-generic and
19967 s_nearbyintf-generic objects.
19968 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
19969 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
19970 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
19971 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
19972 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
19973 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
19975 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19976 Add s_finitef-generic and s_finite-generic objects.
19977 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
19978 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
19979 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
19980 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
19981 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
19982 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
19984 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19985 Add s_isinff-generic and s_isinf-generic objects.
19986 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
19987 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
19988 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
19989 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
19990 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
19991 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
19993 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19994 Add s_isnanf-generic and s_isnan-generic objects.
19995 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
19996 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
19997 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
19998 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
19999 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
20000 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20002 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
20004 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
20006 (sysdep_routines): Use sysdep_calls as base.
20007 (libm-sysdep_routines): Add generic rule for symbols shared with
20008 libc. Add s_signbit-generic and s_signbitf-generic objects.
20009 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
20010 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
20011 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
20012 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
20013 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
20014 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20016 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20018 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
20019 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
20020 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
20021 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
20022 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
20023 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
20024 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
20025 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
20026 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
20027 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
20028 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
20029 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
20030 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
20031 libm_alias_float_r.
20032 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
20033 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
20035 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
20036 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
20037 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
20038 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
20039 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
20040 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
20041 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
20042 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
20043 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
20044 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
20046 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
20048 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
20049 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
20050 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
20051 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
20052 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
20053 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
20054 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
20055 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
20056 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
20057 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
20058 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
20059 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
20060 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
20061 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
20062 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
20063 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
20064 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
20065 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
20066 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
20068 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
20069 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
20070 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
20071 * sysdeps/ia64/fpu/w_lgammaf_main.c
20072 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
20073 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
20075 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20076 Alexandre Oliva <aoliva@redhat.com>
20079 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
20080 * localedata/fr_CA.UTF-8.in: New file with test data for backward
20082 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
20084 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
20085 * localedata/locales/de_DE (LC_COLLATE): Likewise.
20086 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
20087 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
20088 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
20089 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
20090 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
20091 instead of “ifdef DIACRIT_BACKWARD”.
20093 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20095 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
20096 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
20097 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
20098 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
20099 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
20100 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
20101 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
20102 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
20103 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
20104 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
20105 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
20106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
20107 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
20108 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
20109 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
20110 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20111 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
20112 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
20113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20114 ($(have-as-vis3) == yes): Remove conditional.
20115 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
20117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
20119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
20121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
20123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
20125 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
20126 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
20127 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
20128 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
20129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
20130 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
20131 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
20132 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
20134 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20136 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
20137 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
20138 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
20139 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
20140 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
20141 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
20142 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
20143 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
20144 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
20145 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
20146 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
20147 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
20148 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
20149 libm_alias_double_r.
20150 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
20152 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
20153 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
20154 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
20155 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
20156 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
20157 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
20158 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
20159 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
20160 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
20161 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
20162 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
20164 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
20166 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
20167 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
20168 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
20169 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
20170 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
20171 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
20172 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
20173 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
20174 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
20175 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
20176 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
20177 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
20178 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
20179 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
20180 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
20181 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
20182 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
20183 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
20185 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
20186 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
20187 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
20188 * sysdeps/ia64/fpu/w_lgamma_main.c
20189 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
20190 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
20192 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
20194 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
20195 address of $global$ into %dp register earlier. Use pc-relative
20196 instruction sequence for PIC case.
20198 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20200 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
20201 (asinhf): Define using libm_alias_float.
20202 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
20203 (atanf): Define using libm_alias_float.
20204 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
20205 (cbrtf): Define using libm_alias_float.
20206 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
20207 (ceilf): Define using libm_alias_float.
20208 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20209 (copysignf): Define using libm_alias_float.
20210 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
20211 (expm1f): Define using libm_alias_float.
20212 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
20213 (fabsf): Define using libm_alias_float.
20214 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
20215 (floorf): Define using libm_alias_float.
20216 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20217 (fmaxf): Define using libm_alias_float.
20218 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
20219 (fminf): Define using libm_alias_float.
20220 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
20221 (frexpf): Define using libm_alias_float.
20222 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20223 (llrintf): Define using libm_alias_float.
20224 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
20225 (logbf): Define using libm_alias_float.
20226 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20227 (lrintf): Define using libm_alias_float.
20228 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
20229 (nearbyintf): Define using libm_alias_float.
20230 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
20231 (remquof): Define using libm_alias_float.
20232 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
20233 (rintf): Define using libm_alias_float.
20234 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
20235 (truncf): Define using libm_alias_float.
20236 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
20237 <libm-alias-float.h>.
20238 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20240 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
20241 <libm-alias-float.h>.
20242 (expf): Define using libm_alias_float, or libm_alias_float_other
20244 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
20245 <libm-alias-float.h>.
20246 (log2f): Define using libm_alias_float, or libm_alias_float_other
20248 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
20249 <libm-alias-float.h>.
20250 (logf): Define using libm_alias_float, or libm_alias_float_other
20252 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
20253 <libm-alias-float.h>.
20254 (powf): Define using libm_alias_float, or libm_alias_float_other
20256 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
20257 <libm-alias-float.h>.
20258 (cosf): Define using libm_alias_float.
20259 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
20260 <libm-alias-float.h>.
20261 (sincosf): Define using libm_alias_float.
20262 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
20263 <libm-alias-float.h>.
20264 (sinf): Define using libm_alias_float.
20265 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20266 (fmaxf): Define using libm_alias_float.
20267 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
20268 (fminf): Define using libm_alias_float.
20269 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20270 <libm-alias-float.h>.
20271 (fmaf): Define using libm_alias_float.
20273 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
20274 (asinh): Define using libm_alias_double.
20275 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
20276 (atan): Define using libm_alias_double.
20277 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
20278 (cbrt): Define using libm_alias_double.
20279 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
20280 (ceil): Define using libm_alias_double.
20281 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
20282 (copysign): Define using libm_alias_double.
20283 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
20284 (expm1): Define using libm_alias_double.
20285 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
20286 (fabs): Define using libm_alias_double.
20287 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
20288 (fdim): Define using libm_alias_double.
20289 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
20290 (floor): Define using libm_alias_double.
20291 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
20292 (fmax): Define using libm_alias_double.
20293 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
20294 (fmin): Define using libm_alias_double.
20295 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
20296 (frexp): Define using libm_alias_double.
20297 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
20298 (llrint): Define using libm_alias_double.
20299 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
20300 (logb): Define using libm_alias_double.
20301 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
20302 (lrint): Define using libm_alias_double.
20303 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
20304 (nearbyint): Define using libm_alias_double.
20305 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
20306 (remquo): Define using libm_alias_double.
20307 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
20308 (rint): Define using libm_alias_double.
20309 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
20310 (trunc): Define using libm_alias_double.
20311 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
20312 (fmax): Define using libm_alias_double.
20313 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
20314 (fmin): Define using libm_alias_double.
20315 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
20316 (fma): Define using libm_alias_double.
20318 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
20321 * elf/dl-hwcaps.c (ROUND): Removed.
20322 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
20323 and ELF_NOTE_NEXT_OFFSET.
20324 * elf/dl-load.c (ROUND): Removed.
20325 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20326 * elf/readelflib.c (ROUND): Removed.
20327 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20328 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
20329 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
20330 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
20332 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20334 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20335 [!__fmaf] (fmaf): Define using libm_alias_float.
20337 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
20338 [!__fma] (fma): Define using libm_alias_double.
20339 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
20341 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20344 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
20345 and implement the collation rules for cs from CLDR on top of that.
20346 * Makefile: Add cs_CZ.UTF-8 to test-input.
20347 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
20349 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
20351 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
20353 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20354 Icarus Sparry <icarus.w.sparry@intel.com>
20356 * benchtests/Makefile:Add BENCHSET to allow subsets of
20357 benchmarks to be run.
20358 * benchtests/README: Add documentation for: Running subsets of
20361 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20363 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
20364 range of tests names.
20366 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
20367 result from property and remove "max", min" and "mean" from
20368 required properties based on benchtests/bench-skeleton.c.
20370 2017-11-28 Florian Weimer <fweimer@redhat.com>
20373 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
20374 due to Internet requirement.
20375 * posix/Makefile (tests): Remove tst-getaddrinfo4,
20377 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
20379 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20381 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20382 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
20383 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20384 (sysdep_routines): Add memset-ultra1.
20385 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
20387 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
20388 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
20389 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
20390 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
20391 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
20392 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
20393 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
20394 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20396 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
20398 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
20399 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
20400 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
20401 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
20402 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
20403 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
20404 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
20406 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20407 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
20408 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20409 (sysdep_routines): Add memcpy-ultra1.
20410 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
20411 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
20413 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20415 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
20416 (cfloat_versions): Take function argument without trailing 'f'.
20417 Call libm_alias_float_other.
20418 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
20419 * sysdeps/alpha/fpu/cargf.c: Likewise.
20420 * sysdeps/alpha/fpu/cimagf.c: Likewise.
20421 * sysdeps/alpha/fpu/conjf.c: Likewise.
20422 * sysdeps/alpha/fpu/crealf.c: Likewise.
20423 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
20424 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
20425 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
20426 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
20427 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
20428 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
20429 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
20430 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
20431 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
20432 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
20433 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
20434 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
20435 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
20436 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
20437 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
20438 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
20439 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
20440 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
20441 (clog10f): Use libm_alias_float_other.
20442 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20443 (ceilf): Define using libm_alias_float.
20444 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
20445 (copysignf): Define using libm_alias_float.
20446 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20447 (fabsf): Define using libm_alias_float.
20448 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
20449 (floorf): Define using libm_alias_float.
20450 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
20451 (fmaxf): Define using libm_alias_float.
20452 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
20453 (fminf): Define using libm_alias_float.
20454 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20455 (lrintf): Define using libm_alias_float.
20456 (llrintf): Likewise.
20457 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20458 (lroundf): Define using libm_alias_float.
20459 (llroundf): Likewise.
20460 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
20461 (rintf): Define using libm_alias_float.
20462 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
20463 (truncf): Define using libm_alias_float.
20465 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20466 (ceilf): Define using libm_alias_float.
20467 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
20468 (floorf): Define using libm_alias_float.
20469 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20470 (fmaf): Define using libm_alias_float.
20471 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
20472 (fmaxf): Define using libm_alias_float.
20473 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
20474 (fminf): Define using libm_alias_float.
20475 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
20476 (llrintf): Define using libm_alias_float.
20477 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
20478 (llroundf): Define using libm_alias_float.
20479 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20480 (lrintf): Define using libm_alias_float.
20481 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20482 (lroundf): Define using libm_alias_float.
20483 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
20484 <libm-alias-float.h>.
20485 (nearbyintf): Define using libm_alias_float.
20486 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
20487 (rintf): Define using libm_alias_float.
20488 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
20489 (roundf): Define using libm_alias_float.
20490 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
20491 (truncf): Define using libm_alias_float.
20493 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
20494 (ceil): Define using libm_alias_double.
20495 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
20496 (copysign): Define using libm_alias_double.
20497 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
20498 (fabs): Define using libm_alias_double.
20499 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
20500 (floor): Define using libm_alias_double.
20501 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
20502 (fmax): Define using libm_alias_double.
20503 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
20504 (fmin): Define using libm_alias_double.
20505 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
20506 (lrint): Define using libm_alias_double.
20507 (llrint): Likewise.
20508 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
20509 (lround): Define using libm_alias_double.
20510 (llround): Likewise.
20511 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
20512 (rint): Define using libm_alias_double.
20513 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
20514 (trunc): Define using libm_alias_double.
20516 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
20517 (libm_alias_double_r): Add semicolon after weak_alias call.
20519 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20521 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
20522 (ceil): Define using libm_alias_double.
20523 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
20524 (floor): Define using libm_alias_double.
20525 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
20526 (fma): Define using libm_alias_double.
20527 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
20528 (fmax): Define using libm_alias_double.
20529 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
20530 (fmin): Define using libm_alias_double.
20531 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
20532 (llrint): Define using libm_alias_double.
20533 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
20534 (llround): Define using libm_alias_double.
20535 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
20536 (lrint): Define using libm_alias_double.
20537 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
20538 (lround): Define using libm_alias_double.
20539 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
20540 (nearbyint): Define using libm_alias_double.
20541 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
20542 (rint): Define using libm_alias_double.
20543 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
20544 (round): Define using libm_alias_double.
20545 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
20546 (trunc): Define using libm_alias_double.
20548 2017-11-27 Florian Weimer <fweimer@redhat.com>
20550 * sysdeps/unix/sysv/linux/mlock2.c: New file.
20551 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
20552 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
20553 (tests): Add tst-mlock2.
20554 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
20555 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
20556 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
20557 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
20558 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
20559 for mlock. Document mlock2.
20561 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20563 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
20564 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
20566 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
20568 * sysdeps/x86/Makeconfig: New file.
20569 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
20570 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20571 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
20572 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20573 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20574 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20575 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
20577 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20578 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20579 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20580 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20581 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20582 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20583 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20584 * manual/math.texi (Mathematics): Document support for _Float64x.
20585 * math/Versions (GLIBC_2.27): Add _Float64x functions.
20586 * stdlib/Versions (GLIBC_2.27): Likewise.
20587 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20588 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20589 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20590 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20591 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20592 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20593 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20594 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20595 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20596 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20597 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20598 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20603 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20604 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20605 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20606 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20607 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20608 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20609 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20610 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20611 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20612 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20613 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20614 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20615 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20616 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20618 2017-11-27 Andreas Schwab <schwab@suse.de>
20620 * elf/Makefile (dl-routines): Add dl-sort-maps.
20621 * elf/dl-sort-maps.c: New file.
20622 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
20623 (_dl_sort_maps): Declare.
20624 * elf/dl-fini.c (_dl_sort_fini): Remove.
20625 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
20626 * elf/dl-close.c (_dl_close_worker): Likewise.
20627 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
20629 * elf/dl-open.c (dl_open_worker): Likewise.
20631 2017-11-24 Joseph Myers <joseph@codesourcery.com>
20633 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
20634 using libm_alias_float128.
20635 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
20637 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
20639 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
20640 (setpayloadsigf128): Likewise.
20641 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
20643 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
20646 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
20647 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
20648 -mfloat128 to CFLAGS.
20650 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
20652 (CFLAGS-libm-test-support-float64x.c): New variable.
20653 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
20654 $(f128-loader-link) to gnulib-tests.
20656 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
20657 (libm_alias_float128_other_r): If
20658 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
20660 (libm_alias_float128_r): Add semicolon after weak_alias call.
20661 * sysdeps/generic/libm-alias-ldouble.h
20662 (libm_alias_ldouble_other_r_f128): New macro.
20663 (libm_alias_ldouble_other_r_f64x): Likewise.
20664 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20665 and libm_alias_ldouble_other_r_f64x.
20666 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
20667 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
20668 (libm_alias_ldouble_other_r_f128): New macro.
20669 (libm_alias_ldouble_other_r_f64x): Likewise.
20670 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20671 and libm_alias_ldouble_other_r_f64x.
20673 * stdlib/strfroml.c: Always include <stdlib.h>.
20674 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
20675 undefine as macro and define as weak alias.
20676 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
20677 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
20679 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
20680 Define and later undefine as macro and define as weak alias.
20682 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20683 Define and later undefine as macro. Define as weak alias if
20685 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
20686 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20687 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
20688 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20689 Define and later undefine as macro. Define as weak alias if
20691 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
20692 Define and later undefine as macro. Define as weak alias if
20694 * sysdeps/ieee754/float128/strtof128_l.c
20695 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
20696 Define and later undefine as macro. Define as weak alias if
20698 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
20699 Define and later undefine as macro. Define as weak alias if
20701 * sysdeps/ieee754/ldbl-128/strtold_l.c
20702 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20703 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20704 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20705 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20706 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
20707 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20708 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20709 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20710 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20711 * sysdeps/ieee754/ldbl-96/strtold_l.c
20712 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20713 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20714 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20715 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20717 * math/test-float64x.h: New file.
20718 * math/Makefile (type-float64x-yes): New variable.
20719 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
20721 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
20722 function-like macro.
20723 (min_of_type_): Likewise.
20724 (min_of_type_l): Likewise.
20725 (min_of_type_f128): Likewise.
20726 (min_of_type): Pass () as last argument of __MATH_TG.
20728 * stdlib/tst-strtod-round-skeleton.c
20729 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
20732 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
20733 for combinations of long double with _Float64 and _Float64x.
20735 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
20736 (__DECL_SIMD_cosf32): Likewise.
20737 (__DECL_SIMD_cosf64): Likewise.
20738 (__DECL_SIMD_cosf32x): Likewise.
20739 (__DECL_SIMD_cosf64x): Likewise.
20740 (__DECL_SIMD_cosf128x): Likewise.
20741 (__DECL_SIMD_sinf16): Likewise.
20742 (__DECL_SIMD_sinf32): Likewise.
20743 (__DECL_SIMD_sinf64): Likewise.
20744 (__DECL_SIMD_sinf32x): Likewise.
20745 (__DECL_SIMD_sinf64x): Likewise.
20746 (__DECL_SIMD_sinf128x): Likewise.
20747 (__DECL_SIMD_sincosf16): Likewise.
20748 (__DECL_SIMD_sincosf32): Likewise.
20749 (__DECL_SIMD_sincosf64): Likewise.
20750 (__DECL_SIMD_sincosf32x): Likewise.
20751 (__DECL_SIMD_sincosf64x): Likewise.
20752 (__DECL_SIMD_sincosf128x): Likewise.
20753 (__DECL_SIMD_logf16): Likewise.
20754 (__DECL_SIMD_logf32): Likewise.
20755 (__DECL_SIMD_logf64): Likewise.
20756 (__DECL_SIMD_logf32x): Likewise.
20757 (__DECL_SIMD_logf64x): Likewise.
20758 (__DECL_SIMD_logf128x): Likewise.
20759 (__DECL_SIMD_expf16): Likewise.
20760 (__DECL_SIMD_expf32): Likewise.
20761 (__DECL_SIMD_expf64): Likewise.
20762 (__DECL_SIMD_expf32x): Likewise.
20763 (__DECL_SIMD_expf64x): Likewise.
20764 (__DECL_SIMD_expf128x): Likewise.
20765 (__DECL_SIMD_powf16): Likewise.
20766 (__DECL_SIMD_powf32): Likewise.
20767 (__DECL_SIMD_powf64): Likewise.
20768 (__DECL_SIMD_powf32x): Likewise.
20769 (__DECL_SIMD_powf64x): Likewise.
20770 (__DECL_SIMD_powf128x): Likewise.
20772 * stdlib/Versions (libc): Move entries for wcstof128 and
20773 wcstof128_l to ....
20774 * wcsmbs/Versions (libc): ... here.
20775 Include <float128-abi.h>.
20777 2017-11-24 Florian Weimer <fweimer@redhat.com>
20779 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20780 bits/mman-shared.h.
20781 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
20782 <bits/mman-shared.h>.
20783 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
20785 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
20786 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
20787 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
20788 <bits/mman-shared.h>.
20790 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20793 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
20794 posix_memalign/free.
20795 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
20797 2017-11-22 Mike FABIAN <mfabian@redhat.com>
20800 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
20801 and implement the collation rules for pl from CLDR on top of that.
20802 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
20803 of locales to be built for testing.
20804 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
20806 2017-11-23 Joseph Myers <joseph@codesourcery.com>
20808 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
20809 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
20810 libm_alias_ldouble_other.
20811 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
20812 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
20813 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
20814 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
20815 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
20816 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
20817 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
20818 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
20819 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
20820 libm_alias_ldouble_r.
20821 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
20822 libm_alias_ldouble_other.
20823 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
20824 (log10l): Likewise.
20825 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
20826 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
20827 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
20828 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
20829 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
20830 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
20831 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
20832 (atan2l): Likewise.
20833 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
20834 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
20835 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
20836 libm_alias_ldouble.
20837 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
20839 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
20840 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
20841 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
20843 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
20844 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
20845 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
20846 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
20847 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
20848 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
20849 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
20850 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
20851 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
20852 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
20853 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
20854 libm_alias_ldouble.
20855 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
20856 libm_alias_ldouble_other.
20857 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
20858 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
20859 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
20860 libm_alias_ldouble.
20861 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
20862 libm_alias_ldouble_other.
20863 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
20864 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
20865 * sysdeps/ia64/fpu/w_lgammal_main.c
20866 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
20867 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
20869 2017-11-23 Florian Weimer <fweimer@redhat.com>
20871 * malloc/malloc.c (tcache_thread_shutdown): Rename from
20872 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
20873 alike. Remove freeres marker.
20874 * malloc/arena.c (arena_thread_freeres): Call
20875 tcache_thread_shutdown.
20877 2017-11-23 Florian Weimer <fweimer@redhat.com>
20880 Export nscd hash function as __nss_hash.
20881 * include/nss.h (__nss_hash): Declare.
20882 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
20884 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
20885 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
20887 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
20888 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
20889 * nss/Makefiles (routines): Add nss_hash.
20890 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
20891 * nss/nss_hash.c: Rename from nis/nis_hash.c.
20892 (__nss_hash): Rename from __nis_hash. Define hidden alias.
20893 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
20895 2017-11-23 Florian Weimer <fweimer@redhat.com>
20898 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
20899 Return error code, not -1.
20900 * signal/tst-sigwait-eintr.c: New file.
20901 * signal/Makefile (tests): Add tst-sigwait-eintr.
20903 2017-11-23 Florian Weimer <fweimer@redhat.com>
20905 Linux: Add memfd_create system call wrapper
20906 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
20908 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
20909 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
20910 [__USE_GNU] (memfd_create): Declare.
20911 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
20912 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
20913 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
20914 * sysdeps/unix/sysv/linux/**.abilist: Update.
20915 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
20917 2017-11-22 Joseph Myers <joseph@codesourcery.com>
20919 * localedata/gen-locale.sh: Fix typo in variable name.
20921 * resolv/res_debug.c (p_secstodate): Condition definition on
20922 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
20923 directly as __p_secstodate, and as a compat symbol. Do not use
20924 libresolv_hidden_def.
20925 * resolv/resolv.h (p_secstodate): Remove macro and function
20927 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
20928 using p_secstodate.
20929 * include/resolv.h (__p_secstodate): Do not use
20930 libresolv_hidden_proto.
20931 * resolv/Makefile (tests): Move tst-p_secstodate to ....
20932 (tests-internal): ... here.
20933 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
20934 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
20935 and declare and use __p_secstodate and use compat_symbol_reference
20937 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
20938 implementation returning 77.
20941 * resolv/res_debug.c: Include <libc-diag.h>.
20942 (p_secstodate): Assert time_t at least as wide as u_long. On
20943 overflow, use integer seconds since the epoch as output, or use
20944 "<overflow>" as output and set errno to EOVERFLOW if integer
20945 seconds since the epoch would be 14 or more characters.
20946 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
20948 * resolv/tst-p_secstodate.c: New file.
20949 * resolv/Makefile (tests): Add tst-p_secstodate.
20950 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
20952 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
20953 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
20954 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
20956 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
20958 * posix/regcomp.c (init_word_char): Add comments.
20960 2017-11-22 Joseph Myers <joseph@codesourcery.com>
20963 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
20964 strlen to compute length of ut_user and set trailing NUL byte of
20967 2017-11-21 Mike FABIAN <mfabian@redhat.com>
20970 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
20971 using “copy "iso14651_t1"” and then implementing the
20972 collation rules for lv from CLDR on top of that.
20973 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
20974 of locales to be built for testing.
20975 * lv_LV.UTF-8.in: New file with test data to test the Latvian
20978 2017-11-21 Joseph Myers <joseph@codesourcery.com>
20980 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
20981 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
20982 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
20983 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
20984 [__USE_MISC] (MADV_HWPOISON): New macro.
20985 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
20987 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20989 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
20990 -Wmissing-braces on GCC 4.9.
20992 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
20994 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
20995 * sysdeps/s390/s390-32/start.S (_start): Likewise
20996 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
20997 (thread_start): Likewise.
20998 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
20999 (thread_start): Likewise.
21000 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
21001 (__makecontext_ret): Likewise.
21002 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
21003 (__makecontext_ret): Likewise.
21005 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21007 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
21008 __wcschrnul): Remove attribute_hidden.
21010 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
21012 regex: don't assume uint64_t or uint32_t
21013 This avoids -Werror=overflow errors for 32-bit systems in
21014 the 64-bit case. Problem reported by Joseph Myers in:
21015 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
21016 Also, when this code is used in Gnulib it ports to platforms
21017 that lack uint64_t and uint32_t. The C standard doesn't guarantee
21018 them, and on some 32-bit compilers there is no uint64_t.
21019 Problem reported by Gianluigi Tiesi in:
21020 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
21021 * posix/regcomp.c (init_word_char): Don't assume that the types
21022 uint64_t and uint32_t exist. Adapted from Gnulib patch
21023 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
21024 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
21026 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
21028 * sysdeps/aarch64/memset-reg.h: New file.
21029 * sysdeps/aarch64/memset.S: Use it.
21030 (__memset): Rename to MEMSET macro.
21031 [ZVA_MACRO]: Use zva_macro.
21032 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21033 Add memset_generic and memset_falkor.
21034 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
21035 (__libc_ifunc_impl_list): Add memset ifuncs.
21036 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
21037 local variable zva_size.
21038 * sysdeps/aarch64/multiarch/memset.c: New file.
21039 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
21040 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
21041 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
21042 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
21043 (DCZID_DZP_MASK): New macro.
21044 (DCZID_BS_MASK): Likewise.
21045 (init_cpu_features): Read and set zva_size.
21046 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
21047 (struct cpu_features): New member zva_size.
21049 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
21050 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
21051 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
21053 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
21054 backwards. Fix timing computation.
21055 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
21056 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
21057 on memset by N at a time. Fix timing computation.
21059 2017-11-20 Florian Weimer <fweimer@redhat.com>
21061 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
21062 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
21064 2017-11-19 Florian Weimer <fweimer@redhat.com>
21066 manual: Document mprotect
21067 * manual/memory.texi (Memory Protection): New section.
21068 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
21069 documentation of PROT_* flags and reference the Memory Protection
21072 2017-11-19 Florian Weimer <fweimer@redhat.com>
21074 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
21075 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
21076 (Scatter-Gather): ... to here. Remove misleading comment.
21078 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
21080 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
21083 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
21084 when /proc/<pid>/setgroups does not exist.
21086 2017-11-18 Florian Weimer <fweimer@redhat.com>
21088 * sysdeps/unix/sysv/linux/tst-ttyname.c
21089 (become_root_in_mount_ns): Remove.
21090 (do_in_chroot_1): Call support_enter_mount_namespace.
21091 (do_in_chroot_2): Likewise.
21092 (do_test): Call support_become_root early.
21094 2017-11-18 Florian Weimer <fweimer@redhat.com>
21096 * support/namespace.h (support_enter_mount_namespace): Declare.
21097 * support/support_enter_mount_namespace.c: New file.
21098 * support/Makefile (libsupport-routines): Add
21099 support_enter_mount_namespace.
21101 2017-11-18 Florian Weimer <fweimer@redhat.com>
21103 * support/temp_file.c (support_create_temp_directory): Use
21104 test_dir and do not rely on the presence of the XXXXXX suffix.
21105 * support/temp_file.h (support_create_temp_directory): Update
21107 * support/tst-xreadlink.c (do_test): Adjust.
21108 * support/support_chroot.c (support_chroot_create): Likewise.
21110 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21112 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
21114 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
21117 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21119 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21120 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21121 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21122 (ceill): Define using libm_alias_ldouble.
21123 * sysdeps/x86_64/fpu/s_copysignl.S: Include
21124 <libm-alias-ldouble.h>.
21125 (copysignl): Define using libm_alias_ldouble.
21126 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21127 (fabsl): Define using libm_alias_ldouble.
21128 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21129 (floorl): Define using libm_alias_ldouble.
21130 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21131 (fmaxl): Define using libm_alias_ldouble.
21132 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21133 (fminl): Define using libm_alias_ldouble.
21134 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21135 (llrintl): Define using libm_alias_ldouble.
21136 (lrintl): Likewise.
21137 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
21138 <libm-alias-ldouble.h>.
21139 (nearbyintl): Define using libm_alias_ldouble.
21140 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21141 (truncl): Define using libm_alias_ldouble.
21142 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
21143 <libm-alias-ldouble.h>.
21144 (lrintl): Define using libm_alias_ldouble.
21146 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21147 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21148 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
21149 (asinhl): Define using libm_alias_ldouble.
21150 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
21151 (atanl): Define using libm_alias_ldouble.
21152 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
21153 (cbrtl): Define using libm_alias_ldouble.
21154 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21155 (ceill): Define using libm_alias_ldouble.
21156 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
21157 (copysignl): Define using libm_alias_ldouble.
21158 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21159 (fabsl): Define using libm_alias_ldouble.
21160 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21161 (floorl): Define using libm_alias_ldouble.
21162 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21163 (fmaxl): Define using libm_alias_ldouble.
21164 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21165 (fminl): Define using libm_alias_ldouble.
21166 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
21167 (frexpl): Define using libm_alias_ldouble.
21168 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21169 (llrintl): Define using libm_alias_ldouble.
21170 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
21171 (logbl): Define using libm_alias_ldouble.
21172 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
21173 (lrintl): Define using libm_alias_ldouble.
21174 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
21175 (nearbyintl): Define using libm_alias_ldouble.
21176 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
21177 (nextafterl): Define using libm_alias_ldouble.
21178 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
21179 (remquol): Define using libm_alias_ldouble.
21180 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
21181 (rintl): Define using libm_alias_ldouble.
21182 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21183 (truncl): Define using libm_alias_ldouble.
21184 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21185 (fmaxl): Define using libm_alias_ldouble.
21186 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21187 (fminl): Define using libm_alias_ldouble.
21189 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
21190 to C syntax instead of availability and properties of types.
21191 * bits/floatn.h [!__ASSEMBLER]: Likewise.
21192 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
21193 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
21194 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
21195 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
21196 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
21198 2017-11-17 Florian Weimer <fweimer@redhat.com>
21200 support_become_root: Enable file creation in namespaces.
21201 * support/support_become_root.c (setup_mapping): New function.
21202 (support_become_root): Call it.
21204 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21206 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
21209 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21211 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
21212 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
21214 2017-11-16 Joseph Myers <joseph@codesourcery.com>
21216 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
21218 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21221 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
21223 * INSTALL: Fix botched up regeneration.
21225 * NEWS: Update sourceare link to https.
21226 * configure.ac: Likewise.
21227 * crypt/md5test-giant.c: Likewise.
21228 * dlfcn/bug-atexit1.c: Likewise.
21229 * dlfcn/bug-atexit2.c: Likewise.
21230 * localedata/README: Likewise.
21231 * malloc/tst-mallocfork.c: Likewise.
21232 * manual/install.texi: Likewise.
21233 * nptl/tst-pthread-getattr.c: Likewise.
21234 * stdio-common/tst-fgets.c: Likewise.
21235 * stdio-common/tst-fwrite.c: Likewise.
21236 * sunrpc/Makefile: Likewise.
21237 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
21238 * wcsmbs/tst-mbrtowc2.c: Likewise.
21239 * configure: Regenerate.
21240 * INSTALL: Regenerate.
21242 2017-11-15 Martin Sebor <msebor@redhat.com>
21244 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
21245 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
21246 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
21248 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21251 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
21252 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
21255 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
21256 Defer is_pty check until end of the function.
21257 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21260 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
21261 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
21262 (ttyname): Likewise.
21263 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
21264 (__ttyname_r): Likewise.
21266 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
21269 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
21271 * manual/terminal.texi (Is It a Terminal):
21272 Mention ENODEV for ttyname and ttyname_r.
21274 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21276 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
21277 constant and macro.
21279 * sysdeps/unix/sysv/linux/bits/mman-linux.h
21280 [__USE_MISC] (MADV_WIPEONFORK): New macro.
21281 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21282 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21283 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
21284 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21286 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21288 * signal/sigrelse.c (sigrelse): Optimize implementation.
21290 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
21291 (__sigpause): Rely on __sigsuspend to implement single thread
21292 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
21294 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21296 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
21297 kernel version to 4.14.
21299 2017-11-15 Steve Ellcey <sellcey@cavium.com>
21302 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
21303 Check if ifname is too long.
21305 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21307 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
21309 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21311 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
21312 was accidentally lost.
21314 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21316 * localedata/locales/az_IR: Add standard copyright header.
21318 2017-11-15 Florian Weimer <fweimer@redhat.com>
21321 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
21322 not just the top one. Output a new "subheaps" statistic.
21324 2017-11-15 Florian Weimer <fweimer@redhat.com>
21327 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
21328 under the per-arena lock.
21329 * malloc/Makefile (tests): Add tst-malloc_info.
21330 (tst-malloc_info): Link with libpthread.
21331 * malloc/tst-malloc_info.c: New file.
21333 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21336 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
21337 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
21338 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
21339 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
21340 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
21341 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
21342 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
21343 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
21344 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
21345 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
21346 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
21347 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
21348 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
21349 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
21350 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
21351 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
21352 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
21353 (__floating_type): Likewise.
21354 (__real_integer_type): Likewise.
21355 (__complex_integer_type): Likewise.
21356 (__expr_is_real): Likewise.
21357 (__tgmath_real_type_sub): Likewise.
21358 (__tgmath_real_type): Likewise.
21359 (__tgmath_complex_type_sub): Likewise.
21360 (__tgmath_complex_type): Likewise.
21361 (__TGMATH_F128): Likewise.
21362 (__TGMATH_CF128): Likewise.
21363 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
21365 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
21366 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
21368 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
21370 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
21371 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
21372 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
21373 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
21375 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
21376 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
21378 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
21379 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
21380 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
21382 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
21383 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
21384 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
21388 2017-11-14 Joseph Myers <joseph@codesourcery.com>
21390 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
21391 for stpncpy calls for GCC 8.
21392 (test_strncat): Disable -Wstringop-truncation warning for strncat
21393 calls for GCC 8. Disable -Wstringop-overflow= warning for one
21394 strncat call for GCC 7.
21395 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
21397 (test_memcmp): Use memcpy instead of strncpy for calls not copying
21400 * string/bug-strncat1.c: Include <libc-diag.h>.
21401 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
21403 2017-11-13 Claude Paroz <claude@2xlibre.net>
21406 * localedata/locales/aa_DJ: Improved readibility by replacing
21407 <Uxxxx> sequences in the ASCII printable range by their ASCII
21408 character equivalents.
21409 * localedata/locales/aa_ER: Likewise.
21410 * localedata/locales/aa_ER@saaho: Likewise.
21411 * localedata/locales/aa_ET: Likewise.
21412 * localedata/locales/af_ZA: Likewise.
21413 * localedata/locales/agr_PE: Likewise.
21414 * localedata/locales/ak_GH: Likewise.
21415 * localedata/locales/am_ET: Likewise.
21416 * localedata/locales/anp_IN: Likewise.
21417 * localedata/locales/ar_AE: Likewise.
21418 * localedata/locales/ar_BH: Likewise.
21419 * localedata/locales/ar_DZ: Likewise.
21420 * localedata/locales/ar_EG: Likewise.
21421 * localedata/locales/ar_IN: Likewise.
21422 * localedata/locales/ar_IQ: Likewise.
21423 * localedata/locales/ar_JO: Likewise.
21424 * localedata/locales/ar_KW: Likewise.
21425 * localedata/locales/ar_LB: Likewise.
21426 * localedata/locales/ar_LY: Likewise.
21427 * localedata/locales/ar_MA: Likewise.
21428 * localedata/locales/ar_OM: Likewise.
21429 * localedata/locales/ar_QA: Likewise.
21430 * localedata/locales/ar_SA: Likewise.
21431 * localedata/locales/ar_SD: Likewise.
21432 * localedata/locales/ar_SS: Likewise.
21433 * localedata/locales/ar_SY: Likewise.
21434 * localedata/locales/ar_TN: Likewise.
21435 * localedata/locales/ar_YE: Likewise.
21436 * localedata/locales/as_IN: Likewise.
21437 * localedata/locales/ast_ES: Likewise.
21438 * localedata/locales/ayc_PE: Likewise.
21439 * localedata/locales/az_AZ: Likewise.
21440 * localedata/locales/az_IR: Likewise.
21441 * localedata/locales/be_BY: Likewise.
21442 * localedata/locales/be_BY@latin: Likewise.
21443 * localedata/locales/bem_ZM: Likewise.
21444 * localedata/locales/ber_DZ: Likewise.
21445 * localedata/locales/ber_MA: Likewise.
21446 * localedata/locales/bg_BG: Likewise.
21447 * localedata/locales/bhb_IN: Likewise.
21448 * localedata/locales/bho_IN: Likewise.
21449 * localedata/locales/bi_VU: Likewise.
21450 * localedata/locales/bn_BD: Likewise.
21451 * localedata/locales/bn_IN: Likewise.
21452 * localedata/locales/bo_CN: Likewise.
21453 * localedata/locales/bo_IN: Likewise.
21454 * localedata/locales/br_FR: Likewise.
21455 * localedata/locales/brx_IN: Likewise.
21456 * localedata/locales/bs_BA: Likewise.
21457 * localedata/locales/byn_ER: Likewise.
21458 * localedata/locales/ca_AD: Likewise.
21459 * localedata/locales/ca_ES: Likewise.
21460 * localedata/locales/ca_FR: Likewise.
21461 * localedata/locales/ca_IT: Likewise.
21462 * localedata/locales/ce_RU: Likewise.
21463 * localedata/locales/chr_US: Likewise.
21464 * localedata/locales/cmn_TW: Likewise.
21465 * localedata/locales/crh_UA: Likewise.
21466 * localedata/locales/cs_CZ: Likewise.
21467 * localedata/locales/csb_PL: Likewise.
21468 * localedata/locales/cv_RU: Likewise.
21469 * localedata/locales/cy_GB: Likewise.
21470 * localedata/locales/da_DK: Likewise.
21471 * localedata/locales/de_AT: Likewise.
21472 * localedata/locales/de_BE: Likewise.
21473 * localedata/locales/de_CH: Likewise.
21474 * localedata/locales/de_DE: Likewise.
21475 * localedata/locales/de_IT: Likewise.
21476 * localedata/locales/de_LI: Likewise.
21477 * localedata/locales/de_LU: Likewise.
21478 * localedata/locales/doi_IN: Likewise.
21479 * localedata/locales/dv_MV: Likewise.
21480 * localedata/locales/dz_BT: Likewise.
21481 * localedata/locales/el_CY: Likewise.
21482 * localedata/locales/el_GR: Likewise.
21483 * localedata/locales/en_AG: Likewise.
21484 * localedata/locales/en_AU: Likewise.
21485 * localedata/locales/en_BW: Likewise.
21486 * localedata/locales/en_CA: Likewise.
21487 * localedata/locales/en_DK: Likewise.
21488 * localedata/locales/en_GB: Likewise.
21489 * localedata/locales/en_HK: Likewise.
21490 * localedata/locales/en_IE: Likewise.
21491 * localedata/locales/en_IL: Likewise.
21492 * localedata/locales/en_IN: Likewise.
21493 * localedata/locales/en_NG: Likewise.
21494 * localedata/locales/en_NZ: Likewise.
21495 * localedata/locales/en_PH: Likewise.
21496 * localedata/locales/en_SG: Likewise.
21497 * localedata/locales/en_US: Likewise.
21498 * localedata/locales/en_ZA: Likewise.
21499 * localedata/locales/en_ZM: Likewise.
21500 * localedata/locales/en_ZW: Likewise.
21501 * localedata/locales/eo: Likewise.
21502 * localedata/locales/es_AR: Likewise.
21503 * localedata/locales/es_BO: Likewise.
21504 * localedata/locales/es_CL: Likewise.
21505 * localedata/locales/es_CO: Likewise.
21506 * localedata/locales/es_CR: Likewise.
21507 * localedata/locales/es_CU: Likewise.
21508 * localedata/locales/es_DO: Likewise.
21509 * localedata/locales/es_EC: Likewise.
21510 * localedata/locales/es_ES: Likewise.
21511 * localedata/locales/es_GT: Likewise.
21512 * localedata/locales/es_HN: Likewise.
21513 * localedata/locales/es_MX: Likewise.
21514 * localedata/locales/es_NI: Likewise.
21515 * localedata/locales/es_PA: Likewise.
21516 * localedata/locales/es_PE: Likewise.
21517 * localedata/locales/es_PR: Likewise.
21518 * localedata/locales/es_PY: Likewise.
21519 * localedata/locales/es_SV: Likewise.
21520 * localedata/locales/es_US: Likewise.
21521 * localedata/locales/es_UY: Likewise.
21522 * localedata/locales/es_VE: Likewise.
21523 * localedata/locales/et_EE: Likewise.
21524 * localedata/locales/eu_ES: Likewise.
21525 * localedata/locales/eu_ES@euro: Likewise.
21526 * localedata/locales/fa_IR: Likewise.
21527 * localedata/locales/ff_SN: Likewise.
21528 * localedata/locales/fi_FI: Likewise.
21529 * localedata/locales/fil_PH: Likewise.
21530 * localedata/locales/fo_FO: Likewise.
21531 * localedata/locales/fr_BE: Likewise.
21532 * localedata/locales/fr_CA: Likewise.
21533 * localedata/locales/fr_CH: Likewise.
21534 * localedata/locales/fr_FR: Likewise.
21535 * localedata/locales/fr_LU: Likewise.
21536 * localedata/locales/fur_IT: Likewise.
21537 * localedata/locales/fy_DE: Likewise.
21538 * localedata/locales/fy_NL: Likewise.
21539 * localedata/locales/ga_IE: Likewise.
21540 * localedata/locales/gd_GB: Likewise.
21541 * localedata/locales/gez_ER: Likewise.
21542 * localedata/locales/gez_ET: Likewise.
21543 * localedata/locales/gl_ES: Likewise.
21544 * localedata/locales/gu_IN: Likewise.
21545 * localedata/locales/gv_GB: Likewise.
21546 * localedata/locales/ha_NG: Likewise.
21547 * localedata/locales/hak_TW: Likewise.
21548 * localedata/locales/he_IL: Likewise.
21549 * localedata/locales/hi_IN: Likewise.
21550 * localedata/locales/hif_FJ: Likewise.
21551 * localedata/locales/hne_IN: Likewise.
21552 * localedata/locales/hr_HR: Likewise.
21553 * localedata/locales/hsb_DE: Likewise.
21554 * localedata/locales/ht_HT: Likewise.
21555 * localedata/locales/hu_HU: Likewise.
21556 * localedata/locales/hy_AM: Likewise.
21557 * localedata/locales/i18n: Likewise.
21558 * localedata/locales/ia_FR: Likewise.
21559 * localedata/locales/id_ID: Likewise.
21560 * localedata/locales/ig_NG: Likewise.
21561 * localedata/locales/ik_CA: Likewise.
21562 * localedata/locales/is_IS: Likewise.
21563 * localedata/locales/it_CH: Likewise.
21564 * localedata/locales/it_IT: Likewise.
21565 * localedata/locales/iu_CA: Likewise.
21566 * localedata/locales/ja_JP: Likewise.
21567 * localedata/locales/ka_GE: Likewise.
21568 * localedata/locales/kk_KZ: Likewise.
21569 * localedata/locales/kl_GL: Likewise.
21570 * localedata/locales/kn_IN: Likewise.
21571 * localedata/locales/ko_KR: Likewise.
21572 * localedata/locales/kok_IN: Likewise.
21573 * localedata/locales/ks_IN: Likewise.
21574 * localedata/locales/ks_IN@devanagari: Likewise.
21575 * localedata/locales/ku_TR: Likewise.
21576 * localedata/locales/kw_GB: Likewise.
21577 * localedata/locales/ky_KG: Likewise.
21578 * localedata/locales/lb_LU: Likewise.
21579 * localedata/locales/lg_UG: Likewise.
21580 * localedata/locales/li_BE: Likewise.
21581 * localedata/locales/li_NL: Likewise.
21582 * localedata/locales/lij_IT: Likewise.
21583 * localedata/locales/ln_CD: Likewise.
21584 * localedata/locales/lo_LA: Likewise.
21585 * localedata/locales/lt_LT: Likewise.
21586 * localedata/locales/lv_LV: Likewise.
21587 * localedata/locales/lzh_TW: Likewise.
21588 * localedata/locales/mag_IN: Likewise.
21589 * localedata/locales/mai_IN: Likewise.
21590 * localedata/locales/mg_MG: Likewise.
21591 * localedata/locales/mhr_RU: Likewise.
21592 * localedata/locales/mi_NZ: Likewise.
21593 * localedata/locales/mk_MK: Likewise.
21594 * localedata/locales/ml_IN: Likewise.
21595 * localedata/locales/mn_MN: Likewise.
21596 * localedata/locales/mni_IN: Likewise.
21597 * localedata/locales/mr_IN: Likewise.
21598 * localedata/locales/ms_MY: Likewise.
21599 * localedata/locales/mt_MT: Likewise.
21600 * localedata/locales/my_MM: Likewise.
21601 * localedata/locales/nan_TW: Likewise.
21602 * localedata/locales/nan_TW@latin: Likewise.
21603 * localedata/locales/nb_NO: Likewise.
21604 * localedata/locales/nds_DE: Likewise.
21605 * localedata/locales/nds_NL: Likewise.
21606 * localedata/locales/ne_NP: Likewise.
21607 * localedata/locales/nhn_MX: Likewise.
21608 * localedata/locales/niu_NU: Likewise.
21609 * localedata/locales/niu_NZ: Likewise.
21610 * localedata/locales/nl_AW: Likewise.
21611 * localedata/locales/nl_BE: Likewise.
21612 * localedata/locales/nl_NL: Likewise.
21613 * localedata/locales/nn_NO: Likewise.
21614 * localedata/locales/nr_ZA: Likewise.
21615 * localedata/locales/nso_ZA: Likewise.
21616 * localedata/locales/oc_FR: Likewise.
21617 * localedata/locales/om_ET: Likewise.
21618 * localedata/locales/om_KE: Likewise.
21619 * localedata/locales/or_IN: Likewise.
21620 * localedata/locales/os_RU: Likewise.
21621 * localedata/locales/pa_IN: Likewise.
21622 * localedata/locales/pa_PK: Likewise.
21623 * localedata/locales/pap_AW: Likewise.
21624 * localedata/locales/pap_CW: Likewise.
21625 * localedata/locales/pl_PL: Likewise.
21626 * localedata/locales/ps_AF: Likewise.
21627 * localedata/locales/pt_BR: Likewise.
21628 * localedata/locales/pt_PT: Likewise.
21629 * localedata/locales/quz_PE: Likewise.
21630 * localedata/locales/raj_IN: Likewise.
21631 * localedata/locales/ro_RO: Likewise.
21632 * localedata/locales/ru_RU: Likewise.
21633 * localedata/locales/ru_UA: Likewise.
21634 * localedata/locales/rw_RW: Likewise.
21635 * localedata/locales/sa_IN: Likewise.
21636 * localedata/locales/sat_IN: Likewise.
21637 * localedata/locales/sc_IT: Likewise.
21638 * localedata/locales/sd_IN: Likewise.
21639 * localedata/locales/sd_IN@devanagari: Likewise.
21640 * localedata/locales/se_NO: Likewise.
21641 * localedata/locales/sgs_LT: Likewise.
21642 * localedata/locales/shs_CA: Likewise.
21643 * localedata/locales/si_LK: Likewise.
21644 * localedata/locales/sid_ET: Likewise.
21645 * localedata/locales/sk_SK: Likewise.
21646 * localedata/locales/sl_SI: Likewise.
21647 * localedata/locales/sm_WS: Likewise.
21648 * localedata/locales/so_DJ: Likewise.
21649 * localedata/locales/so_ET: Likewise.
21650 * localedata/locales/so_KE: Likewise.
21651 * localedata/locales/so_SO: Likewise.
21652 * localedata/locales/sq_AL: Likewise.
21653 * localedata/locales/sq_MK: Likewise.
21654 * localedata/locales/sr_ME: Likewise.
21655 * localedata/locales/sr_RS: Likewise.
21656 * localedata/locales/sr_RS@latin: Likewise.
21657 * localedata/locales/ss_ZA: Likewise.
21658 * localedata/locales/st_ZA: Likewise.
21659 * localedata/locales/sv_FI: Likewise.
21660 * localedata/locales/sv_SE: Likewise.
21661 * localedata/locales/sw_KE: Likewise.
21662 * localedata/locales/sw_TZ: Likewise.
21663 * localedata/locales/szl_PL: Likewise.
21664 * localedata/locales/ta_IN: Likewise.
21665 * localedata/locales/ta_LK: Likewise.
21666 * localedata/locales/tcy_IN: Likewise.
21667 * localedata/locales/te_IN: Likewise.
21668 * localedata/locales/tg_TJ: Likewise.
21669 * localedata/locales/th_TH: Likewise.
21670 * localedata/locales/the_NP: Likewise.
21671 * localedata/locales/ti_ER: Likewise.
21672 * localedata/locales/ti_ET: Likewise.
21673 * localedata/locales/tig_ER: Likewise.
21674 * localedata/locales/tk_TM: Likewise.
21675 * localedata/locales/tl_PH: Likewise.
21676 * localedata/locales/tn_ZA: Likewise.
21677 * localedata/locales/to_TO: Likewise.
21678 * localedata/locales/tpi_PG: Likewise.
21679 * localedata/locales/tr_CY: Likewise.
21680 * localedata/locales/tr_TR: Likewise.
21681 * localedata/locales/ts_ZA: Likewise.
21682 * localedata/locales/tt_RU: Likewise.
21683 * localedata/locales/tt_RU@iqtelif: Likewise.
21684 * localedata/locales/ug_CN: Likewise.
21685 * localedata/locales/uk_UA: Likewise.
21686 * localedata/locales/unm_US: Likewise.
21687 * localedata/locales/ur_IN: Likewise.
21688 * localedata/locales/ur_PK: Likewise.
21689 * localedata/locales/uz_UZ: Likewise.
21690 * localedata/locales/uz_UZ@cyrillic: Likewise.
21691 * localedata/locales/ve_ZA: Likewise.
21692 * localedata/locales/vi_VN: Likewise.
21693 * localedata/locales/wa_BE: Likewise.
21694 * localedata/locales/wae_CH: Likewise.
21695 * localedata/locales/wal_ET: Likewise.
21696 * localedata/locales/wo_SN: Likewise.
21697 * localedata/locales/xh_ZA: Likewise.
21698 * localedata/locales/yi_US: Likewise.
21699 * localedata/locales/yo_NG: Likewise.
21700 * localedata/locales/yue_HK: Likewise.
21701 * localedata/locales/yuw_PG: Likewise.
21702 * localedata/locales/zh_CN: Likewise.
21703 * localedata/locales/zh_HK: Likewise.
21704 * localedata/locales/zh_SG: Likewise.
21705 * localedata/locales/zh_TW: Likewise.
21706 * localedata/locales/zu_ZA: Likewise.
21708 2017-11-13 Florian Weimer <fweimer@redhat.com>
21710 * support/next_to_fault.h, support/next_to_fault.c: New files.
21711 * support/Makefile (libsupport-routines): Add next_to_fault.
21712 * resolv/tst-inet_pton.c (struct next_to_fault)
21713 (next_to_fault_allocate, next_to_fault_free): Remove.
21714 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
21716 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
21718 * elf/dl-support.c: Include <dl-procruntime.c>.
21719 * include/link.h: Include <link_map.h>.
21720 * sysdeps/generic/dl-procruntime.c: New file.
21721 * sysdeps/generic/link_map.h: Likewise.
21722 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
21723 the writable ld.so namespace.
21725 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
21727 timezone: pacify GCC -Wstringop-truncation
21728 Problem reported by Martin Sebor in:
21729 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
21730 * timezone/zic.c (writezone): Use memcpy, not strncpy.
21732 2017-11-12 Florian Weimer <fweimer@redhat.com>
21734 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
21736 (tests): Add tst-xreadlink.
21737 * support/support.h (xstrndup): Declare.
21738 * support/xunistd.h (xunlink, xreadlink): Declare.
21739 * support/temp_file.h (support_create_temp_directory): Declare.
21740 * support/temp_file.c (support_create_temp_directory): New function.
21741 * support/support_chroot.c (support_chroot_create): Use it.
21742 * support/xreadlink.c: New file.
21743 * support/xstrndup.c: Likewise.
21744 * support/xunlink.c: Likewise.
21745 * support/tst-xreadlink.c: Likewise.
21747 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
21749 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
21751 2017-11-11 Florian Weimer <fweimer@redhat.com>
21755 * resolv/res_comp.c (printable_string, binary_hnok)
21756 (binary_leading_dash): New functions.
21757 (res_hnok): Reimplement using these functions and ns_name_pton.
21758 (res_ownok): Likewise.
21759 (res_mailok): Reimplement using printable_string, ns_name_pton and
21761 (res_dnok): Reimplement using printable_string and ns_name_pton.
21762 * resolv/tst-res_hnok.c (tests): Add additional tests.
21763 (LETTERDIGITS, PRINTABLE): Define.
21764 (do_test): Adjust one_char results.
21766 2017-11-11 Florian Weimer <fweimer@redhat.com>
21769 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
21770 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
21772 2017-11-11 Florian Weimer <fweimer@redhat.com>
21774 * resolv/tst-ns_name_pton.c: New file.
21775 * resolv/Makefile (tests): Add tst-ns_name_pton.
21776 (tst-ns_name_pton): Link against libresolv.
21778 2017-11-11 Florian Weimer <fweimer@redhat.com>
21780 * resolv/tst-res_hnok.c: New file.
21781 * resolv/Makefile (tests): Add tst-res_hnok.
21782 (tst-res_hnok): Link against libresolv.
21784 2017-11-11 Florian Weimer <fweimer@redhat.com>
21786 * resolv/tst-resolv-network.c: Use test framework instead explicit
21789 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
21791 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
21792 <jmp_buf-macros.h>.
21793 [!_ISOMAC] (STR_HELPER): New.
21794 [!_ISOMAC] (STR): Likewise.
21795 [!_ISOMAC] (TEST_SIZE): Likewise.
21796 [!_ISOMAC] (TEST_ALIGN): Likewise.
21797 [!_ISOMAC] (TEST_OFFSET): Likewise.
21798 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
21799 field offsets of jmp_buf as well as sigjmp_buf.
21800 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
21801 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
21802 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
21803 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
21804 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
21805 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
21806 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
21807 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
21808 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
21809 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
21811 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
21813 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
21814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
21816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
21818 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
21819 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
21820 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
21821 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
21822 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
21823 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
21825 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
21827 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21828 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
21829 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
21831 2017-11-07 Joseph Myers <joseph@codesourcery.com>
21834 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21835 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
21836 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21837 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
21838 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21839 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
21840 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21841 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
21842 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21843 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
21844 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21845 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
21846 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21847 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
21848 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21849 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
21850 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21851 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
21852 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21853 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
21854 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21855 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
21856 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21857 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
21858 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21859 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
21860 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21861 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
21862 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21863 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
21864 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21865 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
21866 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21867 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
21868 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21869 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
21870 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21871 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
21872 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21873 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
21874 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21875 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
21876 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21877 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
21878 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21879 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
21880 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21881 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
21882 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21883 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
21884 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21885 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
21886 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21887 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
21888 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21889 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
21890 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21891 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
21892 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21893 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
21894 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21895 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
21896 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21897 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
21898 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21899 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
21900 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21901 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
21902 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21903 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
21904 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21905 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
21906 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21907 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
21908 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21909 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
21910 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21911 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
21912 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21913 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
21914 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21915 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
21916 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21917 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
21918 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21919 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
21920 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21921 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
21923 * stdlib/tst-strtod.h (F16): New macro.
21929 (IF_FLOAT16): Likewise.
21930 (IF_FLOAT32): Likewise.
21931 (IF_FLOAT64): Likewise.
21932 (IF_FLOAT32X): Likewise.
21933 (IF_FLOAT64X): Likewise.
21934 (IF_FLOAT128X): Likewise.
21935 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
21936 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
21937 (STRTOD_TEST_FOREACH): Likewise.
21938 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
21939 (CHOOSE_f64): Likewise.
21940 (CHOOSE_f32x): Likewise.
21941 (CHOOSE_f64x): Likewise.
21943 2017-11-07 Andreas Schwab <schwab@suse.de>
21945 * nptl/Makefile (tests-internal): Remove tst-typesizes.
21947 2017-11-07 Mike FABIAN <mfabian@redhat.com>
21950 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
21952 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
21955 2017-11-07 Claude Paroz <claude@2xlibre.net>
21958 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
21960 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
21962 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
21965 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21968 * nptl/allocatestack.c (allocate_stack): Check if
21969 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
21970 __PTHREAD_MUTEX_HAVE_PREV is defined.
21971 * nptl/descr.h (pthread): Likewise.
21972 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21974 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
21975 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21976 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
21977 * sysdeps/nptl/bits/thread-shared-types.h
21978 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
21980 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
21981 of __WORDSIZE for internal layout.
21982 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
21983 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
21984 instead of __WORDSIZE whether to use an union for __spins and __list
21986 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
21988 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
21989 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
21991 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
21992 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21994 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
21995 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21997 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
21998 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22000 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
22001 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22003 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
22004 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22006 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
22007 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22009 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
22010 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22012 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
22013 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22015 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
22016 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22018 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
22019 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22021 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
22022 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22024 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
22025 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22027 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
22028 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22030 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
22031 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22034 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
22036 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
22037 checks for expected input type size.
22038 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
22039 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22041 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22042 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
22043 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22044 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
22045 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
22046 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
22047 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
22048 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
22049 superflous runtime assert check.
22050 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
22052 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
22054 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
22056 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
22058 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
22060 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
22062 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
22063 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
22064 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
22066 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
22068 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
22070 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
22072 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
22074 * nptl/pthread_attr_setinheritsched.c
22075 (__pthread_attr_setinheritsched): Likewise.
22076 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
22078 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
22080 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
22081 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
22082 __old_pthread_attr_setstack): Likewise.
22083 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
22085 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
22087 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
22089 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
22090 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
22092 * nptl/tst-typesizes.c: Remove file.
22094 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
22095 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
22096 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
22097 checks for internal pthread_mutex_t offsets.
22098 * sysdeps/aarch64/nptl/pthread-offsets.h
22099 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
22100 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
22101 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
22102 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
22103 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
22104 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
22105 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
22106 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
22107 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
22108 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
22109 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
22110 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
22111 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
22112 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
22113 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
22114 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
22115 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
22116 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
22118 2017-11-07 Florian Weimer <fweimer@redhat.com>
22120 * bits/mman-linux.h: Move ...
22121 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
22123 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
22126 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22128 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
22129 Redefine STRNLEN as __strnlen_power8.
22131 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22133 * signal/sighold.c (sighold): Optimize implementation.
22135 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
22136 __NR_rt_sigqueueinfo.
22138 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
22140 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
22141 assume __NR_rt_sigtimedwait.
22142 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
22143 and add LIBC_CANCEL_HANDLED for cancellation marking.
22144 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22146 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22147 (sysdeps_routines): Add memchr_noneon.
22148 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
22149 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
22150 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
22151 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
22152 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
22153 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
22154 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
22156 * sysdeps/arm/arm-ifunc.h: New file.
22157 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
22158 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
22159 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
22160 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
22161 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
22162 (__memcpy_neon): Avoid create hidden alias.
22163 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
22164 (__memcpy_vfp): Likewise.
22165 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22166 (sysdep_routines): Add memcpy_arm.
22167 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
22169 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
22172 * Makerules (make-link-multidir): New.
22173 * config.make.in (multidir): New.
22174 * configure.ac (libc_cv_multidir): New. AC_SUBST.
22175 * configure: Regenerated.
22176 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
22177 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
22178 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
22181 2017-11-06 Joseph Myers <joseph@codesourcery.com>
22184 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
22185 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
22187 2017-11-04 Mike FABIAN <mfabian@redhat.com>
22189 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
22192 2017-11-04 Florian Weimer <fweimer@redhat.com>
22194 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
22196 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22198 * math/math.h [__HAVE_DISTINCT_FLOAT16
22199 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22200 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22201 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22202 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
22203 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
22204 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
22205 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22206 (__MATH_TG_F32): New macro.
22207 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22208 (__MATH_TG_F64X): Likewise.
22209 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22210 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
22212 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
22214 * po/de.po: Update translations.
22215 * po/ru.po: Likewise.
22217 2017-11-03 Florian Weimer <fweimer@redhat.com>
22219 * manual/filesys.texi (Hard Links): Document linkat.
22221 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22223 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
22224 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22225 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22226 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22227 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22228 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22229 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
22230 the same as _Float128.
22231 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22232 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22233 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
22236 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
22238 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
22240 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
22242 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22243 (strtof32x): Likewise.
22244 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22245 (strtof64x): Likewise.
22246 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22247 (strtof128x): Likewise.
22248 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22249 (strfromf16): Likewise.
22250 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22251 (strfromf32): Likewise.
22252 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22253 (strfromf64): Likewise.
22254 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22255 (strfromf32x): Likewise.
22256 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22257 (strfromf64x): Likewise.
22258 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22259 (strfromf128x): Likewise.
22260 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
22261 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
22262 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
22263 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
22264 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
22265 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
22267 2017-11-03 Richard Henderson <rth@twiddle.net>
22269 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
22271 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22273 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
22275 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22277 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
22278 DT_TLSDESC_GOT initialization.
22279 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
22280 (_dl_tlsdesc_resolve_hold): Likewise.
22281 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
22282 (_dl_tlsdesc_resolve_hold): Likewise.
22283 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
22284 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22286 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22288 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
22290 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22293 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
22294 non-lazily for R_ARM_TLS_DESC.
22296 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22299 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
22300 R_ARM_TLS_DESC case.
22301 (elf_machine_lazy_rel): Remove the prelink check.
22303 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22305 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
22306 DT_TLSDESC_GOT initialization.
22307 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
22308 (_dl_tlsdesc_resolve_rela): Likewise.
22309 (_dl_tlsdesc_resolve_hold): Likewise.
22310 (_dl_tlsdesc_undefweak): Remove ldar.
22311 (_dl_tlsdesc_dynamic): Likewise.
22312 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
22313 (_dl_tlsdesc_resolve_rela): Likewise.
22314 (_dl_tlsdesc_resolve_hold): Likewise.
22315 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
22316 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22317 (_dl_tlsdesc_resolve_rela): Likewise.
22318 (_dl_tlsdesc_resolve_hold): Likewise.
22320 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22322 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
22323 binding and initialization non-lazily for R_AARCH64_TLSDESC.
22325 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22327 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
22328 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22330 2017-11-02 Joseph Myers <joseph@codesourcery.com>
22332 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
22334 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
22335 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
22336 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
22337 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
22338 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
22339 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
22340 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
22341 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
22342 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
22343 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
22344 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
22346 2017-11-02 Mike FABIAN <mfabian@redhat.com>
22349 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
22350 * localedata/locales/tpi_PG: Add standard header.
22352 2017-11-02 Florian Weimer <fweimer@redhat.com>
22354 test-errno-linux: quotactl can fail with EPERM in containers.
22355 * sysdeps/unix/sysv/linux/test-errno-linux.c
22356 (LIST, LIST_FORWARD): New macros.
22357 (check_error_in_list): New function.
22358 (test_wrp_rv): Accept list of permitted error codes.
22359 (test_wrp_rv2): Remove.
22360 (test_wrp): Call test_wrp_rv with list of error codes.
22361 (test_wrp2): Accept list of error codes.
22362 (do_test): Adjust. Allow EPERM for quotactl.
22364 2017-11-02 Florian Weimer <fweimer@redhat.com>
22366 * stdio-common/bug16.c (do_test): Use array_length.
22367 * stdio-common/errlist.c (_sys_nerr): Likewise.
22368 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
22369 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
22370 * stdio-common/psiginfo.c (psiginfo): Use array_length.
22371 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
22372 (do_test): Use array_length.
22373 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
22374 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
22375 * stdio-common/tst-printf-round.c (do_test): Likewise.
22376 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
22377 (CHECK): Use array_length.
22378 * stdio-common/tstdiomisc.c (t3, F): Likewise.
22379 * stdio-common/tstscanf.c (main): Likewise.
22380 * stdio-common/vfprintf.c (process_string_arg): Likewise.
22382 2017-11-02 Florian Weimer <fweimer@redhat.com>
22384 Add array_length and array_end macros.
22385 * include/array_length.h: New file.
22387 2017-11-02 Florian Weimer <fweimer@redhat.com>
22390 * posix/tst-glob-tilde.c (do_noescape): New variable.
22391 (one_test): Process it.
22392 (do_test): Set do_noescape. Add unescaping test case.
22394 2017-11-01 Joseph Myers <joseph@codesourcery.com>
22397 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
22398 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
22399 with appropriate macros defined and undefined.
22400 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
22401 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22402 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
22403 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22404 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
22405 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22406 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
22407 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22408 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
22409 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22412 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
22413 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
22414 that for long double. Do not condition define and undefine of
22415 _Mdouble_complex_ on [__CFLOAT128].
22417 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
22419 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22420 of <sysdeps/generic/sysdep.h>.
22421 (ALIGNARG): Removed.
22422 (ASM_SIZE_DIRECTIVE): Likewise.
22425 (ENTRY_CHK): Likewise.
22426 (END_CHK): Likewise.
22427 (syscall_error): Likewise.
22428 (mcount): Likewise.
22429 (PSEUDO_END): Likewise.
22431 (atom_text_section): Likewise.
22432 * sysdeps/x86/sysdep.h: New file.
22433 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22434 of <sysdeps/generic/sysdep.h>.
22435 (ALIGNARG): Removed.
22436 (ASM_SIZE_DIRECTIVE): Likewise.
22439 (ENTRY_CHK): Likewise.
22440 (END_CHK): Likewise.
22441 (syscall_error): Likewise.
22442 (mcount): Likewise.
22443 (PSEUDO_END): Likewise.
22445 (atom_text_section): Likewise.
22447 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
22449 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
22450 category of LC_CTYPE set to "i18n:2012".
22451 * localedata/locales/i18n_ctype: Regenerate.
22453 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
22455 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
22456 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
22457 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
22458 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22460 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
22461 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
22462 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
22463 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
22465 2017-10-31 Joseph Myers <joseph@codesourcery.com>
22468 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
22470 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
22472 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
22474 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22475 (CMPLXF32X): Likewise.
22476 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22477 (CMPLXF64X): Likewise.
22478 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22479 (CMPLXF128X): Likewise.
22482 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
22483 (__MATH_EVAL_FMT2): Define to add 0.0f.
22485 2017-10-31 Alan Modra <amodra@gmail.com>
22487 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
22489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
22490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
22491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
22492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
22493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
22494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
22495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
22496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
22497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
22498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
22499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
22500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
22501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
22502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
22503 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
22504 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
22505 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
22506 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
22507 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
22508 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
22509 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
22510 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
22511 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
22512 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
22513 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
22514 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
22515 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
22516 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
22517 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
22518 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
22519 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22520 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22521 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
22522 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
22523 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
22524 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
22525 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
22526 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
22527 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
22528 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22529 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
22530 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
22531 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
22532 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
22533 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
22534 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
22535 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
22536 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
22537 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22538 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22539 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
22540 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
22541 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
22542 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
22543 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22544 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
22545 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
22546 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
22547 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22548 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22549 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22550 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
22551 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
22552 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22553 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
22554 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
22555 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
22556 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
22557 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
22559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
22560 include sysdep.h and math_ldbl_opt.h.
22562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
22563 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
22564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
22565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
22566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
22567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
22568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
22569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
22570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
22571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
22572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
22573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
22574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
22575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
22576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
22577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
22578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
22579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
22580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
22581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
22582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
22583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
22584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
22585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
22586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
22587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
22589 2017-10-31 Alan Modra <amodra@gmail.com>
22591 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
22592 string/strncase_l.c, not string/strncase.c.
22593 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
22594 (libc_hidden_def): Redefine.
22596 2017-10-31 Alan Modra <amodra@gmail.com>
22598 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
22599 (__STRCMP, STRCMP, __strcasecmp_l): Define.
22600 (__strcasecmp): Don't define.
22602 2017-10-31 Alan Modra <amodra@gmail.com>
22604 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
22606 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22607 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22608 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22610 2017-10-31 Alan Modra <amodra@gmail.com>
22612 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
22615 2017-10-31 Alan Modra <amodra@gmail.com>
22617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
22618 Redefine only when SHARED.
22620 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22622 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22623 Include <bits/math-finite.h> with appropriate macros defined and
22625 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22626 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22627 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22628 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22629 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22631 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
22632 [!_Mlong_double_] (_Mlong_double_): Likewise.
22633 [!_Mfloat16_] (_Mfloat16_): Likewise.
22634 [!_Mfloat32_] (_Mfloat32_): Likewise.
22635 [!_Mfloat64_] (_Mfloat64_): Likewise.
22636 [!_Mfloat128_] (_Mfloat128_): Likewise.
22637 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
22638 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
22639 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
22640 (_Mdouble_): Define without indirection through those macros.
22641 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
22642 [!_Mfloat128_] (_Mfloat128_): Likewise.
22643 [_Mlong_double_] (_Mlong_double_): Likewise.
22644 (_Mdouble_): Define without indirection through those macros.
22645 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
22646 not add -D_Mlong_double_=double.
22647 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
22648 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
22650 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22652 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
22654 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22656 * sysdeps/x86/libc-start.c: Reformat.
22658 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22661 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
22662 (1): Renamed to ...
22665 (L(Src2)): Likewise.
22666 (L(1)): Renamed to ...
22669 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22671 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
22672 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
22673 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
22674 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
22675 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
22676 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
22677 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
22678 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
22679 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
22680 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
22681 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
22682 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
22683 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
22684 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
22685 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
22686 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
22687 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
22688 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
22689 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
22690 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
22691 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
22692 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
22693 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
22694 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
22695 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
22696 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
22697 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
22698 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
22699 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
22700 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
22701 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
22702 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
22703 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
22704 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
22705 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
22706 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
22707 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
22708 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
22709 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
22710 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
22711 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
22712 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
22713 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
22714 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
22715 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
22716 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
22717 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
22718 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
22719 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
22720 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
22721 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
22722 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
22723 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
22724 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
22725 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
22726 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
22727 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
22728 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
22729 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
22730 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
22731 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
22732 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
22733 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
22734 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
22735 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
22736 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
22738 2017-10-30 Florian Weimer <fweimer@redhat.com>
22740 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
22742 * io/tst-mkdirat.c (do_test): Likewise.
22743 * io/tst-mkfifoat.c (do_test): Likewise.
22744 * io/tst-mknodat.c (do_test): Likewise.
22745 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
22746 * locale/programs/locale.c (select_dirs): Likewise.
22747 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
22748 * posix/bug-glob2.c (my_readdir): Likewise.
22749 * posix/tst-dir.c (main): Likewise.
22750 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
22751 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
22753 2017-10-30 Florian Weimer <fweimer@redhat.com>
22755 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
22758 2017-10-30 Florian Weimer <fweimer@redhat.com>
22760 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
22761 Convert to support/test-driver.c.
22762 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
22763 New macro parameters.
22764 (PRINTF): Remove macro. Use test_verbose conditionals instead.
22765 * posix/tst-gnuglob.c: New file.
22766 * posix/tst-gnuglob64.c: Likewise.
22767 * posix/Makefile (tests): Add tst-gnuglob64.
22769 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
22772 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
22773 and use a better translation for March in “mon”.
22774 * localedata/locales/csb_PL: Use more ASCII to improve the
22775 readability of the source.
22777 2017-10-30 Mike FABIAN <mfabian@redhat.com>
22780 * localedata/locales/km_KH: Use ASCII as much
22781 as possible for better readability of the source and
22782 remove useless comments.
22783 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
22784 was commented out and apparently wrong anyway because it was
22785 using Lao characters. If Buddhist era should be used
22786 for km_KH, a native speaker should write the correct formaat
22788 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
22789 (According to CLDR, the first weekday for Cambodia is Sunday).
22790 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
22791 (These were using Lao characters which must be wrong. If we get
22792 the correct data from a native speaker, we could add it back, until
22793 then it is better not to have name_mr and name_mrs at all than
22796 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
22798 * locale/loadlocale.c: Correct size of
22799 _nl_value_type_LC_<category> arrays.
22801 2017-10-27 Joseph Myers <joseph@codesourcery.com>
22803 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22804 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
22805 with appropriate macros defined and undefined.
22806 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22807 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22808 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22809 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22810 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22812 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
22814 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
22817 2017-10-27 Mike FABIAN <mfabian@redhat.com>
22819 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
22820 with lowercase letters to make it agree with CLDR.
22822 2017-10-27 Mike FABIAN <mfabian@redhat.com>
22825 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
22826 first letters of yesstr and nostr in yesexpr and noexpr,
22827 not for the full words.
22828 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
22829 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
22830 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
22831 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
22832 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
22833 first letters of yesstr and nostr in yesexpr and noexpr,
22834 until now only English was matched in yesexpr and noexpr.
22835 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
22836 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
22837 fil but not for tl. As tl and fil are very similar, using fil
22838 is probably better than using English.
22840 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
22843 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
22844 in yesstr and nostr.
22846 2017-10-26 Joseph Myers <joseph@codesourcery.com>
22848 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
22849 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
22850 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
22852 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
22854 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
22856 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
22858 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22859 (SNANF128X): Likewise.
22861 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
22862 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
22863 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22864 (HUGE_VAL_F32): Likewise.
22865 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22866 (HUGE_VAL_F64): Likewise.
22867 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22868 (HUGE_VAL_F32X): Likewise.
22869 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22870 (HUGE_VAL_F64X): Likewise.
22871 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22872 (HUGE_VAL_F128X): Likewise.
22874 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
22876 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
22877 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
22878 for the br_FR locale.
22880 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
22883 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
22885 2017-10-25 Carlos O'Donell <carlos@redhat.com>
22887 * locale/programs/record-status.h: Define globals, and function
22888 prototypes. Move function bodies...
22889 * locale/programs/record-status.c: ... to here. New file.
22890 * iconv/Makefile (iconv_prog-modules): Add record-status.
22891 * locale/Makefile (lib-modules): Likewise.
22892 * iconv/iconv_prog.c: Remove verbose.
22893 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
22894 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
22895 record a warning about ASCII compatibility.
22896 * locale/programs/ld-monetary.c (monetary_finish): If
22897 warn_int_curr_symbol is true then record a warning about the symbol
22898 not being in our ISO 4217 list.
22899 * locale/programs/locale.c: Include record-status.h. Remove verbose.
22900 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
22901 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
22902 (OPT_NO_WARN): Define.
22903 (OPT_WARN): Define.
22904 (options): Add entry for --no-warnings, and --warnings.
22905 (set_warnings): New function to enable/disable warnings.
22906 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
22907 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
22908 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
22909 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
22910 Pass flags to generate_locale.
22911 (generate_locale): Accept new flag argument and pass it to localedef
22913 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
22914 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
22916 * localedata/Makefile (test-input-data): Use full file name.
22917 * localedata/da_DK.in: Rename to...
22918 * localedata/da_DK.ISO-8859-1.in: ...this.
22919 * localedata/de_DE.in: Rename to...
22920 * localedata/de_DE.ISO-8859-1.in: ...this.
22921 * localedata/en_US.in: Rename to...
22922 * localedata/en_US.ISO-8859-1.in: ...this.
22923 * localedata/fr_FR.in: Rename to...
22924 * localedata/fr_FR.UTF-8.in: ... this.
22925 * localedata/hr_HR.in: Rename to...
22926 * localedata/hr_HR.ISO-8859-2.in: ...this.
22927 * localedata/hu_HU.in: Rename to...
22928 * localedata/hu_HU.UTF-8.in: ...this.
22929 * localedata/si_LK.in: Rename to...
22930 * localedata/si_LK.UTF-8.in: ...this.
22931 * localedata/sv_SE.in: Rename to...
22932 * localedata/sv_SE.ISO-8859-1.in: ...this.
22933 * localedata/tr_TR.in: Rename to...
22934 * localedata/tr_TR.UTF-8.in: ...this.
22935 * localedata/uk_UA.in: Rename to...
22936 * localedata/uk_UA.UTF-8.in: ...this.
22937 * localedata/sort-test.sh: Test file is locale name with the
22940 * localedata/unicode-gen/Makefile (check_i18n): Rename to
22941 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
22943 * localedata/locales/i18n_ctype: Regenerate.
22944 * localedata/locales/tr_TR: Likewise.
22945 * localedata/locales/translit_circle: Likewise.
22946 * localedata/locales/translit_cjk_compat: Likewise.
22947 * localedata/locales/translit_combining: Likewise.
22948 * localedata/locales/translit_compat: Likewise.
22949 * localedata/locales/translit_font: Likewise.
22950 * localedata/locales/translit_fraction: Likewise.
22952 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22954 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
22955 lxvd2x/stxvd2x with lvx/stvx.
22956 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
22958 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
22960 * include/alloc_buffer.h: Replace "if if " with "if " in
22962 * sysdeps/mips/memcpy.S: Likkewise.
22963 * sysdeps/mips/memset.S: Likewise.
22964 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
22966 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
22968 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
22971 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22974 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
22975 yesexpr and noexpr.
22976 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
22977 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
22978 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
22979 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
22980 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
22981 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
22982 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
22984 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22986 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
22987 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
22988 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
22989 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
22990 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
22991 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
22992 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
22993 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
22994 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
22995 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
22996 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
22997 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
22999 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23001 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
23002 as possible for better readability of the source.
23003 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
23004 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
23005 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
23006 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
23007 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
23008 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
23009 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
23010 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
23011 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23012 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
23013 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
23014 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
23015 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
23016 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
23017 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
23018 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
23019 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
23020 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
23021 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
23022 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
23023 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
23024 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
23025 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
23026 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
23027 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
23028 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
23029 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
23030 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
23031 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
23032 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
23033 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
23034 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23035 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
23036 * localedata/locales/en_US (LC_MESSAGES): Likewise.
23037 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
23038 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
23039 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
23040 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
23041 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
23042 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
23043 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
23044 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
23045 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
23046 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
23047 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
23048 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
23049 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
23050 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
23051 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
23052 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
23053 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
23054 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
23055 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
23056 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23057 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23058 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
23059 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
23060 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23061 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
23062 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
23063 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
23064 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
23065 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
23066 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
23067 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
23068 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
23069 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
23070 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
23071 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
23072 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
23073 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
23074 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
23075 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
23076 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
23077 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23078 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
23079 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
23080 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
23081 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
23082 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
23083 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
23084 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
23085 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
23086 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23087 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
23088 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
23089 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
23090 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23091 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
23092 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
23093 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
23094 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
23095 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23096 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
23097 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
23098 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23099 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
23100 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23101 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
23102 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
23103 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
23104 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
23105 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
23106 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
23107 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
23108 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
23109 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
23110 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
23111 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
23112 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
23113 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
23114 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
23115 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23116 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
23117 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
23118 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
23119 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
23120 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
23121 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
23122 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
23123 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
23124 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
23125 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
23126 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
23127 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
23128 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
23129 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
23130 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
23131 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
23132 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
23133 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
23134 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
23135 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
23136 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
23137 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
23138 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
23139 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
23140 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
23141 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
23142 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
23143 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
23144 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
23145 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
23146 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
23147 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
23148 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23149 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
23150 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
23151 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
23152 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
23153 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
23154 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
23155 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
23156 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
23157 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23158 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
23159 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
23160 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
23161 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
23162 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
23163 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
23164 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
23165 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
23166 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
23167 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
23168 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23169 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
23170 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
23171 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
23172 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
23173 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23174 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23175 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23176 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
23178 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23180 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
23181 (Use first letters of yesstr and nostr correctly instead of using
23184 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23186 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
23187 (Use first letters of yesstr and nostr correctly).
23189 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23191 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
23192 also check for the first characters of yesstr and nostr.
23193 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
23194 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
23196 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23198 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
23199 also check for Chinese characters.
23201 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23203 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
23204 match also for the contents of yesstr and nostr. As the first letter
23205 of yesstr and nostr is equal, checking only for the first letter
23208 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23210 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
23211 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
23213 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23215 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
23216 of main contributor.
23218 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23220 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
23221 instead of using English.
23223 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23225 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
23226 by including the first letters of nostr and yesexpr in the regexp.
23227 Also make it more readable by using ASCII where possible.
23229 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23231 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
23232 the first letter of nostr in the regexp. It agrees with CLDR now.
23233 Also make it more readable by using ASCII where possible.
23235 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23237 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
23238 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
23239 these strings contain a U+17D6 (which somewhat looks like a colon)
23240 instead of a real colon to separate the full words for “yes”
23241 and “no” from the single letter responses.
23243 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23245 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
23246 it agree with CLDR (include the first letter of yesstr).
23247 Also make it more readable by using ASCII where possible.
23249 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23251 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
23252 and improve yesexpr and noexpr. The yesstr and nostr apparently
23253 came from CLDR. And CLDR has a bug there: these strings contain
23254 a U+0903 (which looks like a colon) instead of a real colon
23255 to separate the full words for “yes” and “no” from the single
23258 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23260 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
23261 letters of the full yesstr and nostr in yesexpr and noexpr.
23263 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23265 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
23266 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
23267 * localedata/locales/an_ES: Make source more readable by using ASCII
23270 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23273 * localedata/locales/yuw_PG: New file.
23274 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
23275 * locale/iso-639.def: Add Yau (Uruwa).
23277 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23279 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
23281 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23283 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
23284 (__libc_realloc): Likewise.
23285 (_mid_memalign): Likewise.
23286 (__libc_calloc): Likewise.
23288 2017-10-23 Mike FABIAN <mfabian@redhat.com>
23290 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
23291 by adding the generic +1 and -0 as in all other locales.
23292 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
23293 day names and make it more readable by using ASCII where possible.
23295 2017-10-24 Joseph Myers <joseph@codesourcery.com>
23297 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
23298 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
23300 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23302 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
23303 WNOHANG in waitpid call.
23305 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
23307 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
23308 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
23310 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
23311 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
23312 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
23313 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
23314 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
23315 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
23316 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
23317 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
23320 2017-10-23 Michael Collison <michael.collison@arm.com>
23322 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
23323 with __builtin_sqrt.
23324 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
23325 with __builtin_sqrtf.
23326 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
23327 with __builtin_ceil.
23328 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
23329 with __builtin_ceilf.
23330 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
23331 with __builtin_floor.
23332 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
23333 with __builtin_floorf.
23334 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
23335 with __builtin_fma.
23336 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
23337 with __builtin_fmaf.
23338 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
23339 with __builtin_fmax.
23340 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
23341 with __builtin_fmaxf.
23342 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
23343 with __builtin_fmin.
23344 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
23345 with __builtin_fminf.
23346 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
23347 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
23348 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
23349 with builtin_rint and conversion to int.
23350 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
23351 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
23352 with builtin_llround.
23353 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
23354 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
23355 with builtin_rint and conversion to long int.
23356 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
23357 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
23358 with builtin_lround.
23359 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
23360 with builtin_lroundf.
23361 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
23362 statements with __builtin_nearbyint.
23363 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
23364 statements with __builtin_nearbyintf.
23365 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
23366 with __builtin_rint.
23367 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
23368 with __builtin_rintf.
23369 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
23370 with __builtin_round.
23371 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
23372 with __builtin_roundf.
23373 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
23374 with __builtin_trunc.
23375 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
23376 with __builtin_truncf.
23377 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
23378 and s_l[l]round[f].c too.
23380 2017-10-23 Alan Modra <amodra@gmail.com>
23382 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
23383 Adjust stack after restoring regs. Add missing LR cfi_restore.
23385 2017-10-23 Alan Modra <amodra@gmail.com>
23387 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
23388 Move LR save and frame setup/teardown and LR restore to
23389 immediately around memset call. Provide cfi.
23391 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23393 * sysdeps/i386/fpu/e_powf.S: Removed.
23394 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
23395 * sysdeps/i386/fpu/w_powf.c: Likewise.
23396 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
23397 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23398 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23400 (CFLAGS-e_powf-sse2.c): New.
23401 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
23402 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
23404 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23406 * sysdeps/i386/fpu/e_log2f.S: Removed.
23407 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
23408 * sysdeps/i386/fpu/w_log2f.c: Likewise.
23409 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
23410 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23411 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23413 (CFLAGS-e_log2f-sse2.c): New.
23414 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
23415 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
23417 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23419 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23421 (CFLAGS-e_powf-fma.c): New.
23422 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
23423 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
23425 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23427 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23429 (CFLAGS-e_log2f-fma.c): New.
23430 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
23431 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
23433 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23435 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23437 (CFLAGS-e_logf-fma.c): New.
23438 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
23439 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
23441 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23443 * sysdeps/i386/fpu/e_logf.S: Removed.
23444 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
23445 * sysdeps/i386/fpu/w_logf.c: Likewise.
23446 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
23447 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
23448 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23449 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23451 (CFLAGS-e_logf-sse2.c): New.
23452 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
23453 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
23455 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23457 * sysdeps/i386/fpu/e_exp2f.S: Removed.
23458 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
23459 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
23460 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23461 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23463 (CFLAGS-e_exp2f-sse2.c): New.
23464 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
23465 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
23467 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23469 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23471 (CFLAGS-e_exp2f-fma.c): New.
23472 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
23473 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
23475 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23477 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
23478 * sysdeps/i386/fpu/e_expf.S: Likewise.
23479 * sysdeps/i386/fpu/math_errf.c: Likewise.
23480 * sysdeps/i386/fpu/w_expf.c: Likewise.
23481 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
23482 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
23483 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
23484 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
23485 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23486 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23487 Remove e_expf-ia32.
23488 (CFLAGS-e_expf-sse2.c): New.
23489 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
23490 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
23492 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23494 * sysdeps/x86_64/fpu/e_expf.S: Removed.
23495 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
23496 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
23497 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
23499 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
23501 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
23502 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
23504 (__redirect_expf): This.
23505 (SYMBOL_NAME): Changed to expf.
23506 (__ieee754_expf): Renamed to ...
23508 (__GI___expf): This.
23509 (__ieee754_expf): Add strong_alias.
23510 (__expf_finite): Likewise.
23512 Include <sysdeps/ieee754/flt-32/e_expf.c>.
23514 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
23517 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
23520 2017-10-21 Florian Weimer <fweimer@redhat.com>
23522 * posix/Makefile (tests): Add tst-glob-tilde.
23523 (tests-special): Add tst-glob-tilde-mem.out
23524 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
23525 (tst-glob-tilde-mem.out): Add mtrace check.
23526 * posix/tst-glob-tilde.c: New file.
23528 2017-10-20 Joseph Myers <joseph@codesourcery.com>
23530 * bits/floatn-common.h: New file.
23531 * math/Makefile (headers): Add bits/floatn-common.h.
23532 * bits/floatn.h: Include <bits/floatn-common.h>.
23533 * sysdeps/ia64/bits/floatn.h: Likewise.
23534 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23535 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
23536 * sysdeps/powerpc/bits/floatn.h: Likewise.
23537 * sysdeps/x86/bits/floatn.h: Likewise.
23539 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23541 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
23542 indicates whether compiler emits an warning for alias for
23543 functions with incompatible types.
23546 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
23547 the auxiliary process is terminated by a signal before calling _exit
23550 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23553 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
23555 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
23556 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
23557 and bit_arch_XSAVEC_Usable if needed.
23558 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
23559 and bit_arch_Use_dl_runtime_resolve_opt.
23560 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
23562 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
23563 (bit_arch_Prefer_No_AVX512): Updated.
23564 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
23565 (bit_arch_XSAVEC_Usable): New.
23566 (STATE_SAVE_OFFSET): Likewise.
23567 (STATE_SAVE_MASK): Likewise.
23568 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
23569 (cpu_features): Add xsave_state_size and xsave_state_full_size.
23570 (index_arch_Use_dl_runtime_resolve_opt): Removed.
23571 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
23572 (index_arch_XSAVEC_Usable): New.
23573 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
23574 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
23575 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
23577 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
23578 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
23579 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
23580 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
23581 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
23582 _dl_runtime_resolve_xsavec.
23583 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
23585 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
23586 instead of VEC_SIZE.
23587 (REGISTER_SAVE_BND0): Removed.
23588 (REGISTER_SAVE_BND1): Likewise.
23589 (REGISTER_SAVE_BND3): Likewise.
23590 (REGISTER_SAVE_RAX): Always defined to 0.
23592 (_dl_runtime_resolve_avx): Likewise.
23593 (_dl_runtime_resolve_avx_slow): Likewise.
23594 (_dl_runtime_resolve_avx_opt): Likewise.
23595 (_dl_runtime_resolve_avx512): Likewise.
23596 (_dl_runtime_resolve_avx512_opt): Likewise.
23597 (_dl_runtime_resolve_sse): Likewise.
23598 (_dl_runtime_resolve_sse_vex): Likewise.
23600 (_dl_runtime_resolve_fxsave): Likewise.
23601 (USE_XSAVE): Likewise.
23602 (_dl_runtime_resolve_xsave): Likewise.
23603 (USE_XSAVEC): Likewise.
23604 (_dl_runtime_resolve_xsavec): Likewise.
23605 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
23607 (_dl_runtime_resolve_avx512_opt): Likewise.
23608 (_dl_runtime_resolve_avx): Likewise.
23609 (_dl_runtime_resolve_avx_opt): Likewise.
23610 (_dl_runtime_resolve_sse): Likewise.
23611 (_dl_runtime_resolve_sse_vex): Likewise.
23612 (_dl_runtime_resolve_fxsave): New.
23613 (_dl_runtime_resolve_xsave): Likewise.
23614 (_dl_runtime_resolve_xsavec): Likewise.
23616 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
23620 * posix/glob.c (__glob): Fix one-byte overflow.
23622 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23624 * malloc/malloc.c (sysdep-cancel.h): Add include.
23626 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23628 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
23630 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
23632 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
23633 (tests): Remove $(objpfx)ga_test depdendency.
23634 * resolv/ga_test.c: Remove file.
23636 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23639 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
23640 * localedata/locales/kab_DZ: New file.
23642 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23644 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
23645 _dl_relocate_static_pie instead of _dl_start to compute load
23646 address in static PIE.
23648 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23650 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
23652 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23655 * localedata/SUPPORTED: Add shn_MM/UTF-8.
23656 * localedata/locales/shn_MM: New file.
23658 2017-10-20 Florian Weimer <fweimer@redhat.com>
23661 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
23662 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
23663 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
23664 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
23665 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
23666 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
23668 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
23670 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23672 2017-10-19 Joseph Myers <joseph@codesourcery.com>
23674 * sysdeps/mips/ieee754/bits/floatn.h: New file.
23677 * sysdeps/mips/bits/long-double.h: Move to ....
23678 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
23680 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
23682 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
23684 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
23685 H.J. Lu <hongjiu.lu@intel.com>
23688 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23689 GLRO(dl_platform) to NULL.
23690 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
23691 (modules-names): Add tst-platformmod-1 and
23692 x86_64/tst-platformmod-2.
23693 (CFLAGS-tst-platform-1.c): New.
23694 (CFLAGS-tst-platformmod-1.c): Likewise.
23695 (CFLAGS-tst-platformmod-2.c): Likewise.
23696 (LDFLAGS-tst-platformmod-2.so): Likewise.
23697 ($(objpfx)tst-platform-1): Likewise.
23698 ($(objpfx)tst-platform-1.out): Likewise.
23699 (tst-platform-1-ENV): Likewise.
23700 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
23701 * sysdeps/x86_64/tst-platform-1.c: New file.
23702 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
23703 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
23705 2017-10-19 Mike FABIAN <mfabian@redhat.com>
23708 * locale/iso-639.def: Add Karbi.
23709 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
23710 * localedata/locales/mjw_IN: New file.
23712 2017-10-18 Joseph Myers <joseph@codesourcery.com>
23714 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
23715 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23716 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
23717 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
23718 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23719 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23720 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
23722 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23723 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23724 * manual/math.texi (Mathematics): Document additional architecture
23725 support for _Float128.
23726 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23727 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23728 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23729 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23730 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23731 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23732 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23733 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23734 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23735 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23736 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23737 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23738 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23739 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23740 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23742 2017-10-18 Renlin Li <renlin.li@arm.com>
23744 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
23745 _DYNAMIC symbol to calculate load address.
23747 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
23749 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
23750 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
23752 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
23753 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
23755 2017-10-18 Mike FABIAN <mfabian@redhat.com>
23758 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
23759 and improve readability by using more ASCII.
23760 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
23761 and improve readability by using more ASCII.
23763 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
23765 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
23766 not all targets support atomics on bool.
23768 2017-10-17 Joseph Myers <joseph@codesourcery.com>
23770 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
23771 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
23773 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23774 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
23775 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23776 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
23777 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23778 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
23780 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23782 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
23785 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23788 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
23789 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
23790 (do_check_remalloced_chunk): Fix build bug.
23791 (do_check_malloc_state): Add assert that checks arena->top.
23792 (malloc_consolidate): Remove initialization.
23793 (int_mallinfo): Remove call to malloc_consolidate.
23794 (__libc_mallopt): Clarify why malloc_consolidate is needed.
23796 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23798 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
23799 (have_fastchunks): Remove.
23800 (clear_fastchunks): Remove.
23801 (set_fastchunks): Remove.
23802 (malloc_state): Add have_fastchunks.
23803 (malloc_init_state): Use have_fastchunks.
23804 (do_check_malloc_state): Remove incorrect invariant checks.
23805 (_int_malloc): Use have_fastchunks.
23806 (_int_free): Likewise.
23807 (malloc_consolidate): Likewise.
23809 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23811 * malloc/malloc.c (tcache_put): Inline.
23812 (tcache_get): Inline.
23814 2017-10-17 Jordi Mallach <jordi@gnu.org>
23816 Aurelien Jarno <aurelien@aurel32.net>
23818 * localedata/locales/ca_ES@valencia: New file.
23819 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
23821 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
23824 * math/math.h: Let signbit use the builtin in C++ mode with gcc
23827 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23829 * scripts/build-many-glibcs.py (Context.add_all_configs):
23830 Add arm-linux-gnueabihf multiarch extra_glibcs.
23832 * sysdeps/generic/ifunc-init.h: New file.
23833 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
23835 2017-10-17 Mike FABIAN <mfabian@redhat.com>
23838 * localedata/locales/el_GR: Set n_cs_precedes to 0.
23839 * localedata/locales/el_CY: copy "el_GR" because it is identical.
23840 * stdlib/tst-strfmon_l.c: adapt test case.
23842 2017-10-16 Joseph Myers <joseph@codesourcery.com>
23844 * sysdeps/generic/float128-abi.h: New file.
23845 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
23846 non-__prefixed symbols to ....
23847 * math/Versions: ... here. Include <float128-abi.h>.
23848 * stdlib/Versions ... and here. Include <float128-abi.h>
23850 2017-10-16 Florian Weimer <fweimer@redhat.com>
23852 * version.h (VERSION): Switch to ".9000" as the development
23855 2017-10-16 Florian Weimer <fweimer@redhat.com>
23858 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
23859 compat_symbol_reference to access non-default version.
23861 2017-10-16 Florian Weimer <fweimer@redhat.com>
23863 * malloc/Makefile (others-extras): Set to mcheck-init.o.
23865 2017-10-16 Carlos O'Donell <carlos@redhat.com>
23867 * include/shlib-compat.h (compat_symbol_reference): Update
23870 2017-10-16 Joseph Myers <joseph@codesourcery.com>
23872 * math/Makefile (test-types): Add
23873 $(type-float128-$(float128-alias-fcts)).
23874 * math/test-float128.h (TYPE_STR): Define conditional on
23875 [FLT128_MANT_DIG == LDBL_MANT_DIG].
23876 (ULP_IDX): Likewise.
23877 (ULP_I_IDX): Likewise.
23879 * stdlib/strtold.c: Include <bits/floatn.h>
23880 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
23881 and later undefine as macro. Define as weak alias if
23883 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
23884 and later undefine as macro. Define as weak alias if
23886 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
23887 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
23888 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23889 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
23890 Define and later undefine as macro. Define as weak alias if
23892 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
23894 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
23895 Define and later undefine as macro. Define as weak alias if
23897 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
23898 Define and later undefine as macro. Define as weak alias if
23901 2017-10-15 Carlos O'Donell <carlos@redhat.com>
23903 * localedata/collate-test.c (allocate_arrays): Don't use \n in
23904 record_verbose messages.
23906 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
23909 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
23910 to silence -O3 -Wall warning with GCC 7.
23912 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
23914 * Makeconfig (+link-static-before-libc): Use the first of
23915 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
23916 * gmon/Makefile (tests): Add tst-gmon-static.
23917 (tests-static): Likewise.
23918 (CFLAGS-tst-gmon-static.c): New.
23919 (CRT-tst-gmon-static): Likewise.
23920 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
23921 (tst-gmon-static-ENV): Likewise.
23922 (tests-special): Likewise.
23923 ($(objpfx)tst-gmon-static.out): Likewise.
23924 (clean-tst-gmon-static-data): Likewise.
23925 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
23926 * gmon/tst-gmon-static-gprof.sh: New file.
23927 * gmon/tst-gmon-static.c: Likewise.
23929 2017-10-13 Carlos O'Donell <carlos@redhat.com>
23932 * locale/programs/linereader.c (get_string): Don't warn on
23933 non-symbolic character.
23936 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
23940 * locale/programs/record-status.h: New file
23941 * locale/programs/locale.c: Add comment.
23942 * locale/programs/charmap-dir.c: Don't include error.h.
23943 (charmap_opendir): Use record_error.
23944 * locale/programs/charmap.c: Don't include error.h.
23945 (charmap_read): Use record_error, and record_warning.
23946 (parse_charmap): Likewise.
23947 * locale/programs/ld-address.c: Don't include error.h.
23948 (address_finish): Use record_error, and record_warning.
23949 * locale/programs/ld-collate.c: Don't include error.h.
23950 (collate_finish): Use record_error, and record_error_at_line.
23951 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
23952 (ctype_class_new): Likewise.
23953 (ctype_map_new): Likewise.
23954 (set_one_default): Likewise.
23955 (set_class_defaults): Likewise.
23956 (translit_flatten): Likewise.
23957 (allocate_arrays): Use record_error, and record_verbose.
23958 * locale/programs/ld-identification.c: Don't include error.h.
23959 (indentation_finish): Use record_error and record_warning.
23960 * locale/programs/ld-measurement.c: Don't include error.h.
23961 (measurement_finish): Use record_error.
23962 * locale/programs/ld-messages.c
23963 (message_finish): Likewise.
23964 * locale/programs/ld-monetary.c
23965 (monetary_finish): Likewise.
23966 * locale/programs/ld-name.c (name_finish): Use record_error
23967 and record_warning.
23968 * locale/programs/ld-numeric.c
23969 (numeric_finish): Use record_error.
23970 * locale/programs/ld-paper.c: Don't include error.h.
23971 (paper_finish): Use record_error.
23972 * locale/programs/ld-telephone.c: Don't include error.h.
23973 (telephone_finish): Use record_error.
23974 * locale/programs/ld-time.c (time_finish): Likewise.
23975 * locale/programs/linereader.h (lr_error): Make inline func.
23976 * locale/programs/localedef.c: Define recorded_warning_count,
23977 and recorded_error_count.
23978 (main): Use record_error. Use recorded_error_count and
23979 recorded_warning_count to issue correct error returns.
23980 (add_to_readlist): Use record_error.
23981 (find_locale): Likewise.
23982 (load_locale): Likewise.
23983 * locale/programs/localedef.h: Remove be_quiet
23984 and WITH_CUR_LOCALE.
23985 * locale/programs/locarchive.c (compare_from_file): Use
23987 * locale/programs/locfile.c (write_locale_data): Use
23989 * locale/programs/repertoire.c: Dont include error.h.
23990 (repertoire_complain): Use record_error.
23991 * localedata/tst-fmon.sh: Expect failures from localedef.
23992 * localedata/tst-locale.sh: Likewise.
23993 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
23995 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
23996 (REPORTS): Likewise.
23998 (i18n): Rename to...
23999 (i18n_ctype): ...this.
24000 (i18n-report): Rename to...
24001 (i18n_ctype-report): ...this.
24002 * localedata/locales/i18n_ctype: Regenerate.
24003 * localedata/locales/i18n: copy i18n_ctype.
24005 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24007 * stdlib/strfroml.c: Include <bits/floatn.h>.
24008 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
24009 Define before include of <stdlib.h> and undefine afterwards, then
24010 define as weak alias.
24012 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
24013 Undefine and restore default definition. Use
24014 libm_alias_ldouble_other.
24016 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
24019 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
24022 2017-10-13 James Clarke <jrtc27@jrtc27.com>
24024 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24025 Assign sym_map to be map for local symbols, as TLS relocations
24026 use sym_map to determine whether the symbol is defined and to
24027 extract the TLS information.
24028 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24029 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24031 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24034 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
24035 (math_force_eval): Add powerpc version.
24038 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
24040 (do_test): Likewise.
24041 * stdio-common/tst-printf.sh: Likewise.
24042 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
24043 ifdef clause in order to set the carry bit right. Replace r0 by
24044 0 without changing the behavior.
24046 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24048 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
24049 <libm-alias-ldouble.h>.
24050 (fabsl): Define using libm_alias_ldouble.
24051 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
24052 <libm-alias-ldouble.h>.
24053 (fabsl): Define using libm_alias_ldouble.
24055 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
24056 Remove conditional code.
24058 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
24059 Rename to __clog10_internal_l.
24060 (__clog10_internal_l): Define aliases using
24061 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
24064 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24066 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
24067 * benchtests/sincosf-inputs: New file.
24068 * benchtests/cosf-inputs: New file.
24069 * benchtests/sinf-inputs: New file.
24071 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24073 * posix/tst-spawn.c (do_test): Wait for both children.
24075 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
24078 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
24079 tests-pie): Add tst-gmon-pie.
24080 (CFLAGS-tst-gmon-pie.c): New.
24081 (CRT-tst-gmon-pie): Likewise.
24082 (tst-gmon-pie-ENV): Likewise.
24083 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
24084 ($(objpfx)tst-gmon-pie.out): Likewise.
24085 (clean-tst-gmon-pie-data): Likewise.
24086 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
24087 * gmon/gmon.c [PIC]: Include <link.h>.
24088 [PIC] (callback): New function.
24089 (write_hist): Add an argument for load address. Subtract load
24091 (write_call_graph): Likewise.
24092 (write_gmon): Call __dl_iterate_phdr to get load address, pass
24093 it to write_hist and write_call_graph.
24094 * gmon/tst-gmon-pie.c: New file.
24096 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24098 * math/Makefile (test-types-basic): New variable.
24099 (test-types): Likewise.
24100 (libm-test-support): Use $(test-types) instead of $(types).
24101 (libm-tests-base-normal): Likewise.
24102 (libm-tests-base-finite): Likewise.
24103 (libm-tests-base-inline): Likewise.
24104 (generated): Likewise.
24105 ($(objpfx)libm-test-support-$(t).c): Likewise.
24106 (libm-tests-for-type iterator): Likewise.
24107 (libm-test-support iterator): Likewise.
24108 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
24109 (ulp_idx): Use ULP_IDX.
24110 * math/test-ldouble.h: Include <float.h>.
24111 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
24112 (ULP_IDX): New macro.
24113 (ULP_I_IDX): Likewise.
24114 * math/test-double.h (ULP_IDX): Likewise.
24115 (ULP_I_IDX): Likewise.
24116 * math/test-float.h (ULP_IDX): Likewise.
24117 (ULP_I_IDX): Likewise.
24118 * math/test-float128.h (ULP_IDX): Likewise.
24119 (ULP_I_IDX): Likewise.
24121 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24123 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
24124 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24125 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24126 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
24127 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24128 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
24129 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
24130 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24131 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24132 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24133 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
24134 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24135 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24136 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24137 (SINGLE_THREAD_BY_GLOBAL): Define.
24138 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24140 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24142 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24144 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24146 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
24147 (SINGLE_THREAD_BY_GLOBAL): Likewise.
24148 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24151 2017-10-11 Andreas Schwab <schwab@suse.de>
24153 * nis/Makefile (aux): Remove.
24154 * nscd/Makefile (aux): Add nscd_hash.
24155 (nscd-modules): Likewise.
24156 ($(objpfx)nscd): Don't depend on libnsl.
24157 * nscd/nscd_hash.c: New file.
24158 * nscd/nscd_hash.h: Likewise.
24159 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
24160 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
24161 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
24162 instead of <nis/rpcsvc/nis.h>.
24163 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
24165 2017-10-11 Florian Weimer <fweimer@redhat.com>
24168 Avoid large NSS buffers with many addresses, aliases.
24169 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
24170 using dynarrays and struct alloc_buffer.
24171 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
24172 (tst-nss-files-hosts-multi): Link with -ldl.
24173 * nss/tst-nss-files-hosts-multi.c: New file.
24175 2017-10-11 Florian Weimer <fweimer@redhat.com>
24178 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
24179 scratch_buffer. Eliminate gotos.
24181 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24183 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
24184 libm_alias_ldouble_other.
24185 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
24186 undefine and redefine.
24187 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
24188 (exp10l): Do not define here.
24189 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
24190 (weak_alias): Undefine and redefine.
24191 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
24192 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
24193 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
24194 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
24196 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
24197 [!__fma] (fma): Define using libm_alias_double.
24198 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
24199 [!__fmaf] (fmaf): Define using libm_alias_float.
24200 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
24201 (fmal): Define using libm_alias_ldouble.
24203 2017-10-10 Joseph Myers <joseph@codesourcery.com>
24205 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
24207 (libm_alias_double_other): Likewise.
24208 (libm_alias_double_r): Use libm_alias_double_other_r.
24209 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
24211 (libm_alias_float_other): Likewise.
24212 (libm_alias_float_r): Use libm_alias_float_other_r.
24213 * sysdeps/generic/libm-alias-float128.h
24214 (libm_alias_float128_other_r): New macro.
24215 (libm_alias_float128_other): Likewise.
24216 (libm_alias_float128_r): Use libm_alias_float128_other_r.
24217 * sysdeps/generic/libm-alias-ldouble.h
24218 (libm_alias_ldouble_other_r): New macro.
24219 (libm_alias_ldouble_other): Likewise.
24220 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24221 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24222 (libm_alias_double_other_r): New macro.
24223 (libm_alias_double_other): Likewise.
24224 (libm_alias_double_r): Use libm_alias_double_other_r.
24225 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24226 (libm_alias_ldouble_other_r): New macro.
24227 (libm_alias_ldouble_other): Likewise.
24228 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24229 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
24230 [!USE_AS_COMPAT]: Use libm_alias_double_other.
24231 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
24232 [!USE_AS_COMPAT]: Use libm_alias_float_other.
24233 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
24234 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
24235 * math/w_exp2f.c: Use libm_alias_float_other.
24236 * math/w_expf.c: Likewise.
24237 * math/w_log2f.c: Likewise.
24238 * math/w_logf.c: Likewise.
24239 * math/w_powf.c: Likewise.
24240 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
24241 [!__exp2f]: Use libm_alias_float_other.
24242 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
24243 [!__expf]: Use libm_alias_float_other.
24244 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
24245 [!__log2f]: Use libm_alias_float_other.
24246 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
24247 [!__logf]: Use libm_alias_float_other.
24248 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
24249 [!__powf]: Use libm_alias_float_other.
24251 2017-10-10 Florian Weimer <fweimer@redhat.com>
24253 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
24255 (_nss_files_gethostbyname3_r): Call it.
24257 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24259 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
24260 error. Remove default definition of declare_mgen_alias.
24261 [!declare_mgen_alias_r]: Likewise.
24262 * sysdeps/generic/math-type-macros-double.h
24263 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
24264 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
24265 (declare_mgen_alias_r): Likewise.
24266 * sysdeps/generic/math-type-macros-float128.h
24267 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24268 * sysdeps/generic/math-type-macros-ldouble.h
24269 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24270 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
24272 (declare_mgen_alias_r_s): Likewise.
24273 (declare_mgen_alias_r): Likewise.
24274 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
24275 (lgamma_r): Define using libm_alias_double_r.
24276 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
24277 (lgammaf_r): Define using libm_alias_float_r.
24278 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
24279 (lgammal_r): Define using libm_alias_ldouble_r.
24280 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
24281 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
24283 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24285 * lib/glob.c (__glob_pattern_type): Remove now-spurious
24286 extern declaration.
24288 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24290 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
24292 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
24295 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
24296 [__cplusplus >= 201103] (__USE_ISOC99): Define.
24297 * math/Makefile (test-math-cxx11): New test.
24298 * math/test-math-cxx11.cc: New file.
24300 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
24302 * login/openpty.c (openpty): Close slave pty file descriptor on error.
24304 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
24305 call to allocate the slave pty file descriptor.
24307 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24309 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
24310 [!__fma] (fma): Define using libm_alias_double.
24311 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
24312 [!__fma] (fma): Define using libm_alias_double.
24314 * sysdeps/ieee754/float128/float128_private.h: Include
24315 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
24316 (libm_alias_ldouble_r): Undefine and redefine.
24317 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
24318 <libm-alias-ldouble.h>.
24319 (asinhl): Define using libm_alias_ldouble.
24320 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
24321 <libm-alias-ldouble.h>.
24322 (atanl): Define using libm_alias_ldouble.
24323 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
24324 <libm-alias-ldouble.h>.
24325 (cbrtl): Define using libm_alias_ldouble.
24326 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
24327 <libm-alias-ldouble.h>.
24328 (ceill): Define using libm_alias_ldouble.
24329 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
24330 <libm-alias-ldouble.h>.
24331 (copysignl): Define using libm_alias_ldouble.
24332 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
24333 <libm-alias-ldouble.h>.
24334 (cosl): Define using libm_alias_ldouble.
24335 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
24336 <libm-alias-ldouble.h>.
24337 (erfl): Define using libm_alias_ldouble.
24339 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
24340 <libm-alias-ldouble.h>.
24341 (expm1l): Define using libm_alias_ldouble.
24342 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
24343 <libm-alias-ldouble.h>.
24344 (fabsl): Define using libm_alias_ldouble.
24345 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
24346 <libm-alias-ldouble.h>.
24347 (floorl): Define using libm_alias_ldouble.
24348 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
24349 <libm-alias-ldouble.h>.
24350 (fmal): Define using libm_alias_ldouble.
24351 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
24352 <libm-alias-ldouble.h>.
24353 (frexpl): Define using libm_alias_ldouble.
24354 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
24355 libm_alias_ldouble.
24356 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
24357 <libm-alias-ldouble.h>.
24358 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
24359 libm_alias_ldouble.
24360 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
24361 <libm-alias-ldouble.h>.
24362 (getpayloadl): Define using libm_alias_ldouble.
24363 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
24364 <libm-alias-ldouble.h>.
24365 (llrintl): Define using libm_alias_ldouble.
24366 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
24367 <libm-alias-ldouble.h>.
24368 (llroundl): Define using libm_alias_ldouble.
24369 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
24370 <libm-alias-ldouble.h>.
24371 (logbl): Define using libm_alias_ldouble.
24372 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
24373 <libm-alias-ldouble.h>.
24374 (lrintl): Define using libm_alias_ldouble.
24375 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
24376 <libm-alias-ldouble.h>.
24377 (lroundl): Define using libm_alias_ldouble.
24378 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
24379 <libm-alias-ldouble.h>.
24380 (modfl): Define using libm_alias_ldouble.
24381 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
24382 <libm-alias-ldouble.h>.
24383 (nearbyintl): Define using libm_alias_ldouble.
24384 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
24385 <libm-alias-ldouble.h>.
24386 (nextafterl): Define using libm_alias_ldouble.
24387 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
24388 <libm-alias-ldouble.h>.
24389 (nextupl): Define using libm_alias_ldouble.
24390 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
24391 <libm-alias-ldouble.h>.
24392 (remquol): Define using libm_alias_ldouble.
24393 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
24394 <libm-alias-ldouble.h>.
24395 (rintl): Define using libm_alias_ldouble.
24396 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
24397 <libm-alias-ldouble.h>.
24398 (roundevenl): Define using libm_alias_ldouble.
24399 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
24400 <libm-alias-ldouble.h>.
24401 (roundl): Define using libm_alias_ldouble.
24402 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
24403 using libm_alias_ldouble.
24404 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
24405 <libm-alias-ldouble.h>.
24406 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
24407 Define using libm_alias_ldouble.
24408 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
24409 <libm-alias-ldouble.h>.
24410 (sincosl): Define using libm_alias_ldouble.
24411 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
24412 <libm-alias-ldouble.h>.
24413 (sinl): Define using libm_alias_ldouble.
24414 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
24415 <libm-alias-ldouble.h>.
24416 (tanhl): Define using libm_alias_ldouble.
24417 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
24418 <libm-alias-ldouble.h>.
24419 (tanl): Define using libm_alias_ldouble.
24420 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
24421 <libm-alias-ldouble.h>.
24422 (totalorderl): Define using libm_alias_ldouble.
24423 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
24424 <libm-alias-ldouble.h>.
24425 (totalordermagl): Define using libm_alias_ldouble.
24426 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
24427 <libm-alias-ldouble.h>.
24428 (truncl): Define using libm_alias_ldouble.
24429 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
24430 libm_alias_ldouble.
24431 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
24432 libm_alias_ldouble.
24433 * sysdeps/ieee754/ldbl-64-128/s_copysignl.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 (copysignl): Define with long_double_symbol only if [IS_IN
24439 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
24440 <libm-alias-ldouble.h>.
24441 (weak_alias): Do not undefine and redefine.
24442 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24443 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
24444 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
24445 <libm-alias-ldouble.h>.
24446 (weak_alias): Do not undefine and redefine.
24447 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24448 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
24449 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
24450 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
24451 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
24452 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
24453 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
24454 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
24455 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
24456 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
24457 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
24458 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
24459 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
24460 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
24461 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
24462 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
24463 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
24464 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
24465 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
24466 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
24467 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
24468 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
24469 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
24470 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
24471 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
24472 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
24474 2017-10-06 Carlos O'Donell <carlos@redhat.com>
24477 * malloc/malloc.c (tcache_shutting_down): Use bool type.
24478 (tcache_thread_freeres): Set tcache_shutting_down before
24479 freeing the tcache.
24480 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
24481 * malloc/tst-malloc-tcache-leak.c: New file.
24483 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24485 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
24486 back to powerpc32 file.
24487 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
24488 (memrchr): Add __memrchr_power8 to ifunc list.
24489 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
24490 extra bytes for unaligned inputs.
24492 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24494 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
24495 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
24496 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
24497 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24498 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24500 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24502 * sysdeps/arm/libm-test-ulps: Update.
24504 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
24505 <libm-alias-ldouble.h>.
24506 (asinhl): Define using libm_alias_ldouble.
24507 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
24508 <libm-alias-ldouble.h>.
24509 (cbrtl): Define using libm_alias_ldouble.
24510 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
24511 <libm-alias-ldouble.h>.
24512 (copysignl): Define using libm_alias_ldouble.
24513 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
24514 <libm-alias-ldouble.h>.
24515 (cosl): Define using libm_alias_ldouble.
24516 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
24517 <libm-alias-ldouble.h>.
24518 (erfl): Define using libm_alias_ldouble.
24520 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
24521 <libm-alias-ldouble.h>.
24522 (fmal): Define using libm_alias_ldouble.
24523 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
24524 <libm-alias-ldouble.h>.
24525 (frexpl): Define using libm_alias_ldouble.
24526 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
24527 libm_alias_ldouble.
24528 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
24529 <libm-alias-ldouble.h>.
24530 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
24531 libm_alias_ldouble.
24532 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
24533 <libm-alias-ldouble.h>.
24534 (getpayloadl): Define using libm_alias_ldouble.
24535 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
24536 <libm-alias-ldouble.h>.
24537 (llrintl): Define using libm_alias_ldouble.
24538 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
24539 <libm-alias-ldouble.h>.
24540 (llroundl): Define using libm_alias_ldouble.
24541 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
24542 <libm-alias-ldouble.h>.
24543 (lrintl): Define using libm_alias_ldouble.
24544 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
24545 <libm-alias-ldouble.h>.
24546 (lroundl): Define using libm_alias_ldouble.
24547 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
24548 <libm-alias-ldouble.h>.
24549 (modfl): Define using libm_alias_ldouble.
24550 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
24551 <libm-alias-ldouble.h>.
24552 (nextupl): Define using libm_alias_ldouble.
24553 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
24554 <libm-alias-ldouble.h>.
24555 (remquol): Define using libm_alias_ldouble.
24556 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
24557 <libm-alias-ldouble.h>.
24558 (roundevenl): Define using libm_alias_ldouble.
24559 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
24560 <libm-alias-ldouble.h>.
24561 (roundl): Define using libm_alias_ldouble.
24562 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
24563 using libm_alias_ldouble.
24564 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
24565 <libm-alias-ldouble.h>.
24566 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
24567 <libm-alias-ldouble.h>.
24568 (setpayloadsigl): Define using libm_alias_ldouble.
24569 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
24570 <libm-alias-ldouble.h>.
24571 (sincosl): Define using libm_alias_ldouble.
24572 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
24573 <libm-alias-ldouble.h>.
24574 (sinl): Define using libm_alias_ldouble.
24575 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
24576 <libm-alias-ldouble.h>.
24577 (tanhl): Define using libm_alias_ldouble.
24578 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
24579 <libm-alias-ldouble.h>.
24580 (tanl): Define using libm_alias_ldouble.
24581 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
24582 <libm-alias-ldouble.h>.
24583 (totalorderl): Define using libm_alias_ldouble.
24584 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
24585 <libm-alias-ldouble.h>.
24586 (totalordermagl): Define using libm_alias_ldouble.
24587 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
24588 libm_alias_ldouble.
24589 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
24590 libm_alias_ldouble.
24592 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
24594 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
24596 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24597 (__libc_ifunc_impl_list): Likewise.
24598 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
24599 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
24601 * benchtests/bench-memmove-walk.c: New file.
24602 * benchtests/Makefile (string-benchset): Add it.
24604 * benchtests/bench-memset-walk.c: New file.
24605 * benchtests/Makefile (string-benchset): Add it.
24607 * benchtests/bench-memcpy-walk.c: New file.
24608 * benchtests/Makefile (string-benchset): Add it.
24610 2017-10-05 Florian Weimer <fweimer@redhat.com>
24612 nscd: Eliminate compilation time dependency in the build output.
24613 * nscd/nscd_stat.c (STATDATA_VERSION)
24614 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
24615 (STATDATA_VERSION_FULL): New macro definitions.
24616 (compilation): Remove.
24617 (struct statdata): Adjust version member.
24618 (send_stats): Set version from STATDATA_VERSION_FULL.
24619 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
24621 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24623 * configure.ac (--enable-add-ons): Remove option.
24624 (machine): Do not mention add-ons in comment.
24625 (LIBC_PRECONFIGURE): Likewise.
24626 (add_ons): Remove variable and sanity checks and logic to locate
24628 (add_ons_automatic): Remove variable.
24629 (configured_add_ons): Likewise.
24630 (add_ons_sfx): Likewise.
24631 (add_ons_pfx): Likewise.
24632 (add_on_subdirs): Likewise.
24633 (sysnames_add_ons): Likewise. Remove loop over add-ons and
24634 consideration of add-ons in Implies handling.
24635 (sysdeps_add_ons): Likewise.
24636 * configure: Regenerated.
24637 * libidn/configure.ac: Remove.
24638 * libidn/configure: Likewise.
24639 * sysdeps/unix/inet/configure.ac: New file.
24640 * sysdeps/unix/inet/configure: New generated file.
24641 * sysdeps/unix/inet/Subdirs: Add libidn.
24642 * Makeconfig (sysdeps-srcdirs): Remove variable.
24643 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
24644 ($(common-objpfx)config.status): Do not depend on add-on files.
24645 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
24647 (all-subdirs): Do not include $(add-on-subdirs).
24648 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
24649 * config.make.in (add-ons): Remove variable.
24650 (add-on-subdirs): Likewise.
24651 (sysdeps-add-ons): Likewise.
24652 * manual/Makefile (add-chapters): Remove.
24653 ($(objpfx)texis): Do not depend on $(add-chapters).
24654 (nonexamples): Do not handle $(add-chapters).
24655 (examples): Do not handle $(add-ons).
24656 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
24658 * manual/install.texi (Installation): Do not mention add-ons.
24659 (--enable-add-ons): Do not document configure option.
24660 * INSTALL: Regenerated.
24661 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
24662 * manual/maint.texi (Hierarchy Conventions): Do not mention
24664 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
24666 * scripts/gen-sorted.awk: Do not handle Subdirs files from
24668 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
24669 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
24671 2017-10-05 Andreas Schwab <schwab@suse.de>
24674 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
24675 (_IO_flush_all_lockp): Always lock list_all_lock.
24676 (_IO_flush_all_linebuffered): Likewise.
24677 (_IO_unbuffer_all): Likewise.
24679 2017-10-05 Florian Weimer <fweimer@redhat.com>
24682 Do not flush stdio streams on abort.
24683 * stdlib/abort.c (fflush): Remove macro definition.
24684 (abort): Remove stages related to stdio flushing.
24686 2017-10-05 Florian Weimer <fweimer@redhat.com>
24688 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
24690 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
24692 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24694 2017-10-05 Florian Weimer <fweimer@redhat.com>
24696 * support/support_format_hostent.c (support_format_hostent): Add
24697 more error information for NETDB_INTERNAL.
24699 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24701 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
24702 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
24703 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
24704 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
24705 AC_DEFINE if multi-arch is enabled.
24706 * sysdeps/i386/configure: Regenerated.
24708 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24710 * Makeconfig (+link-static-before-libc): Use
24711 $(DEFAULT-LDFLAGS-$(@F)).
24712 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
24713 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
24714 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
24716 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24718 * elf/Makefile (tests): Add tst-main1.
24719 (modules-names): Add tst-main1mod.
24720 ($(objpfx)tst-main1): New.
24721 (CRT-tst-main1): Likewise.
24722 (LDFLAGS-tst-main1): Likewise.
24723 (LDLIBS-tst-main1): Likewise.
24724 (tst-main1mod.so-no-z-defs): Likewise.
24725 * elf/tst-main1.c: New file.
24726 * elf/tst-main1mod.c: Likewise.
24728 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24730 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
24732 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24734 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
24735 (fma): Define using libm_alias_double.
24736 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
24737 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
24739 (fmal): Do not define as compat symbol here.
24740 * sysdeps/alpha/fpu/s_fma.c: New file.
24742 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24744 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
24746 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24749 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24751 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24753 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
24754 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24755 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
24756 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
24757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24758 Include <math_ldbl_opt.h>
24759 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24761 (compat_symbol): Undefine and redefine.
24762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24764 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24765 (compat_symbol): Undefine and redefine.
24766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
24767 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
24768 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
24769 GLIBC_2_1 for libm.
24770 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
24771 GLIBC_2.0 copysignl symbol.
24772 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24773 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
24775 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
24777 2017-10-04 Florian Weimer <fweimer@redhat.com>
24779 * scripts/check-local-headers.sh: Ignore nspr4 header file
24780 directory in addition to nspr.
24782 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
24785 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
24786 * configure: Regenerate.
24787 * crypt/Makefile (nss-cpp-flags): New variable.
24788 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
24789 (CPPFLAGS-md5-crypt.c): Use it.
24790 * scripts/check-local-headers.sh: Ignore nspr header file
24793 2017-10-04 Andreas Schwab <schwab@suse.de>
24795 * nis/Makefile (services): Remove compat.
24796 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
24797 ($(objpfx)libnss_compat.so): Remove rule.
24798 * nis/Versions (libnss_compat): Remove.
24799 * nss/Makefile (services): Add compat.
24800 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
24801 * nss/Versions (libnss_compat): Define.
24802 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
24803 Don't include <rpc/types.h>. Replace bool_t by bool.
24804 * nss/nss_compat/compat-initgroups.c: Likewise.
24805 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
24806 instead of <rpcsrv/ypclnt.h>.
24807 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
24808 yp_get_default_domain.
24809 * nss/nss_compat/compat-pwd.c: Likewise.
24810 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
24811 yp_get_default_domain.
24812 * nss/nss_compat/nisdomain.c: New file.
24813 * nss/nss_compat/nisdomain.h: Likewise.
24815 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24818 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
24819 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24821 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24824 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
24825 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
24827 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24829 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
24830 "movl main@GOTOFF(%ebx), %eax".
24832 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24834 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
24835 allow undefined _DYNAMIC in PIE libc.a.
24836 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
24839 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24841 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
24844 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24846 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
24849 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24851 * math/test-math-iscanonical.cc (error): Replace bool with int.
24853 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24855 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
24856 (modf): Define using libm_alias_double, only if [!__modf].
24857 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
24858 <libm-alias-double.h>.
24859 (modf): Define using libm_alias_double, only if [!__modf].
24860 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
24861 compat symbol here.
24862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
24863 (weak_alias): Do not undefine and redefine.
24864 (strong_alias): Likewise.
24865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
24866 (weak_alias): Likewise.
24867 (strong_alias): Likewise.
24869 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
24870 (logb): Define using libm_alias_double, only if [!__logb].
24871 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
24872 <libm-alias-double.h>.
24873 (logb): Define using libm_alias_double, only if [!__logb].
24874 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
24875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
24876 (weak_alias): Do not undefine and redefine.
24877 (strong_alias): Likewise.
24878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
24879 (weak_alias): Likewise.
24880 (strong_alias): Likewise.
24882 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24884 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
24885 Check SHARED instead PIC.
24887 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24889 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
24890 [!__fmaf] (fmaf): Define using libm_alias_float.
24892 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
24893 (frexp): Define using libm_alias_double.
24894 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
24895 <libm-alias-double.h>.
24896 (frexp): Define using libm_alias_double.
24897 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
24898 compat symbol here.
24900 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24903 * math/math.h: Trivial fix for unbalanced parentheses in comment.
24904 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
24905 (CFLAGS-test-math-iscanonical.cc): New variable.
24906 * math/test-math-iscanonical.cc: New file.
24907 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
24908 Provide a C++ implementation based on function overloading,
24909 rather than using __MATH_TG, which uses C-only builtins.
24910 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
24912 * sysdeps/powerpc/powerpc64le/Makefile
24913 (CFLAGS-test-math-iscanonical.cc): New variable.
24915 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24917 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
24918 (ceil): Define using libm_alias_double.
24919 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
24920 (floor): Define using libm_alias_double.
24921 * sysdeps/ieee754/dbl-64/s_llround.c: Include
24922 <libm-alias-double.h>.
24923 (llround): Define using libm_alias_double.
24924 * sysdeps/ieee754/dbl-64/s_lround.c: Include
24925 <libm-alias-double.h>.
24926 (lround): Define using libm_alias_double.
24927 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
24928 <libm-alias-double.h>.
24929 (nearbyint): Define using libm_alias_double.
24930 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
24931 <libm-alias-double.h>.
24932 (remquo): Define using libm_alias_double.
24933 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
24934 (rint): Define using libm_alias_double.
24935 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
24936 (round): Define using libm_alias_double.
24937 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
24938 (trunc): Define using libm_alias_double.
24939 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
24940 <libm-alias-double.h>.
24941 (ceil): Define using libm_alias_double.
24942 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
24943 <libm-alias-double.h>.
24944 (floor): Define using libm_alias_double.
24945 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
24946 <libm-alias-double.h>.
24947 (llround): Define using libm_alias_double.
24948 [_LP64] (lround): Likewise.
24949 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
24950 <libm-alias-double.h>.
24951 [!_LP64] (lround): Define using libm_alias_double.
24952 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
24953 <libm-alias-double.h>.
24954 (nearbyint): Define using libm_alias_double.
24955 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
24956 <libm-alias-double.h>.
24957 (remquo): Define using libm_alias_double.
24958 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
24959 <libm-alias-double.h>.
24960 (rint): Define using libm_alias_double.
24961 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
24962 <libm-alias-double.h>.
24963 (round): Define using libm_alias_double.
24964 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
24965 <libm-alias-double.h>.
24966 (trunc): Define using libm_alias_double.
24967 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
24968 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
24969 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
24970 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
24971 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
24972 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
24973 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
24974 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
24975 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
24977 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24979 * math/w_remainder.c: New file.
24980 * math/w_remainderf.c: New file.
24981 * math/w_remainderl.c: New file.
24983 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24985 * elf/rtld.c (BOOTSTRAP_MAP): New.
24986 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
24987 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24989 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24991 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24994 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
24996 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
24997 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
24998 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
24999 rtld_hidden_data_ver): Define to empty.
25000 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
25001 __assert_perror_fail): Likewise.
25002 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25003 (__rewinddir): Likewise.
25004 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25005 (__profile_frequency): Likewise.
25006 * include/setjmp.h (__sigsetjmp): Likewise.
25007 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
25008 __libc_sigaction): Likewise.
25009 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
25010 not set hidden attribute.
25011 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
25012 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
25013 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
25014 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
25015 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
25016 __fxstatat64): Likewise.
25017 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25018 (__uname): Likewise.
25019 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25020 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
25021 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
25022 (NO_RTLD_HIDDEN): Set.
25023 * sysdeps/mach/hurd/configure: Refresh.
25024 * config.h.in: Refresh.
25026 2017-10-02 Joseph Myers <joseph@codesourcery.com>
25028 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
25029 (atan): Define using libm_alias_double.
25030 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
25031 (tan): Define using libm_alias_double.
25032 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
25033 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
25035 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
25036 define as weak alias of __atan. Do not define any aliases if
25038 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
25039 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
25040 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
25041 as weak alias of __tan. Do not define any aliases if [__tan].
25042 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
25043 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
25044 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
25046 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
25047 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
25048 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
25049 and define as weak alias of __atan.
25050 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
25052 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
25053 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
25054 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
25055 define as weak alias of __tan.
25057 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25059 * math/w_lgamma.c: New file.
25060 * math/w_lgammaf.c: New file.
25061 * math/w_lgammal.c: New file.
25063 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25065 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
25066 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
25067 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
25068 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
25069 * sysdeps/ieee754/flt-32/w_logf.c: New file.
25070 * sysdeps/ieee754/flt-32/w_powf.c: New file.
25071 * sysdeps/i386/fpu/w_log2f.c: New file.
25072 * sysdeps/i386/fpu/w_logf.c: New file.
25073 * sysdeps/i386/fpu/w_powf.c: New file.
25074 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
25075 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
25076 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
25078 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25079 H.J. Lu <hongjiu.lu@intel.com>
25081 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
25082 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
25083 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
25084 * sysdeps/ieee754/flt-32/w_expf.c: New file.
25085 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
25087 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
25088 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
25089 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
25090 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
25091 * sysdeps/i386/fpu/w_exp2f.c: New file.
25092 * sysdeps/i386/fpu/w_expf.c: New file.
25093 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
25094 * sysdeps/x86_64/fpu/w_expf.c: New file.
25096 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25098 * math/Versions (logf): New libm symbol at GLIBC_2.27.
25101 * math/w_log2f.c: New file.
25102 * math/w_logf.c: New file.
25103 * math/w_powf.c: New file.
25104 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
25105 * math/w_logf_compat.c (__logf_compat): Likewise.
25106 * math/w_powf_compat.c (__powf_compat): Likewise.
25107 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
25108 * sysdeps/ia64/fpu/e_logf.S: Likewise.
25109 * sysdeps/ia64/fpu/e_powf.S: Likewise.
25110 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
25111 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25112 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25113 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25114 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25115 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25116 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25117 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25118 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25119 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25120 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25121 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25130 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25131 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25132 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25133 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25134 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25139 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25140 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25141 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25143 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25145 * sysdeps/powerpc/powerpc64/multiarch/Makefile
25146 (sysdep_routines): Add memrchr_power8.
25147 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25148 (memrchr): Add __memrchr_power8 to list of memrchr functions.
25149 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
25151 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25152 (memrchr): Add __memrchr_power8 to ifunc list.
25153 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
25155 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25158 * sysdeps/unix/sysv/linux/posix_fadvise64.c
25159 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
25161 * sysdeps/unix/sysv/linux/posix_fallocate64.c
25162 (__posix_fallocate64_l64): Likewise.
25164 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25167 * sysdeps/unix/sysv/linux/sched_setaffinity.c
25168 (__sched_setaffinity_new): Add libc_hidden_proto and
25171 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25174 * include/glob.h (__glob64): Add libc_hidden_proto.
25175 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
25178 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25181 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
25184 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25187 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
25189 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25192 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
25195 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25198 * csu/version.c (__libc_print_version): Add attribute_hidden.
25200 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25203 * include/libc-internal.h (__init_misc): Add attribute_hidden.
25205 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25208 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
25210 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25213 * nscd/nscd_helper.c (__nis_hash): New prototype.
25215 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25218 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
25219 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
25221 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25222 * termios/tcgetattr.c (__tcgetattr): Likewise.
25224 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25227 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
25228 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
25229 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
25230 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
25231 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
25233 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25236 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
25238 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25241 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
25242 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
25244 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25247 * intl/hash-string.h (__hash_string): Add attribute_hidden.
25249 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25252 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
25253 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
25255 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25258 * include/ifreq.h: New file.
25259 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
25260 (__ifreq): Likewise.
25261 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
25262 (__ifreq): Likewise.
25264 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25267 * include/idna.h: New file.
25268 * inet/getnameinfo.c: Include <idna.h> instead of
25270 (__idna_to_unicode_lzlz): Removed.
25271 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
25273 (__idna_to_ascii_lz): Removed.
25274 (__idna_to_unicode_lzlz): Likewise.
25276 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25279 * include/plural-exp.h: New file.
25280 * intl/plural-exp.c: Include <plural-exp.h> instead of
25283 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25286 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
25287 "getsourcefilter.h".
25288 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
25289 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
25290 "getsourcefilter.h".
25291 (__get_sol): Removed.
25293 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25296 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
25298 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
25300 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25303 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
25306 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25309 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
25311 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25314 * include/search.h (__tdestroy): Add libc_hidden_proto.
25315 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
25317 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25320 * include/assert.h (__assert_fail_base): Add attribute_hidden.
25322 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25325 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
25328 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25331 * include/signal.h (__kill): Add libc_hidden_proto.
25332 (__sigblock): Likewise.
25333 (__sigprocmask): Likewise.
25334 (__sigaltstack): Likewise.
25335 * signal/kill.c (__kill): Add libc_hidden_def.
25336 * signal/sigblock.c (__sigblock): Likewise.
25337 * signal/sigprocmask.c (__sigprocmask): Likewise.
25338 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
25339 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
25340 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
25341 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
25342 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
25344 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
25346 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
25347 (__sigprocmask): Likewise.
25348 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
25350 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
25351 (__sigprocmask): Likewise.
25352 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
25355 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25358 * include/string.h (__strsep): Add libc_hidden_proto.
25359 * string/strsep.c (__strsep): Add libc_hidden_def.
25361 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25364 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
25366 (__spawni): Likewise.
25368 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25371 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
25372 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
25375 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25378 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
25380 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25383 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
25384 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
25385 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
25386 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
25387 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
25389 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
25390 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
25392 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25395 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
25396 (__dcigettext): Likewise.
25398 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25401 * include/sys/sysinfo.h (__get_nprocs_conf): Add
25403 (__get_nprocs): Likewise.
25404 (__get_phys_pages): Likewise.
25405 (__get_avphys_pages): Likewise.
25406 (__get_child_max): Add attribute_hidden.
25407 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
25408 (__get_nprocs): Likewise.
25409 (__get_phys_pages): Likewise.
25410 (__get_avphys_pages): Likewise.
25411 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
25413 (__get_nprocs): Likewise.
25414 (__get_phys_pages): Likewise.
25415 (__get_avphys_pages): Likewise.
25416 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
25418 (__get_nprocs_conf): Likewise.
25419 (__get_phys_pages): Likewise.
25420 (__get_avphys_pages): Likewise.
25422 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25425 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
25427 (__netlink_close): Likewise.
25428 (__netlink_free_handle): Likewise.
25429 (__netlink_request): Likewise.
25431 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25434 * include/rpc/rpc.h (__rpc_thread_variables): Add
25436 (__rpc_thread_svc_cleanup): Likewise.
25437 (__rpc_thread_clnt_cleanup): Likewise.
25438 (__rpc_thread_key_cleanup): Likewise.
25440 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25443 * include/sys/uio.h (__readv): Add libc_hidden_proto.
25444 (__writev): Likewise.
25445 * misc/readv.c (__readv): Add libc_hidden_def.
25446 * misc/writev.c (__writev): Likewise.
25447 * sysdeps/posix/readv.c (__readv): Likewise.
25448 * sysdeps/posix/writev.c (__writev): Likewise.
25449 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
25450 (__readv): Likewise.
25451 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
25452 (__writev): Likewise.
25454 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25457 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
25458 (__regcomp): Add libc_hidden_proto.
25459 (__regexec): Likewise.
25460 (__regfree): Likewise.
25461 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
25462 (__regfree): Likewise.
25463 * posix/regexec.c (__regexec): Likewise.
25465 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25468 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
25469 (__getutent): Likewise.
25470 (__getutid): Likewise.
25471 (__getutline): Likewise.
25472 (__pututline): Likewise.
25473 (__getutent_r): Likewise.
25474 (__getutid_r): Likewise.
25475 (__getutline_r): Likewise.
25476 (__utmpname): Add attribute_hidden.
25477 (__setutent): Likewise.
25478 (__endutent): Likewise.
25479 * login/getutent.c (__getutent): Add libc_hidden_def.
25480 * login/getutent_r.c (__getutent_r): Likewise.
25481 (__pututline): Likewise.
25482 * login/getutid.c (__getutid): Likewise.
25483 * login/getutid_r.c (__getutid_r): Likewise.
25484 * login/getutline.c (__getutline): Likewise.
25485 * login/getutline_r.c (__getutline_r): Likewise.
25486 * login/updwtmp.c (__updwtmp): Likewise.
25488 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25491 * include/dirent.h (__opendir): Always add attribute_hidden.
25492 (__fdopendir): Likewise.
25493 (__closedir): Likewise.
25494 (__readdir): Likewise.
25495 (__readdir64): Add libc_hidden_proto.
25496 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
25497 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
25498 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
25499 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
25502 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25505 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
25506 * include/netdb.h (__gethostbyaddr_r): Likewise.
25507 (__gethostbyname_r): Likewise.
25508 (__gethostbyname2_r): Likewise.
25509 (__getnetbyaddr_r): Likewise.
25510 (__getnetbyname_r): Likewise.
25511 (__getservbyname_r): Likewise.
25512 (__getservbyport_r): Likewise.
25513 (__getprotobyname_r): Likewise.
25514 (__getprotobynumber_r): Likewise.
25515 (__getnetgrent_r): Likewise.
25516 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
25517 (__getrpcbynumber_r): Likewise.
25518 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
25520 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25523 * include/stdio.h (__fcloseall): Add attribute_hidden.
25524 (__getline): Likewise.
25525 (__path_search): Likewise.
25526 (__gen_tempname): Likewise.
25527 (__libc_message): Likewise.
25528 (__flockfile): Likewise.
25529 (__funlockfile): Likewise.
25530 (__fxprintf): Likewise.
25531 (__fxprintf_nocancel): Likewise.
25533 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25536 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
25537 (__sgetsgent_r): Likewise.
25539 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25542 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
25543 (__statfs64): Likewise.
25544 (__fstatfs64): Likewise.
25545 * include/sys/statvfs.h (__statvfs64): Likewise.
25546 (__fstatvfs64): Likewise.
25547 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
25548 (__statfs_filesize_max): Likewise.
25549 (__statfs_symlinks): Likewise.
25550 (__statfs_chown_restricted): Likewise.
25552 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25555 * include/time.h (__tzstring): Add attribute_hidden.
25556 (__tzfile_read): Likewise.
25557 (__tzfile_compute): Likewise.
25558 (__tzfile_default): Likewise.
25559 (__tzset_parse_tz): Likewise.
25560 (__offtime): Likewise.
25561 (__asctime_r): Likewise.
25562 (__tzset): Likewise.
25563 (__tz_convert): Likewise.
25564 (__getdate_r): Likewise.
25565 (__getclktck): Likewise.
25567 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25570 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
25571 (__nscd_unmap): Likewise.
25572 (__nscd_cache_search): Likewise.
25573 (__nscd_get_nl_timestamp): Likewise.
25574 (__nscd_getpwnam_r): Likewise.
25575 (__nscd_getpwuid_r): Likewise.
25576 (__nscd_getgrnam_r): Likewise.
25577 (__nscd_getgrgid_r): Likewise.
25578 (__nscd_gethostbyname_r): Likewise.
25579 (__nscd_gethostbyname2_r): Likewise.
25580 (__nscd_gethostbyaddr_r): Likewise.
25581 (__nscd_getai): Likewise.
25582 (__nscd_getgrouplist): Likewise.
25583 (__nscd_getservbyname_r): Likewise.
25584 (__nscd_getservbyport_r): Likewise.
25585 (__nscd_innetgr): Likewise.
25586 (__nscd_setnetgrent): Likewise.
25588 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25591 * include/gmp.h: Declare internal functions only if _ISOMAC is
25593 (__mpn_extract_double): Add attribute_hidden.
25594 (__mpn_extract_long_double): Likewise.
25595 (__mpn_extract_float128): Likewise.
25596 (__mpn_construct_float): Likewise.
25597 (__mpn_construct_double): Likewise.
25598 (__mpn_construct_long_double): Likewise.
25599 (__mpn_construct_float128): Likewise.
25600 (mpn_add_1): Likewise.
25601 (mpn_addmul_1): Likewise.
25602 (mpn_add_n): Likewise.
25603 (mpn_cmp): Likewise.
25604 (mpn_divrem): Likewise.
25605 (mpn_lshift): Likewise.
25606 (mpn_mul): Likewise.
25607 (mpn_mul_1): Likewise.
25608 (mpn_rshift): Likewise.
25609 (mpn_sub_1): Likewise.
25610 (mpn_submul_1): Likewise.
25611 (mpn_sub_n): Likewise.
25613 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25616 * include/wchar.h (__wcsnlen): Add attribute_hidden.
25617 (__wcscat): Likewise.
25618 (__btowc): Likewise.
25619 (__wcrtomb): Likewise.
25620 (__mbsrtowcs): Likewise.
25621 (__wcsrtombs): Likewise.
25622 (__mbsnrtowcs): Likewise.
25623 (__wcsnrtombs): Likewise.
25624 (__wcsncpy): Likewise.
25625 (__wcpncpy): Likewise.
25626 (__wmemcpy): Likewise.
25627 (__wmempcpy): Likewise.
25628 (__wmemmove): Likewise.
25629 (__wcschrnul): Likewise.
25630 (__vfwscanf): Likewise.
25631 (__vswprintf): Likewise.
25632 (__fwprintf): Likewise.
25633 (__vfwprintf): Likewise.
25635 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25638 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
25639 (__getgrgid_r): Likewise.
25640 (__getgrnam_r): Likewise.
25641 * include/pwd.h (__getpwuid_r): Likewise.
25642 (__getpwnam_r): Likewise.
25643 (__fgetpwent_r): Likewise.
25644 * include/shadow.h (__getspnam_r): Likewise.
25645 (__sgetspent_r): Likewise.
25646 (__fgetspent_r): Likewise.
25648 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25651 * include/unistd.h (__access): Add attribute_hidden.
25652 (__lseek64): Likewise.
25653 (__libc_pread64): Likewise.
25654 (__pipe2): Likewise.
25655 (__sleep): Likewise.
25656 (__chdir): Likewise.
25657 (__fchdir): Likewise.
25658 (__getcwd): Likewise.
25659 (__rmdir): Likewise.
25660 (__execvpe): Likewise.
25661 (__execve): Likewise.
25662 (__setsid): Likewise.
25663 (__getuid): Likewise.
25664 (__geteuid): Likewise.
25665 (__getgid): Likewise.
25666 (__getegid): Likewise.
25667 (__getgroups): Likewise.
25668 (__group_member): Likewise.
25669 (__ttyname_r): Likewise.
25670 (__isatty): Likewise.
25671 (__readlink): Likewise.
25672 (__unlink): Likewise.
25673 (__gethostname): Likewise.
25674 (__profil): Likewise.
25675 (__getdtablesize): Likewise.
25677 (__ftruncate): Likewise.
25678 (__ftruncate64): Likewise.
25680 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25683 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
25684 * argp/argp-fs-xinl.c: Likewise.
25685 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
25686 * argp/argp-parse.c: Include <argp.h>.
25687 * argp/argp-xinl.c: Likewise.
25688 * include/argp-fmtstream.h: New file.
25689 * include/argp.h (__argp_error): Add attribute_hidden.
25690 (__argp_failure): Likewise.
25691 (__argp_input): Likewise.
25692 (__argp_state_help): Likewise.
25694 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25697 * include/wchar.h (____wcstof_l_internal): New prototype.
25698 (____wcstod_l_internal): Likewise.
25699 (____wcstold_l_internal): Likewise.
25700 (____wcstol_l_internal): Likewise.
25701 (____wcstoul_l_internal): Likewise.
25702 (____wcstoll_l_internal): Likewise.
25703 (____wcstoull_l_internal): Likewise.
25704 (____wcstof128_l_internal): Likewise.
25705 * sysdeps/ieee754/float128/wcstof128.c
25706 (____wcstof128_l_internal): Removed.
25707 * sysdeps/ieee754/float128/wcstof128_l.c
25708 (____wcstof128_l_internal): Likewise.
25709 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
25710 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
25711 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
25712 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
25713 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
25714 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
25715 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
25716 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
25717 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
25718 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
25720 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25723 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
25724 instead of <sys/statvfs.h>.
25725 (__internal_statvfs): Removed.
25726 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
25727 instead of <sys/statvfs.h>.
25728 (__internal_statvfs64): Removed.
25729 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
25730 "internal_statvfs.h" instead of <sys/statvfs.h>.
25731 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
25732 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
25733 instead of <sys/statvfs.h>.
25734 (__internal_statvfs): Removed.
25735 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
25736 instead of <sys/statvfs.h>.
25737 (__internal_statvfs64): Removed.
25739 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25742 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
25743 (__gconv_close): Likewise.
25744 (__gconv): Likewise.
25745 (__gconv_find_transform): Likewise.
25746 (__gconv_lookup_cache): Likewise.
25747 (__gconv_compare_alias_cache): Likewise.
25748 (__gconv_load_cache): Likewise.
25749 (__gconv_get_path): Likewise.
25750 (__gconv_close_transform): Likewise.
25751 (__gconv_release_cache): Likewise.
25752 (__gconv_find_shlib): Likewise.
25753 (__gconv_release_shlib): Likewise.
25754 (__gconv_get_builtin_trans): Likewise.
25755 (__gconv_compare_alias): Likewise.
25756 * include/dlfcn.h (_dlerror_run): Likewise.
25757 * include/stdio.h (__fortify_fail_abort): Likewise.
25758 * include/time.h (__tz_compute): Likewise.
25759 (__strptime_internal): Likewise.
25760 * intl/gettextP.h (_nl_find_domain): Likewise.
25761 (_nl_load_domain): Likewise.
25762 (_nl_find_msg): Likewise.
25763 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
25764 (EXTRACT_PLURAL_EXPRESSION): Likewise.
25765 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
25766 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
25767 (__gai_find_request): Likewise.
25768 (__gai_remove_request): Likewise.
25769 (__gai_notify): Likewise.
25770 (__gai_notify_only): Likewise.
25771 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
25772 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
25773 (_dl_non_dynamic_init): Likewise.
25774 (_dl_aux_init): Likewise.
25775 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
25776 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
25778 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
25779 (__wcsmbs_clone_conv): Likewise.
25780 (__wcsmbs_named_conv): Likewise.
25782 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25785 * include/stdlib.h (__random): Add attribute_hidden.
25786 (__random_r): Likewise.
25787 (__srandom_r): Likewise.
25788 (__initstate_r): Likewise.
25789 (__setstate_r): Likewise.
25790 (__erand48_r): Likewise.
25791 (__nrand48_r): Likewise.
25792 (__jrand48_r): Likewise.
25793 (__srand48_r): Likewise.
25794 (__seed48_r): Likewise.
25795 (__lcong48_r): Likewise.
25796 (__drand48_iterate): Likewise.
25797 (__setenv): Likewise.
25798 (__unsetenv): Likewise.
25799 (__clearenv): Likewise.
25800 (__ptsname_r): Likewise.
25801 (__posix_openpt): Likewise.
25802 (__add_to_environ): Likewise.
25803 (__realpath): Add libc_hidden_proto.
25804 (__ecvt_r): Likewise.
25805 (__fcvt_r): Likewise.
25806 (__qecvt_r): Likewise.
25807 (__qfcvt_r): Likewise.
25808 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
25809 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
25811 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25814 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
25815 * include/time.h (__mktime_internal): Likewise.
25816 * libio/iolibio.h (__fopen_internal): Likewise.
25818 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
25820 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
25822 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
25823 Correct offset used to restore PIC register.
25825 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
25828 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
25829 code to load address of __getcontext_ret when generating PIC code.
25831 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
25833 * elf/Makefile (tests-static-internal): Add
25834 tst-tls1-static-non-pie.
25835 (LDFLAGS-tst-tls1-static-non-pie): New.
25836 * elf/tst-tls1-static-non-pie.c: New file.
25838 2017-09-29 Joseph Myers <joseph@codesourcery.com>
25840 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
25841 (asinh): Define using libm_alias_double.
25842 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
25843 (cbrt): Define using libm_alias_double.
25844 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
25845 <libm-alias-double.h>.
25846 (copysign): Define using libm_alias_double.
25847 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
25848 (erf): Define using libm_alias_double.
25850 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
25851 (expm1): Define using libm_alias_double.
25852 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
25853 (fabs): Define using libm_alias_double.
25854 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
25856 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
25857 <libm-alias-double.h>.
25858 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
25860 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
25861 <libm-alias-double.h>.
25862 (getpayload): Define using libm_alias_double.
25863 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
25864 <libm-alias-double.h>.
25865 (llrint): Define using libm_alias_double.
25866 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
25867 (lrint): Define using libm_alias_double.
25868 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
25869 <libm-alias-double.h>.
25870 (nextup): Define using libm_alias_double.
25871 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
25872 <libm-alias-double.h>.
25873 (roundeven): Define using libm_alias_double.
25874 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
25876 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
25877 <libm-alias-double.h>.
25878 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
25879 using libm_alias_double.
25880 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
25881 (cos): Define using libm_alias_double.
25883 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
25884 <libm-alias-double.h>.
25885 (sincos): Define using libm_alias_double.
25886 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
25887 (tanh): Define using libm_alias_double.
25888 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
25889 <libm-alias-double.h>.
25890 (totalorder): Define using libm_alias_double.
25891 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
25892 <libm-alias-double.h>.
25893 (totalordermag): Define using libm_alias_double.
25894 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
25896 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
25898 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
25899 <libm-alias-double.h>.
25900 (getpayload): Define using libm_alias_double.
25901 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
25902 <libm-alias-double.h>.
25903 (roundeven): Define using libm_alias_double.
25904 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
25905 <libm-alias-double.h>.
25906 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
25907 <libm-alias-double.h>.
25908 (totalorder): Define using libm_alias_double.
25909 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
25910 <libm-alias-double.h>.
25911 (totalordermag): Define using libm_alias_double.
25912 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
25913 libc compat symbol here.
25914 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
25915 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
25916 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
25917 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
25918 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
25919 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
25920 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
25921 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
25922 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
25923 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
25925 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25927 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
25928 _dl_relocate_static_pie instead of _dl_start to compute load
25929 address in static PIE. Return 0 if _DYNAMIC is undefined for
25932 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25934 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
25935 _DYNAMIC is undefined for static executable.
25937 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25939 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
25941 2017-09-29 Joseph Myers <joseph@codesourcery.com>
25943 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25945 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
25947 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
25948 (__ieee754_lgamma_r): Use fabs rather than __fabs.
25949 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25950 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25951 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
25952 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
25953 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
25954 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
25955 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
25956 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
25957 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
25958 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
25959 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
25960 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
25961 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
25962 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
25963 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
25965 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
25967 * math/bits/cmathcalls.h (cimag): Remove inline.
25968 (creal): Remove inline.
25969 (conj): Remove inline.
25971 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25973 * math/Makefile (type-float-routines): Add e_powf_log2_data.
25974 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
25975 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
25976 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
25977 (issignalingf_inline): Likewise.
25978 (POWF_LOG2_TABLE_BITS): Likewise.
25979 (POWF_LOG2_POLY_ORDER): Likewise.
25980 (POWF_SCALE_BITS): Likewise.
25981 (POWF_SCALE): Likewise.
25982 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
25983 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
25984 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
25986 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25988 * math/Makefile (type-float-routines): Add e_log2f_data.
25989 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
25990 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
25991 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
25992 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
25993 * sysdeps/i386/fpu/e_log2f_data.c: New file.
25994 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
25995 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
25997 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25999 * math/Makefile (type-float-routines): Add e_logf_data.
26000 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
26001 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
26002 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
26003 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
26004 * sysdeps/i386/fpu/e_logf_data.c: New file.
26005 * sysdeps/ia64/fpu/e_logf_data.c: New file.
26006 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
26008 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
26010 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
26011 undefined _DYNAMIC in PIE libc.a.
26012 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26015 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26017 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
26018 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
26019 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
26020 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
26021 (__signbit): Remove.
26022 (__signbitl): Remove.
26023 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
26024 (__signbit): Remove.
26025 (__signbitl): Remove.
26026 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
26027 (__signbit): Remove.
26028 (__signbitl): Remove.
26029 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
26030 (__signbit): Remove.
26031 (__signbitl): Remove.
26032 * sysdeps/tile/bits/mathinline.h: Delete file.
26033 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
26034 (__signbit): Remove.
26035 (__signbitl): Remove.
26037 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26039 * math/math.h: Improve handling of C99 isgreater macros.
26040 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
26041 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
26042 * sysdeps/powerpc/bits/mathinline.h: Likewise.
26043 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26044 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
26046 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
26048 * sysdeps/aarch64/libm-test-ulps: Update.
26050 2017-09-28 Joseph Myers <joseph@codesourcery.com>
26053 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26054 math_opt_barrier on argument when doing arithmetic on it.
26055 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26056 Likewise. Use math_force_eval not math_opt_barrier after
26058 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
26059 math_opt_barrier on argument when doing arithmetic on it.
26060 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26063 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
26065 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
26067 (__freeifaddrs): Likewise.
26069 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
26071 * include/dirent.h (__dirfd): New declaration.
26072 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
26074 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
26075 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
26076 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
26077 * include/unistd.h (__revoke): New declaration.
26078 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
26080 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
26081 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
26083 * include/dirent.h (__seekdir): New declaration.
26084 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
26085 redefine as weak alias.
26086 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
26088 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
26089 and use libc_hidden_def on them.
26090 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
26092 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
26093 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
26094 instead of getifaddrs and freeifaddrs.
26096 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26099 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
26100 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
26101 (__dso_handle): Remove declaration.
26102 * dlfcn/tstatexit.c (__dso_handle): Removed.
26103 (main): Don't check __dso_handle.
26104 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
26105 (main): Don't check __dso_handle.
26106 * include/dso_handle.h: New file.
26107 * malloc/mtrace.c: Include <dso_handle.h>.
26108 (mtrace): Pass __dso_handle directly.
26109 * nptl/pthread_atfork.c: Include <dso_handle.h>.
26110 (__dso_handle): Remove declaration.
26111 (__pthread_atfork): Pass __dso_handle directly.
26112 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
26113 (__dso_handle): Removed.
26114 * posix/wordexp-test.c: Include <dso_handle.h>.
26115 (__dso_handle): Remove declaration.
26116 (__app_register_atfork): Pass __dso_handle directly.
26117 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
26118 (__dso_handle): Remove declaration.
26119 (at_quick_exit): Pass __dso_handle directly.
26120 * stdlib/atexit.c: Include <dso_handle.h>.
26121 (__dso_handle): Remove declaration.
26122 (atexit): Pass __dso_handle directly.
26123 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
26124 (__dso_handle): Removed.
26126 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26128 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
26131 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
26133 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
26134 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
26135 values to correct default value for given type.
26137 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26140 * elf/Makefile (tests): Add tst-debug1.
26141 ($(objpfx)tst-debug1): New.
26142 ($(objpfx)tst-debug1.out): Likewise.
26143 ($(objpfx)tst-debug1mod1.so): Likewise.
26144 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
26145 with p_filesz == 0.
26146 * elf/tst-debug1.c: New file.
26148 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26150 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
26151 Define using __ifunc.
26153 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26155 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
26158 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26161 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
26163 2017-09-26 Florian Weimer <fweimer@redhat.com>
26165 * resolv/Makefile (tests-internal): Fix typo in comment.
26167 2017-09-26 Florian Weimer <fweimer@redhat.com>
26169 * resolv/nss_dns/dns-host.c: Fix typo in comment.
26171 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26173 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
26174 Use an union instead of a max_align_t array for __space,
26175 so that __space is the same size on all platforms.
26176 * malloc/scratch_buffer_grow_preserve.c
26177 (__libc_scratch_buffer_grow_preserve): Likewise.
26180 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
26182 * posix/Makefile (routines): Add glob-lstat-compat and
26183 glob64-lstat-compat.
26184 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
26185 * posix/glob-lstat-compat.c: New file.
26186 * posix/glob64-lstat-compat.c: Likewise.
26187 * posix/tst-glob_lstat_compat.c: Likewise.
26188 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
26189 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
26190 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
26191 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
26193 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
26194 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
26195 * posix/glob.c (glob_lstat): New function.
26196 (glob): Rename to __glob and add versioned symbol to 2.27.
26197 (glob_in_dir): Use glob_lstat.
26198 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
26199 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26200 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
26202 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
26203 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
26204 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
26205 gl_lstat on glob call.
26206 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
26207 and glob64 symbols.
26208 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26209 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26210 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26211 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26212 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26213 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26214 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26215 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26216 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26217 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26218 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26219 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26222 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
26223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26224 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26225 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26226 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26227 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26228 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26229 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26230 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26231 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26232 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26233 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26235 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
26237 * configure.ac (AS): Require binutils 2.25 or later.
26238 * configure: Regenerated.
26240 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26243 * stdlib/test-atexit-race-common.c (do_test): Minimize required
26246 2017-09-25 DJ Delorie <dj@redhat.com>
26249 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
26252 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
26254 * sysdeps/ieee754/dbl-64/sincos32.h
26255 [SINCCOS32_H]: Remove define.
26256 [SINCOS32_H]: Define.
26258 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26260 * math/Versions (expf): New libm symbol at GLIBC_2.27.
26262 * math/w_exp2f.c: New file.
26263 * math/w_expf.c: New file.
26264 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
26265 * math/w_expf_compat.c (__expf_compat): Likewise.
26266 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
26267 * sysdeps/ia64/fpu/e_expf.S: Likewise.
26268 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26269 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26270 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26271 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26272 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26273 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26274 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26275 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26276 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26277 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26278 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26279 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26288 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26289 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26290 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26291 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26292 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26293 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26295 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26297 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26298 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26299 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26301 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26303 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
26304 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
26305 (roundtoint, converttoint): Likewise.
26306 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
26307 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
26308 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
26309 * sysdeps/ieee754/flt-32/math_config.h: New file.
26310 * sysdeps/ieee754/flt-32/math_errf.c: New file.
26311 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
26312 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
26313 * sysdeps/i386/fpu/math_errf.c: New file.
26314 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
26315 * sysdeps/ia64/fpu/math_errf.c: New file.
26316 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
26317 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
26319 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
26321 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
26322 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
26323 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
26324 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
26325 to make sure that these symbols are defined.
26326 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
26328 (__need_NULL): Do not define.
26329 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
26331 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
26332 CMGROUP_MAX, cmsgcred): Do not define.
26333 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
26335 * bits/socket.h: Likewise.
26336 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
26337 __gettimeofday instead of gettimeofday.
26338 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
26339 instead of settimeofday.
26341 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26343 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
26344 (asinhf): Define using libm_alias_float.
26345 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
26346 (atanf): Define using libm_alias_float.
26347 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
26348 (cbrtf): Define using libm_alias_float.
26349 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
26350 (ceilf): Define using libm_alias_float.
26351 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
26352 <libm-alias-float.h>.
26353 (copysignf): Define using libm_alias_float.
26354 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
26355 (cosf): Define using libm_alias_float.
26356 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
26357 (erff): Define using libm_alias_float.
26359 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
26360 (expm1f): Define using libm_alias_float.
26361 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
26362 (fabsf): Define using libm_alias_float.
26363 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
26364 (floorf): Define using libm_alias_float.
26365 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
26366 (frexpf): Define using libm_alias_float.
26367 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
26369 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
26370 <libm-alias-float.h>.
26371 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
26373 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
26374 <libm-alias-float.h>.
26375 (getpayloadf): Define using libm_alias_float.
26376 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
26377 <libm-alias-float.h>.
26378 (llrintf): Define using libm_alias_float.
26379 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
26380 <libm-alias-float.h>.
26381 (llroundf): Define using libm_alias_float.
26382 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
26383 (logbf): Define using libm_alias_float.
26384 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
26385 (lrintf): Define using libm_alias_float.
26386 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
26387 (lroundf): Define using libm_alias_float.
26388 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
26389 (modff): Define using libm_alias_float.
26390 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
26391 <libm-alias-float.h>.
26392 (nearbyintf): Define using libm_alias_float.
26393 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
26394 <libm-alias-float.h>.
26395 (nextafterf): Define using libm_alias_float.
26396 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
26397 <libm-alias-float.h>.
26398 (nextupf): Define using libm_alias_float.
26399 * sysdeps/ieee754/flt-32/s_remquof.c: Include
26400 <libm-alias-float.h>.
26401 (remquof): Define using libm_alias_float.
26402 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
26403 (rintf): Define using libm_alias_float.
26404 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
26405 <libm-alias-float.h>.
26406 (roundevenf): Define using libm_alias_float.
26407 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
26408 (roundf): Define using libm_alias_float.
26409 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
26410 using libm_alias_float.
26411 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
26412 <libm-alias-float.h>.
26413 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
26414 Define using libm_alias_float.
26415 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
26416 <libm-alias-float.h>.
26417 (sincosf): Define using libm_alias_float.
26418 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
26419 (sinf): Define using libm_alias_float.
26420 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
26421 (tanf): Define using libm_alias_float.
26422 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
26423 (tanhf): Define using libm_alias_float.
26424 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
26425 <libm-alias-float.h>.
26426 (totalorderf): Define using libm_alias_float.
26427 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
26428 <libm-alias-float.h>.
26429 (totalordermagf): Define using libm_alias_float.
26430 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
26431 (truncf): Define using libm_alias_float.
26432 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
26434 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
26437 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26440 math/math.h: Let fpclassify use the builtin in C++ mode, even
26441 when optimazing for size.
26443 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26445 * csu/Makefile (generated): Do not add version-info.h.
26446 (before-compile): Likewise.
26447 (all-Banner-files): Remove variable.
26448 ($(objpfx)version-info.h): Remove rule.
26449 * csu/version.c (banner): Do not include "version-info.h".
26450 * libidn/Banner: Remove.
26451 * manual/contrib.texi (Simon Josefsson): New entry.
26453 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26455 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26456 Remove conditionals on LDBL_MANT_DIG.
26457 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26458 (__ieee754_lgammal_r): Likewise.
26460 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26462 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
26464 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
26465 _Float128 and L(). Replace _Float128 with long double and L(x)
26466 with xL, throughout the file.
26467 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26468 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26469 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26470 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26472 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26474 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
26475 sysdeps/ieee754/ldbl-128ibm.
26476 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
26477 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
26478 of including it. Keep _Float128 and L() intact. These will be
26479 reviewed by a separate patch.
26480 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26481 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26482 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26483 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26485 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
26488 (__finitef128): Define to __redirect___finitef128.
26489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
26490 (__isinff128): Define to __redirect___isinff128.
26491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
26492 (__isnanf128): Define to __redirect___isnanf128.
26494 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26496 * sysdeps/powerpc/powerpc64le/Makefile
26497 (CFLAGS-tst-strtod-nan-locale.c): New variable.
26498 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
26500 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
26501 Carlos O'Donell <carlos@redhat.com>
26504 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
26505 * stdlib/test-dlclose-exit-race.c: New file.
26506 * stdlib/test-dlclose-exit-race-helper.c: New file.
26507 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
26509 2017-09-21 Joseph Myers <joseph@codesourcery.com>
26511 * crypt/Banner: Remove file.
26512 * nptl/Banner: Likewise.
26513 * resolv/Banner: Likewise.
26514 * soft-fp/Banner: Likewise.
26515 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
26516 ($(objpfx)version.d): Remove dependency on banner.h.
26517 ($(objpfx)version.os): Likewise.
26518 * nptl/version.c (banner): Do not include banner.h.
26519 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
26520 Jelinek and BIND code.
26522 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26523 Carlos O'Donell <carlos@redhat.com>
26525 * support/xdlfcn.h: New file.
26526 * support/xdlfcn.c: New file.
26527 * support/Makefile (libsupport-routines): Add xdlfcn.
26528 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
26530 2017-09-20 Joseph Myers <joseph@codesourcery.com>
26533 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26534 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
26535 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
26536 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
26537 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
26538 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
26539 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
26540 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
26542 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26543 Ricky Zhou <rickyz@google.com>
26544 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26547 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
26549 (__new_exitfn): Fail registration when we finished at_exit processing.
26550 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26551 * stdlib/on_exit.c (__on_exit): Likewise.
26552 * stdlib/exit.c (__exit_funcs_done): New variable.
26553 (__run_exit_handlers): Use __exit_funcs_lock.
26554 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
26556 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
26557 (test-cxa_atexit-race, test-on_exit-race): New tests.
26558 * stdlib/test-atexit-race-common.c: New file.
26559 * stdlib/test-atexit-race.c: New file.
26560 * stdlib/test-at_quick_exit-race.c: New file.
26561 * stdlib/test-cxa_atexit-race.c: New file.
26562 * stdlib/test-on_exit-race.c: New file.
26564 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
26566 * benchtests/Makefile: Add exp2f and log2f benchmarks.
26567 * benchtests/exp2f-inputs: Copy of expf-inputs.
26568 * benchtests/log2f-inputs: Copy of logf-inputs.
26570 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26572 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
26573 Explicitly take address of first element of array arguments in
26574 call to INLINE_SYSCALL.
26576 2017-09-19 Andreas Schwab <schwab@suse.de>
26579 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
26581 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
26583 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
26584 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
26585 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26586 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
26587 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26588 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26589 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26590 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26591 * posix/Makefile (tests): Add tst-fexecve.
26592 * posix/tst-fexecve.c: New file.
26594 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26596 * benchtests/Makefile: Add logf benchmark.
26597 * benchtests/logf-inputs: Add reduced trace from wrf_r.
26599 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26601 * benchtests/Makefile: Add expf benchmark.
26602 * benchtests/expf-inputs: Add reduced trace from wrf_r.
26604 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26606 * csu/Makefile: Add -funwind-tables to libc-start.c.
26607 * debug/Makefile: Add -funwind-tables to backtrace.c.
26608 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
26609 * sysdeps/arm/Makefile: Likewise.
26610 * sysdeps/i386/Makefile: Likewise.
26611 * sysdeps/m68k/Makefile: Likewise.
26612 * sysdeps/mips/Makefile: Likewise.
26613 * sysdeps/nios2/Makefile: Likewise.
26614 * sysdeps/sh/Makefile: Likewise.
26615 * sysdeps/sparc/Makefile: Likewise.
26617 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26619 * benchtests/Makefile (bench-math): Add trunc and truncf.
26620 (CFLAGS-bench-trunc.c): New variable.
26621 (CFLAGS-bench-truncf.c): Likewise.
26622 * benchtests/trunc-inputs: New file.
26623 * benchtests/truncf-inputs: Likewise.
26625 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26627 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
26629 2017-09-18 Joseph Myers <joseph@codesourcery.com>
26631 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
26632 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
26634 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26635 (exp10l): Define as weak alias.
26636 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
26637 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
26639 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
26640 (remainderl): Define as weak alias.
26642 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
26643 (fmal): Define using libm_alias_ldouble.
26644 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
26645 (acoshl): Define using libm_alias_ldouble.
26646 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
26647 (acosl): Define using libm_alias_ldouble.
26648 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
26649 (asinl): Define using libm_alias_ldouble.
26650 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
26651 (atan2l): Define using libm_alias_ldouble.
26652 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
26653 (atanhl): Define using libm_alias_ldouble.
26654 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
26655 (coshl): Define using libm_alias_ldouble.
26656 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
26657 (exp10l): Define using libm_alias_ldouble.
26658 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
26659 (exp2l): Define using libm_alias_ldouble.
26660 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
26661 (expl): Define using libm_alias_ldouble.
26662 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
26663 (fmodl): Define using libm_alias_ldouble.
26664 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
26665 (hypotl): Define using libm_alias_ldouble.
26666 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
26667 (j0l): Define using libm_alias_ldouble.
26669 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
26670 (j1l): Define using libm_alias_ldouble.
26672 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
26673 (jnl): Define using libm_alias_ldouble.
26675 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
26676 (log10l): Define using libm_alias_ldouble.
26677 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
26678 (log2l): Define using libm_alias_ldouble.
26679 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
26680 (logl): Define using libm_alias_ldouble.
26681 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
26682 (powl): Define using libm_alias_ldouble.
26683 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
26684 (remainderl): Define using libm_alias_ldouble.
26685 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
26686 (sinhl): Define using libm_alias_ldouble.
26687 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
26688 (sqrtl): Define using libm_alias_ldouble.
26689 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
26690 (tgammal): Define using libm_alias_ldouble.
26691 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
26692 (exp10l): Do not use long_double_symbol here.
26693 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26694 [LIBM_SVID_COMPAT] (remainderl): Likewise.
26695 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
26696 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
26697 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
26698 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
26699 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
26700 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
26701 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
26702 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
26703 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
26704 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
26705 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
26706 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
26707 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
26708 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
26709 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
26710 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
26711 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
26712 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
26713 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
26714 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
26716 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
26718 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
26719 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
26721 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
26723 * io/read.c (read): Add libc_hidden_weak.
26724 * sysdeps/mach/hurd/read.c (read): Likewise.
26725 * io/write.c (write): Likewise.
26726 * sysdeps/mach/hurd/write.c (write): Likewise.
26727 * io/pread64.c (__pread64): Likewise.
26728 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
26729 * posix/pread64.c (__pread64): Add libc_hidden_def.
26731 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
26733 * benchtests/scripts/compare_strings.py: New option -g.
26734 (draw_graph): Print a message that a graph is being generated.
26735 (process_results): Generate graph only if -g is passed.
26736 (main): Process option -g.
26738 * benchtests/scripts/compare_strings.py (process_results):
26739 Better spacing for output.
26741 * benchtests/scripts/compare_strings.py: Use argparse.
26742 * benchtests/README: Document existence of compare_strings.py.
26744 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26746 * math/s_fma.c: Include <libm-alias-double.h>.
26747 (fma): Define using libm_alias_double.
26748 * math/s_nextafter.c: Include <libm-alias-double.h>.
26749 (nextafter): Define using libm_alias_double.
26750 * math/w_acos_compat.c: Include <libm-alias-double.h>.
26751 (acos): Define using libm_alias_double.
26752 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
26753 (aocsh): Define using libm_alias_double.
26754 * math/w_asin_compat.c: Include <libm-alias-double.h>.
26755 (asin): Define using libm_alias_double.
26756 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
26757 (atan2): Define using libm_alias_double.
26758 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
26759 (atanh): Define using libm_alias_double.
26760 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
26761 (cosh): Define using libm_alias_double.
26762 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
26763 (exp10): Define using libm_alias_double.
26764 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
26765 (exp2): Define using libm_alias_double.
26766 * math/w_exp_compat.c: Include <libm-alias-double.h>.
26767 (exp): Define using libm_alias_double.
26768 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
26769 (fmod): Define using libm_alias_double.
26770 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
26771 (hypot): Define using libm_alias_double.
26772 * math/w_j0_compat.c: Include <libm-alias-double.h>.
26773 (j0): Define using libm_alias_double.
26775 * math/w_j1_compat.c: Include <libm-alias-double.h>.
26776 (j1): Define using libm_alias_double.
26778 * math/w_jn_compat.c: Include <libm-alias-double.h>.
26779 (jn): Define using libm_alias_double.
26781 * math/w_log10_compat.c: Include <libm-alias-double.h>.
26782 (log10): Define using libm_alias_double.
26783 * math/w_log2_compat.c: Include <libm-alias-double.h>.
26784 (log2): Define using libm_alias_double.
26785 * math/w_log_compat.c: Include <libm-alias-double.h>.
26786 (log): Define using libm_alias_double.
26787 * math/w_pow_compat.c: Include <libm-alias-double.h>.
26788 (pow): Define using libm_alias_double.
26789 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
26790 (remainder): Define using libm_alias_double.
26791 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
26792 (sinh): Define using libm_alias_double.
26793 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
26794 (sqrt): Define using libm_alias_double.
26795 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
26796 (tgamma): Define using libm_alias_double.
26797 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
26798 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
26799 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
26800 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
26801 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
26802 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
26803 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
26804 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
26805 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
26806 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
26807 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
26808 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
26809 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
26810 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
26811 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
26812 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
26813 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
26814 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
26815 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
26816 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
26817 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
26818 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
26819 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
26820 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
26821 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
26823 * math/e_acoshl.c: Remove.
26824 * math/e_acosl.c: Likewise.
26825 * math/e_asinl.c: Likewise.
26826 * math/e_atan2l.c: Likewise.
26827 * math/e_atanhl.c: Likewise.
26828 * math/e_coshl.c: Likewise.
26829 * math/e_expl.c: Likewise.
26830 * math/e_fmodl.c: Likewise.
26831 * math/e_gammal_r.c: Likewise.
26832 * math/e_hypotl.c: Likewise.
26833 * math/e_j0l.c: Likewise.
26834 * math/e_j1l.c: Likewise.
26835 * math/e_jnl.c: Likewise.
26836 * math/e_lgammal_r.c: Likewise.
26837 * math/e_log10l.c: Likewise.
26838 * math/e_log2l.c: Likewise.
26839 * math/e_logl.c: Likewise.
26840 * math/e_powl.c: Likewise.
26841 * math/e_rem_pio2l.c: Likewise.
26842 * math/e_sinhl.c: Likewise.
26843 * math/e_sqrtf128.c: Likewise.
26844 * math/e_sqrtl.c: Likewise.
26845 * math/k_cosl.c: Likewise.
26846 * math/k_sinl.c: Likewise.
26847 * math/k_tanl.c: Likewise.
26848 * math/s_asinhl.c: Likewise.
26849 * math/s_atanl.c: Likewise.
26850 * math/s_cbrtl.c: Likewise.
26851 * math/s_erfl.c: Likewise.
26852 * math/s_expm1l.c: Likewise.
26853 * math/s_log1pl.c: Likewise.
26854 * math/s_tanhl.c: Likewise.
26856 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26859 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
26860 [$(subdir) = math] (sysdep_calls): New variable. Has the
26861 previous contents of sysdep_routines, but re-sorted..
26862 [$(subdir) = math] (sysdep_routines): Re-use the contents from
26864 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
26865 defined in sysdep_calls and replace by the respective m_* names.
26866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
26867 (compat_symbol): Undefine to avoid duplicated compat symbols in
26870 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26872 * math/s_fmaf.c: Include <libm-alias-float.h>.
26873 (fmaf): Define using libm_alias_float.
26874 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
26875 (acosf): Define using libm_alias_float.
26876 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
26877 (acoshf): Define using libm_alias_float.
26878 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
26879 (asinf): Define using libm_alias_float.
26880 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
26881 (atan2f): Define using libm_alias_float.
26882 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
26883 (atanhf): Define using libm_alias_float.
26884 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
26885 (coshf): Define using libm_alias_float.
26886 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
26887 (exp10f): Define using libm_alias_float.
26888 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
26889 (fmodf): Define using libm_alias_float.
26890 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
26891 (hypotf): Define using libm_alias_float.
26892 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
26893 (j0f): Define using libm_alias_float.
26895 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
26896 (j1f): Define using libm_alias_float.
26898 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
26899 (jnf): Define using libm_alias_float.
26901 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
26902 (log10f): Define using libm_alias_float.
26903 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
26904 (log2f): Define using libm_alias_float.
26905 * math/w_logf_compat.c: Include <libm-alias-float.h>.
26906 (logf): Define using libm_alias_float.
26907 * math/w_powf_compat.c: Include <libm-alias-float.h>.
26908 (powf): Define using libm_alias_float.
26909 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
26910 (remainderf): Define using libm_alias_float.
26911 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
26912 (sinhf): Define using libm_alias_float.
26913 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
26914 (sqrtf): Define using libm_alias_float.
26915 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
26916 (tgammaf): Define using libm_alias_float.
26918 2017-09-14 Joseph Myers <joseph@codesourcery.com>
26920 * include/math.h (roundeven): Change hidden_proto call to
26922 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
26924 [NO_LONG_DOUBLE] (__j0l): New strong alias.
26925 (y0): Rename to __y0 and define as weak alias.
26926 [NO_LONG_DOUBLE] (__y0l): New strong alias.
26927 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
26929 (y0f): Rename to __y0f and define as weak alias.
26930 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
26932 [NO_LONG_DOUBLE] (__j1l): New strong alias.
26933 (y1): Rename to __y1 and define as weak alias.
26934 [NO_LONG_DOUBLE] (__y1l): New strong alias.
26935 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
26937 (y1f): Rename to __y1f and define as weak alias.
26938 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
26940 [NO_LONG_DOUBLE] (__jnl): New strong alias.
26941 (yn): Rename to __yn and define as weak alias.
26942 [NO_LONG_DOUBLE] (__ynl): New strong alias.
26943 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
26945 (ynf): Rename to __ynf and define as weak alias.
26946 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
26947 (fromfp): Define as weak alias.
26948 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
26949 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
26950 (fromfpx): Define as weak alias.
26951 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
26952 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
26953 __getpayload and define as weak alias.
26954 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
26955 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
26956 __roundeven and define as weak alias.
26957 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
26958 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
26960 (setpayload): Define as weak alias.
26961 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
26962 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
26964 (setpayloadsig): Define as weak alias.
26965 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
26966 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
26967 __totalorder and define as weak alias.
26968 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
26969 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
26970 to __totalordermag and define as weak alias.
26971 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
26972 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
26973 (ufromfp): Define as weak alias.
26974 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
26975 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
26977 (ufromfpx): Define as weak alias.
26978 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
26979 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
26980 Rename to __getpayload and define as weak alias.
26981 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
26982 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
26983 Rename to __roundeven and define as weak alias.
26984 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
26985 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
26986 Rename to __totalorder and define as weak alias.
26987 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
26988 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
26989 (totalordermag): Rename to __totalordermag and define as weak
26991 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
26992 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
26994 (__roundevenl): Likewise.
26995 (__totalorderl): Likewise.
26996 (__totalordermagl): Likewise
26997 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
26999 (fromfpf128): Define as weak alias.
27000 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
27002 (fromfpxf128): Define as weak alias.
27003 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
27005 (setpayloadf128): Define as weak alias.
27006 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
27007 __setpayloadsigf128.
27008 (setpayloadsigf128): Define as weak alias.
27009 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
27011 (ufromfpf128): Define as weak alias.
27012 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
27014 (ufromfpxf128): Define as weak alias.
27015 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
27016 (fromfpf): Define as weak alias.
27017 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
27019 (fromfpxf): Define as weak alias.
27020 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
27021 __getpayloadf and define as weak alias.
27022 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
27023 __roundevenf and define as weak alias.
27024 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
27026 (setpayloadf): Define as weak alias.
27027 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
27029 (setpayloadsigf): Define as weak alias.
27030 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
27031 __totalorderf and define as weak alias.
27032 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
27033 Rename to __totalordermagf and define as weak alias.
27034 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
27036 (ufromfpf): Define as weak alias.
27037 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
27039 (ufromfpxf): Define as weak alias.
27040 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
27042 (fromfpl): Define as weak alias.
27043 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
27045 (fromfpxl): Define as weak alias.
27046 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
27047 to __getpayloadl and define as weak alias.
27048 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
27049 __roundevenl and define as weak alias.
27050 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
27052 (setpayloadl): Define as weak alias.
27053 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
27055 (setpayloadsigl): Define as weak alias.
27056 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
27057 to __totalorderl and define as weak alias.
27058 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
27059 Rename to __totalordermagl and define as weak alias.
27060 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
27062 (ufromfpl): Define as weak alias.
27063 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
27065 (ufromfpxl): Define as weak alias.
27066 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
27068 (fromfpl): Define as weak alias.
27069 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
27071 (fromfpxl): Define as weak alias.
27072 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
27073 Rename to __getpayloadl and define as weak alias.
27074 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
27075 to __roundevenl and define as weak alias. Call __roundeven
27076 instead of roundeven.
27077 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
27079 (setpayloadl): Define as weak alias.
27080 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
27082 (setpayloadsigl): Define as weak alias.
27083 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
27084 Rename to __totalorderl and define as weak alias.
27085 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
27086 Rename to __totalordermagl and define as weak alias.
27087 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
27089 (ufromfpl): Define as weak alias.
27090 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
27092 (ufromfpxl): Define as weak alias.
27093 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
27095 (fromfpl): Define as weak alias.
27096 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
27098 (fromfpxl): Define as weak alias.
27099 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
27100 __getpayloadl and define as weak alias.
27101 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
27102 __roundevenl and define as weak alias.
27103 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
27105 (setpayloadl): Define as weak alias.
27106 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
27108 (setpayloadsigl): Define as weak alias.
27109 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
27110 __totalorderl and define as weak alias.
27111 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
27112 Rename to __totalordermagl and define as weak alias.
27113 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
27115 (ufromfpl): Define as weak alias.
27116 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
27118 (ufromfpxl): Define as weak alias.
27120 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
27122 * benchtests/bench-string.h (realloc_bufs): New function.
27123 (test_init): Call it.
27124 * benchtests/bench-memset-large.c (do_test): Likewise.
27125 * benchtests/bench-memset.c (do_test): Likewise.
27127 * benchtests/bench-memset-large.c: Print output in JSON
27129 * benchtests/bench-memset.c: Likewise.
27131 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27134 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
27135 * iconvdata/Makefile: Add IBM858.
27136 * iconvdata/gconv-modules: Likewise.
27137 * iconvdata/tst-tables.sh: Likewise.
27138 * iconvdata/ibm858.c: New file.
27139 * localedata/charmaps/IBM858: Likewise.
27141 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
27144 * locales/niu_NZ (LC_TIME): copy "niu_NU".
27145 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
27147 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27150 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
27151 and add tel_int_fmt.
27153 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27155 * sysdeps/generic/libm-alias-float128.h: New file.
27156 * sysdeps/generic/math-type-macros-float128.h: Include
27157 <libm-alias-float128.h>.
27158 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27160 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27162 * sysdeps/generic/libm-alias-ldouble.h: New file.
27163 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
27164 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
27165 * sysdeps/generic/math-type-macros-ldouble.h: Include
27166 <libm-alias-ldouble.h>.
27167 [!declare_mgen_alias] (declare_mgen_alias): Define to use
27168 libm_alias_ldouble.
27170 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
27172 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
27173 * math/w_exp_compat.c: ... here.
27174 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
27175 * math/w_expf_compat.c: ... here.
27176 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
27177 * math/w_expl_compat.c: ... here.
27178 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
27179 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
27180 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
27181 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27183 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27185 * math/w_scalbln_template.c (strong_alias): Do not undefine and
27187 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
27189 (ldexpl): Only define as compat symbol for libc, not libm.
27190 (scalbnl): Define as compat symbol for libc here.
27191 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
27192 define for [IS_IN (libc)].
27193 (__ldexpl_2): Remove alias.
27194 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
27195 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
27196 name in long_double_symbol call.
27197 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
27198 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27199 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27200 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
27201 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
27203 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
27204 Define as compat symbol.
27206 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27208 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
27209 * sysdeps/unix/sysv/linux/alpha/Makefile
27210 [$(subdir) = csu] (sysdep_routines): Remove rule.
27212 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27214 * sysdeps/generic/libm-alias-double.h: New file.
27215 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
27216 * sysdeps/generic/math-type-macros-double.h: Include
27217 <libm-alias-double.h>.
27218 [declare_mgen_alias] (declare_mgen_alias): Define to use
27220 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
27221 (M_LIBM_NEED_COMPAT): Remove macro.
27222 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
27223 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
27224 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
27226 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27227 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27228 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27229 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27230 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27231 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27232 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27233 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27234 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27235 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27236 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27237 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27238 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27239 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27240 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27241 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27242 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27243 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27244 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27245 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27246 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27247 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27248 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27249 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27250 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27251 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27252 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27253 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
27254 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
27256 (declare_mgen_alias): New macro.
27257 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
27258 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
27259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
27260 (M_LIBM_NEED_COMPAT): Remove macro.
27261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
27262 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
27263 <first-versions.h>.
27264 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
27265 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
27267 2017-09-12 Joseph Myers <joseph@codesourcery.com>
27269 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
27270 (declare_mgen_alias_2): Remove.
27271 * sysdeps/generic/math-type-macros-double.h
27272 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
27274 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
27276 (ldexp): Define with declare_mgen_alias.
27277 (scalbn): Likewise.
27279 2017-09-12 Steve Ellcey <sellcey@cavium.com>
27281 * grp/initgroups.c: Include config.h.
27282 (DEFAULT_CONFIG): New macro.
27283 (internal_getgrouplist): Use DEFAULT_CONFIG.
27284 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27285 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
27286 (DEFAULT_DEFCONFIG): New macro.
27287 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
27288 * nss/grp-lookup.c: Include config.h
27289 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
27290 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
27291 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
27292 * manual/nss.texi: Update default values section.
27294 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
27297 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
27299 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
27300 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27301 Handle MathVec_Prefer_No_AVX512.
27302 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
27303 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
27306 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
27308 * posix/sched_primax.c (__sched_get_priority_max): Add
27310 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
27311 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
27312 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
27313 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
27314 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
27315 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
27316 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
27317 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
27320 2017-09-11 Joseph Myers <joseph@codesourcery.com>
27322 * sysdeps/generic/libm-alias-float.h: New file.
27323 * sysdeps/generic/math-type-macros-float.h: Include
27324 <libm-alias-float.h>.
27325 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27327 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
27330 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
27331 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
27332 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
27333 (HWCAP_IMPORTANT): Likewise.
27334 (HWCAP_X86_64): New enum.
27335 (HWCAP_X86_AVX512_1): Updated.
27336 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
27337 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
27338 (modules-names): Add x86_64/tst-x86_64mod-1.
27339 (LDFLAGS-tst-x86_64mod-1.so): New.
27340 ($(objpfx)tst-x86_64-1): Likewise.
27341 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
27342 (tst-x86_64-1-clean): Likewise.
27343 * sysdeps/x86_64/tst-x86_64-1.c: New file.
27344 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
27346 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
27348 * po/sv.po: Update translations.
27349 * po/fr.po: Likewise.
27351 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27353 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
27355 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
27357 * elf/rtld-Rules: Fix $(error) use.
27359 2017-09-09 Mike FABIAN <mfabian@redhat.com>
27362 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
27363 * locale/iso-639.def: Change “Bengali” to “Bangla”.
27364 * localedata/locales/bn_BD: “Bengali” was still used in some
27365 comments. Change it to “Bangla”.
27367 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
27369 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
27371 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27373 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
27374 thunderx2t99p1 to list of cpu names.
27375 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
27376 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
27378 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27380 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
27381 Use strcmp instead of tunable_is_name.
27383 2017-09-08 Joseph Myers <joseph@codesourcery.com>
27385 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27386 (F_GET_RW_HINT): New macro.
27387 [__USE_GNU] (F_SET_RW_HINT): Likewise.
27388 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
27389 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
27390 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
27391 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
27392 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
27393 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
27394 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
27395 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
27397 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27398 (F_ADD_SEALS): New macro.
27399 [__USE_GNU] (F_GET_SEALS): Likewise.
27400 [__USE_GNU] (F_SEAL_SEAL): Likewise.
27401 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
27402 [__USE_GNU] (F_SEAL_GROW): Likewise.
27403 [__USE_GNU] (F_SEAL_WRITE): Likewise.
27405 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27407 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
27408 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
27409 * posix/glob_internal.h (__glob_pattern_type):
27410 * posix/glob.c (glob):
27411 * posix/glob_pattern_p.c (__glob_pattern_p):
27414 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
27415 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27416 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
27417 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
27418 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
27420 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
27421 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
27422 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27423 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27424 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27425 * sysdeps/wordsize-64/glob.c: Likewise.
27426 * sysdeps/wordsize-64/glob64.c: Likewise.
27427 * sysdeps/wordsize-64/globfree.c: Likewise.
27428 * sysdeps/wordsize-64/globfree64.c: Likewise.
27429 * sysdeps/unix/sysv/linux/glob.c: New file.
27430 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
27431 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
27432 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
27433 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27434 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
27435 adds !GLOB_NO_OLD_VERSION as an extra condition.
27436 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
27437 using relative path instead of absolute one.
27438 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
27439 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27440 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27441 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
27442 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
27443 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
27446 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
27447 (glob): Use the same scratch buffer for both getlogin_r and
27448 getpwnam_r. Don’t require preallocation of the login name. This
27449 simplifies storage allocation, and corrects the handling of
27453 * posix/glob.c (glob): Port recent patches to platforms
27454 lacking getpwnam_r.
27455 (glob): Fix longstanding misuse of errno after getpwnam_r, which
27456 returns an error number rather than setting errno.
27458 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
27459 instead of GCC extension.
27460 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
27461 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
27462 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
27466 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
27467 * posix/bug-glob1.c: Remove file.
27468 * posix/tst-glob_symlinks.c: New file.
27469 * posix/glob.c (__lstat64): New macro.
27470 (is_dir): New function.
27471 (glob, glob_in_dir): Match symlinks even if they are dangling.
27472 (link_stat, link_exists_p): Remove. All uses removed.
27476 * posix/glob.c (struct readdir_result): Remove skip_entry member.
27477 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
27482 * posix/Makefile (routines): Add globfree, globfree64, and
27484 * posix/flexmember.h: New file.
27485 * posix/glob_internal.h: Likewise.
27486 * posix/glob_pattern_p.c: Likewise.
27487 * posix/globfree.c: Likewise.
27488 * posix/globfree64.c: Likewise.
27489 * sysdeps/gnu/globfree64.c: Likewise.
27490 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
27491 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27492 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
27493 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27494 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27495 * sysdeps/wordsize-64/globfree.c: Likewise.
27496 * sysdeps/wordsize-64/globfree64.c: Likewise.
27497 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
27498 [NDEBUG): Remove comments.
27499 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
27500 (dirent_type): New type. Use uint_fast8_t not
27501 uint8_t, as C99 does not require uint8_t.
27502 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
27503 (struct readdir_result): Use dirent_type. Do not define skip_entry
27504 unless it is needed; this saves a byte on platforms lacking d_ino.
27505 (readdir_result_type, readdir_result_skip_entry):
27506 New functions, replacing ...
27507 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
27508 these functions, which were removed. This makes the callers
27509 easier to read. All callers changed.
27510 (D_INO_TO_RESULT): Now empty if there is no d_ino.
27511 (size_add_wrapv, glob_use_alloca): New static functions.
27512 (glob, glob_in_dir): Check for size_t overflow in several places,
27513 and fix some size_t checks that were not quite right.
27514 Remove old code using SHELL since Bash no longer
27516 (glob, prefix_array): Separate MS code better.
27517 (glob_in_dir): Remove old Amiga and VMS code.
27518 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
27520 (glob_in_dir): Do not rely on undefined behavior in accessing
27521 struct members beyond their bounds. Use a flexible array member
27523 (link_stat): Rename from link_exists2_p and return -1/0 instead of
27524 0/1. Caller changed.
27525 (glob): Fix memory leaks.
27526 * posix/glob64 (globfree64): Move to separate file.
27527 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
27528 (globfree64): Remove hidden alias.
27529 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
27531 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
27533 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
27535 Move compat code to separate file.
27536 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
27539 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
27541 * resolv/tst-resolv-qtypes.c (domain): Changed to
27542 "const char domain[] =".
27544 2017-09-07 Joseph Myers <joseph@codesourcery.com>
27546 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
27549 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
27550 (TCP_MD5SIG_EXT): Likewise.
27551 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
27552 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
27553 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
27555 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
27557 2017-09-07 Mike FABIAN <mfabian@redhat.com>
27559 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
27561 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
27564 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
27566 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
27568 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
27569 before assuming that the file is empty. Avoid testing buffer content
27572 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27575 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27577 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
27579 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
27581 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
27583 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27585 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
27587 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
27590 2017-09-06 Florian Weimer <fweimer@redhat.com>
27592 * malloc/dynarray_emplace_enlarge.c
27593 (__libc_dynarray_emplace_enlarge): Add missing else.
27595 2017-09-06 Florian Weimer <fweimer@redhat.com>
27598 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
27599 case of failure to obtain the global conf object.
27601 2017-09-06 Florian Weimer <fweimer@redhat.com>
27604 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
27605 dynarray allocation failure.
27607 2017-09-06 Florian Weimer <fweimer@redhat.com>
27609 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
27610 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
27611 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
27613 (response): Call them. Add 'p', '6' flag processing.
27614 (test_reverse): New function.
27615 (test_get2_any): Call it.
27616 (test_no_inet6): Add 'p' test.
27617 (test_inet6): Likewise.
27619 2017-09-06 Florian Weimer <fweimer@redhat.com>
27621 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
27622 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
27624 (test_gai): Adjust query names. Add additional tests.
27625 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
27626 test_get2. Adjust query names. Add additional tests.
27627 (test_no_inet6): New function, extracted from threadfunc.
27628 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
27629 Add additional tests.
27631 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27634 * localedata/unicode-gen/utf8_gen.py: Set the width for
27635 characters with Prepended_Concatenation_Mark property to 1
27636 * localedata/charmaps/UTF-8: Updated using the improved script.
27638 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27641 * localedata/unicode-gen/utf8_gen.py: Improve the script to
27642 use the range notation for all ranges of neighbouring characters
27643 with the same width.
27645 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27647 * sysdeps/generic/math-type-macros-double.h: Include
27648 <math-svid-compat.h>.
27649 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27650 * sysdeps/generic/math-type-macros-float.h: Include
27651 <math-svid-compat.h>.
27652 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27653 * sysdeps/generic/math-type-macros-ldouble.h: Include
27654 <math-svid-compat.h>.
27655 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27656 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
27658 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
27659 * math/w_acosf_compat.c: Likewise.
27660 * math/w_acosh_compat.c: Likewise.
27661 * math/w_acoshf_compat.c: Likewise.
27662 * math/w_acoshl_compat.c: Likewise.
27663 * math/w_acosl_compat.c: Likewise.
27664 * math/w_asin_compat.c: Likewise.
27665 * math/w_asinf_compat.c: Likewise.
27666 * math/w_asinl_compat.c: Likewise.
27667 * math/w_atan2_compat.c: Likewise.
27668 * math/w_atan2f_compat.c: Likewise.
27669 * math/w_atan2l_compat.c: Likewise.
27670 * math/w_atanh_compat.c: Likewise.
27671 * math/w_atanhf_compat.c: Likewise.
27672 * math/w_atanhl_compat.c: Likewise.
27673 * math/w_cosh_compat.c: Likewise.
27674 * math/w_coshf_compat.c: Likewise.
27675 * math/w_coshl_compat.c: Likewise.
27676 * math/w_exp10_compat.c: Likewise.
27677 * math/w_exp10f_compat.c: Likewise.
27678 * math/w_exp10l_compat.c: Likewise.
27679 * math/w_exp2_compat.c: Likewise.
27680 * math/w_exp2f_compat.c: Likewise.
27681 * math/w_exp2l_compat.c: Likewise.
27682 * math/w_fmod_compat.c: Likewise.
27683 * math/w_fmodf_compat.c: Likewise.
27684 * math/w_fmodl_compat.c: Likewise.
27685 * math/w_hypot_compat.c: Likewise.
27686 * math/w_hypotf_compat.c: Likewise.
27687 * math/w_hypotl_compat.c: Likewise.
27688 * math/w_j0_compat.c: Likewise.
27689 * math/w_j0f_compat.c: Likewise.
27690 * math/w_j0l_compat.c: Likewise.
27691 * math/w_j1_compat.c: Likewise.
27692 * math/w_j1f_compat.c: Likewise.
27693 * math/w_j1l_compat.c: Likewise.
27694 * math/w_jn_compat.c: Likewise.
27695 * math/w_jnf_compat.c: Likewise.
27696 * math/w_jnl_compat.c: Likewise.
27697 * math/w_lgamma_r_compat.c: Likewise.
27698 * math/w_lgammaf_r_compat.c: Likewise.
27699 * math/w_lgammal_r_compat.c: Likewise.
27700 * math/w_log10_compat.c: Likewise.
27701 * math/w_log10f_compat.c: Likewise.
27702 * math/w_log10l_compat.c: Likewise.
27703 * math/w_log2_compat.c: Likewise.
27704 * math/w_log2f_compat.c: Likewise.
27705 * math/w_log2l_compat.c: Likewise.
27706 * math/w_log_compat.c: Likewise.
27707 * math/w_logf_compat.c: Likewise.
27708 * math/w_logl_compat.c: Likewise.
27709 * math/w_pow_compat.c: Likewise.
27710 * math/w_powf_compat.c: Likewise.
27711 * math/w_powl_compat.c: Likewise.
27712 * math/w_remainder_compat.c: Likewise.
27713 * math/w_remainderf_compat.c: Likewise.
27714 * math/w_remainderl_compat.c: Likewise.
27715 * math/w_sinh_compat.c: Likewise.
27716 * math/w_sinhf_compat.c: Likewise.
27717 * math/w_sinhl_compat.c: Likewise.
27718 * math/w_sqrt_compat.c: Likewise.
27719 * math/w_sqrtf_compat.c: Likewise.
27720 * math/w_sqrtl_compat.c: Likewise.
27721 * math/w_tgamma_compat.c: Likewise.
27722 * math/w_tgammaf_compat.c: Likewise.
27723 * math/w_tgammal_compat.c: Likewise.
27724 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
27725 [LIBM_SVID_COMPAT].
27726 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
27727 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
27728 [LIBM_SVID_COMPAT].
27729 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
27730 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
27731 [LIBM_SVID_COMPAT].
27732 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
27733 * sysdeps/i386/fpu/w_sqrt.c: New file.
27734 * sysdeps/ia64/fpu/w_acos.c: Likewise.
27735 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
27736 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
27737 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
27738 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
27739 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
27740 * sysdeps/ia64/fpu/w_asin.c: Likewise.
27741 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
27742 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
27743 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
27744 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
27745 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
27746 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
27747 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
27748 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
27749 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
27750 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
27751 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
27752 * sysdeps/ia64/fpu/w_exp.c: Likewise.
27753 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
27754 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
27755 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
27756 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
27757 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
27758 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
27759 * sysdeps/ia64/fpu/w_expf.c: Likewise.
27760 * sysdeps/ia64/fpu/w_expl.c: Likewise.
27761 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
27762 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
27763 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
27764 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
27765 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
27766 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
27767 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
27768 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
27769 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
27770 * sysdeps/ia64/fpu/w_log.c: Likewise.
27771 * sysdeps/ia64/fpu/w_log10.c: Likewise.
27772 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
27773 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
27774 * sysdeps/ia64/fpu/w_log2.c: Likewise.
27775 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
27776 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
27777 * sysdeps/ia64/fpu/w_logf.c: Likewise.
27778 * sysdeps/ia64/fpu/w_logl.c: Likewise.
27779 * sysdeps/ia64/fpu/w_pow.c: Likewise.
27780 * sysdeps/ia64/fpu/w_powf.c: Likewise.
27781 * sysdeps/ia64/fpu/w_powl.c: Likewise.
27782 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
27783 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
27784 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
27785 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
27786 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
27787 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
27788 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
27789 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
27790 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
27791 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
27792 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
27793 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
27794 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
27795 [LIBM_SVID_COMPAT].
27796 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
27797 * sysdeps/ieee754/k_standard.c: Likewise.
27798 * sysdeps/ieee754/k_standardf.c: Likewise.
27799 * sysdeps/ieee754/k_standardl.c: Likewise.
27800 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
27801 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
27802 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
27803 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
27804 long_double_symbol call on [LIBM_SVID_COMPAT].
27805 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27806 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27807 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27808 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27809 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27810 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27811 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27812 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27813 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27814 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27815 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27816 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27817 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27818 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27819 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27820 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27821 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
27822 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27823 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27824 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27825 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
27826 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
27828 2017-09-05 Steve Ellcey <sellcey@cavium.com>
27830 * include/shlib-compat.h (TEST_COMPAT): New Macro.
27831 * malloc/tst-mallocstate.c: Convert from test-skeleton
27832 to test-driver. Ifdef code using TEST_COMPAT macro.
27833 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
27834 * math/test-matherr.c: Likewise.
27836 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27839 * debug/pcprofiledump.c (main): Use byte-swapped mask when
27840 comparing word with byte-swapped constant.
27842 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
27845 * locale/iso-639.def: add Miskito.
27846 * localedata/SUPPORTED: Add miq_NI/UTF-8.
27847 * localedata/locales/miq_NI: New file.
27849 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
27852 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
27853 (__mkdir): Likewise.
27854 * io/chmod.c (__chmod): Add libc_hidden_def.
27855 * io/mkdir.c (__mkdir): Likewise.
27856 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
27857 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
27858 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
27859 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
27861 2017-09-04 Joseph Myers <joseph@codesourcery.com>
27863 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27867 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
27868 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
27870 2017-09-04 Florian Weimer <fweimer@redhat.com>
27872 * math/math.h: Issue warning if log is defined.
27874 2017-09-04 Joseph Myers <joseph@codesourcery.com>
27876 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
27877 kernel version to 4.13.
27879 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27881 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
27882 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
27884 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
27885 just <bits/types.h>.
27886 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
27887 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
27888 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
27889 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
27890 * misc/preadv2.c: Include <errno.h>.
27891 * misc/preadv64v2.c: Include <errno.h>.
27892 * misc/pwritev2.c: Include <errno.h>.
27893 * misc/pwritev64v2.c: Include <errno.h>.
27894 * sysdeps/posix/preadv2.c: Include <errno.h>.
27895 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
27896 Fix <unistd.h> inclusion.
27897 * sysdeps/posix/pwritev2.c: Include <errno.h>.
27898 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
27899 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
27900 __strtoul_internal): New functions.
27901 * sysdeps/posix/pause.c: Include <sigsetops.h>.
27902 * sysdeps/posix/system.c: Include <sigsetops.h>.
27903 * sysdeps/mach/hurd/i386/Makefile
27904 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
27905 [$(subdir) = csu] (sysdep-only-routines): Likewise.
27906 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
27907 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
27908 __feraiseexcept_renamed to feraiseexcept instead of
27909 __GI_feraiseexcept.
27910 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
27911 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
27912 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
27913 RWF_NOWAIT): Define to 0 if undefined already.
27914 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
27916 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
27917 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
27919 2017-09-01 Joseph Myers <joseph@codesourcery.com>
27921 * manual/math.texi (pow10): Do not document.
27922 (pow10f): Likewise.
27923 (pow10l): Likewise.
27924 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
27925 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
27926 * math/libm-test-exp10.inc (pow10_test): Remove.
27927 (do_test): Do not call pow10.
27928 * math/w_exp10_compat.c (pow10): Make into compat symbol.
27929 [NO_LONG_DOUBLE] (pow10l): Likewise.
27930 * math/w_exp10f_compat.c (pow10f): Likewise.
27931 * math/w_exp10l_compat.c (pow10l): Likewise.
27932 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
27933 (pow10): Make into compat symbol.
27934 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
27935 (pow10f): Make into compat symbol.
27936 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
27937 (pow10l): Make into compat symbol.
27938 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
27940 (CFLAGS-nldbl-pow10.c): Remove variable..
27941 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
27942 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
27943 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
27944 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
27945 Undefine and redefine.
27946 (pow10l): Make into compat symbol.
27947 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
27948 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
27949 * sysdeps/arm/libm-test-ulps: Likewise.
27950 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
27951 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27952 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27953 * sysdeps/microblaze/libm-test-ulps: Likewise.
27954 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
27955 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27956 * sysdeps/nios2/libm-test-ulps: Likewise.
27957 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27958 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
27959 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27960 * sysdeps/sh/libm-test-ulps: Likewise.
27961 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27962 * sysdeps/tile/libm-test-ulps: Likewise.
27963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27965 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
27967 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
27969 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27971 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
27972 "../ChangeLog.old/ChangeLog.8".
27973 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
27974 "../ChangeLog.old/ChangeLog.14".
27976 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27978 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
27981 2017-09-01 Joseph Myers <joseph@codesourcery.com>
27983 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
27985 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27987 * csu/version.c (banner): Remove "by Roland McGrath et al.".
27988 * nptl/Banner: Remove "by Ulrich Drepper et al.".
27990 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
27992 * stdlib/tst-atexit-common.c (do_test): Test support for at least
27993 32 atexit handlers.
27995 2017-09-01 Zack Weinberg <zackw@panix.com>
27997 * math/math.h (HUGE_VAL): Improve commentary.
27999 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28000 Andreas Schwab <schwab@suse.de>
28003 * include/stdio.h (__gen_tempfd): New function.
28004 * stdio-common/Makefile (routines): Add gentempfd.
28005 * stdio-common/gentempfd.c: New file.
28006 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
28007 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
28008 unnamed file first.
28010 2017-09-01 Florian Weimer <fweimer@redhat.com>
28014 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
28015 result to determine success or failure, not the errno value.
28016 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
28017 (tst-nss-files-hosts-erange): Link with -ldl.
28018 * nss/tst-nss-files-hosts-erange.c: New file.
28019 * nss/tst-resolv-basic.c (response): Handle nodata.example.
28020 (do_test): Add NO_DATA tests.
28021 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
28022 (do_test): Call it.
28024 2017-09-01 Florian Weimer <fweimer@redhat.com>
28027 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
28028 coming from gethostbyname2_r.
28030 2017-09-01 Florian Weimer <fweimer@redhat.com>
28032 * support/namespace.h (struct support_chroot_configuration): Add
28034 (struct support_chroot): Add path_hosts, path_host_conf.
28035 * support/support_chroot.c (write_file): New function.
28036 (support_chroot_create): Call it to process /etc/resolv.conf,
28037 /etc/hosts, /etc/host.conf.
28038 (support_chroot_free): Update.
28040 2017-09-01 Florian Weimer <fweimer@redhat.com>
28042 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
28043 status indicates it is set.
28045 2017-09-01 Florian Weimer <fweimer@redhat.com>
28048 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
28049 function lookup failures more reliable.
28051 2017-09-01 Florian Weimer <fweimer@redhat.com>
28053 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
28054 (getcanonname): Likewise.
28055 (gaih_inet): Likewise.
28057 2017-09-01 Florian Weimer <fweimer@redhat.com>
28059 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
28060 (getcanonname): Likewise.
28061 (gaih_inet): Likewise.
28063 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28064 Richard Henderson <rth@twiddle.net>
28066 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
28067 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
28068 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
28069 (IREG_SIZE, OREG_SIZE): New macros.
28070 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
28071 (IREG_SIZE, OREG_SIZE): New macros.
28072 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
28073 (IREG_SIZE): New macro.
28074 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
28075 (IREG_SIZE): New macro.
28076 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
28078 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
28079 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28080 (__CONCATX): Handle exceptions correctly on large values that may
28082 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
28083 Initialize if not already set.
28084 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28086 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28088 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
28089 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
28091 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
28093 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
28095 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
28097 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
28099 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
28101 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
28103 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
28104 (NO_CANCELLATION): Likewise.
28105 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
28107 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
28109 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
28111 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
28112 (NO_CANCELLATION): Likewise.
28113 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
28114 (NO_CANCELLATION): Likewise.
28115 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
28117 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
28119 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
28121 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
28123 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
28125 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
28126 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
28128 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28130 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
28133 2017-08-31 Florian Weimer <fweimer@redhat.com>
28135 * include/libc-symbols.h (internal_function): Remove.
28137 2017-08-31 Florian Weimer <fweimer@redhat.com>
28139 * stdlib/fmtmsg.c (internal_addseverity): Remove
28142 2017-08-31 Florian Weimer <fweimer@redhat.com>
28144 * stdio-common/printf_fp.c (group_number): Remove
28146 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
28148 2017-08-31 Florian Weimer <fweimer@redhat.com>
28150 * posix/fnmatch.c (internal_function): Remove definition.
28151 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
28152 * posix/regcomp.c (peek_token, init_word_char)
28153 (duplicate_node_closure, fetch_token, peek_token)
28154 (peek_token_bracket, build_range_exp, build_collating_symbol):
28156 * posix/regex_internal.c (re_string_construct_common)
28157 (create_ci_newstate, create_cd_newstate, re_string_allocate)
28158 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
28159 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
28160 (re_string_translate_buffer, re_string_reconstruct)
28161 (re_string_peek_byte_case, re_string_fetch_byte_case)
28162 (re_string_destruct, re_string_context_at, re_node_set_alloc)
28163 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
28164 (re_node_set_add_intersect, re_node_set_init_union)
28165 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
28166 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
28167 (re_dfa_add_node, calc_state_hash, re_acquire_state)
28168 (re_acquire_state_context): Likewise.
28169 * posix/regex_internal.h (internal_function): Remove definition.
28170 (re_string_realloc_buffers, build_wcs_buffer)
28171 (build_wcs_upper_buffer, build_upper_buffer)
28172 (re_string_translate_buffer, re_string_context_at)
28173 (re_string_char_size_at, re_string_wchar_at)
28174 (re_string_elem_size_at): Likewise.
28175 * posix/regexec.c (match_ctx_init, match_ctx_clean)
28176 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
28177 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
28178 (re_search_internal, re_search_2_stub, re_search_stub)
28179 (re_copy_regs, prune_impossible_nodes, check_matching)
28180 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
28181 (free_fail_stack_return, sift_states_iter_mb)
28182 (sift_states_backward, build_sifted_states)
28183 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
28184 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
28185 (check_subexp_limits, sift_states_bkref, merge_state_array)
28186 (find_recover_state, transit_state, merge_state_with_log)
28187 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
28188 (transit_state_mb, transit_state_bkref, get_subexp)
28189 (get_subexp_sub, find_subexp_node, check_arrival)
28190 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
28191 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
28192 (check_node_accept_bytes, find_collation_sequence_value)
28193 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
28194 (acquire_init_state_context, check_halt_node_context)
28195 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
28196 (sub_epsilon_src_nodes): Likewise.
28197 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
28198 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
28199 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
28200 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
28201 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
28202 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
28203 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
28204 * sysdeps/posix/ttyname.c (getttyname): Likewise.
28205 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
28206 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
28207 (PREADV): Likewise.
28208 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
28209 (PREADV): Likewise.
28210 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
28211 (PWRITEV): Likewise.
28212 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
28213 (PWRITEV): Likewise.
28214 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
28215 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28217 2017-08-31 Florian Weimer <fweimer@redhat.com>
28219 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
28220 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
28221 Remove internal_function.
28222 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28223 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
28224 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
28225 (__deallocate_stack, __libc_pthread_init)
28226 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
28227 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
28228 (__libc_disable_asynccancel, __librt_disable_asynccancel):
28230 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
28231 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
28232 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
28234 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
28235 (__pthread_mutex_unlock_usercnt): Likewise.
28237 2017-08-31 Florian Weimer <fweimer@redhat.com>
28239 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
28240 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
28241 (fts_safe_changedir): Remove internal_function.
28242 * io/ftw.c (internal_function): Remove definition.
28243 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
28245 2017-08-31 Florian Weimer <fweimer@redhat.com>
28247 * inet/deadline.c (__deadline_current_time)
28248 (__deadline_from_timeval, __deadline_to_ms): Remove
28250 * inet/getnameinfo.c (nrl_domainname): Likewise.
28251 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
28252 * inet/inet6_option.c (add_pad): Likewise.
28253 * inet/net-internal.h (__deadline_current_time)
28254 (__deadline_from_timeval, __deadline_to_ms): Likewise.
28255 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
28256 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
28257 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
28259 2017-08-31 Joseph Myers <joseph@codesourcery.com>
28261 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
28262 include <bits/nan.h>.
28263 * math/Makefile (headers): Remove bits/nan.h.
28264 * bits/nan.h: Remove.
28265 * sysdeps/ieee754/bits/nan.h: Likewise.
28266 * sysdeps/mips/bits/nan.h: Likewise.
28268 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
28269 not include <bits/inf.h>.
28270 * math/Makefile (headers): Remove bits/inf.h.
28271 * bits/inf.h: Remove.
28272 * sysdeps/ieee754/bits/inf.h: Likewise.
28274 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
28275 bits/huge_vall.h or bits/huge_val_flt128.h.
28276 (HUGE_VAL): Define directly here.
28277 [__USE_ISOC99] (HUGE_VALF): Likewise.
28278 [__USE_ISOC99] (HUGE_VALL): Likewise.
28279 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28280 (HUGE_VAL_F128): Likewise.
28281 * math/Makefile (headers): Remove bits/huge_val.h,
28282 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
28283 * bits/huge_val.h: Remove.
28284 * bits/huge_val_flt128.h: Likewise.
28285 * bits/huge_valf.h: Likewise.
28286 * bits/huge_vall.h: Likewise.
28287 * sysdeps/ia64/bits/huge_vall.h: Likewise.
28288 * sysdeps/ieee754/bits/huge_val.h: Likewise.
28289 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
28290 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
28291 * sysdeps/sh/bits/huge_val.h: Likewise.
28292 * sysdeps/sparc/bits/huge_vall.h: Likewise.
28293 * sysdeps/x86/bits/huge_vall.h: Likewise.
28295 2017-08-31 Florian Weimer <fweimer@redhat.com>
28297 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
28299 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
28301 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
28302 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
28303 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
28304 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
28305 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28306 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
28307 * elf/dl-libc.c (dlerror_run): Likewise.
28308 * elf/dl-load.c (add_name_to_object, decompose_rpath)
28309 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
28310 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
28311 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
28313 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
28314 (_dl_higher_prime_number, _dl_strtoul): Likewise.
28315 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
28316 * elf/dl-profile.c (_dl_start_profile): Likewise.
28317 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
28318 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
28320 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
28321 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
28322 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
28323 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
28324 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
28325 (_dl_allocate_tls_storage): Likewise.
28326 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
28327 (_dl_check_all_versions): Likewise.
28328 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
28329 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
28330 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
28331 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28332 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
28333 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
28334 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
28335 internal_function from __dl_start.
28336 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
28337 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
28338 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
28339 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
28340 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
28341 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
28342 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
28343 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
28344 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
28345 (_dl_next_ld_env_entry, _dl_important_hwcaps)
28346 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
28347 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
28348 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
28349 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
28350 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
28352 (struct rtld_global_ro): Remove internal_function from the
28353 _dl_lookup_symbol_x member.
28354 (_dl_symbol_value): Remove. No longer defined anywhere.
28355 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
28357 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28358 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28359 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
28360 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
28361 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
28362 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
28363 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
28364 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
28365 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
28366 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
28367 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28368 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28370 2017-08-31 Florian Weimer <fweimer@redhat.com>
28372 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
28373 Remove internal_function.
28374 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28376 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28379 2017-08-31 Florian Weimer <fweimer@redhat.com>
28381 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
28382 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
28383 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
28385 2017-08-31 Florian Weimer <fweimer@redhat.com>
28387 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
28388 (__gai_enqueue_request): Remove internal_function.
28389 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
28390 (__gai_remove_request, __gai_notify, __gai_notify_only)
28391 (__gai_sigqueue): Likewise.
28392 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
28393 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28394 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
28395 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28398 2017-08-31 Florian Weimer <fweimer@redhat.com>
28400 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
28401 * include/dirent.h (__opendirat, __getdents, __getdents64)
28402 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
28403 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
28404 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
28405 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28407 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
28409 2017-08-31 Florian Weimer <fweimer@redhat.com>
28411 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
28413 (GETCWD_RETURN_TYPE): Likewise.
28415 2017-08-31 Florian Weimer <fweimer@redhat.com>
28417 * include/time.h (__tz_compute, __strptime_internal): Remove
28419 * time/strptime_l.c (__strptime_internal): Likewise.
28420 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
28422 2017-08-31 Florian Weimer <fweimer@redhat.com>
28424 * iconv/gconv.c (__gconv): Remove internal_function.
28425 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
28426 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
28427 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
28428 (__gconv_release_cache): Likewise.
28429 * iconv/gconv_close.c (__gconv_close): Likewise.
28430 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
28431 (read_conf_file, __gconv_get_path): Likewise.
28432 * iconv/gconv_db.c (derivation_lookup, add_derivation)
28433 (__gconv_release_step, gen_steps, increment_counter)
28434 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
28435 (__gconv_close_transform, free_modules_db): Likewise.
28436 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
28438 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
28439 (__gconv_find_transform, __gconv_lookup_cache)
28440 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
28441 (__gconv_close_transform, __gconv_release_cache)
28442 (__gconv_loaded_object, __gconv_release_shlib)
28443 (__gconv_compare_alias): Likewise.
28444 * iconv/gconv_open.c (__gconv_open): Likewise.
28445 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
28446 * iconv/iconvconfig.c (add_module): Likewise.
28447 * intl/dcigettext.c (plural_lookup, guess_category_value)
28448 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
28449 * intl/eval-plural.h (plural_eval): Likewise.
28450 * intl/finddomain.c (_nl_find_domain): Likewise.
28451 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
28452 (_nl_load_domain, _nl_find_msg): Likewise.
28453 (internal_function): Remove definition.
28454 * intl/loadinfo.h (internal_function): Likewise.
28455 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
28457 * intl/localealias.c (internal_function): Remove definition.
28458 (read_alias_file): Remove internal_function.
28459 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
28460 * intl/plural-exp.h (internal_function): Remove definition.
28461 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
28463 * intl/plural.c: Regenerate.
28464 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
28465 * locale/coll-lookup.c (__collidx_table_lookup)
28466 (__collseq_table_lookup): Likewise.
28467 * locale/coll-lookup.h (__collidx_table_lookup)
28468 (__collseq_table_lookup): Likewise.
28469 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
28470 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
28471 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
28472 (_nl_unload_locale): Likewise.
28473 * locale/localeinfo.h (struct __locale_data): Remove
28474 internal_function from cleanup member.
28475 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
28476 (_nl_remove_locale, _nl_load_locale_from_archive)
28477 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
28478 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
28479 (_nl_cleanup_time): Remove internal_function.
28480 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
28481 (_nl_parse_alt_digit): Likewise.
28482 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
28483 (_nl_select_era_entry): Likewise.
28484 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
28485 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28486 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28487 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28488 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28490 2017-08-31 Florian Weimer <fweimer@redhat.com>
28492 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
28493 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28494 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
28495 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
28497 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
28498 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
28499 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
28500 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
28502 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
28504 2017-08-31 Florian Weimer <fweimer@redhat.com>
28506 * misc/getttyent.c (skip, value): Remove internal_function.
28507 * misc/syslog.c (openlog_internal): Likewise.
28508 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
28510 2017-08-31 Florian Weimer <fweimer@redhat.com>
28512 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
28513 (__nss_rewrite_field): Remove internal_function.
28514 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
28515 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
28516 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
28517 * nss/nsswitch.c (nss_parse_file, nss_getline)
28518 (nss_parse_service_list, nss_new_service): Likewise.
28519 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
28520 * nss/valid_field.c (__nss_valid_field): Likewise.
28521 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
28523 2017-08-31 Florian Weimer <fweimer@redhat.com>
28525 * malloc/arena.c (__malloc_fork_lock_parent)
28526 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
28527 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
28528 internal_function from defintions.
28529 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
28530 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
28531 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
28532 internal_function from declarations.
28533 * malloc/malloc.c (internal_function): Do not define.
28534 (mem2mem_check): Remove internal_function from declaration.
28535 (munmap_chunk, mremap_chunk): Remove internal_function.
28536 * malloc/mtrace.c (tr_where): Likewise.
28538 2017-08-31 Florian Weimer <fweimer@redhat.com>
28540 * include/rpc/pmap_clnt.h (__get_socket): Remove
28542 * sunrpc/auth_des.c (synchronize): Likewise.
28543 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
28544 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
28545 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
28546 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
28547 (key_call): Likewise.
28548 * sunrpc/pm_getport.c (__get_socket): Likewise.
28549 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
28550 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
28551 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
28552 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
28553 (invalidate): Likewise.
28554 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
28555 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
28556 (set_input_fragment, get_input_bytes): Likewise.
28558 2017-08-31 Florian Weimer <fweimer@redhat.com>
28560 * malloc/malloc.c (_int_free): Remove locked variable and related
28563 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
28566 * Makerules (build-module-helper-objlist): Filter out
28567 $(elf-objpfx)sofini.os.
28568 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
28571 2017-08-31 Florian Weimer <fweimer@redhat.com>
28573 * libio/fcloseall.c: Assume weak_alias is defined.
28574 * libio/feof.c: Likewise.
28575 * libio/fileno.c: Likewise.
28576 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
28577 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28579 (_IO_file_open): Call __open directly.
28580 (_IO_new_file_sync): Assume ESPIPE is defined.
28581 (_IO_file_seekoff_maybe_mmap): Call __read directly.
28582 (_IO_new_file_write): Call __write directly.
28583 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
28584 * libio/ftello64.c (__ftello64): Assume EIO is defined.
28585 * libio/genops.c: Assume _LIBC is defined.
28586 (save_for_backup): Remove internal_function.
28587 * libio/getc.c: Assume weak_alias is defined.
28588 * libio/getwc.c: Likewise.
28589 * libio/iofclose.c: Assume _LIBC is defined.
28590 * libio/iofdopen.c: Likewise.
28591 (_IO_fcntl): Remove macro definition.
28592 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
28593 Call __fcntl directly.
28594 * libio/iofflush.c: Assume weak_alias is defined.
28595 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
28597 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
28598 * libio/iofgets.c: Likewise.
28599 * libio/iofopen.c: Assume _LIBC is defined.
28600 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
28601 * libio/iofputs.c: Assume weak_alias is defined.
28602 * libio/iofread.c: Likewise.
28603 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
28604 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28605 * libio/ioftell.c: Assume weak_alias is defined.
28606 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
28607 * libio/iofwide.c: Assume _LIBC is defined.
28608 (_IO_fwide): Drop SHARED conditional because it is implied by
28610 * libio/iofwrite.c: Assume weak_alias is defined.
28611 * libio/iogetdelim.c: Likewise.
28612 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
28613 * libio/iogetwline.c (wmemcpy): Remove macro definition.
28614 (_IO_getwline): Call __wmemcpy directly.
28615 * libio/iopopen.c: Assume _LIBC is defined.
28616 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28617 (_IO_close): Remove macro definitions.
28618 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
28620 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
28622 * libio/ioputs.c: Assume weak_alias is defined.
28623 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
28624 * libio/iosetbuffer.c: Assume weak_alias is defined.
28625 * libio/iosetvbuf.c: Likewise.
28626 * libio/ioungetc.c: Likewise.
28627 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
28628 libc_hidden_def, libc_hidden_weak, NULL are defined.
28629 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
28630 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
28632 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28634 (_IO_old_file_init_internal): Drop SHARED conditional because it
28635 is implied by SHLIB_COMPAT.
28636 (_IO_old_file_fopen): Call __open directly.
28637 (_IO_old_file_sync): Assume ESPIPE is defined.
28638 (_IO_old_file_write): Call __write directly.
28639 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
28640 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
28641 Call __fcntl directly.
28642 * libio/oldiofgetpos.c: Assume weak_alias is defined.
28643 (_IO_old_fgetpos): Assume EIO is defined.
28644 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
28645 (_IO_old_fgetpos64): Assume EIO is defined.
28646 * libio/oldiofsetpos.c: Assume weak_alias is defined.
28647 (_IO_old_fsetpos): Assume EIO is defined.
28648 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
28649 (_IO_old_fsetpos64): Assume EIO is defined.
28650 * libio/oldiopopen.c: Assume _LIBC is defined.
28651 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28652 (_IO_close): Remove macro definitions.
28653 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
28655 (_IO_old_proc_close): Call __close, __waitpid directly.
28656 * libio/put.c: Assume weak_alias is defined.
28657 * libio/stdfiles.c: Assume _LIBC is defined.
28658 * libio/stdio.c: Likewise.
28659 * libio/wfileops.c: Likewise.
28660 (_IO_wfile_sync): Assume ESPIPE is defined.
28661 * libio/wgenops.c: Assume _LIBC is defined.
28662 (save_for_wbackup): Remove internal_function.
28664 2017-08-31 Florian Weimer <fweimer@redhat.com>
28666 * malloc/malloc.c (top_check): Change return type to void. Remove
28668 * malloc/hooks.c (top_check): Likewise.
28669 (malloc_check, realloc_check, memalign_check): Adjust.
28671 2017-08-30 Joseph Myers <joseph@codesourcery.com>
28674 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28675 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
28676 sigcontext and namespace requirements.
28677 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28678 * sysdeps/m68k/sys/ucontext.h: Likewise.
28679 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
28680 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
28681 <bits/sigcontext.h>.
28682 (__ctx): Define earlier.
28683 (mcontext_t): Define structure contents rather than using struct
28685 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
28686 __glibc_reserved1 instead of __reserved.
28687 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
28688 <bits/sigcontext.h>.
28689 (__ctx): Define earlier.
28690 (mcontext_t): Define structure contents rather than using struct
28692 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
28693 mcontext_t instead of struct sigcontext.
28694 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
28695 <bits/sigcontext.h>.
28696 (__ctx): Define earlier.
28697 (mcontext_t): Define structure contents rather than using struct
28699 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
28700 <bits/sigcontext.h>.
28701 (__ctx): Define earlier.
28702 (mcontext_t): Define structure contents rather than using struct
28704 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
28705 mcontext_t instead of struct sigcontext.
28706 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
28707 mcontext_t instead of struct sigcontext.
28708 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
28709 <bits/sigcontext.h>.
28710 (__ctx): New macro.
28711 (struct __ia64_fpreg_mcontext): New type.
28712 (mcontext_t): Define structure contents rather than using struct
28714 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
28715 (uc_sigmask): Define using __ctx.
28716 (uc_stack): Likewise.
28717 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
28718 <bits/sigcontext.h>.
28719 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28720 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
28721 <bits/sigcontext.h>.
28722 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
28723 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
28724 <bits/sigcontext.h>.
28725 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
28726 <bits/sigcontext.h>.
28727 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
28728 <bits/sigcontext.h>.
28729 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
28730 <bits/sigcontext.h>.
28731 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
28732 <bits/sigcontext.h>.
28733 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
28734 <bits/sigcontext.h>.
28735 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
28736 <bits/sigcontext.h>.
28737 (__ctx): Define earlier.
28738 (mcontext_t): Define structure contents rather than using struct
28740 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
28741 <bits/sigcontext.h>. Include <bits/types.h>.
28742 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
28743 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
28744 (test-xfail-XPG42/ucontext.h/conform): Likewise.
28745 (test-xfail-UNIX98/signal.h/conform): Likewise.
28746 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
28747 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
28748 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
28749 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
28750 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
28751 (test-xfail-POSIX2008/signal.h/conform): Likewise.
28752 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
28753 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
28754 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
28756 2017-08-30 Florian Weimer <fweimer@redhat.com>
28758 * malloc/dynarray_emplace_enlarge.c
28759 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
28760 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
28761 * malloc/tst-dynarray.c (test_long_overflow): New function.
28762 (do_test): Call it.
28764 2017-08-30 Florian Weimer <fweimer@redhat.com>
28766 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
28767 (set_arena_corrupt): Remove definitions.
28768 (mtrim): Do not check for corrupt arena.
28769 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
28772 2017-08-30 Florian Weimer <fweimer@redhat.com>
28775 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
28777 (ptmalloc_init): Do not set or use check_action.
28778 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
28779 call to malloc_printerr. Remove return statement.
28780 (free_check): Likewise. Remove arena unlock.
28781 (top_check): Update comment. Adjust call to malloc_printerr.
28782 Remove heap repair code.
28783 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
28784 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
28785 (sysmalloc): Adjust call to malloc_printerr.
28786 (munmap_chunk, __libc_realloc): Likewise. Remove return
28788 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
28789 Remove errout label and corresponding gotos.
28790 (_int_free): Likewise. Remove arena unlock.
28791 (do_set_mallopt_check): Do not set check_action.
28792 (malloc_printerr): Adjust parameter list. Do not mark arena as
28794 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
28796 * manual/probes.texi (Memory Allocation Probes): Remove
28797 memory_mallopt_check_action.
28799 2017-08-30 Steve Ellcey <sellcey@cavium.com>
28801 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
28802 Use pointer to uint64_t instead of long int for sp.
28804 2017-08-30 Florian Weimer <fweimer@redhat.com>
28807 * malloc/malloc.c (malloc_printerr): Always terminate the process,
28808 without printing a backtrace. Do not leak any information in the
28810 * manual/memory.texi (Heap Consistency Checking): Update.
28811 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
28813 2017-08-30 Florian Weimer <fweimer@redhat.com>
28815 Do not scale NPTL tests with available number of CPUs.
28816 * nptl/tst-cond16.c (count): Set to constant value of 8.
28817 * nptl/tst-cond18.c (count): Likewise.
28819 2017-08-29 Joseph Myers <joseph@codesourcery.com>
28822 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
28823 Define to take a second argument that is a macro that
28824 concatentates a suffix, not the suffix itself.
28825 (__CONCAT_d): New macro.
28826 (__CONCAT_f): Likewise.
28827 (__CONCAT_l): Likewise.
28829 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
28831 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
28834 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28835 Aurelien Jarno <aurelien@aurel32.net>
28836 Maciej W. Rozycki <macro@imgtec.com>
28839 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
28840 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
28841 `mips16-syscall6' and `mips16-syscall7'.
28842 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
28843 (CFLAGS-mips16-syscall7.c): Remove.
28844 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
28845 Remove `__mips16_syscall5', `__mips16_syscall6' and
28846 `__mips16_syscall7'.
28847 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
28848 (__mips16_syscall0): Rename `__mips16_syscall_return' to
28849 `__mips_syscall_return'.
28850 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
28851 (__mips16_syscall1): Likewise.
28852 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
28853 (__mips16_syscall2): Likewise.
28854 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
28855 (__mips16_syscall3): Likewise.
28856 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
28857 (__mips16_syscall4): Likewise.
28858 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
28860 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
28862 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
28864 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
28865 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
28866 `__mips16_syscall5'. Remove prototype.
28867 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
28868 `__mips16_syscall6'. Remove prototype.
28869 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
28870 `__mips16_syscall7'. Remove prototype.
28871 (__nomips16, __mips16_syscall_return): Move to...
28872 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
28873 (__nomips16, __mips_syscall_return): ... here.
28874 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
28875 `__mips16_syscall_return' to `__mips_syscall_return'.
28876 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
28877 `internal_syscall##nr'.
28878 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
28879 `internal_syscall##nr'.
28880 (FORCE_FRAME_POINTER): Remove.
28881 (__mips_syscall5): New prototype.
28882 (internal_syscall5): Rewrite to call `__mips_syscall5'.
28883 (__mips_syscall6): New prototype.
28884 (internal_syscall6): Rewrite to call `__mips_syscall6'.
28885 (__mips_syscall7): New prototype.
28886 (internal_syscall7): Rewrite to call `__mips_syscall7'.
28887 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
28888 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
28889 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
28890 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
28891 (sysdep_routines): Add libc-do-syscall.
28892 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
28893 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
28895 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28898 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
28899 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
28900 (advise_stack_range): New function.
28901 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
28902 stack non required to advise_stack_range at allocatestack.c
28904 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28906 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
28908 2017-08-29 Florian Weimer <fweimer@redhat.com>
28911 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
28912 __end_fct. Mangle __end_fct after setting it to NULL.
28913 * iconv/Makefile (tests): Add tst-gconv-init-failure.
28914 (modules-names, modules-names-tests): Add
28915 tst-gconv-init-failure-mod.
28916 (gconv-modules): New target.
28917 (tst-gconv-init-failure-mod.so): Link against libsupport.
28918 (tst-gconv-init-failure): Depend on gconv-modules,
28919 tst-gconv-init-failure-mod.so.
28920 * iconv/tst-gconv-init-failure-mod.c: New file.
28921 * iconv/tst-gconv-init-failure.c: Likewise.
28922 * iconv/test-gconv-modules: Likewise.
28924 2017-08-29 Florian Weimer <fweimer@redhat.com>
28927 * iconv/gconv_db.c (free_derivation): Remove redundant
28929 (gen_steps): Unconditionally mangle __btowc_fct after
28931 (increment_counter): Likewise. Do not call init_fct for internal
28934 2017-08-29 Joseph Myers <joseph@codesourcery.com>
28937 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
28938 (_MSUF_): Remove macro.
28939 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
28941 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
28942 (__REDIRFROM_X): New macro.
28943 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
28945 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
28946 (__REDIRTO_X): Likewise.
28947 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
28949 (__MATH_REDIRCALL_2): Likewise.
28950 (__MATH_REDIRCALL_INTERNAL): Likewise.
28951 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
28952 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
28953 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
28954 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
28955 * math/test-finite-macros.c: New file.
28956 * math/Makefile (tests): Add test-finite-macros.
28957 (CFLAGS-test-finite-macros.c): New variable.
28959 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
28960 Jeff Law <law@redhat.com>
28963 Mangle NULL pointers in iconv/gconv.
28964 * iconv/gconv_cache.c (find_module): Demangle init_fct before
28965 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
28966 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
28967 is non-NULL before demangling the end_fct. Check for NULL
28968 end_fct after demangling.
28969 (__gconv_release_step): Demangle the end_fct before checking
28970 it for NULL. Remove assert on __shlibc_handle != NULL.
28971 (gen_steps): Don't check btowc_fct for NULL before mangling.
28972 Demangle init_fct before checking for NULL.
28973 (increment_counter): Likewise.
28974 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
28975 end_fct for NULL before mangling.
28976 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
28979 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
28982 * locale/iso-639.def: add Morisyen.
28984 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28987 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
28988 (iszero): New C++ implementation that does not use
28989 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
28990 signaling nans are enabled, since __builtin_types_compatible_p
28991 is a C-only feature.
28992 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
28993 defined, include ieee754_float128.h for access to the union and
28994 member ieee854_float128.ieee.
28995 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
28996 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
28997 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
28998 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
28999 options of test-math-zero on powerpc64le.
29001 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
29003 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29004 Change double to float.
29006 2017-08-28 Joseph Myers <joseph@codesourcery.com>
29008 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
29010 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
29011 conditional code; define contents only for [LIBM_SVID_COMPAT].
29013 2017-08-28 Florian Weimer <fweimer@redhat.com>
29015 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
29016 (abi-lp64_be-options): Remove.
29017 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
29018 (abi-hard-options): Likewise.
29019 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
29020 (abi-o32_hard-options, abi-o32_soft_2008-options)
29021 (abi-o32_hard_2008-options, abi-n32_soft-options)
29022 (abi-n32_hard-options, abi-n32_soft_2008-options)
29023 (abi-n32_hard_2008-options, abi-n64_soft-options)
29024 (abi-n64_hard-options, abi-n64_soft_2008-options)
29025 (abi-n64_hard_2008-options): Likewise.
29026 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
29027 (abi-64-v1-options, abi-64-v2-options): Likewise.
29028 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
29029 (abi-64-options): Likewise.
29030 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
29031 (abi-64-options): Likewise.
29032 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
29033 (abi-64-options): Likewise.
29034 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
29035 (abi-64-options, abi-x32-options): Likewise.
29037 2017-08-28 Florian Weimer <fweimer@redhat.com>
29039 Store supported list of SYS_* system calls in the source tree.
29040 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
29041 (bits/syscall.h): Generate from list file.
29042 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
29043 [$(subdir) = misc] (tests): Add tst-syscall-list.
29044 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
29045 [$(subdir) = misc] (tst-syscall-list-macros.list)
29046 [$(subdir) = misc] (tst-syscall-list-nr.list)
29047 (tst-syscall-list-sys.list): Helper targets for new
29048 tst-syscall-list test.
29049 [$(subdir) = misc] (tst-syscall-list.out): Run test script
29050 tst-syscall-list.sh.
29051 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
29052 target. Do not include bits/syscall.d.
29053 [$(subdir) = misc] (generated): Do not update.
29054 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
29055 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
29056 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
29057 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
29059 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
29061 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
29062 (tst-cxa_atexit, tst-on_exit): Likewise.
29063 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
29064 tst-cxa_atexit, and tst-on_exit.
29065 * stdlib/tst-atexit-common.c: New file.
29066 * stdlib/tst-atexit.c: New file.
29067 * stdlib/tst-at_quick_exit.c: New file.
29068 * stdlib/tst-cxa_atexit.c: New file.
29069 * stdlib/tst-on_exit.c: New file.
29071 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29073 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
29074 * mach/stack_chk_fail_local.c: New file.
29075 * hurd/stack_chk_fail_local.c: New file.
29076 * mach/Machrules ($(interface-library)-routines): Add
29077 stack_chk_fail_local.
29078 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
29079 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
29080 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
29081 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
29082 * hurd/Makefile (CFLAGS-hurdstartup.o,
29083 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
29085 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
29087 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
29088 (index_cpu_*, index_arch_*): Removed.
29090 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29092 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
29093 Use uint64_t instead of unsigned long.
29095 2017-08-25 Joseph Myers <joseph@codesourcery.com>
29097 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
29098 [__HAVE_DISTINCT_FLOAT128].
29100 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
29101 of <bits/math-finite.h>.
29102 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
29103 inclusion of <bits/math-finite.h>.
29104 * math/bits/math-finite.h (__REDIRTO_X): Do not define
29105 conditionally on [__MATH_DECLARING_LDOUBLE && defined
29106 __NO_LONG_DOUBLE_MATH].
29107 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
29108 (__MATH_REDIRCALL_2): Likewise.
29109 (__MATH_REDIRCALL_INTERNAL): Likewise.
29110 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29111 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
29112 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
29116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
29118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
29120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
29122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
29124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
29126 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29127 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29128 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29129 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
29131 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
29132 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
29133 w_sqrtf_compat-ppc32.
29135 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29137 * math/math.h [defined __cplusplus] (issignaling): In the long
29138 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
29139 is not defined. Call __issignaling, otherwise.
29141 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29143 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
29144 syscall definitions and replace __builtin_expect with __glibc_likely.
29145 * sysdeps/unix/syscall-template.S: Update comment about cancellable
29147 (SYSCALL_CANCELLABLE): Removedefinition
29148 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
29150 (PSEUDO_END): Likewise.
29151 [IS_IN (libpthread)] (CENABLE): Likewise.
29152 [IS_IN (libpthread)] (CDISABLE): Likewise.
29153 [IS_IN (libc)] (CENABLE): Likewise.
29154 [IS_IN (libc)] (CENABLE): Likewise.
29155 [IS_IN (librt)] (CDISABLE): Likewise.
29156 [IS_IN (librt)] (CDISABLE): Likewise.
29157 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29158 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
29160 (PSEUDO_END): Likewise.
29161 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
29162 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
29163 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29164 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29165 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29166 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29167 (CENABLE): Likewise.
29168 (CDISABLE): Likewise.
29169 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29170 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
29172 (PSEUDO_END): Likewise.
29173 [IS_IN (libpthread)] (CENABLE): Likewise.
29174 [IS_IN (libpthread)] (CDISABLE): Likewise.
29175 [IS_IN (libc)] (CENABLE): Likewise.
29176 [IS_IN (libc)] (CENABLE): Likewise.
29177 [IS_IN (librt)] (CDISABLE): Likewise.
29178 [IS_IN (librt)] (CDISABLE): Likewise.
29179 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29180 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
29182 (PSEUDO_END): Likewise.
29183 [IS_IN (libpthread)] (CENABLE): Likewise.
29184 [IS_IN (libpthread)] (CDISABLE): Likewise.
29185 [IS_IN (libc)] (CENABLE): Likewise.
29186 [IS_IN (libc)] (CENABLE): Likewise.
29187 [IS_IN (librt)] (CDISABLE): Likewise.
29188 [IS_IN (librt)] (CDISABLE): Likewise.
29189 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29190 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
29192 (PSEUDO_END): Likewise.
29193 [IS_IN (libpthread)] (CENABLE): Likewise.
29194 [IS_IN (libpthread)] (CDISABLE): Likewise.
29195 [IS_IN (libc)] (CENABLE): Likewise.
29196 [IS_IN (libc)] (CENABLE): Likewise.
29197 [IS_IN (librt)] (CDISABLE): Likewise.
29198 [IS_IN (librt)] (CDISABLE): Likewise.
29199 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29200 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
29202 (PSEUDO_END): Likewise.
29203 [IS_IN (libpthread)] (CENABLE): Likewise.
29204 [IS_IN (libpthread)] (CDISABLE): Likewise.
29205 [IS_IN (libc)] (CENABLE): Likewise.
29206 [IS_IN (libc)] (CENABLE): Likewise.
29207 [IS_IN (librt)] (CDISABLE): Likewise.
29208 [IS_IN (librt)] (CDISABLE): Likewise.
29209 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29210 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
29212 (PSEUDO_END): Likewise.
29213 [IS_IN (libpthread)] (CENABLE): Likewise.
29214 [IS_IN (libpthread)] (CDISABLE): Likewise.
29215 [IS_IN (libc)] (CENABLE): Likewise.
29216 [IS_IN (libc)] (CENABLE): Likewise.
29217 [IS_IN (librt)] (CDISABLE): Likewise.
29218 [IS_IN (librt)] (CDISABLE): Likewise.
29219 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29220 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
29222 (PSEUDO_END): Likewise.
29223 [IS_IN (libpthread)] (CENABLE): Likewise.
29224 [IS_IN (libpthread)] (CDISABLE): Likewise.
29225 [IS_IN (libc)] (CENABLE): Likewise.
29226 [IS_IN (libc)] (CENABLE): Likewise.
29227 [IS_IN (librt)] (CDISABLE): Likewise.
29228 [IS_IN (librt)] (CDISABLE): Likewise.
29229 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29230 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
29232 (PSEUDO_END): Likewise.
29233 [IS_IN (libpthread)] (CENABLE): Likewise.
29234 [IS_IN (libpthread)] (CDISABLE): Likewise.
29235 [IS_IN (libc)] (CENABLE): Likewise.
29236 [IS_IN (libc)] (CENABLE): Likewise.
29237 [IS_IN (librt)] (CDISABLE): Likewise.
29238 [IS_IN (librt)] (CDISABLE): Likewise.
29239 (SINGLE_THREAD_P): Likewise.
29240 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
29242 (PSEUDO_END): Likewise.
29243 [IS_IN (libpthread)] (CENABLE): Likewise.
29244 [IS_IN (libpthread)] (CDISABLE): Likewise.
29245 [IS_IN (libc)] (CENABLE): Likewise.
29246 [IS_IN (libc)] (CENABLE): Likewise.
29247 [IS_IN (librt)] (CDISABLE): Likewise.
29248 [IS_IN (librt)] (CDISABLE): Likewise.
29249 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29250 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
29252 (PSEUDO_END): Likewise.
29253 [IS_IN (libpthread)] (CENABLE): Likewise.
29254 [IS_IN (libpthread)] (CDISABLE): Likewise.
29255 [IS_IN (libc)] (CENABLE): Likewise.
29256 [IS_IN (libc)] (CENABLE): Likewise.
29257 [IS_IN (librt)] (CDISABLE): Likewise.
29258 [IS_IN (librt)] (CDISABLE): Likewise.
29259 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29260 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
29261 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29262 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
29263 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
29265 (PSEUDO_END): Likewise.
29266 [IS_IN (libpthread)] (CENABLE): Likewise.
29267 [IS_IN (libpthread)] (CDISABLE): Likewise.
29268 [IS_IN (libc)] (CENABLE): Likewise.
29269 [IS_IN (libc)] (CENABLE): Likewise.
29270 [IS_IN (librt)] (CDISABLE): Likewise.
29271 [IS_IN (librt)] (CDISABLE): Likewise.
29272 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29273 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
29275 (PSEUDO_END): Likewise.
29276 [IS_IN (libpthread)] (CENABLE): Likewise.
29277 [IS_IN (libpthread)] (CDISABLE): Likewise.
29278 [IS_IN (libc)] (CENABLE): Likewise.
29279 [IS_IN (libc)] (CENABLE): Likewise.
29280 [IS_IN (librt)] (CDISABLE): Likewise.
29281 [IS_IN (librt)] (CDISABLE): Likewise.
29282 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29283 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
29285 (PSEUDO_END): Likewise.
29286 [IS_IN (libpthread)] (CENABLE): Likewise.
29287 [IS_IN (libpthread)] (CDISABLE): Likewise.
29288 [IS_IN (libc)] (CENABLE): Likewise.
29289 [IS_IN (libc)] (CENABLE): Likewise.
29290 [IS_IN (librt)] (CDISABLE): Likewise.
29291 [IS_IN (librt)] (CDISABLE): Likewise.
29292 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29293 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
29294 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29295 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
29296 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
29298 (PSEUDO_END): Likewise.
29299 [IS_IN (libpthread)] (CENABLE): Likewise.
29300 [IS_IN (libpthread)] (CDISABLE): Likewise.
29301 [IS_IN (libc)] (CENABLE): Likewise.
29302 [IS_IN (libc)] (CENABLE): Likewise.
29303 [IS_IN (librt)] (CDISABLE): Likewise.
29304 [IS_IN (librt)] (CDISABLE): Likewise.
29305 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29306 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
29308 (PSEUDO_END): Likewise.
29309 [IS_IN (libpthread)] (CENABLE): Likewise.
29310 [IS_IN (libpthread)] (CDISABLE): Likewise.
29311 [IS_IN (libc)] (CENABLE): Likewise.
29312 [IS_IN (libc)] (CENABLE): Likewise.
29313 [IS_IN (librt)] (CDISABLE): Likewise.
29314 [IS_IN (librt)] (CDISABLE): Likewise.
29315 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29317 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
29319 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
29321 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29323 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29325 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29328 * string/stratcliff.c (do_test): Declare size, nchars, inner,
29329 middle and outer with size_t instead of int. Repleace %d and
29330 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
29331 "MAX (outer, nchars - 64)" to support unsigned outer and
29332 nchars. Also exit loop when outer == 0.
29334 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29336 * include/fcntl.h (__fcntl_nocancel): Remove definition.
29337 * include/signal.h (__sigsuspend_nocancel): Likewise.
29338 * include/time.h (__nanosleep_nocancel): Likewise.
29339 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
29340 * login/utmp_file.c: Include non cancellable syscall header.
29341 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
29344 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29346 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
29347 .byte sequences with AVX512F instructions.
29348 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
29349 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
29350 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
29351 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
29353 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29356 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
29357 Steve Ellcey <sellcey@cavium.com>
29359 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
29360 Use PTR_REG macro in cmp instruction.
29362 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29364 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
29365 Change the return type of the ifunc resolver to match the return
29366 type of the target function.
29368 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29370 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
29371 (preadv64): Likewise.
29372 (pwrite64(: Likewise.
29373 (pwritev64): Likewise.
29375 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
29376 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
29377 (LOAD_ARGS_0): Likewise.
29378 (LOAD_ARGS_1): Likewise.
29379 (LOAD_ARGS_2): Likewise.
29380 (LOAD_ARGS_3): Likewise.
29381 (LOAD_ARGS_4): Likewise.
29382 (LOAD_ARGS_5): Likewise.
29383 (LOAD_ARGS_6): Likewise.
29384 (LOAD_REGS_0): Likewise.
29385 (LOAD_REGS_1): Likewise.
29386 (LOAD_REGS_2): Likewise.
29387 (LOAD_REGS_3): Likewise.
29388 (LOAD_REGS_4): Likewise.
29389 (LOAD_REGS_5): Likewise.
29390 (LOAD_REGS_6): Likewise.
29391 (ASM_ARGS_0): Likewise.
29392 (ASM_ARGS_1): Likewise.
29393 (ASM_ARGS_2): Likewise.
29394 (ASM_ARGS_3): Likewise.
29395 (ASM_ARGS_4): Likewise.
29396 (ASM_ARGS_5): Likewise.
29397 (ASM_ARGS_6): Likewise.
29398 (LOAD_ARGS_TYPES_1): Likewise.
29399 (LOAD_ARGS_TYPES_2): Likewise.
29400 (LOAD_ARGS_TYPES_3): Likewise.
29401 (LOAD_ARGS_TYPES_4): Likewise.
29402 (LOAD_ARGS_TYPES_5): Likewise.
29403 (LOAD_ARGS_TYPES_6): Likewise.
29404 (LOAD_REGS_TYPES_1): Likewise.
29405 (LOAD_REGS_TYPES_2): Likewise.
29406 (LOAD_REGS_TYPES_3): Likewise.
29407 (LOAD_REGS_TYPES_4): Likewise.
29408 (LOAD_REGS_TYPES_5): Likewise.
29409 (LOAD_REGS_TYPES_6): Likewise.
29410 (TYPEFY): New define.
29411 (ARGIFY): Likewise.
29412 (internal_syscall0): Likewise.
29413 (internal_syscall1): Likewise.
29414 (internal_syscall2): Likewise.
29415 (internal_syscall3): Likewise.
29416 (internal_syscall4): Likewise.
29417 (internal_syscall5): Likewise.
29418 (internal_syscall6): Likewise.
29419 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
29420 (INTERNAL_SYSCALL_NCS): Remove define.
29421 (internal_syscall1): Add define.
29423 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29425 * math/w_remainder_compat.c: Remove duplicate inclusion of
29426 math-svid-compat.h.
29427 * math/w_remainderf_compat.c: Likewise.
29428 * math/w_remainderl_compat.c: Likewise.
29430 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29434 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29437 * math/tgmath.h (__floating_type): Simplify definitions.
29438 (__real_integer_type): New macro.
29439 (__complex_integer_type): Likewise.
29440 (__expr_is_real): Likewise.
29441 (__tgmath_real_type_sub): Update comment to describe handling of
29443 (__tgmath_complex_type_sub): New macro.
29444 (__tgmath_complex_type): Likewise.
29445 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29446 (__TGMATH_CF128): Use __expr_is_real.
29447 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
29449 (__TGMATH_BINARY_REAL_IMAG): Likewise.
29450 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
29451 * math/gen-tgmath-tests.py (Type.create_type): Create complex
29454 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29456 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
29458 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
29460 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
29463 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
29464 nanosleep_not_cancel with __nanosleep_nocancel.
29465 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
29466 (__nanosleep_nocancel): New macro.
29467 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
29469 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
29471 (__nanosleep_nocancel): New prototype.
29473 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
29474 pause_not_cancel with __pause_nocancel.
29475 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
29476 (__pause_nocancel): New macro.
29477 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
29479 (__pause_nocancel): New prototype.
29480 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
29482 2017-08-22 Martin Sebor <msebor@redhat.com>
29484 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
29485 to return a pointer to the same type as the target function.
29487 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29491 * include/printf.h (__printf_fphex): Add attribute_hidden.
29492 (__guess_grouping): New prototype.
29493 * stdio-common/printf_fp.c (__guess_grouping): Removed.
29494 * stdio-common/reg-printf.c (__register_printf_specifier): Add
29495 libc_hidden_proto and libc_hidden_def.
29496 * stdlib/strfmon_l.c (__guess_grouping): Removed.
29497 (__vstrfmon_l): Remove the third argument passed to
29500 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29502 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
29503 definition for issignaling that does not rely on __MATH_TG,
29504 since __MATH_TG uses __builtin_types_compatible_p, which is only
29505 available in C mode.
29506 (CFLAGS-test-math-issignaling.cc): New variable.
29507 * math/Makefile [CXX] (tests): Add test-math-issignaling.
29508 * math/test-math-issignaling.cc: New test for C++ implementation
29509 of type-generic issignaling.
29510 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29511 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
29512 options of test-math-issignaling on powerpc64le.
29514 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29516 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29518 (hidden_proto): Likewise.
29519 (hidden_tls_proto): Likewise.
29520 (__hidden_proto): Likewise.
29522 2017-08-22 Florian Weimer <fweimer@redhat.com>
29524 math: Statically link tests of internal functionality.
29525 * math/Makefile (tests): Remove atest-exp, atest-sincos,
29527 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
29528 (gmp-objs): Remove assignment.
29529 (atest-exp, atest-sincos, atest-exp2): Remove targets.
29531 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29534 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
29536 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
29538 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
29541 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
29542 variable definitions above inclusion of ../Rules.
29544 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29546 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
29547 case calling __builtin_unreachable.
29549 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29551 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
29552 __waitpid_nocancel.
29553 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
29554 (__waitpid_nocancel): New macro.
29555 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
29557 (__waitpid_nocancel): Replace macro with a function.
29558 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
29561 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
29563 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
29564 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
29566 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
29567 __writev_nocancel_nostatus.
29568 (write_call_graph): Likewise.
29569 (write_bb_counts): Likewise.
29570 * resolv/herror.c (herror): Likewise.
29571 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
29573 (__writev_nocancel_nostatus): New macro.
29574 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
29576 (__writev_nocancel_nostatus): New function.
29578 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29581 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29583 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29585 (hidden_proto): Likewise.
29586 (hidden_tls_proto): Likewise.
29587 (__hidden_proto): Likewise.
29590 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
29591 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
29596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
29600 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
29601 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29602 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29603 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29604 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29605 GLIBC_2.0 sqrtl symbol.
29607 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
29608 [__USE_MISC] (_LIB_VERSION): Likewise.
29609 [__USE_MISC] (struct exception): Likewise.
29610 [__USE_MISC] (matherr): Likewise.
29611 [__USE_MISC] (DOMAIN): Likewise.
29612 [__USE_MISC] (SING): Likewise.
29613 [__USE_MISC] (OVERFLOW): Likewise.
29614 [__USE_MISC] (UNDERFLOW): Likewise.
29615 [__USE_MISC] (TLOSS): Likewise.
29616 [__USE_MISC] (PLOSS): Likewise.
29617 [__USE_MISC] (HUGE): Likewise.
29618 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
29619 * math/math-svid-compat.h: New file.
29620 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
29622 * include/math.h [!_ISOMAC] (__matherr): Remove.
29623 * manual/arith.texi (FP Exceptions): Do not document matherr.
29624 * math/Makefile (tests): Change test-matherr to test-matherr-3.
29625 (tests-internal): New variable.
29626 (install-lib): Do not add libieee.a.
29627 (non-lib.a): Likewise.
29628 (extra-objs): Do not add libieee.a and ieee-math.o.
29629 (CPPFLAGS-s_lib_version.c): Remove variable.
29630 ($(objpfx)libieee.a): Remove rule.
29631 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
29632 * math/ieee-math.c: Remove.
29633 * math/libm-test-support.c (matherr): Remove.
29634 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
29635 and license notices. Include <math-svid-compat.h> and
29637 (matherr): Undefine as macro. Use compat_symbol_reference.
29638 (_LIB_VERSION): Likewise.
29639 * math/test-matherr-2.c: New file.
29640 * math/test-matherr-3.c: Likewise.
29641 * sysdeps/generic/math_private.h (__kernel_standard): Remove
29643 (__kernel_standard_f): Likewise.
29644 (__kernel_standard_l): Likewise.
29645 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
29646 <math_private.h>. Include <math-svid-compat.h>.
29647 (_LIB_VERSION): Undefine as macro.
29648 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
29649 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
29650 [LIBM_SVID_COMPAT], use compat_symbol.
29651 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
29652 <math_private.h>. Include <math-svid-compat.h>.
29653 (matherr): Undefine as macro.
29654 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
29656 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
29657 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
29658 compat_symbol_reference.
29659 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
29660 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
29661 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
29662 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
29663 (MATHERR_D): Remove declaration.
29664 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
29665 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
29666 [LIBM_BUILD] (pmatherrf): Likewise.
29667 [LIBM_BUILD] (pmatherr): Likewise.
29668 [LIBM_BUILD] (pmatherrl): Likewise.
29669 (DOMAIN): Likewise.
29671 (OVERFLOW): Likewise.
29672 (UNDERFLOW): Likewise.
29675 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
29676 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
29678 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
29679 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
29681 * math/lgamma-compat.h: Include <math-svid-compat.h>.
29682 * math/w_acos_compat.c: Likewise.
29683 * math/w_acosf_compat.c: Likewise.
29684 * math/w_acosh_compat.c: Likewise.
29685 * math/w_acoshf_compat.c: Likewise.
29686 * math/w_acoshl_compat.c: Likewise.
29687 * math/w_acosl_compat.c: Likewise.
29688 * math/w_asin_compat.c: Likewise.
29689 * math/w_asinf_compat.c: Likewise.
29690 * math/w_asinl_compat.c: Likewise.
29691 * math/w_atan2_compat.c: Likewise.
29692 * math/w_atan2f_compat.c: Likewise.
29693 * math/w_atan2l_compat.c: Likewise.
29694 * math/w_atanh_compat.c: Likewise.
29695 * math/w_atanhf_compat.c: Likewise.
29696 * math/w_atanhl_compat.c: Likewise.
29697 * math/w_cosh_compat.c: Likewise.
29698 * math/w_coshf_compat.c: Likewise.
29699 * math/w_coshl_compat.c: Likewise.
29700 * math/w_exp10_compat.c: Likewise.
29701 * math/w_exp10f_compat.c: Likewise.
29702 * math/w_exp10l_compat.c: Likewise.
29703 * math/w_exp2_compat.c: Likewise.
29704 * math/w_exp2f_compat.c: Likewise.
29705 * math/w_exp2l_compat.c: Likewise.
29706 * math/w_fmod_compat.c: Likewise.
29707 * math/w_fmodf_compat.c: Likewise.
29708 * math/w_fmodl_compat.c: Likewise.
29709 * math/w_hypot_compat.c: Likewise.
29710 * math/w_hypotf_compat.c: Likewise.
29711 * math/w_hypotl_compat.c: Likewise.
29712 * math/w_j0_compat.c: Likewise.
29713 * math/w_j0f_compat.c: Likewise.
29714 * math/w_j0l_compat.c: Likewise.
29715 * math/w_j1_compat.c: Likewise.
29716 * math/w_j1f_compat.c: Likewise.
29717 * math/w_j1l_compat.c: Likewise.
29718 * math/w_jn_compat.c: Likewise.
29719 * math/w_jnf_compat.c: Likewise.
29720 * math/w_jnl_compat.c: Likewise.
29721 * math/w_lgamma_main.c: Likewise.
29722 * math/w_lgamma_r_compat.c: Likewise.
29723 * math/w_lgammaf_main.c: Likewise.
29724 * math/w_lgammaf_r_compat.c: Likewise.
29725 * math/w_lgammal_main.c: Likewise.
29726 * math/w_lgammal_r_compat.c: Likewise.
29727 * math/w_log10_compat.c: Likewise.
29728 * math/w_log10f_compat.c: Likewise.
29729 * math/w_log10l_compat.c: Likewise.
29730 * math/w_log2_compat.c: Likewise.
29731 * math/w_log2f_compat.c: Likewise.
29732 * math/w_log2l_compat.c: Likewise.
29733 * math/w_log_compat.c: Likewise.
29734 * math/w_logf_compat.c: Likewise.
29735 * math/w_logl_compat.c: Likewise.
29736 * math/w_pow_compat.c: Likewise.
29737 * math/w_powf_compat.c: Likewise.
29738 * math/w_powl_compat.c: Likewise.
29739 * math/w_remainder_compat.c: Likewise.
29740 * math/w_remainderf_compat.c: Likewise.
29741 * math/w_remainderl_compat.c: Likewise.
29742 * math/w_scalb_compat.c: Likewise.
29743 * math/w_scalbf_compat.c: Likewise.
29744 * math/w_scalbl_compat.c: Likewise.
29745 * math/w_sinh_compat.c: Likewise.
29746 * math/w_sinhf_compat.c: Likewise.
29747 * math/w_sinhl_compat.c: Likewise.
29748 * math/w_sqrt_compat.c: Likewise.
29749 * math/w_sqrtf_compat.c: Likewise.
29750 * math/w_sqrtl_compat.c: Likewise.
29751 * math/w_tgamma_compat.c: Likewise.
29752 * math/w_tgammaf_compat.c: Likewise.
29753 * math/w_tgammal_compat.c: Likewise.
29754 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
29755 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29756 * sysdeps/ieee754/k_standard.c: Likewise.
29757 * sysdeps/ieee754/k_standardf.c: Likewise.
29758 * sysdeps/ieee754/k_standardl.c: Likewise.
29759 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29760 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29761 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29762 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29763 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29764 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29765 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29766 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
29767 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29772 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
29773 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29774 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29775 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29777 2017-08-21 Florian Weimer <fweimer@redhat.com>
29780 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
29781 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
29782 Move before inclusion of ../Rules.
29784 2017-08-21 Florian Weimer <fweimer@redhat.com>
29787 * assert/assert.h (assert): Use static_cast (bool) for C++.
29788 Use the ternary operator in the warning branch for GNU C.
29789 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
29790 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
29791 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
29792 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
29793 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
29795 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29798 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29799 (__syscall_clock_gettime): Add attribute_hidden.
29800 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
29801 (__start_context): Likewise.
29803 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29805 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29807 (hidden_proto): Likewise.
29808 (hidden_tls_proto): Likewise.
29809 (__hidden_proto): Likewise.
29811 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29813 * include/libc-symbols.h (attribute_hidden): Enable hidden
29814 visibility in libc.a compiled with PIE.
29816 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29819 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
29820 Add attribute_hidden.
29822 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29825 * Makerules (all-nonlib): Add $(others-extras).
29826 * catgets/Makefile (others-extras): New.
29827 * elf/Makefile (others-extras): Likewise.
29828 * nss/Makefile (others-extras): Likewise.
29830 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29833 * csu/libc-start.c (__libc_multiple_libcs): Removed.
29834 * elf/dl-open.c: Include <libc-internal.h>.
29835 (__libc_multiple_libcs): Removed.
29836 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
29838 * include/libc-internal.h (__libc_multiple_libcs): New.
29839 * misc/sbrk.c: Include <libc-internal.h>.
29840 (__libc_multiple_libcs): Removed.
29842 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29845 * grp/initgroups.c (__nss_group_database): Removed.
29846 (__nss_initgroups_database): Likewise.
29847 * nscd/gai.c (__nss_hosts_database): Likewise.
29848 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
29849 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
29850 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
29851 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
29852 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
29853 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
29855 * nss/nsswitch.c (__nss_database_custom): Define only if
29856 USE_NSCD is defined.
29857 (__nss_configure_lookup): Use __nss_database_custom only if
29858 USE_NSCD is defined.
29859 * nss/nsswitch.h (__nss_database_custom): Declare only if
29860 USE_NSCD is defined. Add attribute_hidden.
29861 (__nss_setent): Add attribute_hidden.
29862 (__nss_endent): Likewise.
29863 (__nss_getent_r): Likewise.
29864 (__nss_getent): Likewise.
29865 (DEFINE_DATABASE): Declare __nss_##arg##_database.
29867 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29870 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
29871 libc_hidden_proto and libc_hidden_def.
29873 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29876 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
29877 Add libc_hidden_proto.
29878 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
29879 Add libc_hidden_def.
29881 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29884 * gmon/Makefile (routines): Remove bb_init_func and
29886 (elide-routines.os): Removed.
29887 * gmon/bb_exit_func.c: Likewise.
29888 * gmon/bb_init_func.c: Likewise.
29889 * include/sys/gmon.h (__bb): Likewise.
29890 (__bb_init_func): Likewise.
29891 (__bb_exit_func): Likewise.
29892 * sysdeps/alpha/bb_init_func.S: Likewise.
29894 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29896 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
29897 * include/setjmp.h (____longjmp_chk): Here. Add
29900 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
29903 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
29905 (__strspn_sse2): Likewise.
29907 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29909 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
29910 (close_not_cancel_no_status): Likewise.
29911 (__close_nocancel): New macro.
29912 (__close_nocancel_nostatus): Likewise.
29913 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
29915 (close_not_cancel): Likewise.
29916 (close_not_cancel_no_status): Likewise.
29917 (__close_nocancel): New prototype.
29918 (__close_nocancel_nostatus): New function.
29919 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
29920 * catgets/open_catalog.c (__open_catalog): Replace
29921 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
29922 * gmon/gmon.c (write_gmon): Likewise.
29923 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
29924 * intl/loadmsgcat.c (close): Likewise.
29925 * io/ftw.c (open_dir_stream): Likewise.
29926 (ftw_startup): Likewise.
29927 * libio/fileops.c (_IO_file_open): Likewise.
29928 (_IO_file_close_mmap): Likewise.
29929 (_IO_file_close): Likewise.
29930 * libio/iopopen.c (_IO_dup2): Likewise.
29931 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29932 * locale/loadlocale.c (_nl_load_locale): Likewise.
29933 * login/utmp_file.c (pututline_file): Likewise.
29934 (endutent_file): Likewise.
29935 * misc/daemon.c (daemon): Likewise.
29936 * nscd/nscd_getai.c (__nscd_getai): Likewise.
29937 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29938 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29939 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29940 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29941 * nscd/nscd_helper.c (open_socket): Likewise.
29942 (__nscd_open_socket): Likewise.
29943 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
29944 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
29945 (__nscd_innetgr): Likewise.
29946 * nss/nss_db/db-open.c (internal_setent): Likewise.
29947 * resolv/res-close.c (__res_iclose): Likewise.
29948 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
29949 * sysdeps/posix/closedir.c (__closedir): Likewise.
29950 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
29951 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29952 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
29953 (opendir_tail): Likewise.
29954 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29955 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
29956 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
29957 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29958 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29959 (gethostid): Likewise.
29960 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29961 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29963 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29964 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
29965 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29966 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29968 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
29969 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
29970 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29972 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
29973 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29975 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29977 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
29978 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29979 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29982 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
29983 (openat_not_cancel_3): Likewise.
29984 (openat64_not_cancel_3): Likewise).
29985 (openat_not_cancel_3): Likewise).
29986 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
29988 (openat_not_cancel_3): Likewise.
29989 (openat64_not_cancel): Likewise.
29990 (openat64_not_cancel_3): Likewise.
29991 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
29992 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
29993 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
29994 __open{64}_nocancel.
29995 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29996 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29997 * sysdeps/posix/opendir.c (__opendirat): Likewise.
29999 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30002 * include/argz.h (__argz_create_sep): New function prototype.
30003 (__argz_append): Likewise.
30004 (__argz_add): Likewise.
30005 (__argz_add_sep): Likewise.
30006 (__argz_delete): Likewise.
30007 (__argz_insert): Likewise.
30008 (__argz_replace): Likewise.
30009 * string/argz.h (__argz_create_sep): Removed.
30010 (__argz_append): Likewise.
30011 (__argz_add): Likewise.
30012 (__argz_add_sep): Likewise.
30013 (__argz_delete): Likewise.
30014 (__argz_insert): Likewise.
30015 (__argz_replace): Likewise.
30017 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30019 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
30020 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
30021 (GNU_PROPERTY_STACK_SIZE): Likewie.
30022 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
30023 (GNU_PROPERTY_LOPROC): Likewise.
30024 (GNU_PROPERTY_HIPROC): Likewise.
30025 (GNU_PROPERTY_LOUSER): Likewise.
30026 (GNU_PROPERTY_HIUSER): Likewise.
30027 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
30028 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
30029 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
30030 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
30031 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
30032 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
30033 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
30034 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
30035 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
30036 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
30037 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
30038 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
30039 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
30040 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
30041 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
30042 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
30043 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
30044 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
30045 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
30046 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
30047 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
30048 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
30049 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
30051 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30053 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
30056 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30059 * math/math.h (isinf): Check if in C or C++ mode before using
30060 __builtin_types_compatible_p, since this is a C mode feature.
30062 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30064 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
30065 (__write_nocancel): New macro.
30066 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
30067 Rewrite as a function prototype.
30068 (write_not_cancel): Remove macro.
30069 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
30070 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
30071 (write_gmon): Likewise.
30072 * libio/fileops.c (_IO_new_file_write): Likewise.
30073 * login/utmp_file.c (pututline_file): Likewise.
30074 (updwtmp_file): Likewise.
30075 * stdio-common/psiginfo.c (psiginfo): Likewise.
30076 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30077 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30078 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30080 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30083 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
30084 (__read_nocancel): New macro.
30085 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30087 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
30089 (__read_nocancel): New prototype.
30090 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
30091 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
30092 with __read_nocancel.
30093 * intl/loadmsgcat.c (read): Likewise.
30094 * libio/fileops.c (_IO_file_read): Likewise.
30095 * locale/loadlocale.c (_nl_load_locale): Likewise.
30096 * login/utmp_file.c (getutent_r_file): Likewise.
30097 (internal_getut_r): Likewise.
30098 (getutline_r_file): Likewise.
30099 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30100 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30101 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30102 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30104 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
30105 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30106 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30108 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30110 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30112 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30114 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30116 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30119 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
30120 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
30123 2017-08-17 DJ Delorie <dj@redhat.com>
30125 * bug17079.c: Update to new test harness.
30126 * test-digits-dots.c: Likewise.
30127 * test-netdb.c: Likewise.
30128 * tst-field.c: Likewise.
30129 * tst-nss-getpwent.c: Likewise.
30130 * tst-nss-static.c: Likewise.
30131 * tst-nss-test1.c: Likewise.
30132 * tst-nss-test2.c: Likewise.
30133 * tst-nss-test3.c: Likewise.
30134 * tst-nss-test4.c: Likewise.
30135 * tst-nss-test5.c: Likewise.
30137 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30139 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
30140 (open_not_cancel_2): Likewise.
30141 (open_nocancel): New macro.
30142 (open64_nocancel): Likewise.
30143 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
30144 (open_not_cancel_2): Likewise.
30145 (__open_nocancel): New prototype.
30146 (__open64_nocancel): Likewise.
30147 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30149 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
30150 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
30151 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
30152 with __open_nocancel.
30153 * csu/check_fds.c (check_one_fd): Likewise.
30154 * gmon/gmon.c (write_gmon): Likewise.
30155 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
30156 * intl/loadmsgcat.c (open): Likewise.
30157 * libio/fileops.c (_IO_file_open): Likewise.
30158 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30159 * locale/loadlocale.c (_nl_load_locale): Likewise.
30160 * login/utmp_file.c (setutent_file): Likewise.
30161 * misc/daemon.c (daemon): Likewise.
30162 * nss/nss_db/db-open.c (internal_setent): Likewise.
30163 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30164 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
30165 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30166 (__opendir): Likewise.
30167 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30168 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30169 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30170 (gethostid): Likewise.
30171 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30172 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30174 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30175 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
30176 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30177 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30179 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30181 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30183 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
30185 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30187 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30189 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30190 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30192 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
30194 * benchtests/bench-skeleton.c (main): Add support for
30195 latency benchmarking.
30196 * benchtests/scripts/bench.py: Add support for latency benchmarking.
30198 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
30200 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
30201 the startup object.
30203 2017-08-17 Florian Weimer <fweimer@redhat.com>
30205 * include/sys/socket.h (__opensock): Remove internal_function.
30206 * socket/opensock.c (__opensock): Likewise.
30207 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
30209 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30212 * signal/bits/types/__sigval_t.h: New file.
30213 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
30214 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
30215 and define sigval_t using __sigval_t.
30216 * include/bits/types/__sigval_t.h: New file.
30217 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
30218 instead of <bits/types/__sigval_t.h>.
30219 (struct sigevent): Use __sigval_t instead of sigval_t.
30220 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
30221 instead of <bits/types/__sigval_t.h>.
30222 (siginfo_t): Use __sigval_t instead of sigval_t.
30223 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
30224 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30225 (struct sigevent): Use __sigval_t instead of sigval_t.
30226 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
30227 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30228 (siginfo_t): Use __sigval_t instead of sigval_t.
30229 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
30231 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30233 * NEWS: Remove "[Add new features here]" for 2.27.
30235 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30237 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
30240 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30242 * NEWS: Mention x86-64 FMA optimization.
30244 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30247 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30249 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
30250 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
30251 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
30253 2017-08-16 Andreas Schwab <schwab@suse.de>
30257 * elf/ldd.bash.in: Never run file directly.
30259 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
30262 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
30263 (L(SP_INF_0)): Likewise.
30265 2017-08-15 Florian Weimer <fweimer@redhat.com>
30267 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
30270 2017-08-15 Florian Weimer <fweimer@redhat.com>
30272 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
30273 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
30274 BROKEN_THREAD_SIGNALS code.
30275 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
30276 request_list): Remove caller_pid member used for
30277 BROKEN_THREAD_SIGNALS.
30278 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
30279 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30280 Remove BROKEN_THREAD_SIGNALS support.
30281 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
30282 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
30284 2017-08-15 Florian Weimer <fweimer@redhat.com>
30286 * gmon/Makefile (tests): Add tst-gmon.
30287 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
30289 (tests-special): Add tst-gmon-prof.out.
30290 (tst-gmon.out): Depend on clean-tst-gmon-data.
30291 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
30292 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
30293 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
30295 * aclocal.m4 (GPROF): Set and substitute.
30296 * config.amke.in (GPROF): Set.
30297 * configure: Regenerate.
30299 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
30301 * elf/elf.h A (NT_PPC_TAR): New macro.
30302 (NT_PPC_PPR): Likewise.
30303 (NT_PPC_DSCR): Likewise.
30304 (NT_PPC_EBB): Likewise.
30305 (NT_PPC_PMU): Likewise.
30306 (NT_PPC_TM_CGPR): Likewise.
30307 (NT_PPC_TM_CFPR): Likewise.
30308 (NT_PPC_TM_CVMX): Likewise.
30309 (NT_PPC_TM_CVSX): Likewise.
30310 (NT_PPC_TM_SPR): Likewise.
30311 (NT_PPC_TM_CTAR): Likewise.
30312 (NT_PPC_TM_CPPR): Likewise.
30313 (NT_PPC_TM_CDSCR): Likewise.
30315 2017-08-15 Florian Weimer <fweimer@redhat.com>
30317 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
30318 regparm (2) instead of internal_function.
30319 (_MCOUNT_DECL): Adjust.
30321 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
30323 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
30324 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
30326 2017-08-14 Joseph Myers <joseph@codesourcery.com>
30328 * conform/data/sys/wait.h-data (si_value): Do not expect for
30331 2017-08-14 Florian Weimer <fweimer@redhat.com>
30334 NSS: Create stubs for accidentally exported lookup functions.
30335 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
30336 Remove declaration.
30337 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
30338 (ether_hostton): Call __nss_ethers_lookup2 instead.
30339 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
30340 (ether_ntohost): Call __nss_ethers_lookup2 instead.
30341 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
30342 (setup): Call __nss_netgroup_lookup2 instead.
30343 * nss/Makefile (routines): Add compat-lookup.
30344 * nss/Versions (GLIBC_2.27): Add symbol version.
30345 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
30346 (DB_COMPAT_FCT): Remove.
30347 * nss/compat-lookup.c: New file.
30348 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
30349 from databases.def.
30350 * nss/service-lookup.c (NO_COMPAT): Remove definition.
30351 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
30352 (netname2user): Call __nss_publickey_lookup2 instead.
30353 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
30354 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
30357 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30358 Sergei Trofimovich <slyfox@inbox.ru>
30361 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
30362 Rename to MMAP2_PAGE_UNIT.
30363 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
30364 __OFF_T_MATCHES_OFF64_T is not defined.
30365 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
30367 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
30368 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
30370 2017-08-14 Florian Weimer <fweimer@redhat.com>
30372 i386: Do not set internal_function.
30373 * config.h.in (USE_REGPARMS, internal_function): Remove.
30374 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
30375 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
30377 2017-08-14 Florian Weimer <fweimer@redhat.com>
30379 * elf/dl-init.c (_dl_init): Remove internal_function.
30380 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
30381 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
30383 2017-08-14 Florian Weimer <fweimer@redhat.com>
30385 * elf/rtld.c (_dl_start): Remove internal_function.
30386 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
30389 2017-08-14 Florian Weimer <fweimer@redhat.com>
30391 * elf/dl-fini.c (_dl_fini): Remove internal_function
30392 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30394 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
30396 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
30397 (bit_cpu_SHSTK): Likewise.
30398 (index_cpu_IBT): Likewise.
30399 (index_cpu_SHSTK): Likewise.
30400 (reg_IBT): Likewise.
30401 (reg_SHSTK): Likewise.
30402 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30403 Handle index_cpu_IBT and index_cpu_SHSTK.
30405 2017-08-14 Mike FABIAN <mfabian@redhat.com>
30408 * po/fr.po: Fix spelling mistake.
30410 2017-08-13 Florian Weimer <fweimer@redhat.com>
30412 * elf/dl-addr.c (_dl_addr): Remove internal_function.
30413 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
30414 (_dl_catch_error, _dl_receive_error): Likewise.
30415 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
30416 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
30417 (_dl_deallocate_tls): Likewise.
30418 * include/dlfcn.h (_dl_addr): Likewise.
30419 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
30420 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
30421 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
30424 2017-08-13 Florian Weimer <fweimer@redhat.com>
30426 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
30427 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
30429 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
30431 2017-08-13 Florian Weimer <fweimer@redhat.com>
30433 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
30435 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
30436 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
30437 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
30438 internal_function from _dl_make_stack_executable_hook member.
30439 (_dl_make_stack_executable): Remove internal_function.
30440 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
30442 * sysdeps/unix/sysv/linux/dl-execstack.c
30443 (_dl_make_stack_executable): Likewise.
30445 2017-08-13 Florian Weimer <fweimer@redhat.com>
30447 * sysdeps/unix/sysv/linux/netlinkaccess.h
30448 (__netlink_assert_response): Remove internal_function.
30449 * sysdeps/unix/sysv/linux/netlink_assert_response.c
30450 (__netlink_assert_response): Likewise.
30452 2017-08-13 Florian Weimer <fweimer@redhat.com>
30454 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
30456 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
30458 2017-08-13 Florian Weimer <fweimer@redhat.com>
30460 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
30462 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
30463 * inet/netgroup.h (__internal_setnetgrent)
30464 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30465 * inet/getnetgrent_r.c (__internal_setnetgrent)
30466 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30467 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
30468 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
30469 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
30470 * nss/nsswitch.h (db_lookup_function): Likewise.
30472 2017-08-13 Florian Weimer <fweimer@redhat.com>
30474 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
30475 Remove internal_function.
30476 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
30477 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
30478 message argument on the stack.
30479 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
30482 2017-08-12 Mike FABIAN <mfabian@redhat.com>
30484 Adapt test case data to the changes in the thousands
30488 * localedata/tst-langinfo.sh: Adapt test case data.
30489 * stdlib/tst-strfmon_l.c: Likewise.
30490 * stdlib/tst-strtod4.c: Likewise.
30491 * stdlib/tst-strtod5i.c: Likewise.
30493 2017-08-11 Florian Weimer <fweimer@redhat.com>
30496 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
30497 Suppress pedantic warning resulting from statement expression.
30498 (__ASSERT_FUNCTION): Add missing __extension__.
30500 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30502 * benchtests/bench-memmove-large.c: Print output in JSON
30504 * benchtests/bench-memmove.c: Likewise.
30506 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
30507 * benchtests/bench-memchr.c (do_one_test): Likewise.
30508 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
30509 * benchtests/bench-memcpy.c (do_one_test): Likewise.
30510 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
30511 * benchtests/bench-memmove.c (do_one_test): Likewise.
30512 * benchtests/bench-memset-large.c (do_one_test): Likewise.
30513 * benchtests/bench-memset.c (do_one_test): Likewise.
30514 * benchtests/bench-string.h (test_init): Remove memsets.
30516 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30519 (Computing the Width of an Integer Data Type): Rename section to
30520 "Width of an Integer Type". Remove inaccurate statement regarding
30521 lack of C language facilities for determining width of integer
30522 types, and reorder content to improve flow and context of
30525 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30527 * lang.texi (va_copy): Change standard from ISO to C99.
30528 (__va_copy): Add standard and header annotation.
30529 Update description for clarity of origins and current use.
30531 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30534 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
30535 xssqrtqp requires operands to be in Vector Registers
30536 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
30537 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
30538 (__ieee754_sqrtf128): Likewise.
30540 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
30542 * sysdeps/aarch64/memcmp.S (memcmp):
30543 Rewrite of optimized memcmp.
30545 2017-08-10 Florian Weimer <fweimer@redhat.com>
30547 Introduce ld.so exceptions.
30548 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
30549 (_dl_exception_create, _dl_exception_create_format)
30550 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
30551 (_dl_catch_exception): Declare.
30552 (_dl_catch_error): Update comment.
30553 * elf/dl-error-skeleton.c (struct catch): Replace objname,
30554 errstring, malloced members with exception member.
30555 (_dl_out_of_memory): Remove.
30556 (fatal_error): New function, extracted from _dl_signal_error.
30557 (_dl_signal_exception, _dl_signal_cexception): New functions.
30558 (_dl_signal_error): Call _dl_exception_create to allocate an
30560 (_dl_catch_exception): New function, based on _dl_catch_error.
30561 (_dl_catch_error): Implement using _dl_catch_exception.
30562 * elf/dl-exception.c: New file.
30563 * elf/Makefile (dl-routines): Add dl-exception.
30564 (elide-routines.os): Likewise.
30565 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
30566 _dl_exception_create_format, _dl_exception_free.
30567 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
30568 _dl_signal_exception.
30569 * elf/dl-lookup.c (make_string): Remove.
30570 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
30571 _dl_signal_cexception, _dl_exception_free.
30572 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
30573 _dl_signal_exception.
30574 * elf/dl-sym.c (do_sym): Likewise.
30575 * elf/dl-version.c (make_string): Remove.
30576 (match_symbol): Use _dl_exception_create_format,
30577 _dl_signal_cexception, _dl_exception_free.
30578 (_dl_check_map_versions): Likewise.
30579 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
30580 _dl_catch_exception.
30581 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
30582 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
30583 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
30584 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
30585 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
30586 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
30587 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
30588 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
30590 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
30591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
30593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
30595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
30597 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
30598 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
30599 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
30601 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
30603 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
30605 2017-08-10 Florian Weimer <fweimer@redhat.com>
30607 * inet/net-internal.h (__inet6_scopeid_pton): Remove
30608 attribute_hidden, internal_function.
30609 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
30612 2017-08-10 Florian Weimer <fweimer@redhat.com>
30614 * malloc/malloc.c (get_max_fast): Reimplement as an inline
30615 function which calls __builtin_unreachable.
30617 2017-08-10 Mike FABIAN <mfabian@redhat.com>
30619 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
30620 Indian monetary formatting
30621 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
30624 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
30626 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
30627 Fix typo in comment.
30630 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
30631 PTRACE_SEIZE_DEVEL): Remove.
30632 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
30633 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30634 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30635 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30636 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30638 2017-08-09 Joseph Myers <joseph@codesourcery.com>
30640 * posix/bits/types.h (__qaddr_t): Remove.
30643 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
30644 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30646 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
30647 (ucontext_t): Use __ctx with uc_flags.
30648 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
30649 (__ctxt): Likewise.
30650 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30652 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
30653 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30655 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
30656 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30658 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
30660 (ucontext_t): Use __ctx with uc_flags.
30661 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
30662 (ucontext_t): Use __ctx with uc_flags.
30663 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
30664 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
30665 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
30666 (ucontext_t): Use __ctx with uc_flags.
30667 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
30668 undefine further down.
30669 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30671 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
30672 undefine further down.
30673 (ucontext_t): Use __ctx with uc_flags.
30674 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
30675 undefine further down.
30676 (ucontext_t): Use __ctx with uc_flags.
30677 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
30678 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
30679 Rename uc_pad to __glibc_reserved1.
30680 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
30681 undefine further down.
30682 (ucontext_t): Use __ctx with uc_flags.
30683 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
30685 (ucontext_t): Use __ctx with uc_flags.
30686 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
30687 __ctx with uc_flags.
30688 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
30689 (ucontext_t): Use __ctx with uc_flags.
30690 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
30691 __ctx with uc_flags.
30693 2017-08-09 Florian Weimer <fweimer@redhat.com>
30696 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
30697 before early return.
30699 2017-08-09 Andreas Schwab <schwab@suse.de>
30702 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
30706 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
30707 tst-compat-forwarder.
30708 (modules-names): Add tst-compat-forwarder-mod.
30709 ($(objpfx)tst-compat-forwarder): Depend on
30710 $(objpfx)tst-compat-forwarder-mod.so.
30711 * nptl/tst-compat-forwarder.c: New file.
30712 * nptl/tst-compat-forwarder-mod.c: New file.
30714 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
30716 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
30719 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
30720 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
30722 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
30724 (__libc_ifunc_impl_list): Add __memcpy_falkor.
30725 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
30726 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
30727 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30729 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
30732 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30735 * manual/setjmp.texi (getcontex): Document uc_stack value
30736 compatibility differences.
30738 2017-08-08 Joseph Myers <joseph@codesourcery.com>
30740 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
30741 (old_malloc_hook): Likewise.
30742 (old_memalign_hook): Likewise.
30743 (old_realloc_hook): Likewise.
30744 (struct hdr): Likewise.
30746 (freehook): Likewise.
30747 (mallochook): Likewise.
30748 (memalignhook): Likewise.
30749 (reallochook): Likewise.
30750 (mprobe): Likewise.
30751 * malloc/mtrace.c (mallwatch): Likewise.
30752 (tr_old_free_hook): Likewise.
30753 (tr_old_malloc_hook): Likewise.
30754 (tr_old_realloc_hook): Likewise.
30755 (tr_old_memalign_hook): Likewise.
30756 (tr_where): Likewise.
30757 (lock_and_info): Likewise.
30758 (tr_freehook): Likewise.
30759 (tr_mallochook): Likewise.
30760 (tr_reallochook): Likewise.
30761 (tr_memalignhook): Likewise.
30762 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
30763 * misc/mmap.c (__mmap): Likewise.
30764 * misc/mmap64.c (__mmap64): Likewise.
30765 * misc/mprotect.c (__mprotect): Likewise.
30766 * misc/msync.c (msync): Likewise.
30767 * misc/munmap.c (__munmap): Likewise.
30768 * posix/posix_madvise.c (posix_madvise): Likewise.
30769 * socket/send.c (__send): Likewise.
30770 * socket/sendto.c (__sendto): Likewise.
30771 * socket/setsockopt.c (__setsockopt): Likewise.
30772 * string/memcmp.c (__ptr_t): Remove macro.
30773 (MEMCMP): Use void * instead of ptr_t.
30774 * string/memrchr.c (__ptr_t): Remove macro.
30775 (__memrchr): Use void * instead of ptr_t.
30776 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
30777 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30778 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30779 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
30780 * sysdeps/mach/msync.c (msync): Likewise.
30781 * sysdeps/mach/munmap.c (__munmap): Likewise.
30782 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
30784 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30785 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
30786 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
30787 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
30788 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
30789 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30790 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
30791 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
30793 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30794 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
30795 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
30796 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
30797 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
30798 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
30799 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
30800 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
30801 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
30803 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
30804 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
30805 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
30806 (MEMCMP): Use void * instead of ptr_t.
30807 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
30808 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
30810 2017-08-08 Florian Weimer <fweimer@redhat.com>
30812 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
30815 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
30818 * csu/libc-tls.c: Include <startup.h> first.
30819 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
30820 * elf/dl-tunables.c: Include <startup.h> first.
30821 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
30822 * sysdeps/generic/startup.h: New file.
30823 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
30824 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
30825 (I386_USE_SYSENTER): New. Defined to 0.
30827 2017-08-08 Andreas Schwab <schwab@suse.de>
30830 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
30831 * nptl/pt-system.c (system): Likewise.
30833 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30836 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
30838 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
30839 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
30840 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
30841 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
30842 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
30843 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
30844 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
30846 2017-08-07 Joseph Myers <joseph@codesourcery.com>
30849 * bits/sigaction.h (struct sigaction): Define sa_handler and
30850 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
30851 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30852 [__USE_XOPEN_EXTENDED].
30853 (SA_RESTART): Likewise.
30854 (SA_NODEFER): Likewise.
30855 (SA_RESETHAND): Likewise.
30856 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
30857 (struct sigaction): Define sa_handler and sa_sigaction using union
30858 also for [__USE_XOPEN_EXTENDED].
30859 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30860 [__USE_XOPEN_EXTENDED].
30861 (SA_RESTART): Likewise.
30862 (SA_NODEFER): Likewise.
30863 (SA_RESETHAND): Likewise.
30864 * sysdeps/unix/sysv/linux/bits/sigaction.h
30865 (struct sigaction): Define sa_handler and sa_sigaction using union
30866 also for [__USE_XOPEN_EXTENDED].
30867 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30868 [__USE_XOPEN_EXTENDED].
30869 (SA_RESTART): Likewise.
30870 (SA_NODEFER): Likewise.
30871 (SA_RESETHAND): Likewise.
30872 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
30873 (struct sigaction): Define sa_handler and sa_sigaction using union
30874 also for [__USE_XOPEN_EXTENDED].
30875 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30876 [__USE_XOPEN_EXTENDED].
30877 (SA_RESTART): Likewise.
30878 (SA_NODEFER): Likewise.
30879 (SA_RESETHAND): Likewise.
30880 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
30881 (struct sigaction): Define sa_handler and sa_sigaction using union
30882 also for [__USE_XOPEN_EXTENDED].
30883 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30884 [__USE_XOPEN_EXTENDED].
30885 (SA_RESTART): Likewise.
30886 (SA_NODEFER): Likewise.
30887 (SA_RESETHAND): Likewise.
30888 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30889 (struct sigaction): Define sa_handler and sa_sigaction using union
30890 also for [__USE_XOPEN_EXTENDED].
30891 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30892 [__USE_XOPEN_EXTENDED].
30893 (SA_RESTART): Likewise.
30894 (SA_NODEFER): Likewise.
30895 (SA_RESETHAND): Likewise.
30896 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
30897 (struct sigaction): Define sa_handler and sa_sigaction using union
30898 also for [__USE_XOPEN_EXTENDED].
30899 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30900 [__USE_XOPEN_EXTENDED].
30901 (SA_RESTART): Likewise.
30902 (SA_NODEFER): Likewise.
30903 (SA_RESETHAND): Likewise.
30904 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
30905 (struct sigaction): Define sa_handler and sa_sigaction using union
30906 also for [__USE_XOPEN_EXTENDED].
30907 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30908 [__USE_XOPEN_EXTENDED].
30909 (SA_RESTART): Likewise.
30910 (SA_NODEFER): Likewise. Define directly rather than as alias.
30911 (SA_RESETHAND): Likewise.
30912 (SA_INTERRUPT): Define only for [__USE_MISC].
30913 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
30914 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
30916 (SA_STACK): Define only for [__USE_MISC].
30917 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
30918 (struct sigaction): Define sa_handler and sa_sigaction using union
30919 also for [__USE_XOPEN_EXTENDED].
30920 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30921 [__USE_XOPEN_EXTENDED].
30922 (SA_RESTART): Likewise.
30923 (SA_NODEFER): Likewise.
30924 (SA_RESETHAND): Likewise.
30925 (SA_NOPTRACE): Define only for [__USE_MISC].
30927 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
30928 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
30929 (struct catalog_info): Likewise.
30930 * inet/htontest.c (lo): Likewise.
30932 * inet/inet_lnaof.c (inet_lnaof): Likewise.
30933 * inet/inet_net.c (inet_network): Likewise.
30934 * inet/inet_netof.c (inet_netof): Likewise.
30935 * inet/rcmd.c (__ivaliduser): Likewise.
30936 (iruserok): Likewise.
30937 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
30938 * locale/programs/locale-spec.c (locale_special): Likewise.
30939 * nis/nis_findserv.c (struct findserv_req): Likewise.
30940 (__nis_findfastest_with_timeout): Likewise.
30941 * nss/test-netdb.c (test_network): Likewise.
30942 * resolv/inet_neta.c (inet_neta): Likewise.
30943 * resolv/ns_date.c (ns_datetosecs): Likewise.
30944 (SECS_PER_DAY): Likewise.
30945 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
30947 * resolv/res_comp.c (__putlong): Likewise.
30948 (__putshort): Likewise.
30949 (_getlong): Likewise.
30950 (_getshort): Likewise.
30951 * resolv/res_debug.c (p_time): Likewise.
30952 (precsize_ntoa): Likewise.
30953 (precsize_aton): Likewise.
30954 (latlon2ul): Likewise.
30955 (loc_aton): Likewise.
30956 (loc_ntoa): Likewise.
30957 * resolv/res_hconf.c (struct netaddr): Likewise.
30958 (_res_hconf_reorder_addrs): Likewise.
30959 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
30960 (clnttcp_control): Likewise.
30961 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30962 (clntudp_control): Likewise.
30963 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
30964 (clntunix_control): Likewise.
30965 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
30966 * sunrpc/rpc/auth.h (union des_block): Likewise.
30967 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
30968 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
30969 (xdrrec_create): Likewise.
30970 (xdrrec_endofrecord): Likewise.
30971 (flush_out): Likewise.
30972 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
30973 (xdrstdio_putlong): Likewise.
30974 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
30977 * misc/sys/cdefs.h (__long_double_t): Remove.
30978 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
30979 instead of __long_double_t,
30980 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
30982 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
30984 * benchtests/scripts/compare_strings.py: Avoid display error when
30985 running on a text terminal.
30987 * benchtests/scripts/compare_strings.py (main): Add an
30988 optional -base option.
30989 (process_results): New argument base_func.
30991 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
30993 * benchtests/bench-memcpy-large.c (test_name): Likewise.
30994 * benchtests/bench-memcpy-random.c (test_name): Likewise.
30996 2017-08-07 Andreas Schwab <schwab@suse.de>
30998 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
30999 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31000 * intl/Makefile ($(objpfx)tst-gettext.out)
31001 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
31002 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
31003 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31004 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31005 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
31006 * posix/Makefile ($(objpfx)globtest.out)
31007 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
31008 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
31009 ($(objpfx)tst-printf.out): Likewise.
31010 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
31011 ($(objpfx)tst-setcontext3.out): Likewise.
31013 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
31015 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31016 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
31017 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
31018 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
31019 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
31021 (CFLAGS-doasin-fma.c): New.
31022 (CFLAGS-dosincos-fma.c): Likewise.
31023 (CFLAGS-e_asin-fma.c): Likewise.
31024 (CFLAGS-e_atan2-fma.c): Likewise.
31025 (CFLAGS-e_exp-fma.c): Likewise.
31026 (CFLAGS-e_log-fma.c): Likewise.
31027 (CFLAGS-e_pow-fma.c): Likewise.
31028 (CFLAGS-halfulp-fma.c): Likewise.
31029 (CFLAGS-mpa-fma.c): Likewise.
31030 (CFLAGS-mpatan-fma.c): Likewise.
31031 (CFLAGS-mpatan2-fma.c): Likewise.
31032 (CFLAGS-mpexp-fma.c): Likewise.
31033 (CFLAGS-mplog-fma.c): Likewise.
31034 (CFLAGS-mpsqrt-fma.c): Likewise.
31035 (CFLAGS-mptan-fma.c): Likewise.
31036 (CFLAGS-s_atan-fma.c): Likewise.
31037 (CFLAGS-sincos32-fma.c): Likewise.
31038 (CFLAGS-slowexp-fma.c): Likewise.
31039 (CFLAGS-slowpow-fma.c): Likewise.
31040 (CFLAGS-s_sin-fma.c): Likewise.
31041 (CFLAGS-s_tan-fma.c): Likewise.
31042 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
31043 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
31044 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
31045 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
31046 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
31047 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
31048 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
31049 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
31050 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
31051 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
31052 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
31053 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
31054 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
31055 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
31056 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
31057 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
31058 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
31059 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
31060 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
31061 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
31062 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
31063 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
31064 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
31065 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
31066 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31067 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31068 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31069 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
31070 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31071 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31072 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31074 2017-08-04 Joseph Myers <joseph@codesourcery.com>
31076 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
31077 (min_of_type_f): New macro.
31078 (min_of_type_): Likewise.
31079 (min_of_type_l): Likewise.
31080 (min_of_type_f128): Likewise.
31081 (min_of_type): Define using __MATH_TG and taking an expression
31083 (math_check_force_underflow): Pass expression instead of type to
31085 (math_check_force_underflow_nonneg): Likewise.
31087 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31089 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31090 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
31091 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
31093 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31095 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31096 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
31097 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
31098 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
31099 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
31100 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
31101 memcpy_chk-nonshared, mempcpy_chk-nonshared,
31102 memmove_chk-nonshared and memset_chk-nonshared
31103 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
31104 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
31105 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
31106 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
31107 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
31108 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
31109 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
31110 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
31111 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
31112 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
31113 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
31114 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
31115 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
31116 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
31117 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
31118 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
31119 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
31120 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
31121 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
31122 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
31123 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
31124 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
31125 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
31126 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
31127 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
31128 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
31129 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
31130 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
31131 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
31132 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
31133 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
31134 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
31135 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
31136 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31137 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31138 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
31139 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
31140 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
31141 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
31142 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
31143 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
31144 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
31145 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
31146 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
31147 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
31148 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
31149 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
31150 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
31151 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
31152 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
31153 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
31154 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
31155 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
31156 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
31157 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
31158 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
31159 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
31160 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
31161 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
31162 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
31163 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
31164 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
31165 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
31166 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
31167 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
31168 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
31169 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
31170 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
31171 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
31172 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
31173 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
31174 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31175 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31176 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31177 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31178 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31179 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31180 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31181 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31182 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31183 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31184 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31185 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31186 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31187 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31188 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31189 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31190 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31191 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31192 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31193 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31194 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31195 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31196 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31197 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31198 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31199 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31200 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31201 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31202 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31203 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31204 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31205 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31206 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31207 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31208 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31209 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31210 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31212 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31214 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
31215 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
31216 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
31217 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
31218 svml_d_log2_core-sse2, svml_d_log4_core-sse,
31219 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
31220 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
31221 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
31222 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
31223 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
31224 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
31225 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
31226 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
31227 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
31228 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
31229 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
31230 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
31231 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
31232 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
31233 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
31234 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
31235 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
31236 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
31237 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
31238 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
31239 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
31240 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
31241 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
31242 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
31243 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
31244 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
31245 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
31246 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
31247 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
31248 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
31249 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
31250 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
31251 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
31252 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
31253 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
31254 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
31255 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
31256 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
31257 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
31258 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
31259 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
31260 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
31261 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
31262 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
31263 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
31264 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
31265 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
31266 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
31267 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
31268 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
31269 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
31270 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
31271 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
31272 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
31274 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
31275 Don't include <sysdep.h> nor <init-arch.h>.
31276 (_ZGVbN2v_cos): Removed.
31277 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
31279 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
31280 Don't include <sysdep.h> nor <init-arch.h>.
31281 (_ZGVdN4v_cos): Removed.
31282 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
31284 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
31285 Don't include <sysdep.h> nor <init-arch.h>.
31286 (_ZGVeN8v_cos): Removed.
31287 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
31289 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
31290 Don't include <sysdep.h> nor <init-arch.h>.
31291 (_ZGVbN2v_exp): Removed.
31292 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
31294 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
31295 Don't include <sysdep.h> nor <init-arch.h>.
31296 (_ZGVdN4v_exp): Removed.
31297 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
31299 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
31300 Don't include <sysdep.h> nor <init-arch.h>.
31301 (_ZGVeN8v_exp): Removed.
31302 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
31304 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
31305 Don't include <sysdep.h> nor <init-arch.h>.
31306 (_ZGVbN2v_log): Removed.
31307 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
31309 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
31310 Don't include <sysdep.h> nor <init-arch.h>.
31311 (_ZGVdN4v_log): Removed.
31312 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
31314 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
31315 Don't include <sysdep.h> nor <init-arch.h>.
31316 (_ZGVeN8v_log): Removed.
31317 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
31319 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
31320 Don't include <sysdep.h> nor <init-arch.h>.
31321 (_ZGVbN2vv_pow): Removed.
31322 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
31324 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
31325 Don't include <sysdep.h> nor <init-arch.h>.
31326 (_ZGVdN4vv_pow): Removed.
31327 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
31329 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
31330 Don't include <sysdep.h> nor <init-arch.h>.
31331 (_ZGVeN8vv_pow): Removed.
31332 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
31334 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
31335 Don't include <sysdep.h> nor <init-arch.h>.
31336 (_ZGVbN2v_sin): Removed.
31337 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
31339 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
31340 Don't include <sysdep.h> nor <init-arch.h>.
31341 (_ZGVbN4v_sin): Removed.
31342 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
31344 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
31345 Don't include <sysdep.h> nor <init-arch.h>.
31346 (_ZGVbN8v_sin): Removed.
31347 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
31349 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
31350 Don't include <sysdep.h> nor <init-arch.h>.
31351 (_ZGVbN2vvv_sincos): Removed.
31352 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
31354 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
31355 Don't include <sysdep.h> nor <init-arch.h>.
31356 (_ZGVdN4vvv_sincos): Removed.
31357 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
31359 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
31360 Don't include <sysdep.h> nor <init-arch.h>.
31361 (_ZGVeN8vvv_sincos): Removed.
31362 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
31364 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
31365 Don't include <sysdep.h> nor <init-arch.h>.
31366 (_ZGVeN16v_cosf): Removed.
31367 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
31369 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
31370 Don't include <sysdep.h> nor <init-arch.h>.
31371 (_ZGVbN4v_cosf): Removed.
31372 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
31374 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
31375 Don't include <sysdep.h> nor <init-arch.h>.
31376 (_ZGVdN8v_cosf): Removed.
31377 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
31379 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
31380 Don't include <sysdep.h> nor <init-arch.h>.
31381 (_ZGVeN16v_expf): Removed.
31382 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
31384 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
31385 Don't include <sysdep.h> nor <init-arch.h>.
31386 (_ZGVbN4v_expf): Removed.
31387 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
31389 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
31390 Don't include <sysdep.h> nor <init-arch.h>.
31391 (_ZGVdN8v_expf): Removed.
31392 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
31394 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
31395 Don't include <sysdep.h> nor <init-arch.h>.
31396 (_ZGVeN16v_logf): Removed.
31397 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
31399 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
31400 Don't include <sysdep.h> nor <init-arch.h>.
31401 (_ZGVbN4v_logf): Removed.
31402 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
31404 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
31405 Don't include <sysdep.h> nor <init-arch.h>.
31406 (_ZGVdN8v_logf): Removed.
31407 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
31409 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
31410 Don't include <sysdep.h> nor <init-arch.h>.
31411 (_ZGVeN16vv_powf): Removed.
31412 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
31414 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
31415 Don't include <sysdep.h> nor <init-arch.h>.
31416 (_ZGVbN4vv_powf): Removed.
31417 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
31419 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
31420 Don't include <sysdep.h> nor <init-arch.h>.
31421 (_ZGVdN8vv_powf): Removed.
31422 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
31424 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
31425 Don't include <sysdep.h> nor <init-arch.h>.
31426 (_ZGVeN16vvv_sincosf): Removed.
31427 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
31429 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
31430 Don't include <sysdep.h> nor <init-arch.h>.
31431 (_ZGVbN4vvv_sincosf): Removed.
31432 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
31434 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
31435 Don't include <sysdep.h> nor <init-arch.h>.
31436 (_ZGVdN8vvv_sincosf): Removed.
31437 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
31439 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
31440 Don't include <sysdep.h> nor <init-arch.h>.
31441 (_ZGVeN16v_sinf): Removed.
31442 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
31444 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
31445 Don't include <sysdep.h> nor <init-arch.h>.
31446 (_ZGVbN4v_sinf): Removed.
31447 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
31449 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
31450 Don't include <sysdep.h> nor <init-arch.h>.
31451 (_ZGVdN8v_sinf): Removed.
31453 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31455 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31456 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
31457 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
31458 s_rint-sse4_1 and s_rintf-sse4_1.
31459 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
31460 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
31461 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
31462 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
31463 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
31464 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
31465 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
31466 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
31467 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
31468 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
31469 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
31470 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31472 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
31473 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
31474 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31475 (__ceilf): Removed.
31476 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
31477 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
31478 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31479 (__floor): Removed.
31480 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
31481 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
31482 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31483 (__floorf): Removed.
31484 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
31485 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
31486 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31487 (__nearbyint): Removed.
31488 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
31489 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
31490 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31491 (__nearbyintf): Removed.
31492 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
31493 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
31494 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31496 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
31497 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
31498 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31499 (__rintf): Removed.
31501 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31503 * sysdeps/i386/start.S (_start): Check Check PIC instead of
31504 SHARED. Avoid dynamic relocation against main in static PIE.
31506 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31509 * elf/Makefile (CFLAGS-tst-prelink.c): New.
31510 (LDFLAGS-tst-prelink): Likewise.
31512 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31514 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
31515 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
31516 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
31517 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
31518 (INTERNAL_SYSCALL_NCS): Likewise.
31519 (LOADARGS_1): Likewise.
31520 (LOADARGS_5): Likewise.
31521 (RESTOREARGS_1): Likewise.
31522 (RESTOREARGS_5): Likewise.
31524 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31526 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
31527 (MEMPCPY_SYMBOL): Likewise.
31528 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31529 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
31530 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
31532 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31533 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
31535 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
31536 (__hidden_ver1): Don't use in libc.a.
31537 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
31538 (__mempcpy): Don't create a weak alias in libc.a.
31539 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
31541 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
31542 (__hidden_ver1): Don't use in libc.a.
31544 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31546 * config.make.in (have-insert): New.
31547 * configure.ac (libc_cv_insert): New. Set to yes if linker
31548 supports INSERT in linker script.
31549 (AC_SUBST(libc_cv_insert): New.
31550 * configure: Regenerated.
31551 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
31552 if $(have-insert) == yes.
31554 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31556 * elf/Makefile (tests): Add vismain only if
31557 $(have-protected-data) == yes.
31558 (tests-pie): Likewise.
31560 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31563 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
31564 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
31566 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31569 * sysdeps/i386/i586/memset.S
31570 (__memset_zero_constant_len_parameter): Removed.
31571 * sysdeps/i386/i686/memset.S
31572 (__memset_zero_constant_len_parameter): Likewise.
31573 * sysdeps/i386/i686/multiarch/memset_chk.S
31574 (__memset_zero_constant_len_parameter): Likewise.
31575 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
31578 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31580 * stdlib/getentropy.c (getentropy): Change return type to int.
31582 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31584 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
31586 2017-08-03 Joseph Myers <joseph@codesourcery.com>
31588 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
31590 * math/s_nexttowardf.c (__nexttowardf): Likewise.
31591 * sysdeps/generic/math_private.h (ieee_double_shape_type):
31593 (ieee_float_shape_type): Likewise.
31594 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
31595 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
31596 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31597 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31598 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
31599 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
31600 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
31601 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31602 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
31604 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31605 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31606 (__ieee754_yn): Likewise.
31607 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31608 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31609 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
31611 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31612 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
31613 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
31614 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
31615 (__erfc): Likewise.
31616 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
31617 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
31618 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
31619 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
31620 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
31621 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
31623 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
31624 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
31625 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
31626 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
31627 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31628 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
31629 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
31630 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
31631 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
31632 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
31633 (__issignaling): Likewise.
31634 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
31635 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
31636 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31638 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31639 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
31640 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
31641 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
31643 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
31645 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
31646 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
31647 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
31648 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
31649 (__erfcf): Likewise.
31650 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
31651 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31652 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
31653 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
31655 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
31656 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
31658 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
31659 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
31660 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
31661 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
31662 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
31663 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31664 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
31665 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
31667 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
31669 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
31671 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
31672 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31674 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
31676 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31677 (__ieee754_ynl): Likewise.
31678 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
31679 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
31681 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
31683 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
31684 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
31685 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31687 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
31688 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
31689 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
31690 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
31691 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
31692 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31693 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
31694 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
31696 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
31697 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
31698 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
31700 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
31701 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
31702 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
31703 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
31704 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
31705 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31707 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31709 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31711 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31713 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
31714 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31715 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31716 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
31717 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
31718 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
31719 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
31721 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31723 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31724 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31726 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
31727 (__ieee754_remainderl): Likewise.
31728 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31729 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31730 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31731 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31733 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31734 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31736 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31737 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
31738 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
31739 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
31740 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31741 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31743 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
31744 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
31745 (__ieee754_y0l): Likewise.
31748 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31749 (__ieee754_y1l): Likewise.
31752 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31753 (__ieee754_ynl): Likewise.
31754 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
31755 (__ieee754_lgammal_r): Likewise.
31756 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
31758 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
31759 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
31760 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
31761 (__erfcl): Likewise.
31762 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
31763 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
31765 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
31766 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
31767 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
31768 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
31769 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
31770 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31771 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31773 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
31774 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31775 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
31776 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
31777 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31779 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
31780 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
31782 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
31783 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
31784 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
31785 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31786 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
31788 2017-08-03 Florian Weimer <fweimer@redhat.com>
31791 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
31792 on memory allocation failure.
31794 2017-08-03 Alan Modra <amodra@gmail.com>
31796 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
31797 tst-tlsopt-powerpc.c with function name change and no test harness.
31798 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
31799 Call tls_get_addr_opt_test.
31800 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
31801 (modules-names): Add mod-tlsopt-powerpc.
31802 (mod-tlsopt-powerpc.so-no-z-defs): Define.
31803 (tst-tlsopt-powerpc): Depend on .so.
31804 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
31805 define. Expand use in TLS_GD and TLS_LD.
31807 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31809 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
31811 * sysdeps/posix/shm_open.c: Include <pthread.h>.
31813 2017-08-02 Joseph Myers <joseph@codesourcery.com>
31816 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
31817 comparing size with that of double.
31818 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
31819 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
31820 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
31821 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
31822 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31823 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
31824 unsigned __int128 types.
31826 2017-08-02 Steve Ellcey <sellcey@cavium.com>
31828 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
31829 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
31830 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
31831 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
31832 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
31834 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31836 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
31838 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31840 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
31842 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31843 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31844 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31845 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31846 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31847 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31848 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31850 2017-08-02 Joseph Myers <joseph@codesourcery.com>
31853 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
31854 bit-field expressions passed to sizeof or typeof.
31855 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31856 (__TGMATH_F128): Likewise.
31857 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31858 (__TGMATH_CF128): Likewise.
31859 (__TGMATH_UNARY_REAL_ONLY): Likewise.
31860 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
31861 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
31862 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
31863 (__TGMATH_BINARY_REAL_ONLY): Likewise.
31864 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
31865 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
31866 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
31867 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
31868 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
31869 (__TGMATH_UNARY_REAL_IMAG): Likewise.
31870 (__TGMATH_UNARY_IMAG): Likewise.
31871 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
31872 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31873 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
31875 (define_vars_for_type): Handle bit_field type specially.
31876 (Tests.__init__): Declare structure with bit-field element.
31878 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31881 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
31882 (MEMCPY_CHK): Define only if SHARED is defined.
31883 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
31885 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
31888 See ChangeLog.18 for earlier changes.