1 2018-11-07 Florian Weimer <fweimer@redhat.com>
3 Implement TEST_COMPARE_STRING.
4 * support/check.h (TEST_COMPARE_STRING): Define.
5 (support_test_compare_string): Declare.
6 * support/Makefile (libsupport-routines): Add
7 support_test_compare_string.
8 (tests): Add tst-test_compare_string.
9 * support/support_test_compare_string.c: New file.
10 * support/tst-test_compare_string.c: Likewise.
12 2019-06-06 Florian Weimer <fweimer@redhat.com>
14 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
15 internal GCC preprocessor identifier __has_include__.
17 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
20 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
21 TLS_TCB_AT_TP tls variant.
22 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
24 * support/Makefile (libsupport-routines): Add xposix_memalign and
26 * support/support.h: Add xposix_memalign.
27 * support/xthread.h: Add xpthread_attr_setstack.
28 * support/xposix_memalign.c: New File.
29 * support/xpthread_attr_setstack.c: Likewise.
31 2019-06-18 Florian Weimer <fweimer@redhat.com>
34 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
35 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
36 fail when called from dlopen.
38 2019-07-10 DJ Delorie <dj@redhat.com>
39 Sergei Trofimovich <slyfox@inbox.ru>
43 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
46 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
49 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
51 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
52 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
53 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
54 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
55 and tst-cet-legacy-mod-6c.
56 (CFLAGS-tst-cet-legacy-5a.c): New.
57 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
58 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
59 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
60 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
61 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
62 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
63 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
64 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
65 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
66 ($(objpfx)tst-cet-legacy-5a): Likewise.
67 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
68 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
69 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
70 ($(objpfx)tst-cet-legacy-5b): Likewise.
71 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
72 (tst-cet-legacy-5b-ENV): Likewise.
73 ($(objpfx)tst-cet-legacy-6a): Likewise.
74 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
75 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
76 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
77 ($(objpfx)tst-cet-legacy-6b): Likewise.
78 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
79 (tst-cet-legacy-6b-ENV): Likewise.
80 * sysdeps/x86/tst-cet-legacy-5.c: New file.
81 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
82 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
83 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
84 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
85 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
86 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
87 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
88 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
89 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
90 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
91 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
92 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
93 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
95 2019-08-08 Niklas Hambüchen <mail@nh2.me>
96 Carlos O'Donell <carlos@redhat.com>
99 * malloc/malloc.c (__malloc_info): Account for top chunk.
101 2019-08-01 Florian Weimer <fweimer@redhat.com>
104 * malloc/malloc.c (__malloc_info): Remove unwanted leading
107 2019-08-15 Florian Weimer <fweimer@redhat.com>
109 * malloc/Makefile (tests): Only add tst-mxfast for
111 * malloc/tst-mxfast.c: Fix copyright year.
112 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
115 2019-08-09 DJ Delorie <dj@redhat.com>
117 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
118 * manual/tunables.texi: Document it.
119 * malloc/malloc.c (do_set_mxfast): New.
120 (__libc_mallopt): Call it.
121 * malloc/arena.c: Add mxfast tunable.
122 * malloc/tst-mxfast.c: New.
123 * malloc/Makefile: Add it.
125 2018-12-19 Andreas Schwab <schwab@suse.de>
127 * nscd/connections.c (check_use): Don't abort on invalid len.
129 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
131 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
132 (tcache_put): Remove redundant assert.
133 (tcache_get): Remove redundant asserts.
134 (__libc_malloc): Check tcache count is not zero.
135 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
137 2019-02-04 Joseph Myers <joseph@codesourcery.com>
139 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
140 with 0, not tcache->entries[tc_idx].
142 2019-09-13 Wilco Dijkstra <wdijkstr@arm.com>
144 * string/memmem.c (__memmem): Rewrite to improve performance.
146 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
148 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
150 (two_way_long_needle): Block inlining.
151 * string/strstr.c (strstr2): Add new function.
153 (STRSTR): Completely rewrite strstr to improve performance.
155 2019-09-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
157 * string/memmem.c: Use memcmp for first match.
159 2019-09-13 Wilco Dijkstra <wdijkstr@arm.com>
161 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
162 * string/strstr.c (AVAILABLE): Likewise.
164 2019-09-06 Wilco Dijkstra <wdijkstr@arm.com>
166 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
167 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
168 __memcpy_falkor for ares.
169 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
171 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
174 2019-07-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
177 * posix/tst-mmap-offset.c: Mention BZ #24699.
178 (do_test_bz21270): Rename to do_test_large_offset and use
179 mmap64_maximum_offset to check for maximum expected offset value.
180 * sysdeps/generic/mmap_info.h: New file.
181 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
182 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
185 2019-07-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
187 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Check
188 STO_AARCH64_VARIANT_PCS and bind such symbols at load time.
190 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
192 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
193 (DT_AARCH64_VARIANT_PCS): Define.
195 2019-06-28 Florian Weimer <fweimer@redhat.com>
198 io: Remove the copy_file_range emulation.
199 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
200 not define and call copy_file_range_compat.
201 * io/Makefile (tests-static, tests-internal): Do not add
202 tst-copy_file_range-compat.
203 * io/copy_file_range-compat.c: Remove file.
204 * io/copy_file_range.c (copy_file_range): Define as stub.
205 * io/tst-copy_file_range-compat.c: Remove file.
206 * io/tst-copy_file_range.c (xdevfile): Remove variable.
207 (typical_sizes): Update comment. Remove 16K sizes.
208 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
210 (find_maximum_offset, pipe_as_source, pipe_as_destination)
211 (delayed_write_failure_beginning, delayed_write_failure_end)
212 (cross_device_failure, enospc_failure_1, enospc_failure)
213 (oappend_failure): Remove functions.
214 (tests): Adjust test case list.
215 (do_test): Remove file system search code. Check for ENOSYS from
216 copy_file_range. Do not free xdevfile.
217 * manual/llio.texi (Copying File Data): Document ENOSYS error from
218 copy_file_range. Do not document the EXDEV error, which future
219 kernels may not report. Update the wording to reflect that
220 further errors are possible.
221 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
222 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
224 * sysdeps/unix/sysv/linux/kernel-features.h
225 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
227 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
228 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
231 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
232 Florian Weimer <fweimer@redhat.com>
235 * libio/genops.c (_IO_unbuffer_all)
236 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
237 buffers and access _IO_FILE_complete members of legacy libio streams.
238 * libio/tst-bz24228.c: New file.
239 * libio/tst-bz24228.map: Likewise.
240 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
241 [build-shared] (generated): Add tst-bz24228.mtrace and
243 [run-built-tests && build-shared] (tests-special): Add
244 $(objpfx)tst-bz24228-mem.out.
245 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
246 ($(objpfx)tst-bz24228-mem.out): New rule.
248 2019-05-22 Wilco Dijkstra <wdijkstr@arm.com>
251 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
252 (do_set_tcache_count): Only update if count is small enough.
253 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
255 2019-05-15 Mark Wielaard <mark@klomp.org>
258 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
259 __libc_once_get (once) and static_buf == NULL.
260 (__dlerror): Check we have a valid key, set result to static_buf
263 2019-05-15 Andreas Schwab <schwab@suse.de>
266 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
268 * libio/Makefile (tests): Add tst-wfile-sync.
269 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
270 * libio/tst-wfile-sync.c: New file.
271 * libio/tst-wfile-sync.input: New file.
273 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
275 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
277 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
279 * malloc/malloc.c (mremap_chunk): Additional checks.
281 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
283 * malloc/malloc.c (_int_malloc): Additional binning code checks.
285 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
288 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
289 (E(find_maps)): Avoid use alloca, use default read file operations
290 instead of explicit LFS names, and fix infinite loop.
291 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
292 (get_process_info): Use _Static_assert instead of assert, use default
293 directory operations instead of explicit LFS names, and free some
296 2019-04-03 TAMUKI Shoichi <tamuki@linet.gr.jp>
299 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
302 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
304 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
305 Add HWCAP_S390_VX and HWCAP_S390_VXE.
307 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
310 regex: fix read overrun [BZ #24114]
311 Problem found by AddressSanitizer, reported by Hongxu Chen in:
312 https://debbugs.gnu.org/34140
313 * posix/regexec.c (proceed_next_node):
314 Do not read past end of input buffer.
316 2018-11-07 Andreas Schwab <schwab@suse.de>
319 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
320 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
323 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
325 * NEWS: Add note about new TLE support on powerpc64le.
326 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
327 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
329 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
330 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
331 * sysdeps/powerpc/powerpc32/sysdep.h,
332 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
333 ABORT_TRANSACTION): Remove macros.
334 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
335 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
336 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
338 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
339 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
341 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
343 2019-01-13 Jim Wilson <jimw@sifive.com>
346 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
347 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
349 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
351 * nptl/Makefile (tests): Add tst-unwind-thread.
352 (CFLAGS-tst-unwind-thread.c): Define.
353 * nptl/tst-unwind-thread.c: New file.
354 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
357 2019-01-31 Carlos O'Donell <carlos@redhat.com>
358 Torvald Riegel <triegel@redhat.com>
359 Rik Prohaska <prohaska7@gmail.com>
362 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
363 tst-rwlock-trywrlock-stall.
364 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
365 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
366 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
367 Set __wrphase_fute to 1 only if we started the write phase.
368 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
369 * nptl/tst-rwlock-trywrlock-stall.c: New file.
370 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
371 * support/xpthread_rwlock_destroy.c: New file.
372 * support/xthread.h: Declare xpthread_rwlock_destroy.
374 2019-02-08 Florian Weimer <fweimer@redhat.com>
377 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
379 * nptl/register-atfork.c (__run_fork_handlers): Only perform
380 locking if the new do_locking argument is true.
381 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
384 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
387 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
388 Add compiler barriers and comments.
390 2019-02-04 Florian Weimer <fweimer@redhat.com>
393 nscd: Do not rely on new GLIBC_PRIVATE ABI after CVE-2016-10739 fix.
394 * nscd/nscd-inet_addr.c: New file. Build resolv/inet_addr.c for
395 nscd, without public symbols.
396 * nscd/Makefile (nscd-modules): Add it.
397 * nscd/gai.c: Include <arpa/inet.h> and change visibility of
400 2019-01-21 Florian Weimer <fweimer@redhat.com>
404 resolv: Reject trailing characters in host names
405 * include/arpa/inet.h (__inet_aton_exact): Declare.
406 (inet_aton): Remove hidden prototype. No longer used internally.
407 * nscd/gai.c (__inet_aton): Do not define.
408 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
409 * nss/digits_dots.c (__inet_aton): Likewise.
410 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
411 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
412 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
413 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
414 (tst-resolv-trailing): Likewise.
415 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
417 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
418 Make static. Add endp parameter.
419 (__inet_aton_exact): New function.
420 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
421 (__inet_addr): Call inet_aton_end.
422 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
423 not just IPv6. Call __inet_aton_exact.
424 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
425 (tests): Make const. Add additional test cases with trailing
427 (do_test): Use array_length.
428 * resolv/tst-inet_aton_exact.c: New file.
429 * resolv/tst-resolv-trailing.c: Likewise.
430 * resolv/tst-resolv-nondecimal.c: Likewise.
431 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
433 2019-01-18 Florian Weimer <fweimer@redhat.com>
436 resolv: Do not send queries for non-host-names in nss_dns.
437 * resolv/nss_dns/dns-host.c (check_name): New function.
438 (_nss_dns_gethostbyname2_r): Use it.
439 (_nss_dns_gethostbyname_r): Likewise.
440 (_nss_dns_gethostbyname4_r): Likewise.
442 2019-01-21 Florian Weimer <fweimer@redhat.com>
444 * resolv/inet_addr.c: Reformat to GNU style.
445 (__inet_addr, __inet_aton): Update comment.
447 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
451 * NEWS: Updated for CVE-2019-7309.
452 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
453 upper 32 bits of RDX register for x32. Use unsigned Jcc
454 instructions, instead of signed.
455 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
456 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
458 2019-02-01 H.J. Lu <hongjiu.lu@intel.com>
462 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
463 Clear the upper 32 bits of RSI register.
464 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
465 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
466 and tst-size_t-wcsnlen.
467 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
468 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
470 2019-02-01 H.J. Lu <hongjiu.lu@intel.com>
474 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Use RDX_LP
476 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
477 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
478 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
480 2019-02-01 H.J. Lu <hongjiu.lu@intel.com>
484 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
485 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
486 * sysdeps/x86_64/strcmp.S: Likewise.
487 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
488 tst-size_t-strncmp and tst-size_t-wcsncmp.
489 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
490 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
491 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
493 2019-02-01 H.J. Lu <hongjiu.lu@intel.com>
497 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
498 RDX_LP for length. Clear the upper 32 bits of RDX register.
499 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
500 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
501 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
502 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
504 2019-02-01 H.J. Lu <hongjiu.lu@intel.com>
508 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
509 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
510 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
511 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
513 2019-02-01 H.J. Lu <hongjiu.lu@intel.com>
517 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
518 length. Clear the upper 32 bits of RDX register.
519 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
520 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
522 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
524 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
526 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
528 2019-02-01 H.J. Lu <hongjiu.lu@intel.com>
532 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
533 length. Clear the upper 32 bits of RDX register.
534 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
535 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
536 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
538 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
539 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
541 2019-02-01 H.J. Lu <hongjiu.lu@intel.com>
545 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
546 upper 32 bits of RDX register.
547 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
548 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
550 * sysdeps/x86_64/x32/test-size_t.h: New file.
551 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
552 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
554 2019-01-16 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
556 * math/libm-test-fma.inc (fma_test_data): Set
557 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
559 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
562 * Makeconfig: Build libm with -fno-math-errno but build the remaining
563 code with -fmath-errno.
564 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
565 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
566 * string/test-strerror-errno.c: New file.
568 2019-01-03 Martin Jansa <Martin.Jansa@gmail.com>
571 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
572 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
573 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
575 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
578 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
579 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
580 than __typeof (...) for the a_ptr variable.
582 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
585 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
586 <asm/syscalls.h> exists with __has_include__ before including it.
588 2019-01-02 Florian Weimer <fweimer@redhat.com>
591 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
594 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
597 * malloc/malloc.c (_int_realloc): Always call memcpy for the
598 copying operation. (ncopies had the wrong type, resulting in an
599 integer wraparound and too few elements being copied.)
601 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
603 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
605 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
606 James Clarke <jrtc27@jrtc27.com>
609 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
610 Define if SA_RESTORER is defined.
611 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
612 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
614 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
615 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
617 (HAS_SA_RESTORER): Define.
618 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
619 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
620 (HAS_SA_RESTORER): Define.
621 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
622 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
623 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
624 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
625 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
627 2018-10-30 Andreas Schwab <schwab@suse.de>
630 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
632 * elf/tst-unwind-main.c: New file.
633 * elf/Makefile (tests): Add tst-unwind-main.
634 (CFLAGS-tst-unwind-main.c): Define.
636 2018-12-15 Florian Weimer <fweimer@redhat.com>
638 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
639 (minimum_stride_size): Use it.
640 (support_blob_repeat_allocate): Likewise.
642 2018-12-13 Andreas Schwab <schwab@suse.de>
645 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
646 (__pthread_rwlock_rdlock_full): Update expected value for
647 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
648 * nptl/tst-rwlock-pwn.c: New file.
649 * nptl/Makefile (tests): Add tst-rwlock-pwn.
651 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
654 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
655 registers saved in the stack frame.
656 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
657 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
659 2018-12-07 DJ Delorie <dj@redhat.com>
662 * malloc/tst-tcfree3.c: New.
663 * malloc/Makefile: Add it.
665 2018-12-07 Florian Weimer <fweimer@redhat.com>
669 * inet/tst-if_index-long.c: New file.
670 * inet/Makefile (tests): Add tst-if_index-long.
672 2018-12-07 Florian Weimer <fweimer@redhat.com>
674 * support/check.h (support_record_failure_is_failed): Declare.
675 * support/descriptors.h: New file.
676 * support/support_descriptors.c: Likewise.
677 * support/tst-support_descriptors.c: Likewise.
678 * support/support_record_failure.c
679 (support_record_failure_is_failed): New function.
680 * support/Makefile (libsupport-routines): Add support_descriptors.
681 (tests): Add tst-support_descriptors.
683 2018-12-01 Florian Weimer <fweimer@redhat.com>
685 * support/support_capture_subprocess.c
686 (support_capture_subprocess): Check that pipe descriptors have
687 expected values. Close original pipe descriptors in subprocess.
689 2018-11-28 Florian Weimer <fweimer@redhat.com>
691 * support/support.h (support_quote_string): Do not use str
694 2018-11-27 Florian Weimer <fweimer@redhat.com>
696 * support/support.h (support_quote_string): Declare.
697 * support/support_quote_string.c: New file.
698 * support/tst-support_quote_string.c: Likewise.
699 * support/Makefile (libsupport-routines): Add
700 support_quote_string.
701 (tests): Add tst-support_quote_string.
703 2018-12-10 Florian Weimer <fweimer@redhat.com>
706 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
707 offset instead of count for clarity. Fix typo in comment.
708 (__old_getdents64): Keep track of previous offset. Use it to call
710 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
711 that d_off is never zero.
713 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
716 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
717 modification order when accessing reloc_result->addr.
718 * include/link.h (reloc_result): Add field init.
719 * nptl/Makefile (tests): Add tst-audit-threads.
720 (modules-names): Add tst-audit-threads-mod1 and
721 tst-audit-threads-mod2.
722 Add rules to build tst-audit-threads.
723 * nptl/tst-audit-threads-mod1.c: New file.
724 * nptl/tst-audit-threads-mod2.c: Likewise.
725 * nptl/tst-audit-threads.c: Likewise.
726 * nptl/tst-audit-threads.h: Likewise.
728 2018-11-26 Florian Weimer <fweimer@redhat.com>
731 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
735 2018-11-20 DJ Delorie <dj@redhat.com>
737 * malloc/malloc.c (tcache_entry): Add key field.
738 (tcache_put): Set it.
739 (tcache_get): Likewise.
740 (_int_free): Check for double free in tcache.
741 * malloc/tst-tcfree1.c: New.
742 * malloc/tst-tcfree2.c: New.
743 * malloc/Makefile: Run the new tests.
744 * manual/probes.texi: Document memory_tcache_double_free probe.
746 * dlfcn/dlerror.c (check_free): Prevent double frees.
748 2018-11-27 Florian Weimer <fweimer@redhat.com>
752 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
753 descriptor leak in case of ENODEV error.
755 2018-11-19 Florian Weimer <fweimer@redhat.com>
757 support: Print timestamps in timeout handler.
758 * support/support_test_main.c (print_timestamp): New function.
759 (signal_handler): Use it to print the termination time and the
760 time of the last write to standard output.
762 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
764 * libio/tst-readline.c (TIMEOUT): Define.
766 2018-10-22 Joseph Myers <joseph@codesourcery.com>
768 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
771 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
773 Fix tzfile low-memory assertion failure
775 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
776 when registering time zone abbreviations.
778 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
781 * include/stdio.h (__libc_fatal): Mention newline in comment.
782 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
783 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
784 * nscd/initgrcache.c (addinitgroupsX): Likewise.
785 * nss/nsswitch.c (__nss_next2): Likewise.
786 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
787 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
788 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
789 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
790 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
791 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
792 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
793 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
794 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
795 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
796 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
797 * sysdeps/unix/sysv/linux/netlink_assert_response.c
798 (__netlink_assert_response): Likewise.
800 2018-08-28 Florian Weimer <fweimer@redhat.com>
803 nscd: Fix use-after-free in addgetnetgrentX and its callers.
804 * nscd/netgroupcache.c
805 (addgetnetgrentX): Add tofreep parameter. Do not free
806 heap-allocated buffer.
807 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
808 (addgetnetgrentX_ignore): New function.
809 (addgetnetgrent): Call it.
810 (readdgetnetgrent): Likewise.
812 2018-08-16 DJ Delorie <dj@delorie.com>
814 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
815 (malloc_consolidate): Likewise.
817 2018-08-16 Pochang Chen <johnchen902@gmail.com>
819 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
821 2018-08-13 Joseph Myers <joseph@codesourcery.com>
823 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
825 (io_pgetevents): New syscall.
828 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
831 * resolv/tst-resolv-network.c: Add test for getnetbyname.
833 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
836 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
837 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
838 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
839 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
840 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
843 2018-11-05 Andreas Schwab <schwab@suse.de>
846 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
847 creating the first helper thread failed.
849 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
852 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
853 independently of other flags.
855 2018-10-30 Florian Weimer <fweimer@redhat.com>
857 * stdlib/tst-strtod-overflow.c (do_test): Switch to
860 2018-10-30 Florian Weimer <fweimer@redhat.com>
862 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
864 2018-10-30 Florian Weimer <fweimer@redhat.com>
866 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
869 2018-10-30 Florian Weimer <fweimer@redhat.com>
871 Avoid spurious test failures in stdlib/test-bz22786.
872 * support/Makefile (libsupport-routines): Add blob_repeat.
873 (tests): Add tst-support_blob_repeat.
874 * support/blob_repeat.h: New file.
875 * support/blob_repeat.c: Likewise.
876 * support/tst-support_blob_repeat.c: Likewise.
877 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
878 support_blob_repeat_allocate.
880 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
882 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
885 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
888 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
889 create temporary files in source tree.
891 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
894 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
895 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
896 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
898 2018-10-25 Florian Weimer <fweimer@redhat.com>
902 XFAIL siginfo_t si_band conform test on sparc64.
903 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
904 (__SI_BAND_TYPE): Only override long int default type on sparc64.
905 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
906 (conformtest-xfail-conds): Add sparc64-linux.
907 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
909 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
911 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
914 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
915 (struct siginfo_t): Use correct type for si_band.
917 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
920 * nptl/tst-mutex10.c: New File.
921 * nptl/Makefile (tests): Add tst-mutex10.
922 (tst-mutex10-ENV): New variable.
923 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
924 Ensure that elision path is used if elision is available.
925 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
927 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
929 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
930 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
931 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
932 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
934 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
935 (__pthread_mutex_cond_lock_adjust): Likewise.
936 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
938 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
939 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
940 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
941 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
943 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
944 Use atomic_load_relaxed and atomic_store_relaxed.
945 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
946 Use atomic_store_relaxed.
948 2018-10-09 H.J. Lu <hongjiu.lu@intel.com>
951 * sysdeps/i386/dl-cet.c: Removed.
952 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
954 (_dl_runtime_profile_shstk): Likewise.
955 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
956 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
958 2018-10-09 Rafal Luzynski <digitalfreak@lingonborough.com>
961 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
962 should be "sap" rather than "sab".
963 (day): Fix spelling of Sunday, should be "sapaat" rather than
966 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
969 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
970 do_test_with_invalid_iov): New tests.
971 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
972 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
973 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
975 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
976 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
977 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
978 * NEWS: Add bug fixed.
980 2018-09-27 Andreas Schwab <schwab@suse.de>
983 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
984 (do_test): Make st1 static.
986 2018-09-21 H.J. Lu <hongjiu.lu@intel.com>
987 Xuepeng Guo <xuepeng.guo@intel.com>
990 * sysdeps/i386/start.S: Include <sysdep.h>
991 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
992 enabled. Add cfi_undefined (eip).
994 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
997 * string/test-strstr.c (pr23637): New function.
998 (test_main): Add tests with longer needles.
999 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
1000 * string/strstr.c (AVAILABLE): Likewise.
1002 2018-09-19 Carlos O'Donell <carlos@redhat.com>
1004 * stdlib/tst-setcontext9.c (f1): Rename to...
1006 (f1b): New function implementing lower half of f1 in alternate stack.
1008 2018-09-20 Florian Weimer <fweimer@redhat.com>
1010 * misc/tst-gethostid.c: New file.
1011 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
1012 (tst-gethostid): Link with -ldl.
1014 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
1016 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
1017 value from gethostbyname_r.
1019 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
1021 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
1022 Increment size of new_argv by one.
1024 2018-08-28 Florian Weimer <fweimer@redhat.com>
1027 * posix/tst-regcomp-truncated.c: New file.
1028 * posix/Makefile (tests): Add it.
1029 (tst-regcomp-truncated.out): Depend on generated locales.
1031 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
1034 regex: fix uninitialized memory access
1035 I introduced this bug into gnulib in commit
1036 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
1037 eventually it was merged into glibc. The bug was found by
1038 project-repo <bugs@feusi.co> and reported here:
1039 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
1040 Diagnosis and draft fix reported by Assaf Gordon here:
1041 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
1042 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
1043 * posix/regex_internal.c (build_wcs_upper_buffer):
1044 Fix bug when mbrtowc returns 0.
1046 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
1047 Torvald Riegel <triegel@redhat.com>
1050 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
1051 Update r to include the set wake-request flag if waiters are
1052 remaining after spinning.
1054 2018-08-03 DJ Delorie <dj@redhat.com>
1056 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
1057 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
1059 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
1061 2018-08-14 Florian Weimer <fweimer@redhat.com>
1065 * nss/nss_files/files-alias.c (get_next_alias): During :include:
1066 processing, bail out if no room, and close the stream before
1068 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
1069 (tst-nss-files-alias-leak): Link with libdl.
1070 (tst-nss-files-alias-leak.out): Depend on nss_files.
1072 * nss/tst-nss-files-alias-leak.c: New file.
1074 2018-08-14 Florian Weimer <fweimer@redhat.com>
1076 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
1077 server_user, stat_user.
1079 2018-08-13 Florian Weimer <fweimer@redhat.com>
1081 * misc/error.c (error): Add missing va_end call.
1082 (error_at_line): Likewise.
1084 2018-08-10 Florian Weimer <fweimer@redhat.com>
1087 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
1089 (__old_getdents64): Use getdents64. Convert entries without
1091 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
1092 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
1093 tst-readdir64-compat.
1095 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1097 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
1099 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
1100 __pthread_setspecific): Add hidden proto.
1101 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
1102 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
1104 2018-08-01 Carlos O'Donel <carlos@redhat.com>
1106 * version.h (RELEASE): Set to "stable".
1107 (VERSION): Set to "2.28".
1108 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
1109 * NEWS: Add the list of bugs fixed in 2.28.
1111 * po/ca.po: Update to latest version.
1112 * po/cs.po: Likewise
1113 * po/da.po: Likewise
1114 * po/el.po: Likewise
1115 * po/eo.po: Likewise
1116 * po/es.po: Likewise
1117 * po/fi.po: Likewise
1118 * po/fr.po: Likewise
1119 * po/gl.po: Likewise
1120 * po/hu.po: Likewise
1121 * po/ia.po: Likewise
1122 * po/id.po: Likewise
1123 * po/it.po: Likewise
1124 * po/ja.po: Likewise
1125 * po/ko.po: Likewise
1126 * po/lt.po: Likewise
1127 * po/nb.po: Likewise
1128 * po/nl.po: Likewise
1129 * po/pt_BR.po: Likewise
1130 * po/ru.po: Likewise
1131 * po/rw.po: Likewise
1132 * po/sk.po: Likewise
1133 * po/sl.po: Likewise
1134 * po/tr.po: Likewise
1135 * po/zh_CN.po: Likewise
1136 * po/zh_TW.po: Likewise
1138 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
1140 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
1142 (init): ... before initializing libpthread.
1144 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
1145 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
1146 (__mach_setup_tls): ... new function.
1147 (mach_setup_tls): New alias.
1148 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
1149 __mach_setup_thread.
1150 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
1151 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
1152 * mach/Versions [libc] (mach_setup_tls): Add symbol.
1153 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
1155 2018-07-31 Carlos O'Donell <carlos@redhat.com>
1157 * manual/install.texi: Update versions.
1158 * INSTALL: Regenerate.
1160 * manual/contrib.texi (Contributors): Update contributions.
1162 2018-07-31 Carlos O'Donell <carlos@redhat.com>
1164 * po/be.po: Update translations.
1166 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1168 * sysdeps/sh/libm-test-ulps: Update.
1170 2018-07-30 Carlos O'Donell <carlos@redhat.com>
1172 * po/bg.po: Update translations.
1173 * po/de.po: Likewise.
1174 * po/hr.po: Likewise.
1175 * po/pt_BR.po: Likewise.
1176 * po/sv.po: Likewise.
1177 * po/vi.po: Likewise.
1179 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
1182 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
1183 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
1184 (CFLAGS-tst-cet-property-1.o): New.
1185 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
1186 ($(objpfx)tst-cet-property-2): Likewise.
1187 ($(objpfx)tst-cet-property-2.out): Likewise.
1188 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
1189 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
1190 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
1191 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
1192 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
1194 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
1197 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
1199 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
1201 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
1202 __sbrk): Do not set attribute_hidden.
1203 * sysdeps/mach/hurd/not-errno.h: New file.
1204 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
1205 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
1207 2018-07-27 Carlos O'Donell <carlos@redhat.com>
1209 * po/uk.po: Update translations.
1210 * po/cs.po: Likewise.
1211 * po/pl.po: Likewise.
1213 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
1215 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
1216 parse beyond the note end.
1218 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1220 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
1221 kernel does not support OFD locks.
1222 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
1224 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1226 * sysdeps/mach/hurd/Versions (libc): Make __access and
1227 __access_noerrno external so they can override the ld symbols.
1228 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
1229 __writev, __open64, __access_noerrno extern so they can be overrided.
1230 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
1231 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
1233 2018-07-26 Carlos O'Donell <carlos@redhat.com>
1235 * po/libc.pot: Regenerate.
1237 2018-07-26 Joseph Myers <joseph@codesourcery.com>
1239 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
1241 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
1244 * sysdeps/x86/cpu-features.c (get_extended_indices): New
1246 (init_cpu_features): Call get_extended_indices for both Intel
1248 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
1249 Remove "for AMD" comment.
1251 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
1254 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
1255 COMMON_CPUID_INDEX_80000001.
1257 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
1259 * string/tst-xbzero-opt.c (use_test_buffer): New function.
1260 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
1262 2018-07-26 Florian Weimer <fweimer@redhat.com>
1264 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
1265 aliases for symbols not in the implementation namespace.
1267 2018-07-25 Carlos O'Donell <carlos@redhat.com>
1270 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
1271 lowercase in LATIN script.
1272 * localedata/Makefile (test-input): Add en_US.UTF-8.
1273 * localedata/en_US.UTF-8.in: New file.
1274 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
1275 and restore old tests.
1276 * posix/tst-regexloc.c (do_test): Add back range expression test.
1278 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
1280 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
1282 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1284 * nptl/threads.h: Move to ...
1285 * sysdeps/nptl/threads.h: ... here.
1286 * sysdeps/hurd/stdc-predef.h: New file.
1288 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
1290 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
1291 tst-cet-setcontext-1 if CET is enabled.
1292 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
1293 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
1295 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1297 * include/threads.h: Move to ...
1298 * sysdeps/nptl/threads.h: ... here.
1299 * sysdeps/htl/threads.h: New file.
1300 * conform/Makefile (linknamespace-libs-ISO11): Use
1301 static-thread-library instead of linking libpthread.
1302 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
1304 2018-07-25 Florian Weimer <fweimer@redhat.com>
1306 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
1307 nanoseconds into seconds.
1308 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
1309 (do_test): Likewise.
1310 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
1311 (do_test): Likewise. Avoid nanosecond overflow and spurious
1312 timeouts due to system load.
1313 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
1314 (child_wait): Increment it.
1315 (do_test): Wait as long as necessary until all expected threads
1318 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
1319 H.J. Lu <hongjiu.lu@intel.com>
1321 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
1323 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
1324 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
1325 (__push___start_context): New.
1326 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
1328 (__getcontext): Record the current shadow stack base. Save the
1329 caller's shadow stack pointer and base.
1330 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
1331 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
1332 (__push___start_context): New prototype.
1333 (__makecontext): Call __push___start_context to allocate a new
1334 shadow stack, push __start_context onto the new stack as well
1335 as the new shadow stack.
1336 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
1338 (__setcontext): Restore the target shadow stack.
1339 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
1341 (__swapcontext): Record the current shadow stack base. Save
1342 the caller's shadow stack pointer and base. Restore the target
1344 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1345 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
1346 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
1348 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
1350 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
1351 tst-setcontext8 and tst-setcontext9.
1352 * stdlib/tst-setcontext6.c: New file.
1353 * stdlib/tst-setcontext7.c: Likewise.
1354 * stdlib/tst-setcontext8.c: Likewise.
1355 * stdlib/tst-setcontext9.c: Likewise.
1357 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
1359 * stdlib/Makefile ((tests): Add tst-setcontext5.
1360 * stdlib/tst-setcontext5.c: New file.
1362 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
1364 * stdlib/Makefile (tests): Add tst-setcontext4.
1365 * stdlib/tst-setcontext4.c: New file.
1367 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
1369 * stdlib/Makefile (tests): Add tst-swapcontext1.
1370 * stdlib/tst-swapcontext1.c: New test.
1372 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
1374 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
1375 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
1376 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
1377 and tst-cet-legacy-4c.
1378 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
1379 and tst-cet-legacy-mod-4.
1380 (CFLAGS-tst-cet-legacy-2.c): New.
1381 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
1382 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
1383 (CFLAGS-tst-cet-legacy-3.c): Likewise.
1384 (CFLAGS-tst-cet-legacy-4.c): Likewise.
1385 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
1386 ($(objpfx)tst-cet-legacy-1): Likewise.
1387 ($(objpfx)tst-cet-legacy-2): Likewise.
1388 ($(objpfx)tst-cet-legacy-2.out): Likewise.
1389 ($(objpfx)tst-cet-legacy-2a): Likewise.
1390 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
1391 ($(objpfx)tst-cet-legacy-4): Likewise.
1392 ($(objpfx)tst-cet-legacy-4.out): Likewise.
1393 ($(objpfx)tst-cet-legacy-4a): Likewise.
1394 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
1395 (tst-cet-legacy-4a-ENV): Likewise.
1396 ($(objpfx)tst-cet-legacy-4b): Likewise.
1397 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
1398 (tst-cet-legacy-4b-ENV): Likewise.
1399 ($(objpfx)tst-cet-legacy-4c): Likewise.
1400 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
1401 (tst-cet-legacy-4c-ENV): Likewise.
1402 * sysdeps/x86/tst-cet-legacy-1.c: New file.
1403 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
1404 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
1405 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
1406 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
1407 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
1408 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
1409 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
1410 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
1411 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
1412 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
1414 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
1416 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
1417 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
1419 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
1420 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
1423 2018-07-25 Andreas Schwab <schwab@suse.de>
1426 * locale/weightwc.h (findidx): Handle the case where usrc is a
1427 prefix of cp but one character too short.
1429 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1431 * NEWS: Add ISO C threads addition.
1433 2018-07-24 Florian Weimer <fweimer@redhat.com>
1435 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1436 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
1437 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
1440 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
1442 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
1443 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
1444 <sys/prctl.h> and <asm/prctl.h>.
1445 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
1446 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
1448 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
1449 ARCH_CET_LEGACY_BITMAP.
1450 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
1451 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
1452 * sysdeps/x86/libc-start.c: Include <startup.h>.
1454 2018-07-24 Florian Weimer <fweimer@redhat.com>
1456 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
1457 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
1459 2018-07-24 Rical Jasan <rj@2c3t.io>
1460 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1461 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
1464 * manual/debug.texi: Update adjacent chapter name.
1465 * manual/probes.texi: Likewise.
1466 * manual/threads.texi (ISO C Threads): New section.
1467 (POSIX Threads): Convert to a section.
1469 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1470 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
1473 * nptl/Makefile (tests): Add new test files.
1474 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
1475 * nptl/tst-cnd-basic.c: Likewise.
1476 * nptl/tst-cnd-broadcast.c: Likewise.
1477 * nptl/tst-cnd-timedwait.c: Likewise.
1478 * nptl/tst-mtx-basic.c: Likewise.
1479 * nptl/tst-mtx-recursive.c: Likewise.
1480 * nptl/tst-mtx-timedlock.c: Likewise.
1481 * nptl/tst-mtx-trylock.c: Likewise.
1482 * nptl/tst-thrd-basic.c: Likewise.
1483 * nptl/tst-thrd-detach.c: Likewise.
1484 * nptl/tst-thrd-sleep.c: Likewise.
1485 * nptl/tst-tss-basic.c: Likewise.
1487 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1490 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
1491 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
1493 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1494 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1495 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1496 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1497 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1498 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1499 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1500 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1501 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1502 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1503 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1504 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1512 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
1513 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1514 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1515 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1516 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1517 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1518 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1519 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1520 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
1521 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
1522 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
1523 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
1524 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
1526 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
1527 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
1528 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
1529 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
1530 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
1531 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
1532 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
1533 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
1534 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
1535 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
1536 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
1537 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
1539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
1540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1544 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
1545 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
1546 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
1547 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
1548 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
1549 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
1550 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
1551 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
1554 * conform/data/threads.h-data (thread_local): New macro.
1555 (TSS_DTOR_ITERATIONS): Likewise.
1557 (tss_dtor_t): Likewise.
1558 (tss_create): New function.
1559 (tss_get): Likewise.
1560 (tss_set): Likewise.
1561 (tss_delete): Likewise.
1562 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
1563 tss_get, and tss_set objects.
1564 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
1565 * nptl/tss_create.c: New file.
1566 * nptl/tss_delete.c: Likewise.
1567 * nptl/tss_get.c: Likewise.
1568 * nptl/tss_set.c: Likewise.
1569 * sysdeps/nptl/threads.h (thread_local): New define.
1570 (TSS_DTOR_ITERATIONS): Likewise.
1571 (tss_t): New typedef.
1572 (tss_dtor_t): Likewise.
1573 (tss_create): New prototype.
1574 (tss_get): Likewise.
1575 (tss_set): Likewise.
1576 (tss_delete): Likewise.
1579 * conform/data/threads.h-data (cnd_t): New type.
1580 (cnd_init): New function.
1581 (cnd_signal): Likewise.
1582 (cnd_broadcast): Likewise.
1583 (cnd_wait): Likewise.
1584 (cnd_timedwait): Likewise.
1585 (cnd_destroy): Likewise.
1586 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
1587 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
1589 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
1590 * nptl/cnd_broadcast.c: New file.
1591 * nptl/cnd_destroy.c: Likewise.
1592 * nptl/cnd_init.c: Likewise.
1593 * nptl/cnd_signal.c: Likewise.
1594 * nptl/cnd_timedwait.c: Likewise.
1595 * nptl/cnd_wait.c: Likewise.
1596 * sysdeps/nptl/threads.h (cnd_t): New type.
1597 (cnd_init): New prototype.
1598 (cnd_signa): Likewise.
1599 (cnd_broadcast): Likewise.
1600 (cnd_wait): Likewise.
1601 (cnd_timedwait): Likewise.
1602 (cnd_destroy): Likewise.
1605 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
1606 (once_flag): New type.
1607 (call_once): New function.
1608 * nptl/Makefile (libpthread-routines): Add call_once object.
1609 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
1610 * nptl/call_once.c: New file.
1611 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
1612 (once_flag): New type.
1613 (call_once): New prototype.
1616 * conform/data/threads.h-data (mtx_plain): New constant.
1617 (mtx_recursive): Likewise.
1618 (mtx_timed): Likewise.
1620 (mtx_init): New function.
1621 (mtx_lock): Likewise.
1622 (mtx_timedlock): Likewise.
1623 (mtx_trylock): Likewise.
1624 (mtx_unlock): Likewise.
1625 (mtx_destroy): Likewise.
1626 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
1627 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
1628 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
1629 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
1630 * nptl/mtx_destroy.c: New file.
1631 * nptl/mtx_init.c: Likewise.
1632 * nptl/mtx_lock.c: Likewise.
1633 * nptl/mtx_timedlock.c: Likewise.
1634 * nptl/mtx_trylock.c: Likewise.
1635 * nptl/mtx_unlock.c: Likewise.
1636 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
1637 (mtx_recursive): Likewise.
1638 (mtx_timed): Likewise.
1640 (mtx_init): New prototype.
1641 (mtx_lock): Likewise.
1642 (mtx_timedlock): Likewise.
1643 (mtx_trylock): Likewise.
1644 (mtx_unlock): Likewise.
1645 (mtx_destroy): Likewise.
1648 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
1649 (linknamespace-libs-ISO11): Add libpthread.a.
1650 * conform/data/threads.h-data: New file: add C11 thrd_* types and
1652 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
1653 * nptl/Makefile (headers): Add threads.h.
1654 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
1655 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
1657 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
1658 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
1659 thrd_join, thrd_sleep, and thrd_yield symbols.
1660 * nptl/descr.h (struct pthread): Add c11 field.
1661 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
1662 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
1663 routine with expected function prototype.
1664 (__pthread_create_2_1): Add C11 threads check based on attribute
1666 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
1667 * nptl/thrd_create.c: New file.
1668 * nptl/thrd_current.c: Likewise.
1669 * nptl/thrd_detach.c: Likewise.
1670 * nptl/thrd_equal.c: Likewise.
1671 * nptl/thrd_exit.c: Likewise.
1672 * nptl/thrd_join.c: Likewise.
1673 * nptl/thrd_priv.h: Likewise.
1674 * nptl/thrd_sleep.c: Likewise.
1675 * nptl/thrd_yield.c: Likewise.
1676 * include/threads.h: Likewise.
1678 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
1680 * bits/indirect-return.h: New file.
1681 * misc/sys/cdefs.h (__glibc_has_attribute): New.
1682 * sysdeps/x86/bits/indirect-return.h: Likewise.
1683 * stdlib/Makefile (headers): Add bits/indirect-return.h.
1684 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
1685 (swapcontext): Add __INDIRECT_RETURN.
1686 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
1687 (prepare_test_buffer): Use it.
1689 2018-07-24 Andreas Schwab <schwab@suse.de>
1692 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
1693 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
1695 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
1697 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
1698 Redefine if shadow stack is enabled.
1699 (SYSCALL_ERROR_LABEL): Likewise.
1700 (__vfork): Pop shadow stack and jump back to to caller directly
1701 when shadow stack is in use.
1702 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
1703 Redefine if shadow stack is enabled.
1704 (SYSCALL_ERROR_LABEL): Likewise.
1705 (__vfork): Pop shadow stack and jump back to to caller directly
1706 when shadow stack is in use.
1708 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
1710 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
1713 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
1716 2018-07-20 Joseph Myers <joseph@codesourcery.com>
1718 * scripts/build-many-glibcs.py (Context.checkout): Default
1719 binutils version to 2.31 branch.
1721 2018-07-20 Zong Li <zong@andestech.com>
1723 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
1724 URL of gcc's tarball.
1726 2018-07-20 Florian Weimer <fweimer@redhat.com>
1729 * posix/regcomp.c (build_equiv_class): When comparing weights, do
1730 not compare an extra byte after the end of the weights.
1732 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
1734 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
1736 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
1738 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
1739 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
1740 * scripts/check-execstack.awk: Consider `xfail' variable containing a
1741 list of libraries whose stack executability is expected.
1742 * elf/Makefile ($(objpfx)check-execstack.out): Pass
1743 $(check-execstack-xfail) to check-execstack.awk through `xfail'
1745 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
1746 libc.so libpthread.so.
1748 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
1750 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
1752 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
1754 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
1756 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
1758 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1760 * benchtests/scripts/compare_bench.py (__main__): use the argparse
1761 library to improve command line parsing.
1762 (__main__): make schema file as optional parameter (--schema),
1763 defaulting to benchtests/scripts/benchout.schema.json.
1764 (main): move out of the parsing stuff to __main_ and leave it
1765 only as caller of main comparison functions.
1767 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
1769 * NEWS: Add a note for Intel CET status.
1770 * manual/install.texi: Likewise.
1771 * INSTALL: Regenerated.
1773 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
1776 * localedata/locales/oc_FR (mon): Rename to...
1777 (alt_mon): This, then update October (typo fix).
1778 (mon): New content (genitive case, month names preceded by
1782 * localedata/locales/oc_FR (abday): Update all items.
1783 (day): Update Wednesday and Saturday (typo fixes).
1784 (abmon): Update all items, except May.
1785 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
1786 (LC_IDENTIFICATION): Bump the revision number and date.
1787 Keep the "category" entries in alphabetic order.
1788 (LC_ADDRESS): Remove no longer needed comment.
1789 (LC_COLLATE): Use “copy "ca_ES"”.
1790 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
1793 2018-07-18 Joseph Myers <joseph@codesourcery.com>
1795 * grp/tst_fgetgrent.c: Include <unistd.h>.
1796 (main): Use mkstemp instead of tmpnam.
1797 * io/test-utime.c (main): Likewise.
1798 * posix/annexc.c (macrofile): Change to modifiable array.
1799 (main): Remove macrofile here.
1800 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
1802 (check_header): Do not remove macrofile here.
1803 * posix/bug-getopt1.c: Include <stdlib.h>.
1804 (do_test): Use mkstemp instead of tmpnam.
1805 * posix/bug-getopt2.c: Include <stdlib.h>.
1806 (do_test): Use mkstemp instead of tmpnam.
1807 * posix/bug-getopt3.c: Include <stdlib.h>.
1808 (do_test): Use mkstemp instead of tmpnam.
1809 * posix/bug-getopt4.c: Include <stdlib.h>.
1810 (do_test): Use mkstemp instead of tmpnam.
1811 * posix/bug-getopt5.c: Include <stdlib.h>.
1812 (do_test): Use mkstemp instead of tmpnam.
1813 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
1814 (main): Use mkstemp instead of tmpnam.
1815 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
1816 (main): Use mkstemp instead of tmpnam.
1817 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
1818 (main): use mkstemp instead of tmpnam.
1819 * stdlib/isomac.c (macrofile): Change to modifiable array.
1820 (main): Remove macrofile here.
1821 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
1823 (check_header): Do not remove macrofile here.
1825 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
1827 * manual/tunables.texi: Document glibc.tune.x86_ibt and
1828 glibc.tune.x86_shstk.
1830 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
1832 * NEWS: Mention --enable-cet.
1833 * manual/install.texi: Document --enable-cet.
1834 * INSTALL: Regenerated.
1836 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
1838 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
1839 Add _CET_NOTRACK before indirect jump to jump table.
1841 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
1843 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
1844 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
1847 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
1849 * sysdeps/i386/i686/multiarch/strcat-sse2.S
1850 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
1853 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
1855 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
1856 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
1859 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
1861 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
1862 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
1865 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
1867 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
1868 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
1870 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
1872 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
1874 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
1875 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
1878 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
1880 * sysdeps/i386/i686/multiarch/memset-sse2.S
1881 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
1884 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
1886 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
1887 indirect jump to jump table.
1889 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
1891 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
1892 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
1896 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
1898 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
1899 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
1903 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
1905 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
1906 _CET_NOTRACK before indirect jump to jump table.
1908 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
1910 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
1911 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
1914 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
1916 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
1917 indirect jump to jump table.
1919 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
1922 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
1923 (LOCALES): Likewise.
1924 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
1925 * localedata/locales/sah_RU: New file.
1926 * localedata/sah_RU.UTF-8.in: New file.
1928 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
1930 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
1932 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
1933 _CET_ENDBR to indirect jump targets and adjust jump destination
1935 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
1937 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
1938 _CET_ENDBR to indirect jump targets and adjust jump destination
1940 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
1942 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
1943 _CET_ENDBR to indirect jump targets and adjust jump destination
1946 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
1948 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
1951 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
1953 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
1955 (_dl_tlsdesc_undefweak): Likewise.
1956 (_dl_tlsdesc_dynamic): Likewise.
1957 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
1958 (_dl_tlsdesc_resolve_rel): Likewise.
1959 (_dl_tlsdesc_resolve_rela): Likewise.
1960 (_dl_tlsdesc_resolve_hold): Likewise.
1961 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
1962 (_dl_tlsdesc_undefweak): Likewise.
1963 (_dl_tlsdesc_dynamic): Likewise.
1964 (_dl_tlsdesc_resolve_rela): Likewise.
1965 (_dl_tlsdesc_resolve_hold): Likewise.
1967 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
1969 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
1971 * sysdeps/x86_64/crti.S (_init): Likewise.
1974 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
1977 * localedata/locales/os_RU (mon): Rename to...
1979 (mon): Import from CLDR (genitive case).
1981 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
1983 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
1984 cet-tunables.h> when CET is enabled.
1986 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
1989 * configure.ac: Add --enable-cet.
1990 * configure: Regenerated.
1991 * elf/Makefille (all-built-dso): Add a comment.
1992 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
1993 Include <dl-prop.h>.
1994 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
1996 * elf/dl-open.c: Include <dl-prop.h>.
1997 (dl_open_worker): Call _dl_open_check.
1998 * elf/rtld.c: Include <dl-prop.h>.
1999 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
2001 * sysdeps/generic/dl-prop.h: New file.
2002 * sysdeps/i386/dl-cet.c: Likewise.
2003 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
2004 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
2005 * sysdeps/x86/cet-tunables.h: Likewise.
2006 * sysdeps/x86/check-cet.awk: Likewise.
2007 * sysdeps/x86/configure: Likewise.
2008 * sysdeps/x86/configure.ac: Likewise.
2009 * sysdeps/x86/dl-cet.c: Likewise.
2010 * sysdeps/x86/dl-procruntime.c: Likewise.
2011 * sysdeps/x86/dl-prop.h: Likewise.
2012 * sysdeps/x86/libc-start.h: Likewise.
2013 * sysdeps/x86/link_map.h: Likewise.
2014 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
2016 (_dl_runtime_profile): Likewise.
2017 (_dl_runtime_resolve_shstk): New.
2018 (_dl_runtime_profile_shstk): Likewise.
2019 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
2021 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
2022 (CFLAGS-.os): Likewise.
2023 (CFLAGS-.op): Likewise.
2024 (CFLAGS-.oS): Likewise.
2025 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
2027 (tests-special): Add $(objpfx)check-cet.out.
2028 (cet-built-dso): New.
2029 (+$(cet-built-dso:=.note)): Likewise.
2030 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
2031 ($(objpfx)check-cet.out): New.
2032 (generated): Add check-cet.out.
2033 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
2035 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
2036 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
2037 (init_cpu_features): Call get_cet_status to check CET status
2038 and update dl_x86_feature_1 with CET status. Call
2039 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
2040 (set_x86_shstk). Disable and lock CET in libc.a.
2041 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
2042 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
2043 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
2044 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
2045 (_CET_ENDBR): Define if not defined.
2046 (ENTRY): Add _CET_ENDBR.
2047 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
2049 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
2051 (_dl_runtime_profile): Likewise.
2053 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
2056 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
2057 restore r2 on longjmp.
2058 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
2060 Added rules to build test tst-setjmp-bug21895-static.
2061 Added module setjmp-bug21895 and rules to build a shared object from it.
2062 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
2063 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
2065 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
2067 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
2068 * benchtests/bench-strstr.c: Likewise.
2069 * string/memmem.c (FASTSEARCH): Define.
2070 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
2071 Add support for FASTSEARCH.
2072 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
2073 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
2074 (FASTSEARCH): Define.
2075 * string/test-strcasestr.c: Rename __strnlen to strnlen.
2076 * string/test-strstr.c: Likewise.
2078 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
2080 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
2081 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
2083 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2084 H.J. Lu <hongjiu.lu@intel.com>
2086 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
2087 (__longjmp): Restore shadow stack pointer if shadow stack is
2088 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
2089 isn't defined for __longjmp_cancel.
2090 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
2091 (_setjmp): Save shadow stack pointer if shadow stack is enabled
2092 and SHADOW_STACK_POINTER_OFFSET is defined.
2093 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
2094 (setjmp): Save shadow stack pointer if shadow stack is enabled
2095 and SHADOW_STACK_POINTER_OFFSET is defined.
2096 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
2097 (__sigsetjmp): Save shadow stack pointer if shadow stack is
2098 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
2099 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
2101 (____longjmp_chk): Restore shadow stack pointer if shadow stack
2102 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
2103 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
2104 Remove jmp_buf-ssp.sym.
2105 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2107 (____longjmp_chk): Restore shadow stack pointer if shadow stack
2108 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
2109 * sysdeps/x86/Makefile (gen-as-const-headers): Add
2111 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
2112 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
2113 (__longjmp): Restore shadow stack pointer if shadow stack is
2114 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
2115 isn't defined for __longjmp_cancel.
2116 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
2117 (__sigsetjmp): Save shadow stack pointer if shadow stack is
2118 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
2120 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
2123 * nptl/pthread_create.c: Include <tls-setup.h>.
2124 (__pthread_create_2_1): Call tls_setup_tcbhead.
2125 * sysdeps/generic/tls-setup.h: New file.
2126 * sysdeps/x86/nptl/tls-setup.h: Likewise.
2127 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
2128 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
2130 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
2132 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
2133 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
2134 (X86_FEATURE_1_SHSTK): Likewise.
2135 (CET_ENABLED): Likewise.
2136 (IBT_ENABLED): Likewise.
2137 (SHSTK_ENABLED): Likewise.
2139 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
2142 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
2143 (LOCALES): Likewise.
2144 * localedata/dsb_DE.UTF-8.in: New file.
2145 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
2147 2018-07-12 Florian Weimer <fweimer@redhat.com>
2149 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
2150 __mprotect, not mprotect.
2152 2018-07-11 Florian Weimer <fweimer@redhat.com>
2154 * io/Makefile (headers): Add bits/statx.h.
2156 2018-07-10 Mike FABIAN <mfabian@redhat.com>
2158 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
2159 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
2161 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
2162 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
2165 2018-07-10 Florian Weimer <fweimer@redhat.com>
2167 * io/Makefile (routines): Add statx.
2168 (tests-internal): Add tst-statx.
2169 * io/Versions (GLIBC_2.28): Export statx.
2170 * io/bits/statx.h: New file.
2171 * io/sys/stat.h [__USE_GNU]: Include it.
2172 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
2173 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
2175 * io/statx.c: New file.
2176 * io/statx_generic.: Likewise.
2177 * io/tst-statx.: Likewise.
2178 * include/bits/statx.h: Likewise.
2179 * sysdeps/unix/sysv/linux/kernel-features.h
2180 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
2181 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2182 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
2183 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
2185 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2186 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
2187 * sysdeps/unix/sysv/linux/statx.c: New file.
2188 * manual/filesys.texi: Note that statx is undocumented.
2189 * sysdeps/**/libc*.abilist: Update.
2191 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2193 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
2194 a kernel issue which lead to test failure in some cases.
2196 2018-07-10 Florian Weimer <fweimer@redhat.com>
2199 * posix/regexec.c (check_node_accept_bytes): When comparing
2200 weights, do not compare an extra byte after the end of the
2203 2018-07-10 Florian Weimer <fweimer@redhat.com>
2205 * libio/readline.c: Fix copyright year.
2206 * libio/tst-readline.c Likewise.
2207 * nss/tst-nss-files-hosts-getent.c: Likewise.
2209 2018-07-06 Florian Weimer <fweimer@redhat.com>
2212 * nss/nss_files/files-XXX.c (internal_getent): Use
2213 __libc_readline_unlocked. Seek back to the start of the line if
2214 parsing failes with ERANGE.
2215 (get_contents_ret, get_contents): Remove.
2216 * nss/tst-nss-files-hosts-getent.c: New file.
2217 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
2218 (tst-nss-files-hosts-getent): Link with -ldl.
2220 2018-07-06 Florian Weimer <fweimer@redhat.com>
2222 * include/stdio.h (__libc_readline_unlocked): Declare.
2223 (__ftello64, __fseeko64): Declare aliases.
2224 * libio/readline.c: New file.
2225 * libio/tst-readline.c: Likewise.
2226 (routines): Add readline.
2227 (tests-internal): Add tst-readlime.
2228 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
2229 __libc_readline_unlocked.
2230 * libio/fseeko.c (__fseeko): Rename from fseeko.
2231 (fseeko): Add alias.
2232 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
2233 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
2234 (fseeko64): Add alias.
2235 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
2236 * libio/ftello64.c (__ftello64): Rename from ftello64.
2237 (ftello64): Add alias.
2239 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
2241 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
2244 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
2246 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
2247 Use dl_hwcap without masking.
2248 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
2251 2018-07-06 Florian Weimer <fweimer@redhat.com>
2253 * conform/conformtest.pl (checknamespace): Escape literal braces
2254 in regular expressions.
2256 2018-07-06 Amit Pawar <amit.pawar@amd.com>
2258 * sysdeps/x86/cpu-features.c (get_common_indeces):
2259 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
2260 * sysdeps/x86/cpu-features.c (init_cpu_features):
2261 AVX_Fast_Unaligned_Load is disabled for Excavator core.
2263 2018-07-05 Florian Weimer <fweimer@redhat.com>
2265 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
2267 (CFLAGS-elf-init.oS): Likewise.
2269 2018-07-05 Florian Weimer <fweimer@redhat.com>
2270 Carlos O'Donell <carlos@redhat.com>
2272 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
2273 $(no-stack-protector). stack_chk_fail_local.c can be compiled
2274 with stack protector enabled because there is no risk of infinite
2277 2018-07-05 Maciej W. Rozycki <macro@mips.com>
2281 * libc-abis (ABSOLUTE): New ABI.
2282 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
2283 * NEWS: Mention the new ABI.
2285 2018-07-05 Florian Weimer <fweimer@redhat.com>
2288 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
2289 (RENAME_WHITEOUT): Define.
2290 [__USE_GNU] (renameat2): Declare.
2291 * stdio-common/Makefile (routines): Add renameat2.
2292 (tests): Add tst-renameat2.
2293 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
2294 * stdio-common/renameat2.c: New file.
2295 * stdio-common/tst-renameat2.c: Likewise.
2296 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
2297 * manual/filesys.texi (Temporary Files): Note that renameat2 is
2299 * sysdeps/unix/sysv/linux/kernel-features.h
2300 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
2301 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2302 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
2303 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2304 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
2305 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2306 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
2307 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2308 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
2309 * include/stdio.h (__renameat): Add alias for renameat.
2310 * stdio-common/renameat.c (__renameat): Rename from renameat.
2311 Add hidden definition and alias.
2312 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2313 * sysdeps/mach/hurd/renameat.c: Likewise.
2314 * sysdeps/**/libc*.abilist: Add renameat2.
2316 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2318 * posix/bug-regex33.c: Fix build after regex sync.
2320 2018-07-04 Carlos O'Donell <carlos@redhat.com>
2323 * localedata/tst-langinfo-setlocale.c: New file.
2324 * localedata/tst-langinfo-setlocale-static.c: New file.
2325 * localedata/tst-langinfo-newlocale.c: New file.
2326 * localedata/tst-langinfo-newlocale-static.c: New file.
2327 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
2328 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
2329 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
2330 (tests-static): Remove tst-langinfo-static. Add
2331 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
2332 (tests-special): Remove $(objpfx)tst-langinfo.out,
2333 $(objpfx)tst-langinfo-static.out. Add
2334 $(objpfx)tst-langinfo-setlocale.out,
2335 $(objpfx)tst-langinfo-newlocale.out,
2336 $(objpfx)tst-langinfo-setlocale-static.out,
2337 $(objpfx)tst-langinfo-newlocale-static.out.
2338 ($(objpfx)tst-langinfo.out): Remove.
2339 ($(objpfx)tst-langinfo-static.out): Remove.
2340 ($(objpfx)tst-langinfo-newlocale.out): New target.
2341 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
2342 (test-xfail-tst-langinfo-newlocale-static): Add.
2343 ($(objpfx)tst-langinfo-setlocale.out): New target.
2344 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
2345 * localedata/tst-langinfo.c: Call test_locale.
2346 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
2349 2018-07-04 Florian Weimer <fweimer@redhat.com>
2351 testrun.sh: Implement --tool=strace, --tool=valgrind
2352 * Makefile (testrun-script): Define variable.
2353 (testrun.sh): Use variable.
2354 * manual/install.texi (Tools for Compilation): make 4.0 or later
2356 * configure.ac: Check for make 4.0 or later.
2357 * INSTALL: Regenerate.
2358 * configure: Likewise.
2360 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2366 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
2367 * posix/PCRE.tests: Remove invalid test.
2368 * posix/bug-regex28.c: Fix expected values for used syntax.
2369 * posix/bug-regex37.c: New file.
2370 * posix/bug-regex38.c: Likewise.
2371 * posix/regcomp.c: Sync with gnulib.
2372 * posix/regex.c: Likewise.
2373 * posix/regex.h: Likewise.
2374 * posix/regex_internal.c: Likewise.
2375 * posix/regex_internal.h: Likewise.
2376 * posix/regexec.c: Likewise.
2378 2018-06-26 Mike FABIAN <mfabian@redhat.com>
2381 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
2382 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
2383 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
2384 * localedata/unicode-gen/PropList.txt: likewise.
2385 * localedata/unicode-gen/UnicodeData.txt: likewise.
2386 * localedata/charmaps/UTF-8: Regenerate.
2387 * localedata/locales/i18n_ctype: likewise.
2388 * localedata/locales/tr_TR: likewise.
2389 * localedata/locales/translit_circle: likewise.
2390 * localedata/locales/translit_cjk_compat: likewise.
2391 * localedata/locales/translit_combining: likewise.
2392 * localedata/locales/translit_compat: likewise.
2393 * localedata/locales/translit_font: likewise.
2394 * localedata/locales/translit_fraction: likewise.
2396 2018-07-03 Florian Weimer <fweimer@redhat.com>
2399 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
2400 * stdio-common/tst-printf.sh: Adjust expected output.
2403 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2405 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
2408 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2410 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
2411 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
2412 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
2413 * stdio-common/tst-printfsz-islongdouble.c: New file.
2414 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
2415 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
2416 [subdir == stdio-common] (routines): Add ieee128-printf_size.
2417 [subdir == stdio-common] (tests-internal): Add
2418 test-printf-size-ieee128, and test-printf-size-ibm128.
2419 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
2420 (CFLAGS-test-printf-size-ibm128.c): New variables.
2421 [subdir == stdio-common] (tests-special): Add
2422 $(objpfx)test-printf-size-ieee128.out and
2423 $(objpfx)test-printf-size-ibm128.out.
2424 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
2425 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
2426 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
2427 __printf_sizeieee128.
2428 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
2430 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
2432 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
2435 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
2437 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
2438 (exp2f_inline): Likewise.
2439 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
2440 (__math_uflowf): Likewise.
2441 (__math_may_uflowf): Likewise.
2442 (__math_divzerof): Likewise.
2443 (__math_invalidf): Likewise.
2444 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
2445 (__math_oflowf): Likewise.
2446 (__math_uflowf): Likewise.
2447 (__math_may_uflowf): Likewise.
2448 (__math_divzerof): Likewise.
2449 (__math_invalidf): Likewise.
2451 2018-06-29 DJ Delorie <dj@redhat.com>
2452 Carlos O'Donell <carlos@redhat.com>
2455 * include/libc-symbols.h: Comment the freeres framework.
2456 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
2457 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
2458 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
2459 * dlfcn/dlerror.c: Include libc-symbols.h
2460 (__dlerror_main_freeres): New function.
2461 * dlfcn/dlfreeres.c: New file.
2462 * dlfcn/sdlfreeres.c: New file.
2463 * include/dlfcn.h: Declare __dlerror_main_freeres.
2464 * malloc/set-freeres.c: Declare __libdl_freeres, and
2465 __libpthread_freeres.
2466 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
2467 the releavant libraries are loaded.
2468 * malloc/thread-freeres.c: Add comments.
2469 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
2470 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
2471 * nptl/allocatestack.c (__nptl_free_stacks): New function.
2472 (__free_stacks): Rename to...
2473 (free_stacks): ...this. Mark static.
2474 (queue_stack): Call free_stacks.
2475 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
2476 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
2477 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
2478 ptr_freeres element from struct.
2479 (pthread_functions): Remove .ptr_freeres from struct initializer.
2480 [SHARED] (nptl_freeres): Remove.
2481 * nptl/nptlfreeres.c: New file.
2483 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
2484 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
2486 (__free_stacks): Rename to...
2487 (__nptl_stacks_freeres): ...this.
2488 (__shm_directory_freeres): Declare.
2489 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
2490 (__nptl_unwind_freeres): ...this.
2491 * resolv/res-close.c: Add comment.
2492 * resolv/resolv_conf.c: Include libc-symbols.h.
2493 * string/strerror_l.c: Include libc-symbols.h.
2494 * sunrpc/rpc_thread.c: Include libc-symbols.h.
2495 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
2496 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
2497 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
2499 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2501 * stdlib/tst-strfmon_l.c: Add tests for long double.
2503 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
2506 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
2507 * localedata/locales/dsb_DE: New file.
2509 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
2512 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
2514 (alt_mon): New entry, import from CLDR (nominative case).
2516 2018-06-29 Sylvain Lesage <severo@rednegra.net>
2519 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
2521 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
2523 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
2524 Use vector registers.
2526 * sysdeps/aarch64/multiarch/memmove_falkor.S
2527 (__memcpy_falkor): Use vector registers.
2529 2018-06-29 Martin Sebor <msebor@redhat.com>
2531 * manual/stdio.texi (Customizing Printf): Mention interaction
2534 2018-06-29 Maciej W. Rozycki <macro@mips.com>
2537 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
2538 `st_value' is 0 if `st_shndx' is SHN_ABS.
2539 * elf/tst-absolute-zero.c: New file.
2540 * elf/tst-absolute-zero-lib.c: New file.
2541 * elf/tst-absolute-zero-lib.lds: New file.
2542 * elf/Makefile (tests): Add `tst-absolute-zero'.
2543 (modules-names): Add `tst-absolute-zero-lib'.
2544 (LDLIBS-tst-absolute-zero-lib.so): New variable.
2545 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
2546 ($(objpfx)tst-absolute-zero: New dependency.
2548 2018-06-29 Zack Weinberg <zackw@panix.com>
2550 * configure.ac: New command-line option --disable-crypt.
2551 Force --disable-nss-crypt when --disable-crypt is given, with a
2552 warning if it was explicitly enabled.
2553 * configure: Regenerate.
2554 * config.make.in: New boolean substitution variable $(build-crypt).
2555 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
2556 when $(build-crypt).
2557 * manual/install.texi: Document --disable-crypt.
2558 * INSTALL: Regenerate.
2560 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
2562 * conform/Makefile: Only include libcrypt.a in
2563 linknamespace-libs-xsi and linknamespace-libs-XPG4
2564 when $(build-crypt).
2565 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
2566 USE_CRYPT to 1 when $(build-crypt).
2567 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
2568 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
2569 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
2571 2018-06-29 Zack Weinberg <zackw@panix.com>
2573 * crypt/crypt.h, posix/unistd.h: Update comments and
2574 prototypes for crypt and crypt_r.
2576 * manual/crypt.texi (Cryptographic Functions): New initial
2578 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
2579 (Unpredictable Bytes): Improve initial exposition. Clarify error
2580 behavior of getentropy and getrandom.
2581 * manual/examples/genpass.c: Generate a salt using getentropy
2582 instead of the current time. Use hash $5$ (SHA-2-256).
2583 * manual/examples/testpass.c: Demonstrate validation against
2584 hashes generated with three different one-way functions.
2586 * manual/intro.texi: crypt.texi does not need an overview
2589 * manual/nss.texi, manual/memory.texi, manual/socket.texi
2590 * manual/terminal.texi: Consistently refer to "passphrases"
2591 * instead of "passwords", and to the "user database" instead
2592 * of the "password database".
2593 * manual/users.texi: Similarly. Add notes about how actual
2594 passphrase hashes are now stored in the shadow database.
2595 Remove 20-year-old junk todo note.
2597 2018-06-29 Zack Weinberg <zackw@panix.com>
2599 * manual/crypt.texi: Use a normal top-level @node declaration.
2600 Move most of the introductory text to the 'crypt' section.
2601 Move the example programs below the @deftypefun for 'crypt_r'.
2602 Move the 'getpass' section...
2603 * manual/terminal.texi: ...here.
2605 2018-06-29 Zack Weinberg <zackw@panix.com>
2606 Florian Weimer <fweimer@redhat.com>
2608 * posix/unistd.h: Do not declare encrypt.
2609 (_XOPEN_CRYPT): Remove macro definition.
2610 (crypt): Declare only for _USE_MISC.
2611 * stdlib/stdlib.h: Do not declare setkey.
2612 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
2613 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
2615 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
2616 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
2617 into compat symbols. Don't define initial_perm if it's not
2619 * crypt/cert.c: Link explicitly with the expected versions for
2620 setkey and encrypt. If they are not available at all, mark
2621 the test as unsupported.
2623 * sunrpc/des_crypt.c: Unconditionally block linkage with
2624 cbc_crypt and ecb_crypt for new binaries.
2625 * sunrpc/des_soft.c: Unconditionally block linkage with
2626 des_setparity for new binaries.
2628 * manual/crypt.texi: Remove the entire "DES Encryption"
2629 section. Also remove the paragraph talking about FIPS 140-2
2630 from the introduction.
2631 * manual/string.texi (strfry, memfrob): Revise. Recommend use
2632 of libgcrypt for "real" encryption, not DES.
2633 * manual/conf.texi (Constants for Sysconf): Mention that
2634 _XOPEN_CRYPT is no longer impelemented.
2636 * conform/data/unistd.h-data: Remove crypt function declaration.
2638 2018-06-29 Florian Weimer <fweimer@redhat.com>
2641 * malloc/hooks.c: Update comments on restoring of dumped heaps.
2642 (disallow_malloc_check): Remove variable.
2643 (__malloc_check_init): Adjust.
2644 (malloc_set_state): Update comment.
2645 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
2648 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
2651 * localedata/locales/ast_ES (mon): Rename to...
2653 (mon): Import from CLDR (genitive case).
2655 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
2656 Jakub Sitnicki <jkbs@redhat.com>
2659 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
2662 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
2664 * manual/llio.texi: Remove spurious space.
2666 2018-06-28 Florian Weimer <fweimer@redhat.com>
2669 * time/bits/types/struct_timespec.h: Change header inclusion guard to
2672 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2674 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
2675 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
2676 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
2677 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
2678 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
2679 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
2680 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
2682 2018-06-27 Maciej W. Rozycki <macro@mips.com>
2685 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
2686 Copy and null-terminate entries that are not terminated, in
2687 addition to empty ones.
2689 2018-06-27 Florian Weimer <fweimer@redhat.com>
2692 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
2693 (extend_alloca_account): Remove.
2694 * manual/stdio.texi (Variable Arguments Output): Update comment.
2696 2018-06-27 Joseph Myers <joseph@codesourcery.com>
2698 * nptl/sockperf.c: Remove file.
2700 2018-06-27 Florian Weimer <fweimer@redhat.com>
2703 * elf/dl-deps.c (_dl_map_object_deps): Use struct
2704 scratch_buffer instead of extend_alloca.
2706 2018-06-27 Florian Weimer <fweimer@redhat.com>
2709 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
2710 scratch_buffer instead of extend_alloca. Update comments.
2712 2018-06-27 Florian Weimer <fweimer@redhat.com>
2715 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
2716 instead of extend_alloca.
2718 2018-06-26 Joseph Myers <joseph@codesourcery.com>
2721 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
2722 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
2724 * scripts/test-installation.pl: Put temporary files in build
2725 directory, not /tmp.
2726 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
2727 (CFLAGS-bug4.c): Likewise.
2728 (CFLAGS-bug5.c): Likewise.
2729 (CFLAGS-test-fseek.c): Likewise.
2730 (CFLAGS-test-popen.c): Likewise.
2731 (CFLAGS-test_rdwr.c): Likewise.
2732 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
2734 * stdio-common/bug4.c (main): Likewise.
2735 * stdio-common/bug5.c (main): Likewise.
2736 * stdio-common/test-fseek.c (TESTFILE): Likewise.
2737 * stdio-common/test-popen.c (do_test): Likewise.
2738 * stdio-common/test_rdwr.c (main): Likewise.
2740 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
2742 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
2743 (sem_open): Set sem.newsem.pad to zero for valgrind.
2745 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2748 * NEWS: Mention fcntl64 addition.
2749 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
2750 * login/utmp_file.c: Likewise.
2751 * sysdeps/posix/fdopendir.c: Likewise.
2752 * sysdeps/posix/opendir.c: Likewise.
2753 * sysdeps/unix/pt-fcntl.c: Likewise.
2754 * include/fcntl.h (__libc_fcntl64, __fcntl64,
2755 __fcntl64_nocancel_adjusted): New prototype.
2756 (__fcntl_nocancel_adjusted): Remove prototype.
2757 * io/Makefile (routines): Add fcntl64.
2758 (CFLAGS-fcntl64.c): New rule.
2759 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
2760 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
2761 * io/fcntl.h (fcntl64): Add prototype and redirect if
2762 __USE_FILE_OFFSET64 is defined.
2763 * io/fcntl64.c: New file.
2764 * manual/llio.text: Add a note for which commands fcntl acts a
2766 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
2767 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
2768 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
2770 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
2771 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
2773 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
2774 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
2775 to __fcntl64_nocancel.
2776 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
2777 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
2778 to __fcntl64_nocancel.
2779 * sysdeps/generic/not-cancel.h: Likewise.
2780 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
2781 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
2782 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
2783 (fcntl64): New symbol.
2784 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2785 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2786 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2789 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2790 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2791 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2792 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2793 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2794 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
2796 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2797 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
2798 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2799 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2800 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2801 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2802 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2803 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2804 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2809 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2810 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2811 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2813 2018-06-26 Florian Weimer <fweimer@redhat.com>
2815 Run thread shutdown functions in an explicit order.
2816 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
2818 (__libc_thread_freeres): Call thread shutdown functions
2820 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
2821 * include/string.h (__strerror_thread_freeres): Declare.
2822 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
2823 arena_thread_freeres. No longer static. Remove thread shutdown
2825 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
2827 * resolv/res-close.c (__res_thread_freeres): Renamed from
2828 res_thread_freeres. No longer static. Remove thread shutdown
2830 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
2831 * resolv/resolv_conf.c (freeres): Remove incorrect section
2832 attribute and use libc_freeres_fn.
2833 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
2834 strerror_thread_freeres. No longer static. Remove thread
2835 shutdown hook registration.
2836 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
2837 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
2838 shutdown hook registration.
2839 * Makerules (shlib.lds): Do not provide section boundary symbols
2840 for __libc_thread_subfreeres.
2841 * manual/memory.texi (Basic Allocation): Update comment.
2843 2018-06-26 Florian Weimer <fweimer@redhat.com>
2845 Remove always-defined _RPC_THREAD_SAFE_ macro.
2846 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
2847 Do not define _RPC_THREAD_SAFE_.
2848 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
2850 * sunrpc/clnt_perr.c: Likewise.
2851 * sunrpc/clnt_raw.c: Likewise.
2852 * sunrpc/clnt_simp.c: Likewise.
2853 * sunrpc/key_call.c: Likewise.
2854 * sunrpc/rpc_common.c: Likewise.
2855 * sunrpc/rpc_main.c: Likewise.
2856 * sunrpc/rpc_thread.c: Likewise.
2857 * sunrpc/svc.c: Likewise.
2858 * sunrpc/svc_raw.c: Likewise.
2859 * sunrpc/svc_simple.c: Likewise.
2860 * sumrpc/svcauth_des.c: Likewise.
2862 2018-06-26 Florian Weimer <fweimer@redhat.com>
2864 * libio/Makefile (tests-internal): Add tst-vtables,
2865 tst-vtables-interposed.
2866 * libio/tst-vtables.c: New file.
2867 * libio/tst-vtables-common.c: Likewise.
2868 * libio/tst-vtables-interposed.c: Likewise.
2870 2018-06-26 Florian Weimer <fweimer@redhat.com>
2872 * support/support_test_main.c (support_test_main): Only call
2873 setvbuf if not disables.
2874 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
2875 * support/test-driver.h (struct test_config): Add no_setvbuf member.
2877 2018-06-26 Florian Weimer <fweimer@redhat.com>
2880 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
2882 2018-06-25 Florian Weimer <fweimer@redhat.com>
2885 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
2886 Use struct scratch_buffer instead of extend_alloca.
2888 2018-06-25 Florian Weimer <fweimer@redhat.com>
2891 * nss/getent.c (initgroups_keys): Use dynarray instead of
2894 2018-06-25 Florian Weimer <fweimer@redhat.com>
2897 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
2898 Use struct scratch_buffer instead of extend_alloca.
2900 2018-06-25 Florian Weimer <fweimer@redhat.com>
2903 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
2904 back to malloc directly, without stack allocations.
2906 2018-06-25 Florian Weimer <fweimer@redhat.com>
2909 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
2912 2018-06-25 Florian Weimer <fweimer@redhat.com>
2915 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
2917 * nscd/hstcache.c (addhstbyX): Likewise.
2918 * nscd/pwdcache.c (addpwbyX): Likewise.
2919 * nscd/servicescache.c (addservbyX): Likewise.
2921 2018-06-25 Florian Weimer <fweimer@redhat.com>
2924 * nscd/connections.c (read_cmdline): New function.
2925 (restart): Use it. Update comment.
2927 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
2930 * localedata/locales/csb_PL (mon): Rename to...
2932 (abmon): Rename to...
2934 (mon): Add with proper genitive forms, copy from Wikipedia.
2937 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
2940 * localedata/locales/csb_PL (mon): Fix typos:
2941 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
2942 (yesstr): Add, value is "jo".
2943 (nostr): Add, value is "nié".
2945 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2947 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
2948 all log1p and significand functions on m680x0.
2949 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
2950 of s_significand.c..
2951 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
2952 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
2953 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
2954 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
2955 s_log1p.c and include it..
2957 2018-06-21 Vincent Chen <vincentc@andestech.com>
2959 * elf/elf.h (R_NDS32_NONE): New define.
2960 (R_NDS32_32_RELA): Likewise.
2961 (R_NDS32_COPY): Likewise.
2962 (R_NDS32_GLOB_DAT): Likewise.
2963 (R_NDS32_JUMP_SLOT): Likewise.
2964 (R_NDS32_RELATIVE): Likewise.
2965 (R_NDS32_TLS_TPOFF): Likewise.
2966 (R_NDS32_TLS_DESC): Likewise.
2968 2018-06-21 Mark Wielaard <mark@klomp.org>
2970 * elf/elf.h (R_BPF_MAP_FD): Removed.
2971 (R_BPF_64_64, R_BPF_64_32): New.
2973 2018-06-21 Florian Weimer <fweimer@redhat.com>
2976 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
2977 Renamed from libc_feholdsetround_ctx.
2978 (default_libc_feresetround_ctx): Renamed from
2979 libc_feresetround_ctx.
2980 (default_libc_feholdsetround_noex_ctx): Renamed from
2981 libc_feholdsetround_noex_ctx.
2982 (default_libc_feresetround_noex_ctx): Renamed from
2983 libc_feresetround_noex_ctx.
2984 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
2985 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
2986 forwardning to the old implementations under the new names.
2987 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
2988 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
2989 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
2990 (libc_feresetround_ctx): Forward to default implements for i386
2991 and MATH_SET_BOTH_ROUNDING_MODES.
2992 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
2993 Add -DMATH_SET_BOTH_ROUNDING_MODES.
2995 2018-06-20 Joseph Myers <joseph@codesourcery.com>
2997 * string/tst-cmp.c: Include <libc-diag.h>.
2998 (strncmp_max): Disable -Wstringop-overflow= around call to
3000 (strncasecmp_max): Disable -Wstringop-overflow= around call to
3003 * string/bug-strpbrk1.c: Include <libc-diag.h>.
3004 (main): Disable -Wunused-value around call to strpbrk.
3005 * string/bug-strspn1.c: Include <libc-diag.h>.
3006 (main): Disable -Wunused-value around call to strspn.
3008 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3009 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3011 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
3012 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
3014 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3016 * math/Makefile (libm-calls): Move s_significandF to...
3017 (gen-libm-calls): ... here.
3018 * math/s_significand_template.c: New file.
3019 * math/s_significand.c: Removed.
3020 * math/s_significandf.c: Removed.
3021 * math/s_significandl.c: Removed.
3022 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
3023 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
3025 * math/e_exp2_template.c (declare_mgen_finite_alias,
3026 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
3027 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
3028 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
3030 2018-06-20 Florian Weimer <fweimer@redhat.com>
3032 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
3034 2018-06-19 Joseph Myers <joseph@codesourcery.com>
3037 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
3038 floating-point number to strtod functions rather than possibly
3039 negating result of those functions.
3040 * stdio-common/tst-scanf-round.c: New file.
3041 * stdio-common/Makefile (tests): Add tst-scanf-round.
3042 ($(objpfx)tst-scanf-round): Depend on $(libm).
3044 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
3046 * sysdeps/mach/hurd/localplt.data: Move to...
3047 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
3048 R_386_GLOB_DAT like on Linux i386.
3050 2018-06-18 Joseph Myers <joseph@codesourcery.com>
3052 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
3053 (SHM_STAT_ANY): New macro.
3054 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
3055 (SHM_STAT_ANY): Likewise.
3056 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
3057 (SHM_STAT_ANY): Likewise.
3058 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
3059 (SHM_STAT_ANY): Likewise.
3060 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
3061 (SHM_STAT_ANY): Likewise.
3062 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
3063 (SHM_STAT_ANY): Likewise.
3064 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
3065 (SHM_STAT_ANY): Likewise.
3066 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
3067 (SHM_STAT_ANY): Likewise.
3068 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
3069 (SHM_STAT_ANY): Likewise.
3070 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
3071 (SHM_STAT_ANY): Likewise.
3072 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
3073 (SHM_STAT_ANY): Likewise.
3074 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
3075 (SHM_STAT_ANY): Likewise.
3077 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
3078 (SEM_STAT_ANY): New macro.
3079 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
3080 (SEM_STAT_ANY): Likewise.
3081 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
3082 (SEM_STAT_ANY): Likewise.
3083 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
3084 (SEM_STAT_ANY): Likewise.
3085 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
3086 (SEM_STAT_ANY): Likewise.
3087 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
3088 (SEM_STAT_ANY): Likewise.
3089 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
3090 (SEM_STAT_ANY): Likewise.
3091 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
3092 (SEM_STAT_ANY): Likewise.
3093 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
3094 (SEM_STAT_ANY): Likewise.
3095 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
3096 (SEM_STAT_ANY): Likewise.
3098 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
3099 (MSG_STAT_ANY): New macro.
3100 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
3101 (MSG_STAT_ANY): Likewise.
3102 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
3103 (MSG_STAT_ANY): Likewise.
3104 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
3105 (MSG_STAT_ANY): Likewise.
3106 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
3107 (MSG_STAT_ANY): Likewise.
3108 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
3109 (MSG_STAT_ANY): Likewise.
3110 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
3111 (MSG_STAT_ANY): Likewise.
3112 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
3113 (MSG_STAT_ANY): Likewise.
3114 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
3115 (MSG_STAT_ANY): Likewise.
3116 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
3117 (MSG_STAT_ANY): Likewise.
3119 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
3120 (MAP_TYPE): Change value to 0x2b.
3122 2018-06-18 Florian Weimer <fweimer@redhat.com>
3125 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
3126 socket with SOCK_CLOEXEC.
3128 2018-06-18 Joseph Myers <joseph@codesourcery.com>
3131 * sysdeps/powerpc/powerpc64/le/Makefile
3132 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
3133 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
3134 (gnulib-tests): Also add $(f128-loader-link) for
3135 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
3137 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
3139 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
3140 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
3142 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
3143 (sendfile64): New strong alias.
3144 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
3145 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
3146 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
3147 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
3149 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
3150 ___pthread_get_cleanup_stack.
3151 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
3152 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
3153 * mach/shortcut.awk: Make syscall stubs include
3154 <mach-shortcuts-hidden.h> and add hidden definition.
3155 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
3156 (__mach_msg): Add hidden prototype.
3157 * mach/msg.c: Include <mach.h>.
3158 (__mach_msg): Add hidden definition.
3159 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
3160 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
3161 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
3162 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
3163 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
3164 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
3165 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
3166 prototype and definition.
3167 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
3168 hidden target for _hurd_self_sigstate.
3170 2018-06-15 Joseph Myers <joseph@codesourcery.com>
3173 * stdlib/tst-strtod-nan-sign-main.c: New file.
3174 * stdlib/tst-strtod-nan-sign.c: Likewise.
3175 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
3176 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
3177 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
3178 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
3179 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
3181 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
3184 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
3187 2018-06-14 Florian Weimer <fweimer@redhat.com>
3190 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
3191 that the result stays within the ISO-8859-1 range.
3192 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
3193 characters are defined in IBM273.
3195 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
3197 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
3198 __mach_task_self): Remove attribute_hidden.
3200 2018-06-14 Joseph Myers <joseph@codesourcery.com>
3202 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
3203 ignore -Wrestrict for one test.
3205 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
3206 Szabolcs Nagy <szabolcs.nagy@arm.com>
3208 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
3210 2018-06-14 Florian Weimer <fweimer@redhat.com>
3212 * scripts/update-abilist.sh: Accept empty list of files to patch.
3214 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
3216 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
3217 test-xfail-check-abi-libmachuser): Add.
3218 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
3219 __libc_read and __libc_write to __read and __write.
3220 * sysdeps/hurd/include/hurd/port.h: New file.
3221 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
3222 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
3223 __thread_switch, __evc_wait): Move declarations to...
3224 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
3226 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
3227 use PLT to call _hurd_self_sigstate.
3229 2018-06-13 Joseph Myers <joseph@codesourcery.com>
3232 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
3233 MAX_EXP as overflowing.
3234 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
3236 (round_str): Output also whether result overflows in each rounding
3238 * stdlib/tst-strtod-round-data: Add more tests.
3239 * stdlib/tst-strtod-round-data.h: Regenerated.
3240 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
3241 (TEST): Handle extra arguments for overflow flags.
3242 (struct test_overflow): New type.
3243 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
3244 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
3245 (test_in_one_mode): Take argument with overflow information.
3246 (do_test): Update calls to test_in_one_mode.
3248 2018-06-12 Carlos O'Donell <carlos@redhat.com>
3250 * elf/dl-load (_dl_dst_substitute): Correct comment.
3251 (_dl_dst_count): Likewise.
3253 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
3254 lll_futex_timed_wait.
3256 2018-06-12 Joseph Myers <joseph@codesourcery.com>
3259 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
3261 * math/test-nan-const.c: New file.
3262 * math/Makefile (tests): Add test-nan-const.
3263 (CFLAGS-test-nan-const.c): New variable.
3265 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
3267 * benchtests/scripts/compare_strings.py (process_results): Add
3268 funcs argument. Compare only functions which are selected.
3269 (main): Check if base function is among selected functions.
3270 Pass selected functions to process_results.
3271 (__main__): Add -f/--functions argument.
3273 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
3274 Hongbo Zhang <hongbo.zhang@linaro.org>
3276 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
3277 __memcpy_falkor for phecda core.
3278 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
3279 __memmove_falkor for phecda core.
3280 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
3281 __memset_falkor for phecda core.
3282 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
3284 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
3285 macro to identify phecda core.
3287 2018-06-12 Carlos O'Donell <carlos@redhat.com>
3288 Andreas Schwab <schwab@suse.de>
3289 Dmitry V. Levin <ldv@altlinux.org>
3290 Florian Weimer <fweimer@redhat.com>
3297 * elf/dl-dst.h: Remove DL_DST_COUNT.
3298 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
3299 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
3300 (is_dst): Comment. Support ELF gABI.
3301 (_dl_dst_count): Comment. Simplify and count DSTs.
3302 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
3303 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
3306 2018-06-12 Zack Weinberg <zackw@panix.com>
3308 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
3309 * sysdeps/unix/sysv/linux/dl-sysdep.c
3310 Include not-cancel.h. Use __close_nocancel instead of __close,
3311 __open64_nocancel instead of __open, __read_nocancel instead of
3312 __libc_read, and __write_nocancel instead of __libc_write.
3314 * csu/check_fds.c (check_one_fd)
3315 * sysdeps/posix/fdopendir.c (__fdopendir)
3316 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
3317 instead of __fcntl and/or __libc_fcntl.
3319 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
3320 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
3321 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
3322 Use __open64_nocancel instead of __open_nocancel.
3324 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
3325 hidden_proto declarations to the end and issue them if either
3326 IS_IN(libc) or IS_IN(rtld).
3327 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
3328 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
3329 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
3330 read_nocancel, waitpid_nocancel, write_nocancel.
3332 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
3333 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
3334 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
3336 * nptl/pt-fcntl.c: New file.
3337 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
3338 (libpthread-routines): Add pt-fcntl.
3339 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
3340 (__libc_fcntl): Remove attribute_hidden.
3341 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
3342 __fcntl_nocancel_adjusted, not fcntl_common.
3343 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
3344 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
3345 to fcntl_nocancel.c.
3346 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
3347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
3348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3349 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
3351 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
3352 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
3353 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
3354 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
3355 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
3356 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
3357 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
3358 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
3359 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
3360 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
3361 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
3362 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
3363 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
3364 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
3365 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
3366 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
3367 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
3368 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
3369 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
3370 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
3372 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
3373 libpthread-routines.
3374 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
3377 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
3378 __libc_read, and __write instead of __libc_write. Define
3379 __open64 in addition to __open.
3381 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
3385 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
3386 to _private_tm[3] and add __glibc_reserved2.
3387 Add _Static_assert of offset of __private_ss == 0x30.
3388 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
3389 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
3391 2018-06-12 Florian Weimer <fweimer@redhat.com>
3393 x86: Make strncmp usable from rtld.
3394 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
3395 __strncmp_ia32 if in libc (and not in rtld).
3396 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
3397 strncmp if not in libc (and not to __strncmp_sse2).
3399 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
3402 * localedata/locales/gd_GB (mon): Rename to...
3404 (mon): Import from CLDR (genitive case).
3405 * localedata/locales/hsb_DE (mon): Rename to...
3407 (mon): Import from CLDR (genitive case).
3408 * localedata/locales/wa_BE (mon): Rename to...
3410 (mon): Add, fill with the proper genitive forms, but CLDR data
3411 is incomplete; completed according to the comments in this file.
3412 (d_t_fmt): Do not use "di" before the month name, no longer needed.
3414 * localedata/locales/wa_BE (country_name): Reword
3415 "Beljike" -> "Beldjike".
3417 2018-06-11 Joseph Myers <joseph@codesourcery.com>
3420 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
3421 cases of non-finite arguments.
3422 * math/libm-test-fma.inc (fma_test_data): Add more tests.
3424 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
3427 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
3429 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3432 * include/unistd.h (__execvpex): New prototype.
3433 * posix/Makefile (tests): Add tst-spawn4.
3434 (tests-internal): Add tst-spawn4-compat.
3435 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
3436 * posix/tst-spawn4-compat.c: New file.
3437 * posix/tst-spawn4.c: Likewise.
3438 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
3439 binaries as shell scripts.
3440 * sysdeps/posix/spawni.c (__spawni): Likewise.
3442 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
3445 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
3446 ($(all-built-dso:=.dynsym): New target.
3447 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
3448 ($(objpfx)check-initfini.out): New target.
3449 (generated): Add check-initfini.out.
3450 * scripts/check-initfini.awk: New file.
3451 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
3453 * sysdeps/alpha/crti.S (_init): Mark as hidden.
3455 * sysdeps/arm/crti.S (_init): Mark as hidden.
3457 * sysdeps/hppa/crti.S (_init): Mark as hidden.
3459 * sysdeps/i386/crti.S (_init): Mark as hidden.
3461 * sysdeps/ia64/crti.S (_init): Mark as hidden.
3463 * sysdeps/m68k/crti.S (_init): Mark as hidden.
3465 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
3467 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
3469 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
3471 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
3473 * sysdeps/nios2/crti.S (_init): Mark as hidden.
3475 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
3477 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
3479 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
3481 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
3483 * sysdeps/sh/crti.S (_init): Mark as hidden.
3485 * sysdeps/sparc/crti.S (_init): Mark as hidden.
3487 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
3490 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3492 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
3493 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
3494 and TF redirection to KFtype and KF only when the default
3495 long double type is not the IEEE 128-bit floating point type.
3497 2018-06-05 Joseph Myers <joseph@codesourcery.com>
3499 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
3501 (HWCAP_USCAT): Likewise.
3502 (HWCAP_ILRCPC): Likewise.
3503 (HWCAP_FLAGM): Likewise.
3504 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3506 (_dl_aarch64_cap_flags): Add new flag names.
3508 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
3509 (MAP_FIXED_NOREPLACE): New macro.
3510 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
3511 (MAP_FIXED_NOREPLACE): Likewise.
3512 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
3513 (MAP_FIXED_NOREPLACE): Likewise.
3514 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
3515 (MAP_FIXED_NOREPLACE): Likewise.
3516 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
3517 (MAP_FIXED_NOREPLACE): Likewise.
3518 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
3519 (MAP_FIXED_NOREPLACE): Likewise.
3520 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
3521 (MAP_FIXED_NOREPLACE): Likewise.
3522 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
3523 (MAP_FIXED_NOREPLACE): Likewise.
3524 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
3525 (MAP_FIXED_NOREPLACE): Likewise.
3526 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
3527 (MAP_FIXED_NOREPLACE): Likewise.
3528 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
3529 (MAP_FIXED_NOREPLACE): Likewise.
3530 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
3531 (MAP_FIXED_NOREPLACE): Likewise.
3532 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
3533 (MAP_FIXED_NOREPLACE): Likewise.
3534 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
3535 (MAP_FIXED_NOREPLACE): Likewise.
3536 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
3537 (MAP_FIXED_NOREPLACE): Likewise.
3539 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3542 2018-06-04 Joseph Myers <joseph@codesourcery.com>
3544 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3547 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3549 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
3551 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
3553 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3555 * benchtests/scripts/compare_string.py: (process_results) Catch
3556 exception in non-existent base_func and catch exception in
3557 non-existent attribute.
3558 (parse_file) Catch exception if input file does not exist.
3560 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3562 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
3563 options to avoid diff calculation and omit header, respectively.
3564 (main): process --no-diff and --no-header
3566 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3567 H.J. Lu <hongjiu.lu@intel.com>
3569 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3570 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
3572 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3573 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
3574 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
3576 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
3577 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
3578 AVX unaligned load is fast and vzeroupper is preferred.
3579 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
3580 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
3581 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
3582 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
3583 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
3584 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
3585 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
3586 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
3587 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
3588 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
3591 2018-06-01 Florian Weimer <fweimer@redhat.com>
3593 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
3594 configuring with --disable-multi-arch, building with
3595 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
3598 2018-06-01 Florian Weimer <fweimer@redhat.com>
3600 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
3601 results from building with “-march=x86-64 -mtune=generic
3602 -mfpmath=sse” and running on a Haswell-era CPU.
3604 2018-06-01 Joseph Myers <joseph@codesourcery.com>
3607 * soft-fp/sqrttf2.c: Remove file.
3608 * soft-fp/sqrtdf2.c: Move to ....
3609 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
3611 (__sqrtdf2): Make conditional on
3612 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
3614 * soft-fp/sqrtsf2.c: Move to ....
3615 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
3617 (__sqrtsf2): Make conditional on
3618 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
3620 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
3621 (gcc-double-routines): Remove sqrtdf2.
3622 (gcc-quad-routines): Remove sqrttf2.
3623 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
3624 Do not filter out sqrtsf2 and sqrtdf2.
3625 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3626 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
3628 2018-06-01 Florian Weimer <fweimer@redhat.com>
3630 * sysdeps/generic/libcidn.abilist: Remove file.
3632 2018-06-01 Florian Weimer <fweimer@redhat.com>
3635 * libio/strfile.h (struct _IO_str_fields): Rename members to
3636 discourage their use and add comment.
3637 (_IO_STR_DYNAMIC): Remove unused macro.
3638 * libio/strops.c (_IO_str_init_static_internal): Do not use
3639 callback pointers. Call malloc and free.
3640 (_IO_str_overflow): Do not use callback pointers. Call malloc
3642 (enlarge_userbuf): Likewise.
3643 (_IO_str_finish): Call free.
3644 * libio/wstrops.c (_IO_wstr_init_static): Initialize
3645 _allocate_buffer_unused.
3646 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
3648 (enlarge_userbuf): Likewise.
3649 (_IO_wstr_finish): Call free.
3650 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
3651 _allocate_buffer_unused, _free_buffer_unused.
3652 * libio/memstream.c (__open_memstream): Likewise.
3653 * libio/vasprintf.c (_IO_vasprintf): Likewise.
3654 * libio/wmemstream.c (open_wmemstream): Likewise.
3656 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
3658 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
3661 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3663 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
3664 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
3665 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
3667 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
3669 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
3671 2018-05-29 Florian Weimer <fweimer@redhat.com>
3673 * support/Makefile (libsupport-routines): Add
3674 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
3675 xpthread_barrierattr_setpshared.
3676 * support/xpthread_barrierattr_destroy.c: New file.
3677 * support/xpthread_barrierattr_init.c: Likewise.
3678 * support/xpthread_barrierattr_setpshared.c: Likewise.
3680 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
3683 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
3684 _r_debug and update DT_DEBUG for debugger.
3686 2018-05-29 Florian Weimer <fweimer@redhat.com>
3688 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
3689 (tst-strtod5i.out): Likewise.
3691 2018-05-25 Joseph Myers <joseph@codesourcery.com>
3693 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
3694 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
3695 (sparc64-quad-routines): New variable. Moved from ....
3696 [$(subdir) = soft-fp] (sysdep_routines): Add
3697 $(sparc64-quad-routines). Moved from ....
3698 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
3699 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
3700 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
3702 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
3703 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
3704 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
3705 * sysdeps/sparc/sparc64/qp_add.c: ... here.
3706 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
3707 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
3708 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
3709 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
3710 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
3711 * sysdeps/sparc/sparc64/qp_div.c: ... here.
3712 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
3713 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
3714 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
3715 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
3716 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
3717 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
3718 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
3719 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
3720 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
3721 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
3722 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
3723 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
3724 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
3725 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
3726 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
3727 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
3728 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
3729 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
3730 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
3731 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
3732 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
3733 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
3734 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
3735 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
3736 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
3737 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
3738 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
3739 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
3740 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
3741 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
3742 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
3743 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
3744 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
3745 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
3746 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
3747 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
3748 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
3749 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
3750 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
3751 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
3752 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
3753 * sysdeps/sparc/sparc64/qp_util.c: ... here.
3754 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
3755 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
3756 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
3757 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
3758 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
3759 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
3761 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
3762 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
3763 (sparc32-quad-routines): New variable. Moved from ....
3764 [$(subdir) = soft-fp] (sysdep_routines): Add
3765 $(sparc32-quad-routines). Moved from ....
3766 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
3767 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
3769 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
3770 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
3771 * sysdeps/sparc/sparc32/q_add.c: ... here.
3772 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
3773 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
3774 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
3775 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
3776 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
3777 * sysdeps/sparc/sparc32/q_div.c: ... here.
3778 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
3779 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
3780 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
3781 * sysdeps/sparc/sparc32/q_feq.c: ... here.
3782 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
3783 * sysdeps/sparc/sparc32/q_fge.c: ... here.
3784 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
3785 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
3786 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
3787 * sysdeps/sparc/sparc32/q_fle.c: ... here.
3788 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
3789 * sysdeps/sparc/sparc32/q_flt.c: ... here.
3790 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
3791 * sysdeps/sparc/sparc32/q_fne.c: ... here.
3792 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
3793 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
3794 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
3795 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
3796 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
3797 * sysdeps/sparc/sparc32/q_mul.c: ... here.
3798 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
3799 * sysdeps/sparc/sparc32/q_neg.c: ... here.
3800 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
3801 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
3802 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
3803 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
3804 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
3805 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
3806 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
3807 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
3808 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
3809 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
3810 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
3811 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
3812 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
3813 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
3814 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
3815 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
3816 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
3817 * sysdeps/sparc/sparc32/q_sub.c: ... here.
3818 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
3819 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
3820 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
3821 * sysdeps/sparc/sparc32/q_util.c: ... here.
3822 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
3823 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
3824 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
3825 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
3827 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3828 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3830 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
3831 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
3832 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
3833 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
3835 2018-05-24 Joseph Myers <joseph@codesourcery.com>
3837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
3839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3841 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
3842 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
3844 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3847 * math/math.h [C++] (iseqsig): Fix parameter type for the long
3850 2018-05-23 Joseph Myers <joseph@codesourcery.com>
3852 * sysdeps/sh/Implies: Remove sh/soft-fp.
3853 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
3854 * sysdeps/sh/sfp-machine.h: ... here.
3856 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
3858 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3859 (__mempcpy_erms): Skip zero length.
3860 (__memmove_erms): Likewise.
3861 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3862 (__memset_erms): Likewise.
3864 2018-05-23 Joseph Myers <joseph@codesourcery.com>
3866 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
3867 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
3868 Add functions moved from ....
3869 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
3870 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
3871 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
3873 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
3874 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
3875 * sysdeps/alpha/e_sqrtl.c: ... here.
3876 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
3877 * sysdeps/alpha/local-soft-fp.h: ... here.
3878 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
3879 * sysdeps/alpha/ots_add.c: ... here.
3880 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
3881 * sysdeps/alpha/ots_cmp.c: ... here.
3882 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
3883 * sysdeps/alpha/ots_cmpe.c: ... here.
3884 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
3885 * sysdeps/alpha/ots_cvtqux.c: ... here.
3886 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
3887 * sysdeps/alpha/ots_cvtqx.c: ... here.
3888 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
3889 * sysdeps/alpha/ots_cvttx.c: ... here.
3890 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
3891 * sysdeps/alpha/ots_cvtxq.c: ... here.
3892 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
3893 * sysdeps/alpha/ots_cvtxt.c: ... here.
3894 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
3895 * sysdeps/alpha/ots_div.c: ... here.
3896 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
3897 * sysdeps/alpha/ots_mul.c: ... here.
3898 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
3899 * sysdeps/alpha/ots_nintxq.c: ... here.
3900 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
3901 * sysdeps/alpha/ots_sub.c: ... here.
3902 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
3903 * sysdeps/alpha/sfp-machine.h: ... here.
3905 2018-05-23 Florian Weimer <fweimer@redhat.com>
3913 Switch to extern IDNA implementation (libidn2).
3914 * libidn: Remove subdirectory.
3915 * LICENSES: Do not mention licensing conditions for the removed
3917 * config.h.in (HAVE_LIBIDN): Remove.
3918 * include/dlfcn.h (__libc_dlopen): Update comment.
3919 * include/idna.h: Remove file.
3920 * inet/Makefile (routines): Add idna.
3921 (tests-static, tests-internal): Add tst-idna_name_classify.
3922 (LOCALES): Generate locales for tests.
3923 (tst-idna_name_classify.out): Depend on generated locales.
3924 * inet/idna_name_classify.c: New file.
3925 * inet/tst-idna_name_classify.c: Likewise.
3926 * inet/net-internal.h (__idna_to_dns_encoding)
3927 (__idna_from_dns_encoding): Declare.
3928 * inet/net-internal.h (enum idna_name_classification): Define.
3929 (__idna_name_classify): Declare.
3930 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
3931 __idna_from_dns_encoding.
3932 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
3933 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
3934 name as a fallback in case of encoding errors.
3935 (getnameinfo): Use DEPRECATED_NI_IDN.
3936 * inet/idna.c: New file.
3937 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
3938 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
3939 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
3940 (modules-names): Add tst-no-libidn2.
3941 (extra-test-objs): Add tst-no-libidn2.os.
3942 (LDFLAGS-tst-no-libidn2.so): Set soname.
3943 (LOCALES): Set, and generate locales.
3944 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
3945 (tst-resolv-ai_idn-latin1): Likewise.
3946 (tst-resolv-ai_idn-nolibidn2): Likewise.
3947 (tst-resolv-ai_idn.out): Depend on locales.
3948 (tst-resolv-ai_idn-latin1.out): Depend on locales.
3949 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
3951 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
3952 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
3953 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
3954 * resolv/tst-resolv-ai_idn.c: New file.
3955 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
3956 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
3957 * resolv/tst-no-libidn2.c: Likewise.
3958 * support/support_format_addrinfo.c (format_ai_flags): Do not
3959 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
3960 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
3961 (gaih_inet): Call __idna_to_dns_encoding and
3962 __idna_from_dns_encoding, and use the original (punycode) name if
3963 __idna_from_dns_encoding fails due to an encoding error.
3964 (getaddrinfo): Use DEPRECATED_AI_IDN.
3965 * sysdeps/unix/inet/Subdirs (libidn): Remove.
3966 * sysdeps/unix/inet/configure: Remove file.
3967 * sysdeps/unix/inet/configure.ac: Likewise.
3969 2018-05-23 Florian Weimer <fweimer@redhat.com>
3971 Implement allocate_once.
3972 * include/allocate_once.h: New file.
3973 * misc/allocate_once.c: Likewise.
3974 * misc/tst-allocate_once.c: Likewise.
3975 * misc/Makefile (routines): Add allocate_once.
3976 (tests-internal): Add tst-allocate_once.
3977 (generated): Add tst-allocate_once.mtrace,
3978 tst-allocate_once-mem.out.
3979 (tests-special): Add tst-allocate_once-mem.out.
3980 (tst-allocate_once-ENV): Set MALLOC_TRACE.
3981 (tst-allocate_once-mem.out): Call mtrace.
3982 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
3984 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
3987 * string/test-memcpy.c (do_test1): New function.
3988 (test_main): Call it.
3990 2018-05-23 Andreas Schwab <schwab@suse.de>
3994 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
3995 (L(preloop_large)): Save initial destination pointer in %r11 and
3996 use it instead of %rax after the loop.
3997 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
3999 2018-05-22 Joseph Myers <joseph@codesourcery.com>
4001 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
4002 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
4003 -I../soft-fp. Moved from ....
4004 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
4005 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
4006 * sysdeps/aarch64/e_sqrtl.c: ... here.
4007 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
4008 * sysdeps/aarch64/sfp-machine.h: ... here.
4010 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
4011 -Wmaybe-uninitialized around access to fq[0].
4012 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4016 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
4017 aliases for non-libc case of versioned symbols.
4018 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
4019 (llseek): Define as compat symbol if
4020 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
4022 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
4023 Make into a compat symbol, disabled for minimum symbol version
4024 GLIBC_2.28 and later.
4025 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
4027 2018-05-22 Florian Weimer <fweimer@redhat.com>
4029 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
4030 not add -mpreferred-stack-boundary=4.
4031 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
4032 (stack-align-test-flags): Likewise.
4033 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
4035 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
4036 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
4037 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
4038 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
4039 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
4040 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
4041 (CFLAGS-tst-align2.c): Likewise.
4043 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
4045 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
4046 (index_arch_Prefer_FSRM): Likewise.
4047 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
4048 Also check Prefer_FSRM.
4049 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
4050 Also return OPTIMIZE (erms) for Prefer_FSRM.
4052 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
4054 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
4055 (index_cpu_FSRM): Likewise.
4056 (reg_FSRM): Likewise.
4058 2018-05-18 Joseph Myers <joseph@codesourcery.com>
4060 * math/gen-tgmath-tests.py: Import sys.
4061 (Tests.__init__): Initialize macros_seen.
4062 (Tests.add_tests): Add macro to macros_seen. Only generate tests
4063 if requested to do so for this macro.
4064 (Tests.add_all_tests): Take argument for macro for which to
4066 (Tests.check_macro_list): New function.
4067 (main): Handle check-list argument and argument specifying macro
4068 for which to generate tests.
4069 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
4070 [PYTHON] (tgmath3-macro-tests): Likewise.
4071 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
4072 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
4074 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
4075 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
4077 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
4079 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
4081 [PYTHON] (tests-special): Add
4082 $(objpfx)test-tgmath3-macro-list.out.
4083 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
4085 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
4086 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
4090 * time/tzset.c (SECSPERDAY): Cast to time_t.
4091 * time/tst-y2039.c: New file.
4092 * time/Makefile (tests): Add tst-y2039.
4094 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4096 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4097 (PREFETCH_ONE_SET): Remove duplicate line.
4099 2018-05-17 Florian Weimer <fweimer@redhat.com>
4101 * sysdeps/generic/math-type-macros-double.h: Include
4102 <math-nan-payload-double.h> after <libm-alias-double.h>.
4103 * sysdeps/generic/math-type-macros-float.h: Include
4104 <math-nan-payload-float.h> after <libm-alias-float.h>.
4105 * sysdeps/generic/math-type-macros-float128.h: Include
4106 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
4107 * sysdeps/generic/math-type-macros-ldouble.h: Include
4108 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
4110 2018-05-17 Andreas Schwab <schwab@suse.de>
4112 * resolv/res_send.c (__res_context_send): Don't set errno when
4113 returing error after malloc failure.
4115 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
4117 * nptl/allocatestack.c (allocate_stack): Remove the
4118 !__ASSUME_PRIVATE_FUTEX paths.
4119 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
4120 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4122 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
4123 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
4124 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
4125 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
4126 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
4127 !__ASSUME_PRIVATE_FUTEX path.
4128 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
4129 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
4130 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
4131 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
4132 !__ASSUME_PRIVATE_FUTEX macros.
4133 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4134 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4135 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4136 * sysdeps/unix/sysv/linux/kernel-features.h
4137 (__ASSUME_PRIVATE_FUTEX): Removed.
4139 2018-05-17 Joseph Myers <joseph@codesourcery.com>
4141 * math/Makefile (libm-narrow-fns): Add div.
4142 (libm-test-funcs-narrow): Likewise.
4143 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
4144 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
4145 * math/gen-auto-libm-tests.c (test_functions): Add div.
4146 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
4147 (NARROW_DIV_ROUND_TO_ODD): Likewise.
4148 (NARROW_DIV_TRIVIAL): Likewise.
4149 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
4151 (__ddivl): Likewise.
4152 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
4154 (CFLAGS-nldbl-ddiv.c): New variable.
4155 (CFLAGS-nldbl-fdiv.c): Likewise.
4156 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
4158 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
4160 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
4161 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
4162 * math/auto-libm-test-in: Add tests of div.
4163 * math/auto-libm-test-out-narrow-div: New generated file.
4164 * math/libm-test-narrow-div.inc: New file.
4165 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
4166 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
4167 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
4168 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
4169 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
4170 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
4171 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
4172 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
4173 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
4174 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
4175 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
4176 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
4177 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
4178 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
4179 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
4180 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
4181 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
4182 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
4183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4184 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
4185 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4186 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4187 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4188 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4189 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4190 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4191 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4192 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4193 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4194 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4195 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4196 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
4198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
4199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
4200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
4201 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
4202 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4203 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4204 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4205 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4206 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4207 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4208 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4210 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4213 * nscd/nscd-client.h (sendfileall): Remove prototype.
4214 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
4215 (handle_request): Use writeall instead of sendfileall.
4216 * nscd/aicache.c (addhstaiX): Likewise.
4217 * nscd/grpcache.c (cache_addgr): Likewise.
4218 * nscd/hstcache.c (cache_addhst): Likewise.
4219 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4220 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
4221 * nscd/pwdcache.c (cache_addpw): Likewise.
4222 * nscd/servicescache.c (cache_addserv): Likewise.
4223 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
4224 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
4225 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
4228 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
4230 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
4231 Include <string/strncat.c>.
4232 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
4234 (__GI___strncat): New hidden alias.
4236 2018-05-16 Joseph Myers <joseph@codesourcery.com>
4238 * sysdeps/mips/mips32/libm-test-ulps: Update.
4239 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4241 2018-05-16 Florian Weimer <fweimer@redhat.com>
4243 * support/Makefile (libsupport-routines): Add support_quote_blob,
4244 support_test_compare_blob.
4245 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
4246 * support/check.h (TEST_COMPARE_BLOB): Define.
4247 (support_test_compare_blob): Declare.
4248 * support/support.h (support_quote_blob): Declare.
4249 * support/support_quote_blob.c: New file.
4250 * support/support_test_compare_blob.c: Likewise.
4251 * support/tst-support_quote_blob.c: Likewise.
4252 * support/tst-test_compare_blob.c: Likewise.
4254 2018-05-16 Florian Weimer <fweimer@redhat.com>
4256 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
4257 of <strtod_nan_double.h>.
4258 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
4259 instead of SET_MANTISSA.
4260 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
4261 of include <strtod_nan_float.h>.
4262 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
4263 instead of <strtod_nan_ldouble.h>.
4264 * stdlib/strtod_nan_double.h: Move to ...
4265 * sysdeps/generic/math-nan-payload-double.h: ... here.
4266 (FLOAT): Remove definition.
4267 (SET_MANTISSA): Rename to ...
4268 (SET_NAN_PAYLOAD): ... this.
4269 * stdlib/strtod_nan_float.h: Move to ...
4270 * sysdeps/generic/math-nan-payload-float.h: ... here.
4271 (FLOAT): Remove definition.
4272 (SET_MANTISSA): Rename to ...
4273 (SET_NAN_PAYLOAD): ... this.
4274 * sysdeps/generic/math-type-macros-double.h: Include
4275 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
4276 instead of <math-svid-compat.h>.
4277 * sysdeps/generic/math-type-macros-float.h: Include
4278 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
4279 instead of <math-svid-compat.h>.
4280 * sysdeps/generic/math-type-macros-float128.h: Include
4281 <math-nan-payload-float128.h>.
4282 * sysdeps/generic/math-type-macros-ldouble.h: Include
4283 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
4284 instead of <math-svid-compat.h>.
4285 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
4286 check for definition.
4287 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
4288 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
4289 Include <ieee754_float128.h>.
4290 (FLOAT): Remove definition.
4291 (SET_MANTISSA): Rename to ...
4292 (SET_NAN_PAYLOAD): ... this.
4293 * sysdeps/ieee754/float128/strtof128_nan.c: Include
4294 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
4295 Do not include <float128_private.h>.
4296 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
4297 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
4298 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
4299 (FLOAT): Remove definition.
4300 (SET_MANTISSA): Rename to ...
4301 (SET_NAN_PAYLOAD): ... this.
4302 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
4303 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
4304 (FLOAT): Remove definition.
4305 (SET_MANTISSA): Rename to ...
4306 (SET_NAN_PAYLOAD): ... this.
4307 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
4308 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
4309 (FLOAT): Remove definition.
4310 (SET_MANTISSA): Rename to ...
4311 (SET_NAN_PAYLOAD): ... this.
4312 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
4313 of "../stdlib/strtod_nan_double.h".
4314 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
4315 of "../stdlib/strtod_nan_float.h".
4316 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
4317 instead of "../stdlib/strtod_nan_ldouble.h".
4318 * manual/arith.texi (Parsing of Floats): Adjust comment.
4320 2018-05-16 Joseph Myers <joseph@codesourcery.com>
4322 * math/Makefile (libm-narrow-fns): Add mul.
4323 (libm-test-funcs-narrow): Likewise.
4324 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
4325 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
4326 * math/gen-auto-libm-tests.c (test_functions): Add mul.
4327 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
4328 (NARROW_MUL_ROUND_TO_ODD): Likewise.
4329 (NARROW_MUL_TRIVIAL): Likewise.
4330 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
4331 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
4333 (__dmull): Likewise.
4334 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
4336 (CFLAGS-nldbl-dmul.c): New variable.
4337 (CFLAGS-nldbl-fmul.c): Likewise.
4338 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
4340 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
4342 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
4343 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
4344 * math/auto-libm-test-in: Add tests of mul.
4345 * math/auto-libm-test-out-narrow-mul: New generated file.
4346 * math/libm-test-narrow-mul.inc: New file.
4347 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
4348 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
4349 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
4350 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
4351 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
4352 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
4353 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
4354 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
4355 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
4356 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
4357 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
4358 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
4359 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
4360 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
4361 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
4362 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
4363 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
4364 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
4365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4366 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
4367 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4368 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4369 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4370 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4371 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4372 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4373 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4374 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4375 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4376 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4377 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4378 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
4380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
4381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
4382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
4383 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
4384 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4385 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4386 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4387 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4388 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4389 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4390 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4392 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
4394 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
4397 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
4399 * sysdeps/i386/ldsodefs.h: Removed.
4400 * sysdeps/x86_64/ldsodefs.h: Moved to ...
4401 * sysdeps/x86/ldsodefs.h: This.
4403 (La_i86_retval): Likewise.
4404 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
4405 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
4407 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
4409 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
4412 2018-05-13 Alan Modra <amodra@gmail.com>
4414 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
4415 R_PARISC_TLS_DTPOFF32 reloc addend.
4417 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4419 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
4420 * math/math.h: Restrict the prototype definition for the functions
4421 issignaling(_Float128) and iszero(_Float128); and template
4422 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
4423 __HAVE_FLOAT128_UNLIKE_LDBL.
4424 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
4425 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
4426 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
4427 __f128() constants; define the type _Float128 as long double;
4428 and reuse long double in __CFLOAT128.
4430 2018-05-11 Joseph Myers <joseph@codesourcery.com>
4432 * sysdeps/generic/math_private.h: Do not include
4434 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
4436 * math/fromfp.h: Include <math-barriers.h>.
4437 * math/math-narrow.h: Likewise.
4438 * math/s_nextafter.c: Likewise.
4439 * math/s_nexttowardf.c: Likewise.
4440 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
4441 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
4442 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
4443 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
4444 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4445 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4446 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4447 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4448 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4449 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4450 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4451 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4452 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4453 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4454 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
4455 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4456 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4457 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4458 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4459 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4460 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4461 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4462 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4463 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4464 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4465 * sysdeps/ieee754/k_standardl.c: Likewise.
4466 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4467 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4468 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4469 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4470 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4471 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4472 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4473 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4474 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4475 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4476 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4477 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4478 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4479 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4480 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4481 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4482 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
4483 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
4484 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4485 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4486 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
4487 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
4489 2018-05-11 Florian Weimer <fweimer@redhat.com>
4491 Use 64-bit epoch values in the time zone file parser.
4492 * include/time.h (internal_time_t): Define.
4493 (__tzfile_compute): Use it.
4494 * time/tzfile.c (struct leap): Use internal_time_t for epoch
4496 (transitions): Switch to internal_time_t.
4497 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
4499 (__tzfile_compute): Use internal_time_t for timer argument. Check
4500 for truncation before calling __offtime.
4502 2018-05-11 Florian Weimer <fweimer@redhat.com>
4505 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
4506 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
4508 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
4509 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
4510 export without --enable-obsolete-rpc.
4511 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
4512 symbol. This should not have been exported, ever.
4514 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
4517 * localedata/locales/gd_GB (abmon): Fix typo in May:
4518 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
4520 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
4522 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
4523 Use multiple registers to copy data in loop tail.
4525 * sysdeps/aarch64/multiarch/memmove_falkor.S
4526 (__memmove_falkor): Use multiple registers to move data in
4529 2018-05-10 Joseph Myers <joseph@codesourcery.com>
4531 * math/math-underflow.h: New file.
4532 * sysdeps/generic/math_private.h: Do not include <float.h>.
4533 (fabs_tg): Remove macro. Moved to math-underflow.h.
4534 (min_of_type_f): Likewise.
4535 (min_of_type_): Likewise.
4536 (min_of_type_l): Likewise.
4537 (min_of_type_f128): Likewise.
4538 (min_of_type): Likewise.
4539 (math_check_force_underflow): Likewise.
4540 (math_check_force_underflow_nonneg): Likewise.
4541 (math_check_force_underflow_complex): Likewise.
4542 * math/e_exp2_template.c: Include <math-underflow.h>.
4543 * math/k_casinh_template.c: Likewise.
4544 * math/s_catan_template.c: Likewise.
4545 * math/s_catanh_template.c: Likewise.
4546 * math/s_ccosh_template.c: Likewise.
4547 * math/s_cexp_template.c: Likewise.
4548 * math/s_clog10_template.c: Likewise.
4549 * math/s_clog_template.c: Likewise.
4550 * math/s_csin_template.c: Likewise.
4551 * math/s_csinh_template.c: Likewise.
4552 * math/s_csqrt_template.c: Likewise.
4553 * math/s_ctan_template.c: Likewise.
4554 * math/s_ctanh_template.c: Likewise.
4555 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4556 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4557 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4558 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4559 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4560 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4561 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4562 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4563 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4564 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4565 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4566 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4567 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4568 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4569 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4570 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4571 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4572 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4573 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4574 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4575 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4576 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4577 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4578 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4579 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4580 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4581 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4582 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4583 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4584 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4585 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4586 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4587 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4588 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4589 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4590 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4591 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4592 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4593 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4594 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4595 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4596 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4597 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4598 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4599 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4600 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4601 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4602 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4603 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4604 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4605 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4606 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
4607 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4608 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
4609 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4610 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4611 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4612 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4613 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4614 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4615 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4616 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4617 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4618 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4619 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4620 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4621 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4622 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
4623 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4624 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4625 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4626 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4627 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4628 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
4629 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4630 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4631 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4632 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4633 * sysdeps/x86/fpu/powl_helper.c: Likewise.
4634 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
4635 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
4636 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4637 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
4638 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
4640 2018-05-09 Joseph Myers <joseph@codesourcery.com>
4642 * sysdeps/generic/math-barriers.h: New file.
4643 * sysdeps/generic/math_private.h [!math_opt_barrier]
4644 (math_opt_barrier): Move to math-barriers.h.
4645 [!math_opt_barrier] (math_force_eval): Likewise.
4646 * sysdeps/aarch64/fpu/math-barriers.h: New file.
4647 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
4649 (math_force_eval): Likewise.
4650 * sysdeps/alpha/fpu/math-barriers.h: New file.
4651 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
4653 (math_force_eval): Likewise.
4654 * sysdeps/x86/fpu/math-barriers.h: New file.
4655 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
4657 (math_force_eval): Likewise.
4658 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
4659 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
4660 multiple-include guard for rename.
4661 * sysdeps/powerpc/fpu/math-barriers.h: New file.
4662 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
4664 (math_force_eval): Likewise.
4666 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4670 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
4672 * stdlib/Makefile (test-bz22786): New test.
4673 * stdlib/test-bz22786.c: New test.
4675 2018-05-09 Joseph Myers <joseph@codesourcery.com>
4677 * include/math-narrow-eval.h: New file. Contents moved from ....
4678 * sysdeps/generic/math_private.h: ... here.
4679 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
4680 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
4681 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
4682 * stdlib/strtod_l.c: Likewise.
4683 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
4684 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
4685 * sysdeps/i386/fpu/s_fdim.c: Likewise.
4686 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4687 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4688 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4689 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4690 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4691 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4692 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4693 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4694 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
4695 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4696 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4697 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4698 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4699 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4700 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4701 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4702 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4703 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4704 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4705 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4706 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4707 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
4708 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4709 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4710 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4711 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4713 2018-05-08 Andreas Schwab <schwab@suse.de>
4715 * sysdeps/nptl/internaltypes.h: Fix comment.
4717 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
4719 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4720 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
4723 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
4725 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
4726 of I into loop header.
4727 * benchtests/bench-memmove-walk.c
4728 (test_main): Likewise.
4730 2018-05-07 Alexandre Oliva <oliva@gnu.org>
4733 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
4734 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
4736 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4739 * elf/dl-load.c (open_verify): Fix stack overflow.
4740 * elf/Makefile (tst-big-note): New test.
4741 * elf/tst-big-note-lib.S: New.
4742 * elf/tst-big-note.c: New.
4744 2018-05-04 Joseph Myers <joseph@codesourcery.com>
4746 * scripts/abilist.awk: Ignore absolute symbols.
4747 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
4748 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
4749 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
4750 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
4751 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
4752 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
4753 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
4754 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
4755 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
4756 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
4757 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
4758 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
4759 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
4760 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
4761 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
4762 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
4763 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
4764 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
4765 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4766 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
4767 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
4768 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
4769 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
4770 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
4771 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
4772 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
4773 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
4774 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
4775 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4776 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
4777 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
4778 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4779 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
4780 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
4781 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
4782 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
4783 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
4784 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
4785 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
4786 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
4787 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
4788 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4789 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
4790 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
4791 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4792 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
4793 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
4794 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
4795 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
4796 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
4797 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
4798 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
4799 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
4800 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
4801 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4802 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
4803 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
4804 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4805 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
4806 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
4807 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
4808 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
4809 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
4810 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
4811 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
4812 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
4813 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
4814 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4815 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
4816 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
4817 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4818 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
4819 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
4820 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
4821 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
4822 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
4823 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
4824 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
4825 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
4826 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
4827 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4828 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
4829 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
4830 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4831 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
4832 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
4833 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
4834 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
4835 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
4836 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
4837 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
4838 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
4840 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
4841 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4842 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
4843 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
4844 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4845 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
4846 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
4847 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
4848 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
4849 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
4850 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
4851 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
4852 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
4854 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
4855 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4856 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
4857 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
4858 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4859 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
4860 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
4861 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
4862 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
4863 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
4864 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
4865 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
4866 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
4867 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
4868 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4869 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
4870 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
4871 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4872 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
4873 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
4874 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
4875 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
4876 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
4877 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
4878 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4879 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
4880 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4882 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
4883 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
4884 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
4885 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
4886 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4887 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
4888 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
4889 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
4890 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
4891 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
4892 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
4893 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
4894 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
4895 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
4896 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
4897 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
4898 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
4899 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
4900 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4901 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4903 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
4904 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
4905 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
4906 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4907 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
4908 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
4909 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
4910 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
4911 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
4912 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
4913 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4914 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
4915 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
4916 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4917 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
4918 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
4919 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
4920 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
4921 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4922 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
4923 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
4924 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4925 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
4926 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
4927 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
4928 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
4929 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
4930 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
4931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
4932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
4933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
4934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
4937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
4938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
4939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
4940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
4942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
4944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
4945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
4948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
4960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
4961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
4966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
4967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
4968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
4969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
4970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
4972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
4973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
4979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
4981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
4982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
4983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
4985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
4987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
4989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
4990 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
4991 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
4993 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
4994 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4995 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
4996 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
4997 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
4998 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
4999 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
5000 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
5001 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
5002 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
5003 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
5004 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
5005 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
5006 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
5008 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5009 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
5010 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
5011 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5012 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
5013 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
5014 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
5015 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
5016 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
5017 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
5018 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
5019 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
5021 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5022 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
5023 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
5024 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5025 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
5026 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
5027 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
5028 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
5029 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
5030 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
5031 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
5032 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
5033 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
5034 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5035 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
5036 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
5037 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5038 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
5039 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
5040 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
5041 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
5042 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
5043 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
5044 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
5045 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
5047 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
5048 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5049 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
5050 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
5051 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5052 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
5053 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
5054 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
5055 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
5056 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
5057 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
5058 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
5059 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5061 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
5062 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5063 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
5064 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
5065 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5066 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
5067 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
5068 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
5069 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
5070 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
5071 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
5072 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
5073 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
5074 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
5075 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5076 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
5077 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
5078 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5079 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
5080 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
5081 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
5082 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
5083 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
5084 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
5085 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
5086 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
5087 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
5088 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
5089 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5090 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
5091 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
5092 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5093 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
5094 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
5095 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
5096 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
5097 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
5098 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
5100 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
5103 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
5104 Use atomic_load_acquire to load __tid.
5106 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
5108 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
5109 Restore the pointer into %rdx, after syscall and use %rdx,
5110 instead of %rsi, to restore context.
5112 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
5114 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
5115 Pop the pointer into %rdx after syscall and use %rdx, instead
5116 of %rsi, to restore context.
5118 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
5120 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
5121 handlers after setjmp.
5122 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
5124 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
5125 <libc-pointer-arith.h>.
5126 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
5127 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
5128 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
5129 _JUMP_BUF_SIGSET_BITS_PER_WORD.
5130 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
5131 * sysdeps/x86/__longjmp_cancel.S: New file.
5132 * sysdeps/x86/longjmp.c: Likewise.
5133 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
5135 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5137 * NEWS: Add ustat.h deprecation entry.
5138 * bits/ustat.h: Remove file.
5139 * misc/sys/ustat.h: Likewise.
5140 * misc/ustat.h: Likewise.
5141 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
5142 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
5143 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
5145 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
5146 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
5147 generic Linux implementation.
5149 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5151 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
5152 * math/w_expl_compat.c: Likewise.
5153 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
5155 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
5157 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
5159 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5161 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
5162 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
5163 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
5165 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
5166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
5167 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5168 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
5169 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
5172 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5174 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
5176 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
5177 * math/w_asin_template.c: Likewise.
5178 * math/w_atanh_template.c: Likewise.
5180 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5182 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
5183 to powerpc/powerpc64/be for big-endian.
5184 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
5187 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
5188 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
5189 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
5190 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
5191 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5192 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
5193 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
5194 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
5195 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
5196 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5197 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
5198 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
5199 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
5200 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
5201 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
5202 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
5203 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
5204 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
5205 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
5206 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
5207 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
5208 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5209 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
5210 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
5211 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
5212 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5213 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
5214 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
5215 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
5216 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
5217 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
5218 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
5220 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
5221 adjusted to imply powerpc64 and older processors on powerpc64/be.
5222 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
5223 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
5224 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
5225 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
5226 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
5227 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
5228 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
5229 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
5230 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
5231 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
5232 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
5233 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
5234 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
5235 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
5236 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
5237 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
5238 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
5239 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
5240 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
5241 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
5242 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
5243 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
5244 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
5245 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
5246 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
5247 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
5248 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
5249 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
5250 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
5251 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
5252 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
5254 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
5255 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
5256 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
5257 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
5259 * sysdeps/powerpc/powerpc64/be/Implies: New file.
5260 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
5261 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
5262 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
5264 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
5265 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
5266 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
5267 * sysdeps/powerpc/powerpc64le/configure: Likewise.
5268 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
5269 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
5270 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
5271 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
5272 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
5273 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
5274 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
5276 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
5277 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
5278 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
5279 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
5280 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
5281 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
5282 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
5283 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
5284 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
5285 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
5286 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
5288 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
5289 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
5290 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
5291 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
5292 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
5293 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
5294 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
5295 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
5296 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
5297 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
5298 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
5299 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
5301 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
5302 and adjusted to imply olders processors.
5303 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
5304 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
5305 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
5306 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
5307 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
5308 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
5309 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
5310 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
5311 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
5312 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
5313 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
5315 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
5317 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
5318 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
5320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
5322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
5323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
5325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
5327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
5328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
5329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
5331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
5332 powerpc64 and adjusted.
5333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
5334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
5335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
5338 2018-04-27 Joseph Myers <joseph@codesourcery.com>
5340 * sysdeps/tile: Remove.
5341 * sysdeps/unix/sysv/linux/tile: Likewise.
5342 * README (tilegx-*-linux-gnu): Remove from list of supported
5344 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
5345 contribution of support for generic Linux kernel syscall
5347 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
5348 tilegx configurations.
5349 (Config.install_linux_headers): Do not handle tile.
5350 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
5352 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
5353 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
5354 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
5355 conditional undefine and redefine.
5356 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
5358 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
5359 conditional undefine and redefine.
5361 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
5363 * signal/tst-sigaction.c: New file to test BZ #23069.
5364 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
5366 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5369 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
5370 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
5371 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
5372 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
5374 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5376 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
5377 _DIRENT_MATCHES_DIRENT64 is not defined.
5378 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
5379 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
5381 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
5382 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
5384 2018-04-25 Joseph Myers <joseph@codesourcery.com>
5386 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
5387 version to GCC 8 branch.
5389 2018-04-24 Joseph Myers <joseph@codesourcery.com>
5391 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
5392 (check_no_hidden): Use type of original function when declaring
5395 * sysdeps/unix/sysv/linux/sys/ptrace.h
5396 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
5397 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
5398 (struct __ptrace_seccomp_metadata): New type.
5399 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
5400 (PTRACE_SECCOMP_GET_METADATA): Likewise.
5401 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
5402 (PTRACE_SECCOMP_GET_METADATA): Likewise.
5403 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
5404 (PTRACE_SECCOMP_GET_METADATA): Likewise.
5405 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
5406 (PTRACE_SECCOMP_GET_METADATA): Likewise.
5407 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
5408 (PTRACE_SECCOMP_GET_METADATA): Likewise.
5409 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
5410 (PTRACE_SECCOMP_GET_METADATA): Likewise.
5411 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
5412 (PTRACE_SECCOMP_GET_METADATA): Likewise.
5413 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
5414 (PTRACE_SECCOMP_GET_METADATA): Likewise.
5416 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5418 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
5420 * dirent/versionsort.c (versionsort): Likewise.
5421 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
5422 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
5423 * dirent/versionsort64.c (versionsort64): Likewise.
5424 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
5425 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
5426 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
5427 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
5428 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
5429 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
5430 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
5431 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
5432 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
5433 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
5434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
5435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
5436 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
5437 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
5439 2018-04-23 Joseph Myers <joseph@codesourcery.com>
5441 * elf/elf.h (NT_PPC_PKEY): New macro.
5443 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
5446 * localedata/locales/hr_HR: fix thousands_sep and
5449 2018-04-20 Joseph Myers <joseph@codesourcery.com>
5451 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
5452 (XTABS): Define to TAB3.
5454 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5456 * sysdeps/hppa/fpu/libm-test-ulps: Update.
5458 * dirent/scandir-tail-common.c: New file.
5459 * dirent/scandir-tail.c: Use scandir-tail-common.c.
5460 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
5461 * dirent/scandir.c: Use scandir-tail-common.c.
5462 * dirent/scandirat.c: Likewise.
5463 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
5464 * dirent/scandir64.c (scandir64): Always build and alias to scandir
5465 if _DIRENT_MATCHES_DIRENT64 is defined.
5466 * dirent/scandirat64.c (scandirat64): Likewise.
5467 * include/dirent.h (__scandir_tail): Only define iff
5468 _DIRENT_MATCHES_DIRENT64 is not defined.
5469 (__scandir64_tail): Define regardless.
5470 (__scandirat, scandirat64): Remove libc_hidden_proto.
5471 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
5472 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
5473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
5474 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
5475 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
5476 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
5477 * sysdeps/unix/sysv/linux/scandir64.c: New file.
5479 2018-04-20 Joseph Myers <joseph@codesourcery.com>
5481 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
5483 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5485 (_dl_aarch64_cap_flags): Add asimdfhm.
5487 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
5489 * sysdeps/nios2/libm-test-ulps: Update.
5491 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5493 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
5494 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
5496 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
5498 (_DIRENT_MATCHES_DIRENT64): Undef
5499 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
5500 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
5501 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
5502 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
5503 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
5504 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
5505 use getdents64 syscalls as base.
5506 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
5508 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
5509 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
5510 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
5511 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
5512 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
5513 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
5514 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
5515 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
5516 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5517 (__get_clockfreq_via_proc_openprom): Use __getdents64.
5518 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
5520 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5522 * scripts/test_printers_common.py (init_test): Disable lock elision.
5524 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5526 * math/test-tgmath.c (count_double, count_float,
5527 count_ldouble, count_cdouble, count_cfloat,
5528 count_cldouble): Use volatile int.
5530 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
5532 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
5533 (conformtest-xfail-conds): Add i386-gnu.
5534 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
5536 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
5537 ipc_perm.cuid, ipc_perm.cgid): Likewise.
5538 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
5539 msqid_ds.msg_lrpid): Likewise.
5540 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
5542 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
5543 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
5544 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
5545 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
5547 (struct statvfs64): Likewise.
5548 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
5550 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
5551 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
5552 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
5553 instead of wait_queue.
5554 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
5555 instead of vm_area_struct.
5556 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
5557 struct sched_param definition to it.
5558 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5559 * bits/types/struct_sched_param.h: New file.
5560 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
5561 <bits/types/struct_sched_param.h> instead of <sched.h>.
5562 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5563 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
5564 generic version but include <bits/pthreadtypes.h> to make struct
5565 sigevent's sigev_notify_attributes field a pthread_attr_t*.
5566 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
5568 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
5569 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
5570 [__USE_XOPEN] (OFDEL): New macro.
5571 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
5572 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5573 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
5575 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
5576 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
5577 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
5579 * sysdeps/i386/sys/ucontext.h: Likewise.
5580 * sysdeps/m68k/sys/ucontext.h: Likewise.
5581 * sysdeps/mips/sys/ucontext.h: Likewise.
5582 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
5583 * sysdeps/mach/hurd/i386/Makefile
5584 (test-xfail-POSIX/fcntl.h/conform): Add.
5585 (test-xfail-POSIX/signal.h/conform): Add.
5586 (test-xfail-POSIX/semaphore.h/conform): Add.
5587 (test-xfail-POSIX/regex.h/conform): Add.
5588 (test-xfail-POSIX/aio.h/conform): Add.
5589 (test-xfail-POSIX/mqueue.h/conform): Add.
5590 (test-xfail-POSIX/sys/types.h/conform): Add.
5591 (test-xfail-UNIX98/fcntl.h/conform): Add.
5592 (test-xfail-UNIX98/netdb.h/conform): Add.
5593 (test-xfail-UNIX98/signal.h/conform): Add.
5594 (test-xfail-UNIX98/semaphore.h/conform): Add.
5595 (test-xfail-UNIX98/regex.h/conform): Add.
5596 (test-xfail-UNIX98/aio.h/conform): Add.
5597 (test-xfail-UNIX98/ftw.h/conform): Add.
5598 (test-xfail-UNIX98/mqueue.h/conform): Add.
5599 (test-xfail-UNIX98/netinet/in.h/conform): Add.
5600 (test-xfail-UNIX98/sys/wait.h/conform): Add.
5601 (test-xfail-UNIX98/sys/sem.h/conform): Add.
5602 (test-xfail-UNIX98/sys/uio.h/conform): Add.
5603 (test-xfail-UNIX98/sys/socket.h/conform): Add.
5604 (test-xfail-UNIX98/sys/types.h/conform): Add.
5605 (test-xfail-UNIX98/stdlib.h/conform): Add.
5606 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
5607 (test-xfail-POSIX2008/fcntl.h/conform): Add.
5608 (test-xfail-POSIX2008/netdb.h/conform): Add.
5609 (test-xfail-POSIX2008/signal.h/conform): Add.
5610 (test-xfail-POSIX2008/semaphore.h/conform): Add.
5611 (test-xfail-POSIX2008/regex.h/conform): Add.
5612 (test-xfail-POSIX2008/aio.h/conform): Add.
5613 (test-xfail-POSIX2008/mqueue.h/conform): Add.
5614 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
5615 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
5616 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
5617 (test-xfail-POSIX2008/sys/types.h/conform): Add.
5618 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
5619 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
5620 (test-xfail-XOPEN2K/netdb.h/conform): Add.
5621 (test-xfail-XOPEN2K/signal.h/conform): Add.
5622 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
5623 (test-xfail-XOPEN2K/regex.h/conform): Add.
5624 (test-xfail-XOPEN2K/aio.h/conform): Add.
5625 (test-xfail-XOPEN2K/ftw.h/conform): Add.
5626 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
5627 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
5628 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
5629 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
5630 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
5631 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
5632 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
5633 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
5634 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
5635 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
5636 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
5637 (test-xfail-XOPEN2K8/signal.h/conform): Add.
5638 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
5639 (test-xfail-XOPEN2K8/regex.h/conform): Add.
5640 (test-xfail-XOPEN2K8/aio.h/conform): Add.
5641 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
5642 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
5643 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
5644 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
5645 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
5646 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
5647 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
5648 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
5649 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
5650 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
5651 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
5653 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
5654 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
5656 2018-04-18 Joseph Myers <joseph@codesourcery.com>
5658 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
5659 --enable-obsolete for powerpc-linux-gnuspe.
5661 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
5663 * conform/data/sys/un.h-data: Allow sun_ prefix.
5664 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
5666 * sysdeps/mach/include/mach.h: Likewise.
5667 * sysdeps/mach/include/mach/mig_support.h: Likewise.
5668 * sysdeps/mach/include/mach_error.h: Likewise.
5670 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5672 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
5673 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
5674 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
5675 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
5677 2018-04-16 Andreas Schwab <schwab@suse.de>
5680 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
5682 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
5684 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
5685 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
5687 2018-04-12 DJ Delorie <dj@redhat.com>
5689 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5692 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5694 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
5695 (struct kernel_sigaction): Use the same definition on 31bit as is used
5698 2018-04-09 Florian Weimer <fweimer@redhat.com>
5701 * resolv/res_send.c (send_dg): Use designated initializers instead
5702 of assignment to zero-initialize other fields of struct mmsghdr.
5704 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5706 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
5707 __READDIR_ALIAS): Undefine after usage.
5708 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
5709 __READDIR_R_ALIAS): Likewise.
5710 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
5711 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
5712 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
5713 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
5714 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
5715 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
5716 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5717 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5718 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
5719 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
5720 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
5721 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
5722 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5723 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
5724 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
5725 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
5726 * sysdeps/unix/sysv/linux/readdir.c: New file.
5727 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
5728 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
5729 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
5731 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
5733 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
5735 * manual/charset.texi (Converting a Character): Fix typo.
5737 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5741 * sysdeps/arm/libm-test-ulps: Update.
5743 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
5744 as base implementation.
5745 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5746 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5747 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5748 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5749 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5750 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
5751 remove unrequired definitions and update comments.
5752 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
5753 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
5754 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
5755 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
5756 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
5757 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
5758 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
5759 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
5760 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
5761 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
5762 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
5763 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5764 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5765 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
5766 and RESET_SA_RESTORER hooks.
5768 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
5770 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5772 2018-04-05 Florian Weimer <fweimer@redhat.com>
5774 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
5775 integer overflow, memory leak on error, and indeterminate errno
5776 value. Add a null wide character to terminate the result string.
5777 * manual/charset.texi (Converting a Character): Mention embedded
5778 null bytes in the mbrtowc input string. Explain what happens in
5779 the -2 result case. Do not claim that mbrtowc is simple or
5780 obvious to use. Adjust the description of the code example. Use
5781 @code, not @var, for concrete variables.
5783 2018-04-05 Florian Weimer <fweimer@redhat.com>
5785 * manual/examples/mbstouwcs.c: New file.
5786 * manual/charset.texi (Converting a Character): Include it.
5788 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
5790 * include/dirent.h (dirfd): Add hidden proto.
5791 * dirent/dirfd.c (dirfd): Add hidden def.
5792 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
5793 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
5795 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5797 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
5798 sin, cos and sincos to 1 ULP.
5800 2018-04-04 Maciej W. Rozycki <macro@mips.com>
5803 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
5805 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
5806 * elf/tst-absolute-sym.c: New file.
5807 * elf/tst-absolute-sym-lib.c: New file.
5808 * elf/tst-absolute-sym-lib.lds: New file.
5809 * elf/Makefile (tests): Add `tst-absolute-sym'.
5810 (modules-names): Add `tst-absolute-sym-lib'.
5811 (LDLIBS-tst-absolute-sym-lib.so): New variable.
5812 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
5813 ($(objpfx)tst-absolute-sym): New dependency.
5816 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
5818 (SYMBOL_ADDRESS): New macro.
5819 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
5820 SYMBOL_ADDRESS for symbol address calculation.
5821 * elf/dl-runtime.c (_dl_fixup): Likewise.
5822 (_dl_profile_fixup): Likewise.
5823 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
5824 * elf/rtld.c (dl_main): Likewise.
5825 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
5826 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
5827 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
5828 (elf_machine_rela): Likewise.
5829 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
5830 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
5831 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5832 (elf_machine_rela): Likewise.
5833 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
5834 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
5835 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
5836 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
5838 (elf_machine_reloc): Likewise.
5839 (elf_machine_got_rel): Likewise.
5840 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
5841 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
5842 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
5844 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5846 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
5847 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5849 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5851 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5852 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5854 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5856 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
5857 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5859 2018-04-04 Zack Weinberg <zackw@panix.com>
5861 * sysdeps/generic/internal-signals.h: Include signal.h,
5862 sigsetops.h, and stdbool.h.
5863 (__libc_signal_block_all): Actually block all signals.
5864 (__libc_signal_block_app): Likewise.
5865 (__libc_signal_restore_set): Actually restore the signal mask.
5867 2018-04-04 Florian Weimer <fweimer@redhat.com>
5869 inet: Actually build and run tst-deadline.
5870 * inet/Makefile (tests-internal): Add tst-deadline and do not
5871 overwrite the variable.
5872 (tests-static-internal): Remove variable.
5874 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
5877 * bits/uio-ext.h (RWF_APPEND): New.
5878 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
5879 * manual/llio.texi: Document RWF_APPEND.
5880 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
5881 (RWF_SUPPORTED): Add RWF_APPEND.
5883 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5886 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
5887 check for internal nptl signals.
5888 * nptl/sigaction.c (__sigaction): Likewise.
5889 * signal/sigaddset.c (sigaddset): Likewise.
5890 * signal/sigdelset.c (sigdelset): Likewise.
5891 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
5892 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
5894 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
5895 to filter out internal nptl signals.
5896 * signal/tst-sigset.c (do_test): Check ech signal indidually and
5897 also check realtime signals using standard macros.
5898 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
5899 __is_internal_signal, __libc_signal_block_all,
5900 __libc_signal_block_app, __libc_signal_restore_set): New functions.
5901 * sysdeps/nptl/sigfillset.c: Remove file.
5902 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
5903 Change return to bool.
5904 (__clear_internal_signals): Remove SIGTIMER clean since it is
5905 equal to SIGCANEL on Linux.
5906 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
5907 signal set was constructed using standard functions.
5909 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5911 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
5913 * hurd/hurdsig.c (interrupted_reply_port_location): Use
5914 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
5915 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
5917 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
5918 * signal/sigaddset.c: Include <sigsetopts.h>.
5919 * signal/sigdelset.c: Likewise.
5921 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
5923 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
5925 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
5926 logic as sin and cos.
5928 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
5930 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
5931 inputs. Return correct sign.
5932 (do_sincos): Remove small input check before do_sin, let do_sin set
5937 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
5939 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
5940 (do_cos_slow): Likewise.
5941 (do_sin_slow): Likewise.
5942 (reduce_and_compute): Likewise.
5954 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
5956 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
5957 (do_cos): Remove corp parameter and calculations.
5959 (do_sincos): Remove cor variable.
5960 (__sin): Use do_sincos for huge inputs.
5962 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
5963 (reduce_and_compute_sincos): Remove unused function.
5965 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
5967 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
5968 reduce_sincos, improve accuracy to 136 bits.
5969 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
5970 (__sin): Use improved reduction and simplified do_sincos calculation.
5972 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
5974 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
5976 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
5977 (do_sincos_2): Likewise.
5978 (__sin): Remove middle range reduction case.
5980 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
5983 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
5985 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
5986 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
5989 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
5991 2018-04-03 Joseph Myers <joseph@codesourcery.com>
5993 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5996 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5998 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
6000 (opendir_oflags): Use O_DIRECTORY regardless.
6001 (__opendir, __opendirat): Remove need_isdir_precheck usage.
6002 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
6004 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6006 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
6007 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
6009 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
6010 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
6011 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
6012 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
6013 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
6014 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
6016 * htl/Makefile: Bump licence to LGPL 2.1+.
6017 * htl/alloca_cutoff.c: Likewise.
6018 * htl/cthreads-compat.c: Likewise.
6019 * htl/lockfile.c: Likewise.
6020 * htl/pt-alloc.c: Likewise.
6021 * htl/pt-cancel.c: Likewise.
6022 * htl/pt-cleanup.c: Likewise.
6023 * htl/pt-create.c: Likewise.
6024 * htl/pt-dealloc.c: Likewise.
6025 * htl/pt-detach.c: Likewise.
6026 * htl/pt-exit.c: Likewise.
6027 * htl/pt-getattr.c: Likewise.
6028 * htl/pt-initialize.c: Likewise.
6029 * htl/pt-internal.h: Likewise.
6030 * htl/pt-join.c: Likewise.
6031 * htl/pt-self.c: Likewise.
6032 * htl/pt-setcancelstate.c: Likewise.
6033 * htl/pt-setcanceltype.c: Likewise.
6034 * htl/pt-sigmask.c: Likewise.
6035 * htl/pt-spin-inlines.c: Likewise.
6036 * htl/pt-testcancel.c: Likewise.
6037 * htl/pt-yield.c: Likewise.
6038 * htl/tests/test-1.c: Likewise.
6039 * htl/tests/test-10.c: Likewise.
6040 * htl/tests/test-11.c: Likewise.
6041 * htl/tests/test-12.c: Likewise.
6042 * htl/tests/test-13.c: Likewise.
6043 * htl/tests/test-14.c: Likewise.
6044 * htl/tests/test-15.c: Likewise.
6045 * htl/tests/test-16.c: Likewise.
6046 * htl/tests/test-17.c: Likewise.
6047 * htl/tests/test-2.c: Likewise.
6048 * htl/tests/test-3.c: Likewise.
6049 * htl/tests/test-4.c: Likewise.
6050 * htl/tests/test-5.c: Likewise.
6051 * htl/tests/test-6.c: Likewise.
6052 * htl/tests/test-7.c: Likewise.
6053 * htl/tests/test-8.c: Likewise.
6054 * htl/tests/test-9.c: Likewise.
6055 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
6056 * sysdeps/htl/bits/cancelation.h: Likewise.
6057 * sysdeps/htl/bits/pthread-np.h: Likewise.
6058 * sysdeps/htl/bits/pthread.h: Likewise.
6059 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
6060 * sysdeps/htl/bits/semaphore.h: Likewise.
6061 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
6062 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
6063 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
6064 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
6065 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
6066 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
6067 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
6068 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
6069 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
6070 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
6071 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
6072 * sysdeps/htl/old_pt-atfork.c: Likewise.
6073 * sysdeps/htl/pt-atfork.c: Likewise.
6074 * sysdeps/htl/pt-attr-destroy.c: Likewise.
6075 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
6076 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
6077 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
6078 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
6079 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
6080 * sysdeps/htl/pt-attr-getscope.c: Likewise.
6081 * sysdeps/htl/pt-attr-getstack.c: Likewise.
6082 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
6083 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
6084 * sysdeps/htl/pt-attr-init.c: Likewise.
6085 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
6086 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
6087 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
6088 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
6089 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
6090 * sysdeps/htl/pt-attr-setscope.c: Likewise.
6091 * sysdeps/htl/pt-attr-setstack.c: Likewise.
6092 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
6093 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
6094 * sysdeps/htl/pt-attr.c: Likewise.
6095 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
6096 * sysdeps/htl/pt-barrier-init.c: Likewise.
6097 * sysdeps/htl/pt-barrier-wait.c: Likewise.
6098 * sysdeps/htl/pt-barrier.c: Likewise.
6099 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
6100 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
6101 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
6102 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
6103 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
6104 * sysdeps/htl/pt-cond-destroy.c: Likewise.
6105 * sysdeps/htl/pt-cond-init.c: Likewise.
6106 * sysdeps/htl/pt-cond-signal.c: Likewise.
6107 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
6108 * sysdeps/htl/pt-cond-wait.c: Likewise.
6109 * sysdeps/htl/pt-cond.c: Likewise.
6110 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
6111 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
6112 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
6113 * sysdeps/htl/pt-condattr-init.c: Likewise.
6114 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
6115 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
6116 * sysdeps/htl/pt-destroy-specific.c: Likewise.
6117 * sysdeps/htl/pt-equal.c: Likewise.
6118 * sysdeps/htl/pt-getconcurrency.c: Likewise.
6119 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
6120 * sysdeps/htl/pt-getschedparam.c: Likewise.
6121 * sysdeps/htl/pt-getspecific.c: Likewise.
6122 * sysdeps/htl/pt-init-specific.c: Likewise.
6123 * sysdeps/htl/pt-key-create.c: Likewise.
6124 * sysdeps/htl/pt-key-delete.c: Likewise.
6125 * sysdeps/htl/pt-key.h: Likewise.
6126 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
6127 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
6128 * sysdeps/htl/pt-mutex-init.c: Likewise.
6129 * sysdeps/htl/pt-mutex-lock.c: Likewise.
6130 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
6131 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
6132 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
6133 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
6134 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
6135 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
6136 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
6137 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
6138 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
6139 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
6140 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
6141 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
6142 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
6143 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
6144 * sysdeps/htl/pt-mutexattr.c: Likewise.
6145 * sysdeps/htl/pt-once.c: Likewise.
6146 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
6147 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
6148 * sysdeps/htl/pt-rwlock-init.c: Likewise.
6149 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
6150 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
6151 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
6152 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
6153 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
6154 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
6155 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
6156 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
6157 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
6158 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
6159 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
6160 * sysdeps/htl/pt-setconcurrency.c: Likewise.
6161 * sysdeps/htl/pt-setschedparam.c: Likewise.
6162 * sysdeps/htl/pt-setschedprio.c: Likewise.
6163 * sysdeps/htl/pt-setspecific.c: Likewise.
6164 * sysdeps/htl/pt-spin.c: Likewise.
6165 * sysdeps/htl/pt-startup.c: Likewise.
6166 * sysdeps/htl/pthread.h: Likewise.
6167 * sysdeps/htl/sem-close.c: Likewise.
6168 * sysdeps/htl/sem-destroy.c: Likewise.
6169 * sysdeps/htl/sem-getvalue.c: Likewise.
6170 * sysdeps/htl/sem-init.c: Likewise.
6171 * sysdeps/htl/sem-open.c: Likewise.
6172 * sysdeps/htl/sem-post.c: Likewise.
6173 * sysdeps/htl/sem-timedwait.c: Likewise.
6174 * sysdeps/htl/sem-trywait.c: Likewise.
6175 * sysdeps/htl/sem-unlink.c: Likewise.
6176 * sysdeps/htl/sem-wait.c: Likewise.
6177 * sysdeps/hurd/htl/pt-kill.c: Likewise.
6178 * sysdeps/i386/htl/pt-machdep.h: Likewise.
6179 * sysdeps/mach/htl/pt-block.c: Likewise.
6180 * sysdeps/mach/htl/pt-spin.c: Likewise.
6181 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
6182 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
6183 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
6184 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
6185 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
6186 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
6187 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
6188 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
6189 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
6190 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
6191 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
6192 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
6193 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
6194 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
6195 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
6196 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
6197 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
6198 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
6199 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
6200 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
6201 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
6202 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
6203 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
6204 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
6205 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
6206 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
6207 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
6208 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
6209 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
6210 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
6211 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
6212 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
6213 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
6214 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
6215 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
6216 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
6217 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
6218 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
6219 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
6220 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
6221 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
6222 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
6223 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
6225 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
6226 * README: Remove the mention of out-of-tree patches needed for
6229 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
6230 (UTIME_NOW, UTIME_OMIT): Define macros.
6232 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
6233 instead of pthread_detach.
6234 (__cthread_fork): Call __pthread_create instead of pthread_create.
6235 (__cthread_keycreate): Call __pthread_key_create instead of
6237 (__cthread_getspecific): Call __pthread_getspecific instead of
6238 pthread_getspecific.
6239 (__cthread_setspecific): Call __pthread_setspecific instead of
6240 pthread_setspecific.
6241 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
6242 __pthread_mutex_unlock instead of pthread_mutex_lock and
6243 pthread_mutex_unlock.
6244 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
6245 ___pthread_get_cleanup_stack.
6246 (__pthread_get_cleanup_stack): New strong alias.
6247 * htl/pt-create.c: Include <pthreadP.h>.
6248 (entry_point): Call __pthread_exit instead of pthread_exit.
6249 (pthread_create): Rename to __pthread_create.
6250 (pthread_create): New strong alias.
6251 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
6252 (pthread_detach): New strong alias.
6253 (__pthread_detach): Call __pthread_cond_broadcast instead of
6254 pthread_cond_broadcast.
6255 * htl/pt-exit.c: Include <pthreadP.h>.
6256 (__pthread_exit): Call __pthread_setcancelstate and
6257 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
6258 __pthread_get_cleanup_stack.
6259 * htl/pt-testcancel.c: Include <pthreadP.h>.
6260 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
6261 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
6262 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
6263 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
6264 pthread_attr_getstacksize.
6265 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
6266 Rename to __pthread_attr_getstackaddr.
6267 (pthread_attr_getstackaddr): New strong alias.
6268 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
6269 Rename to __pthread_attr_getstacksize.
6270 (pthread_attr_getstacksize): New strong alias.
6271 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
6272 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
6273 (pthread_attr_setstack): New strong alias.
6274 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
6275 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
6276 pthread_attr_getstacksize, pthread_attr_setstacksize and
6277 pthread_attr_setstackaddr.
6278 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
6279 Rename to __pthread_attr_setstackaddr.
6280 (pthread_attr_setstackaddr): New strong alias.
6281 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
6282 Rename to __pthread_attr_setstacksize.
6283 (pthread_attr_setstacksize): New strong alias.
6284 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
6285 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
6287 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
6288 (__pthread_key_create): New hidden def.
6289 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
6290 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
6291 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
6292 __pthread_exit, __pthread_key_create, __pthread_getspecific,
6293 __pthread_setspecific, __pthread_setcancelstate,
6294 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
6295 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
6296 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
6298 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
6299 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
6300 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
6301 (pthread_attr_setstackaddr): New strong alias.
6302 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
6303 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
6304 (pthread_attr_setstacksize): New strong alias.
6305 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
6306 (call_exit): Call __pthread_exit instead of pthread_exit.
6307 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
6308 (_pthread_mutex_init): New hidden definition.
6309 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
6310 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
6311 instead of pthread_attr_init and pthread_attr_setstack.
6313 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
6314 __vm_deallocate instead of vm_allocate and vm_deallocate.
6315 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
6317 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
6319 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
6321 * hurd/siginfo.c: Include <libioP.h>.
6322 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
6323 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
6325 * mach/devstream.c: Include <libioP.h>.
6326 (dealloc_ref): Call __mach_port_deallocate instead of
6327 mach_port_deallocate.
6328 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
6329 Call __mach_port_deallocate instead of mach_port_deallocate.
6330 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
6332 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
6334 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
6335 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
6336 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
6338 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
6340 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
6342 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
6343 __clock_gettime instead of clock_gettime.
6344 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
6345 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
6346 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
6347 * sysdeps/unix/bsd/stty.c (stty): Likewise.
6348 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
6350 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
6351 __clock_gettime and __nanosleep instead of clock_gettime and
6353 * hurd/catch-signal.c (hurd_catch_signal): Rename to
6354 __hurd_catch_signal.
6355 (hurd_catch_signal): New strong alias.
6356 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
6357 __hurd_catch_signal instead of hurd_catch_signal.
6358 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
6359 * hurd/hurdexec.c (_hurd_init): Add hidden def.
6360 * hurd/hurdinit.c (_hurd_init): Add hidden def.
6361 * hurd/hurdsig.c: Include <mach/mig_support.h>.
6362 (_hurd_thread_sigstate): Add hidden def.
6363 (_hurd_internal_post_signal): Use __mutex_unlock instead of
6365 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
6366 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
6367 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
6368 __hurd_file_name_path_lookup.
6369 (hurd_file_name_path_lookup): New strong alias.
6370 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
6371 hurd_file_name_path_lookup.
6372 * mach/errstring.c (mach_error_type): Add hidden def.
6373 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
6374 * mach/mutex-init.c (__mutex_init): Add hidden def.
6375 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
6376 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
6377 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
6378 * sysdeps/mach/hurd/getcwd.c
6379 (_hurd_canonicalize_directory_name_internal): Rename to
6380 __hurd_canonicalize_directory_name_internal.
6381 (_hurd_canonicalize_directory_name_internal): New strong alias.
6382 (__canonicalize_directory_name_internal, __getcwd): Call
6383 __hurd_canonicalize_directory_name_internal instead of
6384 _hurd_canonicalize_directory_name_internal.
6385 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
6386 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
6388 * sysdeps/hurd/include/hurd.h: New file.
6389 * sysdeps/hurd/include/hurd/fd.h: New file.
6390 * sysdeps/hurd/include/hurd/signal.h: New file.
6391 * sysdeps/mach/include/lock-intern.h: New file.
6392 * sysdeps/mach/include/mach.h: New file.
6393 * sysdeps/mach/include/mach/mig_support.h: New file.
6394 * sysdeps/mach/include/mach_error.h: New file.
6395 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
6397 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
6398 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
6399 _HEADER_H_HIDDEN_DEF macro.
6400 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
6401 _hurd_fd_error_signal): Add hidden prototype.
6402 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
6404 * libio/iolibio.h (_IO_puts): New hidden prototype.
6405 * libio/ioputs.c (_IO_puts): New hidden def.
6406 * sysdeps/mach/hurd/localplt.data: New file.
6408 2018-04-02 Agustina Arzille <avarzille@riseup.net>
6409 Amos Jeffries <squid3@treenet.co.nz>
6410 David Michael <fedora.dm0@gmail.com>
6411 Marco Gerards <marco@gnu.org>
6412 Marcus Brinkmann <marcus@gnu.org>
6413 Neal H. Walfield <neal@gnu.org>
6414 Pino Toscano <toscano.pino@tiscali.it>
6415 Richard Braun <rbraun@sceen.net>
6416 Roland McGrath <roland@gnu.org>
6417 Samuel Thibault <samuel.thibault@ens-lyon.org>
6418 Thomas DiModica <ricinwich@yahoo.com>
6419 Thomas Schwinge <tschwinge@gnu.org>
6421 * htl: New directory.
6422 * sysdeps/htl: New directory.
6423 * sysdeps/hurd/htl: New directory.
6424 * sysdeps/i386/htl: New directory.
6425 * sysdeps/mach/htl: New directory.
6426 * sysdeps/mach/hurd/htl: New directory.
6427 * sysdeps/mach/hurd/i386/htl: New directory.
6428 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
6429 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
6430 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
6432 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6434 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
6435 signals in thread created for runing timers.
6437 2018-04-01 Florian Weimer <fweimer@redhat.com>
6439 * support/support_format_addrinfo.c (support_format_addrinfo):
6440 Include unknown error number in formatted result.
6442 2018-03-29 Florian Weimer <fweimer@redhat.com>
6444 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
6447 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6449 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
6450 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
6451 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6452 (__ASSUME_CLONE_BACKWARDS): Define.
6454 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
6457 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
6458 early when linux sentinel value is set.
6460 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6462 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
6464 2018-03-27 Andreas Schwab <schwab@suse.de>
6467 * resolv/res_send.c (__res_context_send): Return ENOMEM if
6468 allocation of private copy of nsaddr_list fails.
6470 2018-03-26 Joseph Myers <joseph@codesourcery.com>
6473 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
6474 * sysdeps/unix/sysv/linux/umount.c: ... here.
6475 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
6476 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
6477 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
6478 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
6479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
6480 * sysdeps/unix/sysv/linux/umount.S: Likewise.
6481 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
6483 2018-03-26 Andreas Schwab <schwab@suse.de>
6485 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
6486 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
6487 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
6488 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
6489 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
6490 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
6491 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
6492 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
6493 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
6494 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
6495 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
6496 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
6497 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
6498 (R_RISCV_NUM): Define.
6500 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
6502 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
6503 TLS declaration of errno.
6504 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
6506 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
6507 (ARCH_SETUP_TLS): Likewise.
6508 * sysdeps/mach/hurd/libc-start.h: New file copied from
6509 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
6510 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
6511 instead of __libc_setup_tls.
6512 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
6513 __libc_setup_tls before initializing libpthread and running _hurd_init
6514 which starts the signal thread.
6515 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
6517 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6519 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
6522 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
6523 after it is defined.
6525 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
6526 Max Horn <max@quendi.de>
6530 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
6532 * string/test-memmove.c (do_test2): New testcase.
6534 2018-03-22 Joseph Myers <joseph@codesourcery.com>
6536 * sysdeps/generic/frame.h: Remove file.
6537 * sysdeps/arm/frame.h: Likewise.
6538 * sysdeps/hppa/frame.h: Likewise.
6539 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
6541 (GET_FRAME): Likewise.
6542 (GET_STACK): Likewise.
6543 (CALL_SIGHANDLER): Likewise.
6544 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
6546 (GET_FRAME): Likewise.
6547 (GET_STACK): Likewise.
6548 (CALL_SIGHANDLER): Likewise.
6549 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
6550 (SIGCONTEXT_EXTRA_ARGS): Likewise.
6551 (GET_FRAME): Likewise.
6552 (GET_STACK): Likewise.
6553 (CALL_SIGHANDLER): Likewise.
6554 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
6555 (SIGCONTEXT_EXTRA_ARGS): Likewise.
6556 (GET_FRAME): Likewise.
6557 (GET_STACK): Likewise.
6558 (ADVANCE_STACK_FRAME): Likewise.
6559 (CALL_SIGHANDLER): Likewise.
6560 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
6561 (SIGCONTEXT_EXTRA_ARGS): Likewise.
6562 (GET_FRAME): Likewise.
6563 (GET_STACK): Likewise.
6564 (CALL_SIGHANDLER): Likewise.
6565 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
6566 (SIGCONTEXT_EXTRA_ARGS): Likewise.
6567 (GET_FRAME): Likewise.
6568 (GET_STACK): Likewise.
6569 (CALL_SIGHANDLER): Likewise.
6570 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
6571 (SIGCONTEXT_EXTRA_ARGS): Likewise.
6572 (GET_FRAME): Likewise.
6573 (GET_STACK): Likewise.
6574 (CALL_SIGHANDLER): Likewise.
6575 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
6576 (SIGCONTEXT_EXTRA_ARGS): Likewise.
6577 (GET_FRAME): Likewise.
6578 (GET_STACK): Likewise.
6579 (CALL_SIGHANDLER): Likewise.
6580 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
6581 (SIGCONTEXT_EXTRA_ARGS): Likewise.
6582 (GET_FRAME): Likewise.
6583 (GET_STACK): Likewise.
6584 (CALL_SIGHANDLER): Likewise.
6585 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
6586 (SIGCONTEXT_EXTRA_ARGS): Likewise.
6587 (GET_FRAME): Likewise.
6588 (GET_STACK): Likewise.
6589 (CALL_SIGHANDLER): Likewise.
6590 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
6591 (SIGCONTEXT_EXTRA_ARGS): Likewise.
6592 (GET_FRAME): Likewise.
6593 (GET_STACK): Likewise.
6594 (CALL_SIGHANDLER): Likewise.
6595 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
6596 (SIGCONTEXT_EXTRA_ARGS): Likewise.
6597 (GET_FRAME): Likewise.
6598 (GET_STACK): Likewise.
6599 (CALL_SIGHANDLER): Likewise.
6600 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
6601 (SIGCONTEXT_EXTRA_ARGS): Likewise.
6602 (GET_FRAME): Likewise.
6603 (GET_STACK): Likewise.
6604 (CALL_SIGHANDLER): Likewise.
6605 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
6606 (SIGCONTEXT_EXTRA_ARGS): Likewise.
6607 (FIRST_FRAME_POINTER): Likewise.
6608 (ADVANCE_STACK_FRAME): Likewise.
6609 (GET_STACK): Likewise.
6610 (GET_FRAME): Likewise.
6611 (CALL_SIGHANDLER): Likewise.
6612 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
6613 (SIGCONTEXT_EXTRA_ARGS): Likewise.
6614 (ADVANCE_STACK_FRAME): Likewise.
6615 (GET_STACK): Likewise.
6616 (GET_FRAME): Likewise.
6617 (CALL_SIGHANDLER): Likewise.
6618 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
6619 (SIGCONTEXT_EXTRA_ARGS): Likewise.
6620 (GET_FRAME): Likewise.
6621 (GET_STACK): Likewise.
6622 (CALL_SIGHANDLER): Likewise.
6623 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
6624 (SIGCONTEXT_EXTRA_ARGS): Likewise.
6625 (GET_FRAME): Likewise.
6626 (GET_STACK): Likewise.
6627 (CALL_SIGHANDLER): Likewise.
6629 2018-03-21 Joseph Myers <joseph@codesourcery.com>
6631 * sysdeps/x86_64/backtrace.c: Move to ....
6632 * debug/backtrace.c: ... here.
6633 * sysdeps/aarch64/backtrace.c: Remove file.
6634 * sysdeps/alpha/backtrace.c: Likewise.
6635 * sysdeps/hppa/backtrace.c: Likewise.
6636 * sysdeps/ia64/backtrace.c: Likewise.
6637 * sysdeps/mips/backtrace.c: Likewise.
6638 * sysdeps/nios2/backtrace.c: Likewise.
6639 * sysdeps/riscv/backtrace.c: Likewise.
6640 * sysdeps/sh/backtrace.c: Likewise.
6641 * sysdeps/tile/backtrace.c: Likewise.
6643 2018-03-20 Joseph Myers <joseph@codesourcery.com>
6646 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
6649 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
6652 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
6653 possibly overflowing computations.
6655 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
6657 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
6658 values from Linux-specific section now that it is in the GNU section.
6659 * sysdeps/gnu/errlist.c: Regenerate.
6661 2018-03-20 Joseph Myers <joseph@codesourcery.com>
6663 * math/Makefile (libm-narrow-fns): Add sub.
6664 (libm-test-funcs-narrow): Likewise.
6665 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
6666 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
6667 * math/gen-auto-libm-tests.c (test_functions): Add sub.
6668 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
6669 (NARROW_SUB_ROUND_TO_ODD): Likewise.
6670 (NARROW_SUB_TRIVIAL): Likewise.
6671 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
6673 (__dsubl): Likewise.
6674 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
6676 (CFLAGS-nldbl-dsub.c): New variable.
6677 (CFLAGS-nldbl-fsub.c): Likewise.
6678 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
6680 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
6682 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
6683 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
6684 * math/auto-libm-test-in: Add tests of sub.
6685 * math/auto-libm-test-out-narrow-sub: New generated file.
6686 * math/libm-test-narrow-sub.inc: New file.
6687 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
6688 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
6689 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
6690 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
6691 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
6692 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
6693 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
6694 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
6695 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
6696 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
6697 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
6698 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
6699 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
6700 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
6701 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
6702 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
6703 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
6704 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
6705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6706 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
6707 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6708 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6709 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6710 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6711 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6712 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6713 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6714 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6715 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6716 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6717 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6718 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
6720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
6721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
6722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
6723 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
6724 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6725 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6726 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6727 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6728 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6729 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
6730 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
6731 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6732 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6734 2018-03-19 Joseph Myers <joseph@codesourcery.com>
6737 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
6739 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
6741 * benchtests/bench-timing.h (attribute_hidden): Undefine.
6743 2018-03-18 Richard Braun <rbraun@sceen.net>
6745 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
6748 2018-03-18 Agustina Arzille <avarzille@riseup.net>
6750 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
6751 (__libc_cleanup_fct): Define function.
6752 (__libc_cleanup_region_start, __libc_cleanup_region_end,
6753 __libc_cleanup_end): Rewrite implementation using
6754 __attribute__ ((__cleanup__)).
6755 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
6756 * hurd/Makefile (routines): Add hurdlock.
6757 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
6759 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
6760 * hurd/hurdpid.c: Include <lowlevellock.h>
6761 (_S_msg_proc_newids): Use lll_wait to synchronize.
6762 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
6763 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
6764 * mach/Makefile (lock-headers): Remove machine-lock.h.
6765 * mach/lock-intern.h: Include <lowlevellock.h> instead of
6767 (__spin_lock_t): New type.
6768 (__SPIN_LOCK_INITIALIZER): New macro.
6769 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
6770 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
6771 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
6772 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
6773 (__mutex_init): Initialize with lll.
6774 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
6775 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
6777 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6778 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
6779 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
6780 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
6781 (__setpgid): Use lll for synchronization.
6782 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
6783 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
6784 instead of <cthreads.h>.
6785 (_IO_lock_inexpensive): New macro
6786 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
6787 (__libc_lock_self0): New declaration.
6788 (__libc_lock_owner_self): New macro.
6789 (__libc_key_t): Remove type.
6790 (_LIBC_LOCK_INITIALIZER): New macro.
6791 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
6792 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
6793 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
6794 __libc_lock_define_initialized_recursive,
6795 __rtld_lock_define_initialized_recursive,
6796 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
6797 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
6798 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
6799 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
6800 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
6801 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
6802 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
6804 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
6805 * hurd/hurdlock.c: New file.
6806 * hurd/hurdlock.h: New file.
6807 * mach/lowlevellock.h: New file
6809 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
6811 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
6812 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
6813 when opening a symlink with O_NOFOLLOW.
6814 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
6815 path when flags contains O_NOFOLLOW.
6816 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
6817 if flags contains O_DIRECTORY and the result is a directory.
6818 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
6819 oneself when the pointer given in D is nul (as set by ext2fs).
6820 * sysdeps/mach/hurd/mlockall.c: New file.
6821 * sysdeps/mach/hurd/munlockall.c: New file.
6823 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
6825 * hurd/hurdsig.c: Include <pthread.h>.
6826 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
6827 get the signal thread stack layout.
6828 * hurd/Makefile (headers): Remove threadvar.h.
6829 (inline-headers): Remove threadvar.h.
6830 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
6831 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
6832 __hurd_threadvar_max, __hurd_errno_location.
6833 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
6834 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
6835 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
6836 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
6837 unless TLS is not initialized yet, in which case we do not need a
6838 critical section yet anyway.
6839 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
6841 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
6843 (__hurd_threadvar_index): Remove enum.
6844 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
6845 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
6847 (__hurd_reply_port0): New variable declaration.
6848 (__hurd_local_reply_port): New macro.
6849 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
6850 (interrupted_reply_port_location): Add thread_t parameter. Use it
6851 with THREAD_TCB to access thread-local variables.
6852 (_hurdsig_abort_rpcs): Pass ss->thread to
6853 interrupted_reply_port_location.
6854 (_hurd_internal_post_signal): Likewise.
6855 (_hurdsig_init): Use presence of cthread_fork instead of
6856 __hurd_threadvar_stack_mask to start signal thread by hand.
6857 Remove signal thread threadvar initialization.
6858 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
6859 * hurd/sigunwind.c: Include <hurd/threadvar.h>
6860 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
6862 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
6864 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
6865 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
6866 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
6867 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
6868 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
6869 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
6870 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
6872 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
6874 [IS_IN(rtld)] (rtld_errno): New variable.
6875 [IS_IN(rtld)] (__errno_location): New weak function.
6876 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
6877 * sysdeps/mach/hurd/errno.c: Remove file.
6878 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
6879 (__fork): Remove THREADVAR_SPACE macro and its use.
6880 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
6882 (init): Do not initialize threadvar.
6883 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
6885 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
6886 __hurd_local_reply_port instead of threadvar.
6887 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
6888 _hurd_sigstate fields.
6889 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
6890 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
6891 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
6892 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
6893 instead of threadvar.
6894 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
6895 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
6896 (use_threadvar, global_reply_port): Remove variables.
6897 (__hurd_reply_port0): New variable.
6898 (__mig_get_reply_port): Use __hurd_local_reply_port and
6899 __hurd_reply_port0 instead of threadvar.
6900 (__mig_dealloc_reply_port): Likewise.
6901 (__mig_init): Do not initialize threadvar.
6902 * sysdeps/mach/hurd/profil.c: Fix comment.
6903 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
6904 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
6905 cthread_keycreate, cthread_getspecific, cthread_setspecific to
6906 __cthread_fork, __cthread_detach, __pthread_getattr_np,
6907 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
6908 __cthread_setspecific.
6909 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
6910 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
6911 __cthread_t instead of cthread_fork, cthread_detach,
6912 pthread_getattr_np, pthread_attr_getstack.
6913 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
6914 __cthread_keycreate.
6915 (cthread_getspecific): Rename to __cthread_getspecific.
6916 (cthread_setspecific): Rename to __cthread_setspecific.
6917 (__libc_getspecific): Use __cthread_getspecific instead of
6918 cthread_getspecific.
6919 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
6920 __cthread_keycreate instead of cthread_keycreate.
6921 (__libc_setspecific): Use __cthread_setspecific instead of
6922 cthread_setspecific.
6923 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
6925 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
6926 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
6927 testing whether it is defined.
6929 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6931 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
6933 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
6934 * sysdeps/mach/i386/thread_state.h
6935 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
6937 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
6939 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
6941 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
6942 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
6944 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
6946 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
6947 descriptor instead of creating a new one.
6948 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
6950 * mach/setup-thread.c: Include <ldsodefs.h>.
6951 (__mach_setup_thread): Call _dl_allocate_tls, pass
6952 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
6953 MACHINE_THREAD_STATE_FLAVOR, before getting
6954 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
6955 MACHINE_THREAD_STATE_FLAVOR with the result.
6956 * hurd/hurdfault.c (_hurdsig_fault_init): Call
6957 MACHINE_THREAD_STATE_FIX_NEW.
6958 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
6959 too. Add original thread parameter.
6961 2018-03-16 Joseph Myers <joseph@codesourcery.com>
6963 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
6964 Remove inline function.
6966 * sysdeps/i386/fpu/libm-test-ulps: Update.
6967 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6969 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
6971 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
6974 2018-03-15 Joseph Myers <joseph@codesourcery.com>
6976 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
6977 (__sincos_code): Remove define and undefine.
6978 [__FAST_MATH__] (__sincos): Remove inline function.
6979 [__FAST_MATH__] (__sincosf): Remove inline function.
6980 [__FAST_MATH__] (__sincosl): Remove inline function.
6981 (__atan2l): Remove inline functions.
6982 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
6983 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
6985 (floor): Remove inline function.
6987 [__FAST_MATH__] (__ldexp_code): Remove macro.
6988 [__FAST_MATH__] (ldexp): Remove inline function.
6989 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
6990 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
6991 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
6992 [__USE_ISOC99] (__lrint_code): Remove macro.
6993 [__USE_ISOC99] (__llrint_code): Likewise.
6994 [__USE_ISOC99] (lrintf): Remove inline function.
6995 [__USE_ISOC99] (lrint): Likewise.
6996 [__USE_ISOC99] (lrintl): Likewise.
6997 [__USE_ISOC99] (llrint): Likewise.
6998 [__USE_ISOC99] (llrintf): Likewise.
6999 [__USE_ISOC99] (llrintl): Likewise.
7001 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
7003 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
7004 (__ieee754_sqrtf): Remove.
7005 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
7006 (__ieee754_sqrtf): Remove.
7007 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
7008 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
7009 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
7010 (__ieee754_sqrtf): Remove.
7011 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
7012 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
7015 (__ieee754_sqrt): Remove.
7016 (__ieee754_sqrtf): Remove.
7017 (__ieee754_sqrtl): Remove.
7018 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
7019 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
7020 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
7021 (__ieee754_sqrtf): Remove.
7022 (__ieee754_sqrtl): Remove.
7024 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
7026 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
7027 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
7028 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7029 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
7030 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
7031 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7032 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7033 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7035 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
7036 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
7037 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
7038 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7039 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
7040 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
7041 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
7042 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
7043 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7044 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
7045 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
7046 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
7047 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
7048 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
7049 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
7050 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7051 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7052 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7053 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
7054 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
7055 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
7056 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7057 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
7058 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
7059 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
7060 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
7061 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7062 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7063 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
7064 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
7065 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
7066 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
7067 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7068 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
7069 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7070 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7071 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
7072 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
7073 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
7074 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
7076 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
7078 * include/math.h (sqrt): Declare with asm redirect.
7081 (sqrtf128): Likewise.
7082 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
7083 nonlib and libnldbl with -fmath-errno.
7084 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
7085 * math/w_sqrt_template.c: Likewise.
7086 * math/w_sqrtf_compat.c: Likewise.
7087 * math/w_sqrtl_compat.c: Likewise.
7088 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
7089 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
7090 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
7093 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
7095 * benchtests/Makefile: Define _ISOMAC.
7096 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
7097 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
7098 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
7099 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
7100 * benchtests/bench-timing.h: Define attribute_hidden.
7102 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
7104 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
7107 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
7110 * localedata/locales/cs_CZ (mon): Rename to...
7112 (mon): Import from CLDR (genitive case).
7114 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
7117 * localedata/locales/el_CY (abmon): Rename to...
7119 (abmon): Import from CLDR (abbreviated genitive case).
7120 * localedata/locales/el_GR (abmon): Rename to...
7122 (abmon): Import from CLDR (abbreviated genitive case).
7124 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
7127 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
7129 2018-03-15 Robert Buj <robert.buj@gmail.com>
7132 * localedata/locales/ca_ES (abmon): Rename to...
7133 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
7136 (abmon): Import from CLDR (genitive case, month names preceded by
7139 (abday): Synchronize with CLDR.
7140 (d_t_fmt): Likewise.
7144 (LC_TIME): Improve indentation.
7145 (LC_TELEPHONE): Likewise.
7146 (LC_NAME): Likewise.
7147 (LC_ADDRESS): Likewise.
7149 2018-03-14 Joseph Myers <joseph@codesourcery.com>
7151 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
7152 (lrintf): Remove definitions used only with old GCC.
7153 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
7154 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
7155 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
7156 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
7157 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
7158 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
7159 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
7160 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
7161 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
7162 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
7163 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
7164 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
7165 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
7166 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
7167 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
7168 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
7169 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
7170 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
7171 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
7172 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
7173 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
7174 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
7175 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
7176 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
7177 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
7178 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
7179 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
7180 [__FAST_MATH__] (__M_SQRT2): Remove macro.
7182 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
7184 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
7185 instruction to unbreak builds with binutils 2.26 and older.
7187 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
7189 * sysdeps/aarch64/strncmp.S (count): New macro.
7190 (strncmp): Store misaligned length in SRC1 in COUNT.
7191 (mutual_align): Adjust.
7192 (misaligned8): Load dword at a time when it is safe.
7194 2018-03-12 Zack Weinberg <zackw@panix.com>
7198 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
7199 if the _IO_EOF_SEEN bit is already set; update commentary.
7200 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
7201 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
7203 * support/support_openpty.c, support/tty.h: New files.
7204 * support/Makefile (libsupport-routines): Add support_openpty.
7206 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
7208 * libio/Makefile (tests): Add tst-fgetc-after-eof.
7209 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
7211 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
7213 * po/pt_BR.po: Update translations.
7215 2018-03-12 David Michael <fedora.dm0@gmail.com>
7217 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
7218 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
7219 get a port to the startup server.
7221 2018-03-11 Zack Weinberg <zackw@panix.com>
7223 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
7224 before nldbl-compat.h.
7226 2018-03-10 Zack Weinberg <zackw@panix.com>
7228 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
7229 math.h or math_private.h.
7231 * sysdeps/alpha/fpu/s_isnan.c
7232 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
7233 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
7234 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
7235 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
7236 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
7237 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
7238 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
7239 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
7240 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
7241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
7242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
7243 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
7244 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
7245 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
7246 Include math_private.h.
7248 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
7249 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
7250 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
7251 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
7252 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
7253 * sysdeps/powerpc/power7/fpu/s_logb.c:
7254 Include math.h and math_private.h.
7256 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
7257 uses of $at in .set noat / .set at.
7259 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
7261 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
7262 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
7263 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
7264 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
7267 2018-03-09 Florian Weimer <fweimer@redhat.com>
7269 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
7272 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
7275 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
7276 Add nop before __startcontext, add explaining comments.
7278 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7281 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
7283 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
7284 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
7285 Do not build hardware transactional code for __SPE__.
7286 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7287 (__lll_trylock_elision): Likewise.
7288 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
7289 (__lll_unlock_elision): Likewise.
7291 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
7292 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
7293 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
7294 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
7295 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
7296 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
7297 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
7298 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
7299 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
7300 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
7301 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
7302 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
7303 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
7304 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
7305 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
7306 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
7307 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
7308 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
7309 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
7310 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
7311 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
7312 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7313 (__ASSUME_CLONE_BACKWARDS): Define.
7314 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
7315 __clone2 if __NR_clone2 is defined.
7316 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7317 (__ASSUME_CLONE_BACKWARDS): Likewise.
7318 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7319 (__ASSUME_CLONE_BACKWARDS): Likewise.
7320 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7321 (__ASSUME_CLONE2): Likewise.
7322 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7323 (__ASSUME_CLONE_BACKWARDS3): Likewise.
7324 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
7325 variants and the define architecture can use.
7326 (__ASSUME_CLONE_DEFAULT): Define as default.
7327 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7328 (__ASSUME_CLONE_BACKWARDS): Likewise.
7329 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7330 (__ASSUME_CLONE_BACKWARDS): Likewise.
7331 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7332 (__ASSUME_CLONE_BACKWARDS2): Likewise.
7334 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
7336 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
7338 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
7341 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
7342 (do_test_limit): Likewise.
7344 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
7345 for every implementation.
7346 (do_test): Likewise.
7348 * benchtests/bench-strncmp.c: Convert output to json.
7350 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7352 * io/futimens.c: Add missing start-of-file descriptive comment.
7353 * io/utime.c: Likewise.
7354 * misc/futimesat.c: Likewise.
7355 * misc/utimes.c: Likewise.
7356 * sysdeps/mach/hurd/futimesat.c: Likewise.
7357 * sysdeps/mach/hurd/utimes.c: Likewise.
7358 * sysdeps/posix/utime.c: Likewise.
7359 * sysdeps/posix/utimes.c: Likewise.
7360 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
7361 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7362 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
7363 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
7365 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
7367 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
7369 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
7370 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
7371 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
7372 (__futimens): Move implementation to...
7373 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
7374 utime_tvalue_from_tspec): ... new helper functions.
7375 (hurd_futimens): New function.
7376 * sysdeps/mach/hurd/futimesat.c: New file.
7377 * sysdeps/mach/hurd/utimensat.c: New file.
7379 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
7381 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
7382 UTIME_OMIT): New macros.
7383 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
7384 before reverting to converting time spec to time value and calling
7386 * sysdeps/mach/hurd/utime-helper.c: New file.
7387 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
7388 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
7389 reverting to utime_tvalue_from_tval and __file_utimes.
7390 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
7391 (__lutimes): Just call hurd_futimens after lookup.
7392 * sysdeps/mach/hurd/utimes.c: Likewise.
7394 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
7396 * bits/sigaction.h: Add include guard.
7397 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
7398 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
7399 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
7400 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
7401 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
7402 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
7403 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
7404 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
7405 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
7407 2018-03-05 Joseph Myers <joseph@codesourcery.com>
7409 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
7410 -Wmaybe-uninitialized for -Os.
7411 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
7414 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7416 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
7417 __INO_T_MATCHES_INO64_T is defined.
7418 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
7419 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
7421 * dirent/alphasort64.c: Likewise.
7422 * dirent/scandir.c: Likewise.
7423 * dirent/scandir64-tail.c: Likewise.
7424 * dirent/scandir64.c: Likewise.
7425 * dirent/scandirat.c: Likewise.
7426 * dirent/scandirat64.c: Likewise.
7427 * dirent/versionsort.c: Likewise.
7428 * dirent/versionsort64.c: Likewise.
7429 * include/dirent.h: Likewise.
7431 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
7432 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
7433 for socketpair endpoint.
7434 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
7435 WRITE_BUFFER_SIZE as buffer size for sending socket.
7436 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
7437 issue on system where send is implemented with sendto syscall.
7438 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
7439 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
7440 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
7441 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
7444 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
7445 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
7446 sa_restorer for vDSO case.
7447 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
7449 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7451 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
7452 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
7453 * hurd/hurd/ioctl.h: Include <mach/port.h>
7454 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
7455 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
7456 <mach/mach_types.h> and <mach/message.h>.
7457 (headers): Move mach/param.h to bits/mach/param.h.
7458 * sysdeps/mach/i386/mach/param.h: Move file to ...
7459 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
7460 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
7462 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
7463 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
7464 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
7465 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
7466 trivial, for C++ conformity.
7467 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
7468 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
7469 Process mig output through $(migheadersed).
7470 * hurd/Makefile (migheadersed): Define variable.
7471 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
7472 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
7474 * hurd/hurd.h: Include <bits/types/sigset_t.h>
7475 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
7476 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
7477 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
7478 <bits/types/sigset_t.h>.
7479 [!defined __USE_GNU]: Do not #error out.
7480 (struct hurd_sigstate): Use _NSIG instead of NSIG.
7481 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
7482 Include <stddef.h> and <bits/types/sigset_t.h>
7483 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
7484 instead of sighandler_t.
7485 * stdlib/errno.h (error_t): Move definition to...
7486 * bits/types/error_t.h: ... new header.
7487 * stdlib/Makefile (headers): Add bits/types/error_t.h.
7488 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
7489 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
7490 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
7491 * hurd/hurd.h: Include <bits/types/error_t.h>
7492 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
7493 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
7494 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
7495 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
7496 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
7497 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
7498 * sysdeps/mach/hurd/futimens.c: New file.
7500 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
7503 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
7504 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
7505 * nscd/gai.c (__nss_hosts_database): Readd definition.
7506 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
7507 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
7508 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
7510 2018-03-02 Joseph Myers <joseph@codesourcery.com>
7512 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
7513 (ifunc_one): Likewise.
7515 2018-03-01 DJ Delorie <dj@delorie.com>
7518 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
7521 2018-03-01 Maciej W. Rozycki <macro@mips.com>
7523 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
7524 `match_pid' parameter.
7525 (td_ta_thr_iter): Update accordingly.
7527 2018-03-01 Florian Weimer <fweimer@redhat.com>
7529 * nptl/Makefile (install-lib-ldscripts): Remove.
7530 (install): Remove rule.
7531 ($(inst_libdir)/libpthread.so): Likewise.
7533 2018-03-01 Mike FABIAN <mfabian@redhat.com>
7536 * localedata/locales/an_ES: update month and day names,
7537 improve d_fmt, improve postal_fmt, add country_post,
7540 2018-03-01 Mike FABIAN <mfabian@redhat.com>
7542 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
7543 Ukrainian instead of Bulgarian.
7545 2018-03-01 Florian Weimer <fweimer@redhat.com>
7547 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
7550 2018-03-01 Florian Weimer <fweimer@redhat.com>
7552 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
7553 * nptl/Makefile (routines): Add pthread_atfork.
7554 (static-only-routines): Set to pthread_atfork.
7555 (libpthread-routines): Remove pthread_atfork.
7556 (libpthread-static-only-routines): Remove.
7557 (install): Update comment.
7558 (libpthread.so): Do not install libpthread_nonshared.a.
7559 (tests): Do not link with libpthread_nonshared.a.
7560 (generated): Remove libpthread_nonshared.a.
7561 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
7562 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
7563 with libpthread_nonshared.a.
7565 2018-02-28 Joseph Myers <joseph@codesourcery.com>
7568 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
7569 (libc_feholdexcept_setroundf128): New macro.
7570 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
7573 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
7575 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
7576 * include/inttypes.h: New file.
7578 2018-02-27 Joseph Myers <joseph@codesourcery.com>
7580 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
7581 -Os in two more places.
7583 2018-02-27 Mike FABIAN <mfabian@redhat.com>
7585 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
7586 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
7587 be sorted correctly at the moment because of a bug.
7589 2018-02-27 Mike FABIAN <mfabian@redhat.com>
7591 [BZ #22550] - es_ES locale (and other es_* locales): collation should
7592 treat ñ as a primary different character, sync the collation
7593 for Spanish with CLDR.
7594 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
7595 * localedata/Makefile: Add new test files.
7596 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
7597 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
7599 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
7600 * localedata/am_ET.UTF-8.in: New test file.
7601 * localedata/az_AZ.UTF-8.in: Likewise.
7602 * localedata/be_BY.UTF-8.in: Likewise.
7603 * localedata/ber_DZ.UTF-8.in: Likewise.
7604 * localedata/ber_MA.UTF-8.in: Likewise.
7605 * localedata/bg_BG.UTF-8.in: Likewise.
7606 * localedata/br_FR.UTF-8.in: Likewise.
7607 * localedata/cmn_TW.UTF-8.in: Likewise.
7608 * localedata/crh_UA.UTF-8.in: Likewise.
7609 * localedata/csb_PL.UTF-8.in: Likewise.
7610 * localedata/cv_RU.UTF-8.in: Likewise.
7611 * localedata/cy_GB.UTF-8.in: Likewise.
7612 * localedata/dz_BT.UTF-8.in: Likewise.
7613 * localedata/eo.UTF-8.in: Likewise.
7614 * localedata/es_ES.UTF-8.in: Likewise.
7615 * localedata/fa_IR.UTF-8.in: Likewise.
7616 * localedata/fi_FI.UTF-8.in: Likewise.
7617 * localedata/fil_PH.UTF-8.in: Likewise.
7618 * localedata/fur_IT.UTF-8.in: Likewise.
7619 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
7620 * localedata/ha_NG.UTF-8.in: Likewise.
7621 * localedata/ig_NG.UTF-8.in: Likewise.
7622 * localedata/ik_CA.UTF-8.in: Likewise.
7623 * localedata/kk_KZ.UTF-8.in: Likewise.
7624 * localedata/ku_TR.UTF-8.in: Likewise.
7625 * localedata/ky_KG.UTF-8.in: Likewise.
7626 * localedata/ln_CD.UTF-8.in: Likewise.
7627 * localedata/mi_NZ.UTF-8.in: Likewise.
7628 * localedata/ml_IN.UTF-8.in: Likewise.
7629 * localedata/mn_MN.UTF-8.in: Likewise.
7630 * localedata/mr_IN.UTF-8.in: Likewise.
7631 * localedata/mt_MT.UTF-8.in: Likewise.
7632 * localedata/nb_NO.UTF-8.in: Likewise.
7633 * localedata/om_KE.UTF-8.in: Likewise.
7634 * localedata/os_RU.UTF-8.in: Likewise.
7635 * localedata/ps_AF.UTF-8.in: Likewise.
7636 * localedata/ro_RO.UTF-8.in: Likewise.
7637 * localedata/ru_RU.UTF-8.in: Likewise.
7638 * localedata/sc_IT.UTF-8.in: Likewise.
7639 * localedata/se_NO.UTF-8.in: Likewise.
7640 * localedata/sq_AL.UTF-8.in: Likewise.
7641 * localedata/sv_SE.UTF-8.in: Likewise.
7642 * localedata/szl_PL.UTF-8.in: Likewise.
7643 * localedata/tg_TJ.UTF-8.in: Likewise.
7644 * localedata/tk_TM.UTF-8.in: Likewise.
7645 * localedata/tt_RU.UTF-8.in: Likewise.
7646 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
7647 * localedata/ug_CN.UTF-8.in: Likewise.
7648 * localedata/uz_UZ.UTF-8.in: Likewise.
7649 * localedata/vi_VN.UTF-8.in: Likewise.
7650 * localedata/yi_US.UTF-8.in: Likewise.
7651 * localedata/yo_NG.UTF-8.in: Likewise.
7652 * localedata/zh_CN.UTF-8.in: Likewise.
7653 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
7654 file and fix bugs in the collation.
7655 * localedata/locales/az_AZ: Likewise.
7656 * localedata/locales/be_BY: Likewise.
7657 * localedata/locales/ber_DZ: Likewise.
7658 * localedata/locales/ber_MA: Likewise.
7659 * localedata/locales/bg_BG: Likewise.
7660 * localedata/locales/br_FR: Likewise.
7661 * localedata/locales/br_FR@euro: Likewise.
7662 * localedata/locales/ca_ES: Likewise.
7663 * localedata/locales/cns11643_stroke: Likewise.
7664 * localedata/locales/crh_UA: Likewise.
7665 * localedata/locales/cs_CZ: Likewise.
7666 * localedata/locales/csb_PL: Likewise.
7667 * localedata/locales/cv_RU: Likewise.
7668 * localedata/locales/cy_GB: Likewise.
7669 * localedata/locales/da_DK: Likewise.
7670 * localedata/locales/dz_BT: Likewise.
7671 * localedata/locales/en_CA: Likewise.
7672 * localedata/locales/eo: Likewise.
7673 * localedata/locales/es_CU: Likewise.
7674 * localedata/locales/es_EC: Likewise.
7675 * localedata/locales/es_ES: Likewise.
7676 * localedata/locales/es_US: Likewise.
7677 * localedata/locales/et_EE: Likewise.
7678 * localedata/locales/fa_IR: Likewise.
7679 * localedata/locales/fi_FI: Likewise.
7680 * localedata/locales/fil_PH: Likewise.
7681 * localedata/locales/fur_IT: Likewise.
7682 * localedata/locales/gez_ER@abegede: Likewise.
7683 * localedata/locales/ha_NG: Likewise.
7684 * localedata/locales/hr_HR: Likewise.
7685 * localedata/locales/hsb_DE: Likewise.
7686 * localedata/locales/hu_HU: Likewise.
7687 * localedata/locales/ig_NG: Likewise.
7688 * localedata/locales/ik_CA: Likewise.
7689 * localedata/locales/is_IS: Likewise.
7690 * localedata/locales/iso14651_t1_pinyin: Likewise.
7691 * localedata/locales/kk_KZ: Likewise.
7692 * localedata/locales/ku_TR: Likewise.
7693 * localedata/locales/ky_KG: Likewise.
7694 * localedata/locales/ln_CD: Likewise.
7695 * localedata/locales/lt_LT: Likewise.
7696 * localedata/locales/lv_LV: Likewise.
7697 * localedata/locales/mi_NZ: Likewise.
7698 * localedata/locales/ml_IN: Likewise.
7699 * localedata/locales/mn_MN: Likewise.
7700 * localedata/locales/mr_IN: Likewise.
7701 * localedata/locales/mt_MT: Likewise.
7702 * localedata/locales/nb_NO: Likewise.
7703 * localedata/locales/om_KE: Likewise.
7704 * localedata/locales/os_RU: Likewise.
7705 * localedata/locales/pl_PL: Likewise.
7706 * localedata/locales/ps_AF: Likewise.
7707 * localedata/locales/ro_RO: Likewise.
7708 * localedata/locales/ru_RU: Likewise.
7709 * localedata/locales/ru_UA: Likewise.
7710 * localedata/locales/sc_IT: Likewise.
7711 * localedata/locales/se_NO: Likewise.
7712 * localedata/locales/si_LK: Likewise.
7713 * localedata/locales/sq_AL: Likewise.
7714 * localedata/locales/sv_FI: Likewise.
7715 * localedata/locales/sv_FI@euro: Likewise.
7716 * localedata/locales/sv_SE: Likewise.
7717 * localedata/locales/szl_PL: Likewise.
7718 * localedata/locales/tg_TJ: Likewise.
7719 * localedata/locales/ti_ER: Likewise.
7720 * localedata/locales/tk_TM: Likewise.
7721 * localedata/locales/tl_PH: Likewise.
7722 * localedata/locales/tr_TR: Likewise.
7723 * localedata/locales/tt_RU: Likewise.
7724 * localedata/locales/tt_RU@iqtelif: Likewise.
7725 * localedata/locales/ug_CN: Likewise.
7726 * localedata/locales/uk_UA: Likewise.
7727 * localedata/locales/uz_UZ: Likewise.
7728 * localedata/locales/uz_UZ@cyrillic: Likewise.
7729 * localedata/locales/vi_VN: Likewise.
7730 * localedata/locales/yi_US: Likewise.
7731 * localedata/locales/yo_NG: Likewise.
7733 2018-02-27 Mike FABIAN <mfabian@redhat.com>
7735 * gen-locales.mk: Make test files which contain @ modifiers in their
7737 * localedata/gen-locale.sh: Likewise.
7739 2018-02-27 Mike FABIAN <mfabian@redhat.com>
7741 * posix/tst-fnmatch.input: Fix results for range expressions
7743 * posix/tst-regexloc.c: Do not use a range expression for
7744 de_DE.ISO-8859-1 locale.
7746 2018-02-27 Mike FABIAN <mfabian@redhat.com>
7748 * posix/bug-regex5.c: Fix test case because with the new
7749 iso14651_t1_common file, the da_DK locale now has 6 collating elements
7750 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
7753 2018-02-27 Mike FABIAN <mfabian@redhat.com>
7755 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
7756 downloaded from ISO, the collation order of @-. and space has changed.
7757 Therefore, this test file needed to be adapted.
7758 * localedata/fr_CA.UTF-8.in: Likewise.
7759 * localedata/fr_FR.UTF-8.in: Likewise.
7760 * localedata/uk_UA.UTF-8.in: Likewise.
7762 2018-02-27 Mike FABIAN <mfabian@redhat.com>
7764 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
7765 order of ȥ in the new iso14651_t1_common file.
7766 * localedata/pl_PL.UTF-8.in: Likewise.
7768 2018-02-27 Mike FABIAN <mfabian@redhat.com>
7770 * localedata/locales/iso14651_t1_common: Add sections for various
7771 scripts to the iso14651_t1_common file.
7773 2018-02-27 Mike FABIAN <mfabian@redhat.com>
7775 * localedata/locales/iso14651_t1_common: Use the code point of a
7776 character in the fourth collation level instead of IGNORE for all
7777 entries which have IGNORE on all 4 levels.
7779 2018-02-27 Mike FABIAN <mfabian@redhat.com>
7781 * localedata/locales/iso14651_t1_common: Add some convenient collation
7782 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
7783 rules similar to those in CLDR.
7785 2018-02-27 Mike FABIAN <mfabian@redhat.com>
7787 * localedata/locales/iso14651_t1_common: The new version of this
7788 file downloaded from ISO contained several syntax errors which
7789 are fixed by this patch.
7791 2018-02-27 Mike FABIAN <mfabian@redhat.com>
7793 * localedata/locales/iso14651_t1_common: replace all <U.....>
7794 with <U000.....> because glibc understands only 4 digit or 8 digit
7796 2018-02-27 Mike FABIAN <mfabian@redhat.com>
7798 * localedata/locales/iso14651_t1_common: Necessary changes
7799 to make the file downloaded from ISO usable by glibc.
7801 2018-02-27 Mike FABIAN <mfabian@redhat.com>
7804 * localedata/locales/iso14651_t1_common: Update file to
7805 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
7807 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7809 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
7810 of <nptl/pthreadP.h>
7811 (thread_attr_compare): Move function to...
7812 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
7813 * sysdeps/nptl/timer_routines.h: ... new header.
7814 * sysdeps/mach/hurd/gai_misc.h: New file.
7816 2018-02-26 Joseph Myers <joseph@codesourcery.com>
7818 * string/strcoll_l.c: Include <libc-diag.h>.
7819 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
7820 declarations of seq1 and seq2.
7823 * stdlib/atoi.c (atoi): Use libc_hidden_def.
7824 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
7826 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
7830 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
7831 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
7832 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
7833 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
7834 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
7835 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
7837 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7839 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
7840 macros used in __ptrace_request.
7842 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
7845 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
7847 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
7848 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
7849 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
7852 2018-02-23 Joseph Myers <joseph@codesourcery.com>
7855 * ctype/ctype.c (tolower): Use libc_hidden_def.
7856 (toupper): Likewise.
7857 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
7858 [!_ISOMAC] (toupper): Likewise.
7860 2018-02-23 Mike FABIAN <mfabian@redhat.com>
7862 * localedata/Makefile: Remove --quiet argument when
7865 2018-02-23 Mike FABIAN <mfabian@redhat.com>
7868 * localedata/locales/pt_BR (LC_TIME): use / instead of -
7870 * localedata/locales/pt_PT (LC_TIME): likewise
7872 2018-02-23 Mike FABIAN <mfabian@redhat.com>
7875 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
7876 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
7877 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
7879 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7883 * nptl/Makefile (routines): Remove unregister-atfork.
7884 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
7885 (fork_handler_alloc): Remove function.
7886 (fork_handlers, fork_handler_init): New variables.
7887 (__fork_lock): Rename to atfork_lock.
7888 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
7889 to use a dynamic array to add/remove atfork handlers.
7890 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
7891 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
7893 (fork_handler): Remove next, refcntr, and need_signal member.
7894 (__run_fork_handler_type): New enum.
7895 (__run_fork_handlers): New prototype.
7896 * nptl/register-atfork.c: Remove file.
7897 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
7899 * sysdeps/nptl/nptl-signals.h: Move to ...
7900 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
7902 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
7903 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
7904 unnecessary check for SIGTIMER.
7905 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
7906 remove unnecessary removal of SIGTIMER.
7907 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
7908 include-signals.h rename.
7909 * nptl/pthreadP.h: Likewise.
7910 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
7911 __is_internal_signal instead of __nptl_is_internal_signal.
7913 2018-02-22 Andrew Waterman <andrew@sifive.com>
7916 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
7917 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
7918 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
7919 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
7921 2018-02-22 DJ Delorie <dj@delorie.com>
7923 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
7925 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
7927 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
7928 do_misaligned, not misaligned8.
7930 2018-02-22 Steve Ellcey <sellcey@cavium.com>
7932 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
7933 Add memcpy_thunderx2.
7934 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
7936 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
7937 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
7938 and IS_THUNDERX2PA checks.
7939 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
7940 Use macro to set name appropriately.
7941 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
7942 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
7943 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
7945 (IS_THUNDERX2): New macro.
7947 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
7949 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7951 2018-02-21 Zack Weinberg <zackw@panix.com>
7953 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
7954 Define here, unconditionally.
7955 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
7956 * libio/libioP.h: Remove #if 0 blocks.
7957 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
7958 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
7959 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
7961 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
7962 Assume weak_alias is always defined.
7964 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
7965 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
7966 Remove #if 0 and #ifdef TODO blocks.
7967 Assume text_set_element is always defined.
7969 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
7970 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
7971 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
7973 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
7974 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
7975 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
7976 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
7977 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
7978 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
7979 Reformat bit flags for _flags field to make occupancy clearer.
7981 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
7982 Keep definitions consistent with those in libio/libio.h.
7984 * libio/libio.h (_IO_file_flags): Remove macro.
7985 All uses changed to _flags.
7987 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
7988 (__HAVE_COLUMN, _IO_BE): Don't define.
7989 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
7990 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
7991 * libio/libioP.h (EOF): Don't define.
7992 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
7993 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
7994 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
7995 testing _IO_UNIFIED_JUMPTABLES.
7997 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
7998 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
7999 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
8000 (_IO_size_t): Delete; all uses changed to size_t.
8001 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
8002 (_IO_off_t): Delete; all uses changed to off_t.
8003 (_IO_off64_t): Delete; all uses changed to off64_t.
8004 (_IO_pid_t): Delete; all uses changed to pid_t.
8005 (_IO_uid_t): Delete; all uses changed to uid_t.
8006 (_IO_wint_t): Delete; all uses changed to wint_t.
8007 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
8008 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
8009 (_IO_cookie_io_functions_t): Delete; all uses changed to
8010 cookie_io_functions_t.
8011 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
8012 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
8013 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
8014 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
8016 * libio/iofopncook.c: Remove unnecessary forward declarations.
8017 * libio/iolibio.h: Correct outdated commentary.
8018 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
8019 * stdio-common/fxprintf.c (__fxprintf_nocancel):
8020 Remove unnecessary casts.
8021 * stdio-common/getline.c: Use _IO_getdelim directly.
8022 Don't redefine ssize_t.
8023 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
8024 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
8025 Remove outdated comments.
8026 * stdio-common/vfscanf.c: Don't redefine va_list.
8028 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
8029 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
8030 Remove preprocessor conditionals on _LIBC and __USE_GNU,
8031 which are always true, and __cplusplus, which is always false.
8033 2018-02-21 Joseph Myers <joseph@codesourcery.com>
8037 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
8038 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
8039 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
8040 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
8042 [!_ISOMAC] (putc_unlocked): Likewise.
8043 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
8044 define inline if [__USE_EXTERN_INLINES].
8045 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
8050 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
8051 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
8052 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
8053 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
8054 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
8056 * time/tzfile.c (__tzfile_read): Likewise.
8058 2018-02-21 Mike FABIAN <mfabian@redhat.com>
8061 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
8063 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
8065 * io/fcntl.h: Fix a typo in a comment.
8067 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
8070 * include/features.h: Add _ISOC11_SOURCE to test for whether to
8071 define _DEFAULT_SOURCE.
8072 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
8074 2018-02-21 Florian Weimer <fweimer@redhat.com>
8077 * elf/cache.c (save_cache): Call fsync on temporary file before
8079 (save_aux_cache): Call fdatasync on temporary file before renaming
8082 2018-02-21 Florian Weimer <fweimer@redhat.com>
8085 * include/caller.h: Remove file.
8086 * elf/dl-caller.c: Likewise.
8087 * elf/Makefile (dl-routines): Remove dl-caller.
8088 (shared-only-routines): Do not add dl-caller.
8089 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
8091 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
8093 (dl_open_worker): Do not call __check_caller.
8094 (_dl_open): Do not set caller_dl_open member.
8095 * elf/rtld.c (_rtld_global_ro): Do not initialize
8096 _dl_check_caller member.
8097 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
8098 _dl_check_caller member.
8099 (_dl_check_caller): Remove declaration.
8100 * sysdeps/unix/sysv/linux/dl-execstack.c
8101 (_dl_make_stack_executable): Do not call __check_caller.
8103 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
8105 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
8106 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
8108 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
8110 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
8113 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
8116 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
8117 of 199606L, 200112L, and 200809L.
8118 (_XOPEN_SOURCE): Document special values of 600 and 700.
8119 (_ISOC11_SOURCE): Document macro.
8120 (_ATFILE_SOURCE): Likewise.
8121 (_FORTIFY_SOURCE): Likewise.
8123 2018-02-19 Joseph Myers <joseph@codesourcery.com>
8127 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
8128 and define as weak alias of __ferror_unlocked. Use
8130 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
8132 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
8133 function if [__USE_EXTERN_INLINES].
8134 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
8137 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
8140 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
8142 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
8145 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
8146 the GLIBC_2.1 version.
8148 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
8151 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
8152 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
8153 intl/tst-gettext-de.po from po/de.po by removing the
8154 POT-Creation-Date line.
8155 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
8157 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
8160 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
8162 * mach/Makefile (headers): Add mach/param.h.
8163 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
8164 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
8165 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
8166 (__ptsname_r): Move implementation to...
8167 (__ptsname_internal): ... new function. Add filling the STP
8170 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
8172 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
8175 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
8177 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
8180 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8182 * nptl/Makefile (tst-mutex8-ENV): Delete.
8183 * nptl/tst-mutex8.c (check_type):
8184 Add runtime check if mutex will be elided.
8186 2018-02-15 Joseph Myers <joseph@codesourcery.com>
8190 * manual/install.texi (Configuring and compiling): Describe
8191 passing CC and CFLAGS on configure command line, not as
8192 environment variables. Use @code markup on those variables.
8193 Specify what options go in CC and what go in CFLAGS. Note the
8194 requirement to compile with optimization.
8195 * INSTALL: Regenerated.
8198 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
8199 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
8200 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
8201 __sigprocmask instead of sigprocmask.
8202 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
8204 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
8205 __sigsetjmp and sigprocmask.
8208 * include/argz.h (argz_next): Use libc_hidden_proto.
8209 (__argz_next): Likewise.
8210 * string-argz-next.c (__argz_next): Use libc_hidden_def.
8211 (argz_next): Use libc_hidden_weak.
8214 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
8216 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
8220 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
8222 * libio/iofputs.c (fputs): Use libc_hidden_weak.
8226 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
8227 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
8228 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
8229 (__feof_unlocked): New declaration, and inline function if
8230 [__USE_EXTERN_INLINES].
8231 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
8232 instead of feof_unlocked.
8233 * intl/localealias.c [_LIBC] (FEOF): Likewise.
8234 * nss/nsswitch.c (nss_parse_file): Likewise.
8235 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
8237 * time/getdate.c (__getdate_r): Likewise.
8238 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
8239 Define as macro to call __feof_unlocked.
8241 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
8243 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
8245 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
8247 * math/Makefile: Remove mpexp.c and mplog.c
8248 * sysdeps/i386/fpu/mpexp.c: Delete file.
8249 * sysdeps/i386/fpu/mplog.c: Likewise.
8250 * sysdeps/ia64/fpu/mpexp.c: Likewise.
8251 * sysdeps/ia64/fpu/mplog.c: Likewise.
8252 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
8253 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
8254 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
8255 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8256 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
8257 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
8258 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
8259 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
8260 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
8261 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8262 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
8263 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
8264 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8265 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
8266 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
8267 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8269 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
8271 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8273 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8275 * sysdeps/sh/libm-test-ulps: Update.
8277 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8279 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
8282 2018-02-12 Zack Weinberg <zackw@panix.com>
8285 * posix/sys/types.h: Don't include sys/sysmacros.h.
8286 * misc/sys/sysmacros.h: Remove the conditional deprecation
8287 warnings for the macros defined by this header.
8289 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8291 * manual/probes.texi: Remove slowexp probes.
8292 * math/Makefile: Remove slowexp.
8293 * sysdeps/generic/math_private.h (__slowexp): Remove.
8294 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
8295 document error bounds.
8296 * sysdeps/i386/fpu/slowexp.c: Remove.
8297 * sysdeps/ia64/fpu/slowexp.c: Remove.
8298 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
8299 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
8300 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
8301 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
8302 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
8303 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
8304 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
8305 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
8306 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
8307 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
8308 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
8310 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
8313 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
8314 * benchtests/pow-inputs: Update comment for slow path cases.
8315 * manual/probes.texi (slowpow_p10): Delete removed probe.
8316 (slowpow_p10): Likewise.
8317 * math/Makefile: Remove halfulp.c and slowpow.c.
8318 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
8319 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
8320 (__halfulp): Remove.
8321 (__slowpow): Remove.
8322 * sysdeps/i386/fpu/halfulp.c: Delete file.
8323 * sysdeps/i386/fpu/slowpow.c: Likewise.
8324 * sysdeps/ia64/fpu/halfulp.c: Likewise.
8325 * sysdeps/ia64/fpu/slowpow.c: Likewise.
8326 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
8327 improve comments and add error analysis.
8328 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
8329 (power1): Remove function:
8330 (log1): Remove error argument, add error analysis.
8331 (my_log2): Remove function.
8332 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
8333 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8334 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
8335 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
8336 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
8337 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
8338 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
8339 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
8340 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
8341 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
8342 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
8343 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8344 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
8345 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8347 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
8349 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
8350 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
8352 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
8355 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
8356 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
8357 and PTRACE_SETHBPREGS.
8359 2018-02-10 Zack Weinberg <zackw@panix.com>
8362 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
8364 * malloc/tst-malloc-stats-cancellation.c: New test case.
8365 * malloc/Makefile: Add new test case.
8367 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
8369 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
8371 2018-02-10 Joseph Myers <joseph@codesourcery.com>
8373 * math/Makefile (libm-narrow-fns): Add add.
8374 (libm-test-funcs-narrow): Likewise.
8375 * math/Versions (GLIBC_2.28): Add narrowing add functions.
8376 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
8377 * math/gen-auto-libm-tests.c (test_functions): Add add.
8378 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
8379 (NARROW_ADD_ROUND_TO_ODD): Likewise.
8380 (NARROW_ADD_TRIVIAL): Likewise.
8381 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
8383 (__daddl): Likewise.
8384 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
8386 (CFLAGS-nldbl-dadd.c): New variable.
8387 (CFLAGS-nldbl-fadd.c): Likewise.
8388 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
8390 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
8392 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
8393 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
8394 * math/auto-libm-test-in: Add tests of add.
8395 * math/auto-libm-test-out-narrow-add: New generated file.
8396 * math/libm-test-narrow-add.inc: New file.
8397 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
8398 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
8399 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
8400 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
8401 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
8402 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
8403 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
8404 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
8405 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
8406 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
8407 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
8408 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
8409 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
8410 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
8411 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
8412 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
8413 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
8414 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
8415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8416 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
8417 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8418 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8419 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8420 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8421 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8422 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8423 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8424 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8425 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8426 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8427 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8428 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
8430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
8431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
8432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
8433 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
8434 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8435 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8436 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8437 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8438 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8439 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
8440 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
8441 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8442 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8444 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
8445 (f128-pairs): New variable.
8446 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
8447 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
8449 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
8450 Also make tests add $(f128-loader-link) to gnulib-tests.
8452 2018-02-09 DJ Delorie <dj@redhat.com>
8455 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
8456 64-bit ELF type for 64-bit ELF objects.
8458 2018-02-09 Joseph Myers <joseph@codesourcery.com>
8460 * math/libm-test-driver.c (snan_tests_arg): New variable.
8461 * math/libm-test-support.h (snan_tests_arg): New declaration.
8462 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
8464 * math/Makefile (test-type-pairs): New variable.
8465 (test-type-pairs-f64xf128-yes): Likewise.
8466 (tests): Add test-narrow-macros.
8467 (libm-test-funcs-narrow): New variable.
8468 (libm-test-c-narrow): Likewise.
8469 (generated): Add $(libm-test-c-narrow).
8470 (libm-tests-base-narrow): New variable.
8471 (libm-tests-narrow): Likewise.
8472 (libm-tests): Add $(libm-tests-narrow).
8473 (libm-tests-for-type): Handle $(libm-tests-narrow).
8474 (libm-test-c-narrow-obj): New variable.
8475 ($(libm-test-c-narrow-obj)): New rule.
8476 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
8477 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
8478 $(o-iterator) to set dependencies and CFLAGS.
8479 * math/gen-auto-libm-tests.c: Document use for narrowing
8481 (output_for_one_input_case): Take argument NARROW.
8482 (generate_output): Likewise. Update call to
8483 output_for_one_input_case.
8484 (main): Take --narrow option. Update call to generate_output.
8485 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
8486 (apply_lit): Update call to _apply_lit.
8487 (apply_arglit): New function.
8488 (parse_args): Handle "a" arguments.
8489 (parse_auto_input): Handle format names using ":".
8490 * math/README.libm-test: Document "a" parameter type.
8491 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
8492 (ARG_TYPE_TRUE_MIN): Likewise.
8493 (ARG_TYPE_MAX): Likwise.
8494 (ARG_MIN_EXP): Likewise.
8495 (ARG_MAX_EXP): Likewise.
8496 (ARG_MANT_DIG): Likewise.
8497 (TEST_COND_arg_ibm128): Likewise.
8498 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
8499 (TEST_COND_arg_fmt): New macro.
8500 (init_max_error): Update prototype.
8501 * math/libm-test-support.c (test_ibm128): New variable.
8502 (init_max_error): Take argument testing_ibm128 and set test_ibm128
8503 instead of using [TEST_COND_ibm128] conditional.
8504 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
8505 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
8506 [TEST_NARROW] (TEST_MSG): New definition.
8507 (arg_plus_zero): New macro.
8508 (arg_minus_zero): Likewise.
8509 (arg_plus_infty): Likewise.
8510 (arg_minus_infty): Likewise.
8511 (arg_qnan_value_pl): Likewise.
8512 (arg_qnan_value): Likewise.
8513 (arg_snan_value_pl): Likewise.
8514 (arg_snan_value): Likewise.
8515 (arg_max_value): Likewise.
8516 (arg_min_value): Likewise.
8517 (arg_min_subnorm_value): Likewise.
8518 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
8519 (RUN_TEST_LOOP_aa_f): New macro.
8520 (TEST_SUFF): New macro.
8521 (TEST_SUFF_STR): Likewise.
8522 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
8523 (TEST_COND_any_ibm128): New macro.
8524 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
8525 this_func. Update call to init_max_error.
8526 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
8527 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
8528 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
8529 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
8530 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
8531 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
8532 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
8533 * math/test-math-scalar.h (TEST_NARROW): Likewise.
8534 * math/test-math-vector.h (TEST_NARROW): Likewise.
8535 * math/test-arg-double.h: New file.
8536 * math/test-arg-float128.h: Likewise.
8537 * math/test-arg-float32x.h: Likewise.
8538 * math/test-arg-float64.h: Likewise.
8539 * math/test-arg-float64x.h: Likewise.
8540 * math/test-arg-ldouble.h: Likewise.
8541 * math/test-math-narrow.h: Likewise.
8542 * math/test-narrow-macros.c: Likewise.
8543 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
8544 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
8545 test-narrow-macros-ldbl-64.
8546 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
8548 * math/bits/mathcalls-narrow.h: New file.
8549 * include/bits/mathcalls-narrow.h: Likewise.
8550 * math/math-narrow.h: Likewise.
8551 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
8552 (__MATHCALL_NARROW_ARGS_2): Likewise.
8553 (__MATHCALL_NARROW_ARGS_3): Likewise.
8554 (__MATHCALL_NARROW_NORMAL): Likewise.
8555 (__MATHCALL_NARROW_REDIR): Likewise.
8556 (__MATHCALL_NARROW): Likewise.
8557 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
8558 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
8560 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
8561 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
8562 (libm-narrow-fns): New variable.
8563 (libm-narrow-types-basic): Likewise.
8564 (libm-narrow-types-ldouble-yes): Likewise.
8565 (libm-narrow-types-float128-yes): Likewise.
8566 (libm-narrow-types-float128-alias-yes): Likewise.
8567 (libm-narrow-types): Likewise.
8568 (libm-routines): Add narrowing functions.
8569 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
8570 (libc_feholdexcept_setroundf128): New macro.
8571 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
8572 * sysdeps/ieee754/float128/float128_private.h: Include
8573 <math/math-narrow.h>.
8574 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
8575 Undefine and redefine.
8576 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
8577 (libm_alias_float_ldouble): Undefine and redefine.
8578 (libm_alias_double_ldouble): Likewise.
8580 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
8582 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
8584 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
8587 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
8589 * manual/creature.texi: Convert references to gcc.info to gcc.
8590 * manual/stdio.texi: Likewise.
8591 * manual/string.texi: Likewise.
8593 2018-02-07 Joseph Myers <joseph@codesourcery.com>
8596 * posix/bits/types.h (__int_least8_t): New typedef.
8597 (__uint_least8_t): Likewise.
8598 (__int_least16_t): Likewise.
8599 (__uint_least16_t): Likewise.
8600 (__int_least32_t): Likewise.
8601 (__uint_least32_t): Likewise.
8602 (__int_least64_t): Likewise.
8603 (__uint_least64_t): Likewise.
8604 * sysdeps/generic/stdint.h (int_least8_t): Define using
8606 (int_least16_t): Define using __int_least16_t.
8607 (int_least32_t): Define using __int_least32_t.
8608 (int_least64_t): Define using __int_least64_t.
8609 (uint_least8_t): Define using __uint_least8_t.
8610 (uint_least16_t): Define using __uint_least16_t.
8611 (uint_least32_t): Define using __uint_least32_t.
8612 (uint_least64_t): Define using __uint_least64_t.
8613 * wcsmbs/uchar.h: Include <bits/types.h>.
8614 (char16_t): Define using __uint_least16_t conditional only on
8616 (char32_t): Define using __uint_least32_t conditional only on
8618 * wcsmbs/test-char-types.c: New file.
8619 * wcsmbs/Makefile (tests): Add test-char-types.
8621 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
8624 2018-02-07 Zack Weinberg <zackw@panix.com>
8626 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
8627 Delete all contents except for definitions of _G_HAVE_MMAP and
8628 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
8629 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
8630 sysdeps/unix/sysv/linux/_G_config.h. Make same content
8633 * libio/libio.h: Don't include bits/_G_config.h here.
8634 Include stddef.h with __need_wchar_t defined. Include
8635 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
8636 Define _IO_iconv_t here, directly.
8637 Don't define _IO_HAVE_ST_BLKSIZE.
8638 * libio/libioP.h: Include _G_config.h here. Move include of
8639 shlib-compat.h up with rest of includes. Simplify conditionals
8640 controlling definition of _IO_JUMPS_OFFSET.
8642 * csu/init.c: Remove always-true #if around entire file.
8643 Don't include stdio.h. Set _IO_stdin_used to hardwired
8644 constant 0x20001, and update commentary.
8645 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
8646 Replace all uses of _G_va_list with __gnuc_va_list.
8647 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
8648 instead of #if _IO_HAVE_ST_BLKSIZE.
8649 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
8650 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
8653 * libio/bits/libio.h: Move back to libio/libio.h and adjust
8654 multiple-include guard to match.
8655 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
8657 Remove preprocessor conditionals that are always true and/or
8658 redundant to other preprocessor conditionals in the same nest.
8659 Include shlib-compat.h unconditionally.
8660 Error out if _LIBC is not defined, or if _ISOMAC is defined,
8661 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
8662 defined after including stdio.h.
8663 Use __BEGIN_DECLS/__END_DECLS.
8665 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
8666 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
8667 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
8669 2018-02-07 Zack Weinberg <zackw@panix.com>
8671 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
8672 New single-type headers split from _G_config.h.
8673 * libio/bits/types/cookie_io_functions_t.h
8674 * libio/bits/types/struct_FILE.h
8675 New single-type headers split from libio.h.
8677 * libio/Makefile: Install the above new headers. Don't install
8678 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
8680 * libio/_G_config.h, libio/libio.h: Delete file.
8682 * libio/bits/libio.h: Remove improper-inclusion guard.
8683 Include stdio.h and don't repeat anything that it does.
8684 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
8685 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
8686 __io_read_fn as cookie_read_function_t,
8687 __io_write_fn as cookie_write_function_t,
8688 __io_seek_fn as cookie_seek_function_t,
8689 __io_close_fn as cookie_close_function_t,
8690 and _IO_cookie_io_functions_t as cookie_io_functions_t.
8691 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
8692 here, in the "compatibility defines" section. Remove an #if 0
8693 block. Use the "body" macros from bits/types/struct_FILE.h to
8694 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
8695 and _IO_ferror_unlocked.
8696 Move prototypes of __uflow and __overflow...
8698 * libio/stdio.h: ...here. Don't include bits/libio.h.
8699 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
8700 directly from stdarg.h. Include bits/types/__fpos_t.h,
8701 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
8702 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
8703 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
8704 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
8705 cookie_io_functions_t, not _IO_cookie_io_functions_t;
8706 __ssize_t, not _IO_ssize_t. Unconditionally define
8707 BUFSIZ as 8192 and EOF as (-1).
8709 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
8710 macros from bits/types/struct_FILE.h instead of _IO_* macros
8711 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
8712 instead of _IO_ssize_t.
8713 * libio/bits/stdio2.h: Similarly.
8715 * libio/iolibio.h: Add multiple-include guard.
8716 Include bits/libio.h after stdio.h.
8717 * libio/libioP.h: Add multiple-include guard.
8718 Include stdio.h and bits/libio.h before iolibio.h.
8720 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
8721 * include/bits/types/cookie_io_functions_t.h
8722 * include/bits/types/struct_FILE.h: New wrappers.
8724 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
8725 Get definitions of _G_fpos_t and _G_fpos64_t from
8726 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
8727 respectively. Remove improper-inclusion guards.
8729 * conform/data/stdio.h-data: Update expectations of va_list.
8730 * scripts/check-installed-headers.sh: Remove special case for
8731 libio.h and _G_config.h.
8733 2018-02-07 Joseph Myers <joseph@codesourcery.com>
8737 * include/sys/sysmacros.h [!_ISOMAC]
8738 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
8739 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
8740 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
8741 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
8743 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
8744 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
8746 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
8747 Undefine and redefine to add use __gnu_dev_ prefix.
8748 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
8750 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
8751 and define as hidden inline function.
8752 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
8754 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
8756 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
8757 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
8758 (gnu_dev_minor): Likewise.
8759 (gnu_dev_makedev): Likewise.
8760 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
8762 * posix/wordexp.c (exec_comm_child): Likewise.
8763 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
8764 instead of minor and __gnu_dev_major instead of major.
8765 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
8766 __gnu_dev_major instead of major.
8767 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
8768 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
8769 instead of gnu_dev_minor.
8770 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
8771 (SLAVE_P): Likewise.
8772 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
8773 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
8777 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
8779 * locale/weightwc.h (findidx): Likewise.
8781 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
8783 * manual/probes.texi (slowlog): Delete documentation of removed probe.
8784 (slowlog_inexact): Likewise
8785 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
8786 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
8788 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
8791 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
8792 missing second underscore to parameter name.
8794 2018-02-06 Joseph Myers <joseph@codesourcery.com>
8800 * bits/byteswap.h: Update file comment. Do not include
8801 <bits/byteswap-16.h>.
8802 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
8804 (__bswap_16): Define as inline function.
8805 (__bswap_constant_32): Reformat definition.
8806 (__bswap_32): Always define as inline function, not macro, using
8807 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
8808 otherwise __bswap_constant_32.
8809 (__bswap_constant_64): Reformat definition. Do not use
8811 (__bswap_64): Always define as inline function, not macro. Use
8812 __extension__ on function definition. Use __builtin_bswap64 if
8813 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
8814 * string/test-endian-file-scope.c: New file.
8815 * string/test-endian-sign-conversion.c: Likewise.
8816 * string/Makefile (headers): Remove bits/byteswap-16.h.
8817 (tests): Add test-endian-file-scope and
8818 test-endian-sign-conversion.
8819 (CFLAGS-test-endian-sign-conversion.c): New variable.
8820 * bits/byteswap-16.h: Remove file.
8821 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
8822 * sysdeps/ia64/bits/byteswap.h: Likewise.
8823 * sysdeps/m68k/bits/byteswap.h: Likewise.
8824 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8825 * sysdeps/s390/bits/byteswap.h: Likewise.
8826 * sysdeps/tile/bits/byteswap.h: Likewise.
8827 * sysdeps/x86/bits/byteswap-16.h: Likewise.
8828 * sysdeps/x86/bits/byteswap.h: Likewise.
8831 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
8832 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
8833 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
8834 199901L] (__restrict): Define to restrict.
8837 * string/testcopy.c: Include <support/support.h>. Do not include
8838 <malloc.h>. Use <support/test-driver.c>.
8839 (main): Rename to do_test. Make static. Use xmalloc instead of
8843 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
8844 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
8845 (SSIZE_MAX): Define to INT_MAX.
8846 * posix/test-ssize-max.c: New file.
8847 * posix/Makefile (tests): Add test-ssize-max.
8850 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
8851 <support/support.h>. Do not include <malloc.h>.
8852 (query_auxv): Use xmalloc instead of malloc.
8855 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
8856 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
8859 2018-02-06 Florian Weimer <fweimer@redhat.com>
8862 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8863 Use scratch_buffer instead of extend_alloca.
8865 2018-02-06 Zack Weinberg <zackw@panix.com>
8867 * libio/stdio.h: Don't define getc or putc as macros.
8868 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
8869 not _IO_getc and _IO_putc.
8871 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
8872 * stdio-common/tstgetln.c: Don't redefine ssize_t.
8874 2018-02-06 Joseph Myers <joseph@codesourcery.com>
8876 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
8877 (TCP_FASTOPEN_NO_COOKIE): Likewise.
8879 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
8882 * elf/elf.h (NT_PRFPREG): New macro.
8883 (NT_S390_VXRS_LOW): Likewise.
8884 (NT_S390_VXRS_HIGH): Likewise.
8885 (NT_S390_GS_CB): Likewise.
8886 (NT_S390_GS_BC): Likewise.
8887 (NT_S390_RI_CB): Likewise.
8889 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
8890 (MAP_SYNC): New macro.
8891 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
8893 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
8894 (MAP_SYNC): Likewise.
8895 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
8896 (MAP_SYNC): Likewise.
8897 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
8898 (MAP_SYNC): Likewise.
8899 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
8900 (MAP_SYNC): Likewise.
8901 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
8902 (MAP_SYNC): Likewise.
8903 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
8904 (MAP_SYNC): Likewise.
8905 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
8907 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
8910 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
8911 (MAP_SHARED_VALIDATE): New macro.
8912 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
8913 (MAP_SHARED_VALIDATE): Likewise.
8915 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
8917 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
8918 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
8919 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
8921 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
8923 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
8924 (DT_NUM): Updated to 35.
8926 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
8928 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
8929 __builtin_expect with __glibc_likely and __glibc_unlikely.
8930 (elf_machine_rela): Likewise.
8931 (elf_machine_lazy_rel): Likewise.
8933 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
8935 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8936 __builtin_expect with __glibc_likely and __glibc_unlikely.
8937 (elf_machine_lazy_rel): Likewise.
8939 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
8942 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
8944 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
8946 2018-02-05 Andreas Schwab <schwab@suse.de>
8949 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
8952 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8954 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
8955 not check against PTHREAD_STACK_MIN.
8957 2018-02-02 Sean McKean <smckean83@gmail.com>
8960 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
8962 2018-02-02 Florian Weimer <fweimer@redhat.com>
8965 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
8966 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
8967 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
8968 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
8969 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
8970 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
8971 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
8972 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
8973 * manual/llio.texi (Scatter-Gather): Mention offset -1.
8974 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
8975 * misc/tst-preadvwritev2.c (do_test): Call it.
8976 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
8978 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
8980 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
8982 * benchtests/bench-memcmp.c: Print json instead of plain text.
8984 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
8987 2018-02-01 Joseph Myers <joseph@codesourcery.com>
8989 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8991 (s390_sthyi): New syscall.
8993 * sysdeps/generic/ldbl-classify-compat.h: New file.
8994 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
8995 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
8996 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
8997 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
8998 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
8999 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
9000 * sysdeps/ieee754/dbl-64/s_finite.c: Include
9001 <ldbl-classify-compat.h>.
9002 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
9003 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
9004 <ldbl-classify-compat.h>.
9005 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
9006 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
9007 <ldbl-classify-compat.h>.
9008 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
9009 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
9010 <ldbl-classify-compat.h>.
9011 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
9012 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
9013 <ldbl-classify-compat.h>.
9014 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
9015 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
9016 <ldbl-classify-compat.h>.
9017 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
9018 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
9019 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9020 * sysdeps/m68k/coldfire/math_private.h: Remove file.
9021 * sysdeps/microblaze/math_private.h: Likewise.
9022 * sysdeps/nios2/math_private.h: Likewise.
9023 * sysdeps/sh/math_private.h: Likewise.
9025 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
9026 * sysdeps/m68k/coldfire/math_private.h: ... here.
9027 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
9028 * sysdeps/tile/math_private.h: Likewise.
9029 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
9031 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
9034 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
9036 (libc_fetestexcept): Likewise.
9037 (libc_feupdateenv_test): Likewise.
9038 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
9039 (libc_fetestexcept): Likewise.
9040 (libc_feupdateenv_test): Likewise.
9041 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
9042 (libc_fetestexcept): Likewise.
9043 (libc_feupdateenv_test): Likewise.
9044 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
9045 (libc_fetestexcept): Likewise.
9046 (libc_feupdateenv_test): Likewise.
9048 * sysdeps/generic/math_private.h
9049 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
9050 New inline function.
9051 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
9054 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
9055 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
9056 * sysdeps/generic/math_private.h
9057 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
9059 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
9061 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
9063 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
9065 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
9067 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
9069 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
9070 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
9071 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
9072 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
9073 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
9074 (__fegetenv): Likewise.
9075 (fesetenv): Likewise.
9076 (__fesetenv): Likewise.
9077 (feupdateenv): Likewise.
9078 (__feupdateenv): Likewise.
9079 (fegetround): Likewise.
9080 (__fegetround): Likewise.
9081 (fesetround): Likewise.
9082 (__fesetround): Likewise.
9084 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
9085 (feraiseexcept): New macro.
9086 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
9087 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
9089 (__feraiseexcept): Likewise.
9090 (feclearexcept): Likewise.
9091 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
9092 (__feraiseexcept): Likewise.
9093 (feclearexcept): Likewise.
9094 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
9095 (__feraiseexcept): Likewise.
9096 (feclearexcept): Likewise.
9097 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
9098 (__feraiseexcept): Likewise.
9099 (feclearexcept): Likewise.
9100 (fetestexcept): Likewise.
9102 * sysdeps/m68k/coldfire/math-tests.h: New file.
9104 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
9105 * sysdeps/m68k/bits/fenv.h: ... here.
9106 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
9108 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
9110 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
9112 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
9114 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
9116 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
9118 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
9119 (__FE_UNDEFINED): New enum constant.
9120 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
9122 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
9124 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
9126 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
9127 to match generic bits/fenv.h.
9128 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
9131 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
9133 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
9134 * soft-fp/half.h (union _FP_UNION_H): Likewise.
9135 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
9136 * soft-fp/single.h (union _FP_UNION_S): Likewise.
9138 2018-02-01 Carlos O'Donell <carlos@redhat.com>
9139 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
9140 Joseph Myers <joseph@codesourcery.com>
9143 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
9144 (__log1p): Disable -Wmaybe-uninitialized for -Os around
9145 computation using c.
9146 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
9147 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
9148 computation using c.
9150 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
9152 * version.h (RELEASE): Set to "development".
9153 (VERSION): Set to "2.27.9000".
9154 * NEWS (2.28): New section.
9156 * version.h (RELEASE): Set to "stable".
9157 (VERSION): Set to "2.27".
9158 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
9160 * NEWS: Add the list of bugs fixed in 2.27.
9162 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9164 * stdlib/test-atexit-race-common.c (do_test): Check stack size
9165 against PTHREAD_STACK_MIN.
9167 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
9169 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
9171 (Rafal Luzynski, Andreas Schwab): Update.
9173 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
9176 * NEWS: List the languages which actually use the alternative
9177 months feature in this release. Also explain that "alt_mon" and
9178 "ab_alt_mon" are optional.
9180 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
9183 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
9185 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
9187 * manual/install.texi (Tools for Compilation): Update the newest
9188 versions of gcc, binutils, texinfo, gawk, bison, and sed.
9189 * INSTALL: Regenerated.
9191 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9193 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
9194 instead of __builtin_expect.
9196 2018-01-30 Florian Weimer <fweimer@redhat.com>
9198 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
9200 * nss/tst-nss-getpwent.c (do_test): Likewise.
9202 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
9205 * localedata/locales/hr_HR (mon): Rename to...
9207 (mon): Import from CLDR (genitive case).
9208 (d_t_fmt): Update the comment.
9210 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
9212 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
9213 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
9214 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
9216 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
9218 * mach/Versions: Fix version when __mach_host_self_ was added.
9219 * hurd/Versions: Fix version when _hurd_exec_paths was added.
9220 * sysdeps/mach/hurd/i386/ld.abilist: New file.
9221 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
9222 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
9223 * sysdeps/mach/hurd/i386/libc.abilist: New file.
9224 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
9225 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
9226 * sysdeps/mach/hurd/i386/libm.abilist: New file.
9227 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
9228 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
9229 * sysdeps/mach/hurd/i386/librt.abilist: New file.
9230 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
9231 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
9232 || to respect codestyle.
9233 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
9234 (do_test_bz20181): Rename accordingly.
9235 * malloc/malloc.c: Include <assert.h>.
9236 (assert): Do not define.
9237 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
9238 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
9239 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
9240 * sysdeps/mach/hurd/hp-timing.h: New file.
9241 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
9243 2018-01-29 Darius Rad <darius@bluespec.com>
9245 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
9247 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
9249 * sysdeps/init_array/crti.S (.section .init_array): Add
9250 PREINIT_FUNCTION when defined.
9251 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
9252 * config.h.in: Regenerate.
9253 * manual/platform.texi: Add RISC-V documenation for
9254 __riscv_flush_icache.
9255 * sysdeps/riscv/__longjmp.S: New file.
9256 * sysdeps/riscv/backtrace.c: Likewise.
9257 * sysdeps/riscv/bits/endian.h: Likewise.
9258 * sysdeps/riscv/bits/setjmp.h: Likewise.
9259 * sysdeps/riscv/bits/wordsize.h: Likewise.
9260 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
9261 * sysdeps/riscv/bsd-setjmp.c: Likewise.
9262 * sysdeps/riscv/dl-trampoline.S: Likewise.
9263 * sysdeps/riscv/gccframe.h: Likewise.
9264 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
9265 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
9266 * sysdeps/riscv/machine-gmon.h: Likewise.
9267 * sysdeps/riscv/memusage.h: Likewise.
9268 * sysdeps/riscv/setjmp.S: Likewise.
9269 * sysdeps/riscv/sys/asm.h: Likewise.
9270 * sysdeps/riscv/tls-macros.h: Likewise.
9271 * sysdeps/riscv/dl-tls.h: New file.
9272 * sysdeps/riscv/libc-tls.c: Likewise.
9273 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
9274 * sysdeps/riscv/nptl/tls.h: Likewise.
9275 * sysdeps/riscv/stackinfo.h: Likewise.
9276 * sysdeps/riscv/bits/fenv.h: New file.
9277 * sysdeps/riscv/e_sqrtl.c: Likewise.
9278 * sysdeps/riscv/fpu_control.h: Likewise.
9279 * sysdeps/riscv/math-tests.h: Likewise.
9280 * sysdeps/riscv/nofpu/Implies: Likewise.
9281 * sysdeps/riscv/sfp-machine.h: Likewise.
9282 * sysdeps/riscv/tininess.h: Likewise.
9283 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
9284 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9285 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
9286 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
9287 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
9288 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
9289 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9290 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
9291 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9292 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9293 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9294 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
9295 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
9296 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
9297 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
9298 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
9299 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
9300 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9301 * sysdeps/riscv/rvd/s_fma.c: Likewise.
9302 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9303 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9304 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9305 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9306 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9307 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9308 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
9309 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
9310 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
9311 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
9312 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9313 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9314 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9315 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
9316 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
9317 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9318 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9319 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9320 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
9321 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
9322 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9323 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
9324 * sysdeps/riscv/rvf/math_private.h: Likewise.
9325 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9326 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
9327 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9328 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9329 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
9330 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9331 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9332 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9333 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9334 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9335 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9336 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9337 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9338 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9339 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9340 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9341 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
9342 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
9343 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
9344 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
9345 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
9346 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
9347 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
9348 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
9349 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
9350 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
9351 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
9352 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
9353 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
9354 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
9355 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
9356 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
9357 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
9358 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
9359 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
9360 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
9361 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
9362 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
9363 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
9364 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
9365 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
9366 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
9367 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
9368 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
9369 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
9370 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
9371 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
9372 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
9373 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
9374 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
9375 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
9376 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
9377 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
9378 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
9379 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
9380 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
9381 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
9382 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
9383 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
9384 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
9385 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
9386 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
9387 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9388 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
9389 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
9390 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
9391 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
9392 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
9393 * sysdeps/riscv/Implies: New file.
9394 * sysdeps/riscv/Makefile: Likewise.
9395 * sysdeps/riscv/configure: Likewise.
9396 * sysdeps/riscv/configure.ac: Likewise.
9397 * sysdeps/riscv/nptl/Makefile: Likewise.
9398 * sysdeps/riscv/preconfigure: Likewise.
9399 * sysdeps/riscv/rv64/Implies-after: Likewise.
9400 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
9401 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
9402 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
9403 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
9404 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
9405 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
9406 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
9407 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
9408 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
9409 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
9410 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
9411 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
9414 2018-01-29 Florian Weimer <fweimer@redhat.com>
9417 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
9418 libnsl_hidden_proto.
9419 * include/rpcsvc/yp.h (yp_xdrall): Declare with
9420 libnsl_hidden_proto.
9421 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
9422 * nis/Makefile (libnsl-routines): Add nss-default only for
9424 * nis/nis_defaults.c (__nis_default_ttl): Add
9425 libnsl_hidden_nolink_def.
9426 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
9428 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
9429 * nis/ypclnt.c (yp_maplist): Likewise.
9431 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
9433 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9434 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
9436 2018-01-29 Joseph Myers <joseph@codesourcery.com>
9438 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
9439 clean -dxfq for git updates when replacing sources.
9441 * scripts/build-many-glibcs.py (Config.build_gcc): Use
9442 --disable-libcilkrts unconditionally, not just for the final GCC
9445 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9448 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9451 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
9454 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9457 * localedata/locales/be_BY (mon): Rename to...
9458 (alt_mon): This, then synchronize with CLDR (nominative case).
9459 (abmon): Rename to...
9460 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
9461 (mon): Import from CLDR (genitive case).
9463 * localedata/locales/be_BY@latin (mon): Rename to...
9465 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
9467 * localedata/locales/be_BY@latin (lang_name): Reworded to
9468 "biełaruskaja mova".
9470 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9473 * localedata/locales/el_CY (mon): Renamed to...
9475 (mon): Import from CLDR (genitive case).
9476 * localedata/locales/el_GR: Likewise.
9478 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9481 * localedata/locales/ru_RU (mon): Rename to...
9483 (abmon): Rename to...
9485 (mon): Import from CLDR (genitive case).
9486 (abmon): Copy from the old content except the 5th month which is
9487 now in the genitive case, even when abbreviated.
9488 * localedata/locales/ru_UA: Likewise.
9489 * time/tst-strptime.c (day_tests): Add an actual example of
9490 a difference between %b and %Ob in Russian.
9492 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9494 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
9495 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
9497 * resolv/res-close.c: Include <stdlib.h>.
9498 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
9499 <sys/wait.h>, <time.h>, <sys/uio.h>.
9500 (NOT_CANCEL_H): Add inclusion guard.
9501 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
9502 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
9503 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
9505 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
9506 vm_address_t * to ElfW(Addr) * for dl_main parameter.
9507 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
9509 * sysdeps/pthread/timer_create.c (timer_create): Do not use
9510 timer_ptr2id to cast struct timer_node * to void *.
9511 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
9512 --disable-libcilkrts to gcc configure.
9513 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
9514 and make them the default for now.
9515 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
9516 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
9517 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
9518 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
9519 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
9521 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
9522 __task_terminate would ever return successfully.
9523 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
9525 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
9526 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
9527 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
9528 critical section to make code simpler and avoid warning.
9529 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
9530 critical section to make code simpler and avoid warning.
9531 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
9532 const char * instead of char *.
9533 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
9534 __hurd_file_name_split, hurd_file_name_split,
9535 __hurd_directory_name_split, hurd_directory_name_split,
9536 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
9537 hurd_file_name_path_lookup): Make lookup function parameter take a
9538 const char *name instead of char *name.
9539 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
9540 __hurd_directory_name_split): Likewise.
9541 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
9542 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
9543 * sysdeps/mach/hurd/check_native.c: New file.
9544 * sysdeps/mach/hurd/check_pf.c: New file.
9545 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
9546 (__freeifaddrs): Define macro to freeifaddrs.
9547 * sysdeps/mach/hurd/libhurduser.abilist: New file.
9548 * sysdeps/mach/libmachuser.abilist: New file.
9549 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
9550 (do_test_bz20181): Rename accordingly.
9551 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
9552 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
9554 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
9555 version only if __USE_EXTERN_INLINES is defined.
9556 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
9557 __hurd_sockfail): Likewise.
9558 (_hurd_fd_get): Always declare functions, and provide inline versions
9559 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
9560 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
9561 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
9562 _hurd_port_set): Always declare functions, and provide inline versions
9563 only if __USE_EXTERN_INLINES and _LIBC are defined and
9565 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
9566 _hurd_critical_section_unlock): Likewise.
9567 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
9568 * __hurd_threadvar_location): Likewise.
9569 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
9570 _hurd_userlink_clear): Likewise.
9571 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
9572 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
9573 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
9574 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
9575 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
9576 __spin_lock_locked): Likewise.
9577 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
9578 __spin_lock_locked): Likewise.
9579 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
9580 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
9581 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
9582 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
9583 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
9584 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
9585 _POSIX_NO_TRUNC): Define to 0.
9586 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
9587 check size against PTHREAD_STACK_MIN.
9588 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
9589 IS_IN(libpthread)]: Include <sigsetops.h>.
9590 * mach/Makefile (user-interfaces): Add mach/gnumach.
9591 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
9592 * sysdeps/mach/configure (mach_interface_list): Regenerate.
9593 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
9594 instead of invalid -1.
9595 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
9596 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
9597 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
9600 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
9602 * hurd/fcntl-internal.h: New file.
9604 2018-01-27 James Clarke <jrtc27@jrtc27.com>
9606 * sysdeps/hppa/fpu/libm-test-ulps: Update.
9608 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9610 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
9613 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
9614 Build only shared objects.
9616 2018-01-26 Carlos O'Donell <carlos@redhat.com>
9618 * README: Update for hppa.
9620 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
9622 * sysdeps/sparc/fpu/libm-test-ulps: Update
9623 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
9625 2018-01-26 Carlos O'Donell <carlos@redhat.com>
9629 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
9632 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
9633 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
9634 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
9635 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
9638 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
9641 * bits/types/__cancel_jmp_buf_tag.h: New file.
9642 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
9643 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
9644 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
9645 * nptl/Makefile (headers): Add
9646 bits/types/__cancel_jmp_buf_tag.h.
9647 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
9648 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
9649 * sysdeps/nptl/pthread.h: Include
9650 <bits/types/__cancel_jmp_buf_tag.h>.
9651 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
9653 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
9655 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9658 * localedata/locales/uk_UA (mon): Renamed to...
9660 (alt_digits): "0" removed and then renamed to...
9662 (date_fmt): Definition changed not to use the alternative
9665 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
9667 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
9668 FLAG_RISCV_FLOAT_ABI_DOUBLE.
9669 * elf/elf.h (EF_RISCV_RVC): New define.
9670 (EF_RISCV_FLOAT_ABI): Likewise.
9671 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
9672 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
9673 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
9674 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
9675 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
9677 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
9679 2018-01-25 Andreas Schwab <schwab@suse.de>
9681 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
9683 * sysdeps/gnu/configure: Regenerate.
9684 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
9685 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9687 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
9688 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
9689 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
9690 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
9691 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
9693 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
9695 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
9696 URL, and run autoconf, make it the default for now.
9698 2018-01-24 Joseph Myers <joseph@codesourcery.com>
9700 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9701 soft-float ColdFire configuration.
9703 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
9704 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
9705 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
9707 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
9710 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
9712 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
9714 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
9717 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
9718 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
9719 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
9722 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
9725 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
9726 Rename to __reserved and add comment.
9727 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
9728 Rename to __reserved.
9730 2018-01-24 Joseph Myers <joseph@codesourcery.com>
9732 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9733 i686-gnu configurations.
9734 (Context.run_builds): Include mig, gnumach and hurd in components
9736 (Context.checkout): Add mig, gnumach and hurd to components.
9737 (Context.checkout_tar): Add URL mappings for mig, gnumach and
9739 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
9740 (Config.build): Install gnumach headers, build mig and install
9741 hurd headers for 'gnu' OS.
9742 (Config.install_gnumach_headers): New function.
9743 (Config.install_hurd_headers): Likewise.
9744 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
9745 when building for 'gnu' OS.
9747 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
9749 * manual/tunables.texi (Hardware Capability Tunables): Fix
9752 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
9754 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
9755 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
9756 (ALTMON_11, ALTMON_12): Improve documentation.
9757 * manual/time.texi (strftime): Likewise.
9759 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
9762 * localedata/locales/pl_PL: Alternative month names added,
9763 primary month names are genitive now.
9764 * time/tst-strptime.c (day_tests): Actually use a genitive case
9765 of a month name in Polish language.
9767 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
9770 * manual/locale.texi: Document ALTMON_1..12 constants for
9771 nl_langinfo. Specify when to use ALTMON instead of MON.
9772 * manual/time.texi (strftime, strptime): Document GNU extension
9773 permitting O modifier with %B and %b. Specify when to use
9776 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
9779 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
9780 names, define them as the same as abbreviated month names explicitly.
9781 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
9782 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
9783 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
9784 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
9785 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
9786 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
9787 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
9788 _NL_WABALTMON_12): New enum constants.
9789 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
9790 wab_alt_mon, and ab_alt_mon_defined members.
9791 (time_output): Output ab_alt_mon and wab_alt_mon members.
9792 (time_read): Read them, initialize them as copies of abmon and wabmon
9793 respectively if they are missing, initialize ab_alt_mon_defined.
9794 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
9795 * locale/programs/locfile-kw.h: Regenerate.
9796 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
9797 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
9799 * time/strftime_l.c (a_altmonth, aam_len): New macros.
9800 [!COMPILE_WIDE] (ABALTMON_1): New macro.
9801 (__strftime_internal): Handle %Ob and %Oh formats.
9802 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
9803 (__strptime_internal): Handle %Ob and %Oh formats.
9804 * time/tst-strptime.c (day_tests): Add more tests to parse different
9805 forms of month names including the new %Ob format specifier.
9807 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
9810 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
9811 define them as the same as primary full month names explicitly.
9812 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
9813 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
9814 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
9815 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
9816 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
9817 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
9818 _NL_WALTMON_12): New enum constants.
9819 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
9820 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
9822 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
9823 walt_mon, and alt_mon_defined members.
9824 (time_output): Output alt_mon and walt_mon members.
9825 (time_read): Read them, initialize them as copies of mon and wmon
9826 respectively if they are missing, initialize alt_mon_defined.
9827 * locale/programs/locfile-kw.gperf (alt_mon): Define.
9828 * locale/programs/locfile-kw.h: Regenerate.
9829 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
9830 * localedata/tst-langinfo.c (map): Add tests for the new constants
9831 ALTMON_1 .. ALTMON_12.
9832 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
9834 * time/strftime_l.c (f_altmonth): New macro.
9835 (__strftime_internal): Handle %OB format.
9836 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
9837 (__strptime_internal): Handle %OB format.
9838 * time/tst-strptime.c (day_tests): Add tests to parse different forms
9839 of month names including the new %OB format specifier.
9841 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9844 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
9845 from ABORT_TRANSACTION.
9846 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
9847 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
9848 ABORT_TRANSACTION_IMPL): Likewise.
9849 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
9850 Linux code, but remove the code that aborts transactions.
9852 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
9854 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
9856 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
9858 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
9859 in date: "2004-14-09" should be "2004-09-14".
9860 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
9861 "2003-15-09" should be "2003-09-15".
9863 2018-01-18 Arjun Shankar <arjun@redhat.com>
9869 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
9871 (_int_memalign): check for integer overflow before calling
9873 * malloc/tst-malloc-too-large.c: New test.
9874 * malloc/Makefile: Add tst-malloc-too-large.
9876 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
9878 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
9879 in date: "2017-24-07" should be "2017-07-24".
9880 * localedata/locales/mai_IN: Likewise.
9881 * localedata/locales/mai_NP: Likewise.
9883 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
9885 * po/ru.po: Update translations.
9887 2018-01-17 Joseph Myers <joseph@codesourcery.com>
9890 * sysdeps/hppa/backtrace.c: New file.
9892 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
9895 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
9896 align La_x86_64_retval to VEC_SIZE.
9898 2018-01-16 Joseph Myers <joseph@codesourcery.com>
9900 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
9901 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
9903 2018-01-16 Florian Weimer <fweimer@redhat.com>
9905 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
9906 Move tst-thread-exit-clobber ...
9907 [$(CXX)] (tests-unsupported): ... to here.
9909 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
9911 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
9912 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
9913 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
9914 (_dl_aarch64_cap_flags): Update.
9915 (_DL_HWCAP_COUNT): Update.
9917 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
9919 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
9920 (_DL_HWCAP_LAST): Remove.
9921 (_DL_HWCAP_COUNT): Move to ...
9922 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
9923 (_DL_HWCAP_COUNT): ... here.
9925 2018-01-16 Florian Weimer <fweimer@redhat.com>
9927 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
9928 mode with GNU extensions.
9930 2018-01-15 Alan Hayward <alan.hayward@arm.com>
9932 * elf/elf.h (NT_ARM_SVE): Define.
9934 2018-01-15 Florian Weimer <fweimer@redhat.com>
9937 * nptl/tst-minstack-throw.cc: New file.
9938 * nptl/Makefile (tests): Add tst-minstack-throw.
9939 (LDLIBS-tst-minstack-throw): Link with libstdc++.
9940 [!CXX] (tests-unsupported): Add tst-minstack-throw.
9942 2018-01-15 Joseph Myers <joseph@codesourcery.com>
9944 * scripts/build-many-glibcs.py (Context.checkout): Default
9945 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
9948 2018-01-13 Carlos O'Donell <carlos@redhat.com>
9951 * elf/elf.h (DF_1_STUB): Define.
9954 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9957 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
9958 Do not add 0.5 to integer or out-of-range arguments.
9960 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
9962 * po/bg.po: Update translations.
9963 * po/cs.po: Likewise.
9964 * po/de.po: Likewise.
9965 * po/ko.po: Likewise.
9966 * po/pl.po: Likewise.
9967 * po/sv.po: Likewise.
9968 * po/uk.po: Likewise.
9969 * po/vi.po: Likewise.
9971 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9973 * aarch64/start.S (_start): Use __wrap_main.
9974 (__wrap_main): New local symbol.
9976 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
9980 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
9981 generic_getcwd if the path returned by getcwd syscall is not absolute.
9982 * io/tst-getcwd-abspath.c: New test.
9983 * io/Makefile (tests): Add tst-getcwd-abspath.
9985 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
9987 * malloc/malloc.c (malloc_consolidate): Add size check.
9989 2018-01-12 Florian Weimer <fweimer@redhat.com>
9991 * support/write_message.c (write_message): Preserve errno.
9992 * support/check.c (print_failure): Likewise.
9993 * support/support_test_verify_impl.c (support_test_verify_impl):
9995 * support/support_test_compare_failure.c
9996 (support_test_compare_failure): Likewise.
9998 2018-01-12 Florian Weimer <fweimer@redhat.com>
10001 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
10002 Prevent installation of libnsl.so.
10003 (libnsl-inhibit-o): Do not build (or install) static libraries.
10005 2018-01-12 Egmont Koblinger <egmont@gmail.com>
10008 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
10009 before the day number which may produce a double space.
10010 (date_fmt): Likewise.
10012 2018-01-12 Joseph Myers <joseph@codesourcery.com>
10014 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
10015 instead of fegetenv.
10017 2018-01-11 Joseph Myers <joseph@codesourcery.com>
10020 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
10021 comment to say exceptions are discarded.
10022 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
10024 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
10027 2018-01-11 Florian Weimer <fweimer@redhat.com>
10029 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
10032 2018-01-11 Florian Weimer <fweimer@redhat.com>
10035 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
10036 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
10038 2018-01-10 Joseph Myers <joseph@codesourcery.com>
10041 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
10042 negative arguments in test for NaN or infinity argument.
10044 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
10046 * po/libc.pot: Regenerate.
10048 2018-01-10 Florian Weimer <fweimer@redhat.com>
10051 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
10052 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
10054 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10056 * hurd/hurd/fd.h: Include <fcntl.h>
10057 (__hurd_at_flags): New function.
10058 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
10059 with call to __hurd_at_flags.
10060 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
10061 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
10063 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
10064 (__access_noerrno): Use __faccessat_common instead of access_common.
10065 (__access): Likewise.
10066 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
10067 with a call to __faccessat.
10068 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
10069 (__faccessat_common): ... this. Move implementation of __access into it when
10070 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
10071 reauthenticate_cwdir_at helper to implement AT mechanism.
10072 (__faccessat_noerrno): New function, just calls __faccessat_common.
10073 (__faccessat): New function, just calls __faccessat_common.
10074 (faccessat): Define weak alias.
10076 2018-01-10 Joseph Myers <joseph@codesourcery.com>
10079 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10080 (CFLAGS-s_fmaxmagl.c): New variable.
10081 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
10084 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
10085 long int for arguments of possibly overflowing addition or
10087 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10089 2018-01-09 Joseph Myers <joseph@codesourcery.com>
10092 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10093 (CFLAGS-e_remainderl.c): New variable.
10096 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
10098 (CFLAGS-s_cacoshl.c): Likewise.
10099 (CFLAGS-s_casinhl.c): Likewise.
10100 (CFLAGS-s_catanl.c): Likewise.
10101 (CFLAGS-s_catanhl.c): Likewise.
10102 (CFLAGS-s_cexpl.c): Likewise.
10103 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
10104 (CFLAGS-s_csinhl.c): Likewise.
10105 (CFLAGS-s_clogl.c): Likewise.
10106 (CFLAGS-s_clog10l.c): Likewise.
10107 (CFLAGS-s_csinl.c): Likewise.
10108 (CFLAGS-s_csqrtl.c): Likewise.
10110 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
10111 2017-01-09 Svante Signell <svante.signell@gmail.com>
10113 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
10114 (_hurd_exec_paths): New function.
10115 * hurd/hurd.h (_hurd_exec): Deprecate function.
10116 (_hurd_exec_paths): Declare function.
10117 * hurd/Versions: Export _hurd_exec_paths.
10118 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
10119 (__execve): Use __getcwd to build absolute path, and use
10120 _hurd_exec_paths instead of _hurd_exec.
10121 * sysdeps/mach/hurd/spawni.c: Likewise.
10122 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
10125 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
10127 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
10128 test instead of failing in case of ENOENT returned by posix_openpt.
10130 2018-01-08 Florian Weimer <fweimer@redhat.com>
10132 resolv: Support binary labels in test framework.
10133 * support/resolv_test.c (struct to_be_freed): Remove.
10134 (struct compressed_name): New.
10135 (allocate_compressed_name, ascii_tolower)
10136 (compare_compressed_name): New functions.
10137 (struct resolv_response_builder): Update type of
10138 compression_offsets for use with tsearch. Rempve to_be_freed.
10139 (response_push_pointer_to_free): Remove function.
10140 (resolv_response_add_name): Rewrite using struct compressed_name
10141 and tsearch instead of hsearch_r.
10142 (response_builder_allocate): Remove initialization of
10143 compression_offsets.
10144 (response_builder_free): Update for removal of to_be_freed. Use
10145 tdestroy instead of hdestroy_r.
10146 * resolv/Makefile (tests): Add tst-resolv-binary.
10147 (tst-resolv-binary): Link with -lresolv -lpthread.
10149 2018-01-08 Florian Weimer <fweimer@redhat.com>
10151 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
10152 time. Pass positive flag instead of negative flag to
10153 support_test_compare_failure.
10154 (support_test_compare_failure): Change negative parameter to
10156 * support/support_test_compare_failure.c (report)
10157 (support_test_compare_failure): Likewise.
10158 * support/tst-test_compare.c (return_ssize_t, return_int): New.
10159 (do_test): Check int/size_t, ssize_t/size_t comparisons.
10161 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
10164 * nptl/descr.h (stackblock, stackblock_size): Update comments.
10165 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
10166 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
10168 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
10170 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
10172 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10173 Add s_sincosf-sse2 and s_sincosf-fma.
10174 (CFLAGS-s_sincosf-fma.c): New.
10175 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
10176 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
10177 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
10178 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
10179 __sincosf is defined.
10181 2018-01-08 Florian Weimer <fweimer@redhat.com>
10183 * nptl/tst-thread-exit-clobber.cc: New file.
10184 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
10186 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
10187 (tests): Add tst-thread-exit-clobber.
10188 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
10190 2018-01-08 Florian Weimer <fweimer@redhat.com>
10192 * support/check.h (support_static_assert): Define.
10193 (TEST_COMPARE): Use it.
10195 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
10197 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
10198 [!__RLIM_T_MATCHES_RLIM64_T]
10199 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
10200 __getrlimit64. Add libc_hidden_weak.
10202 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
10204 * elf/elf.h (R_RISCV_NONE): New define.
10205 (R_RISCV_32): Likewise.
10206 (R_RISCV_64): Likewise.
10207 (R_RISCV_RELATIVE): Likewise.
10208 (R_RISCV_COPY): Likewise.
10209 (R_RISCV_JUMP_SLOT): Likewise.
10210 (R_RISCV_TLS_DTPMOD32): Likewise.
10211 (R_RISCV_TLS_DTPMOD64): Likewise.
10212 (R_RISCV_TLS_DTPREL32): Likewise.
10213 (R_RISCV_TLS_DTPREL64): Likewise.
10214 (R_RISCV_TLS_TPREL32): Likewise.
10215 (R_RISCV_TLS_TPREL64): Likewise.
10216 * Makerules (make-link-multidir): Make directories before linking into
10218 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
10220 (VDSO_HASH_LINUX_4_15): Likewise.
10221 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
10222 in subdirectories of lib.
10223 * nptl/Makefile (/librt.so): Always depend on
10224 "$(shared-thread-library)".
10226 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10228 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
10229 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
10230 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
10232 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
10233 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
10235 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
10236 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
10237 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
10238 * sysdeps/gnu/glob-lstat-compat.c: New file.
10239 * sysdeps/gnu/glob64-lstat-compat.c: New file.
10240 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
10242 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10244 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
10245 Reserve 16 chars to reloc_addr before calling _itoa_word.
10247 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
10250 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
10251 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
10253 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
10254 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
10256 * resource/tst-getrlimit.c: Add copyright header.
10258 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
10259 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10261 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
10262 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
10263 Define __GI_getrlimit64 as weak alias of __getrlimit64.
10264 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
10266 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
10267 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
10268 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
10269 RLIM64_INFINITY): Fix values to match the kernel ones.
10270 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
10271 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
10272 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
10273 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
10274 getrlimit64@@GLIBC_2_27.
10275 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
10277 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
10278 getrlimit, setrlimit, getrlimit64 and setrlimit64.
10279 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
10280 setrlimit, getrlimit64 and setrlimit64.
10282 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
10285 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
10286 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
10288 2018-01-04 Joseph Myers <joseph@codesourcery.com>
10290 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
10291 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
10292 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
10294 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10298 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
10299 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
10303 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
10304 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
10305 * sysdeps/alpha/fpu/s_floor.c: Likewise.
10306 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
10308 2018-01-04 Florian Weimer <fweimer@redhat.com>
10311 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
10312 Align the stack before calling exit.
10313 * stdlib/tst-makecontext-align.c: New file.
10314 * stdlib/Makefile (tests): Add tst-makecontext-align.
10316 2018-01-04 Florian Weimer <fweimer@redhat.com>
10318 Add support for calling dlvsym from libc.so.
10319 * include/dlfcn.h (__libc_dlvsym): Declare.
10320 * elf/Makefile (tests-static-internal): Add
10321 tst-libc_dlvsym-static.
10322 (tests-internal): Add tst-libc_dlvsym.
10323 (modules-names): Add tst-libc_dlvsym-dso.
10324 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
10325 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
10326 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
10327 object tst-libc_dlvsym-dso.so needs to be built before running
10329 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
10330 * elf/Versions: Export __libc_dlvsym.
10331 * elf/dl-libc.c (struct do_dlvsym_args): New.
10332 (do_dlvsym, __libc_dlvsym): New functions.
10333 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
10334 (_dl_open_hook2): New variable.
10335 (__libc_register_dl_open_hook): Set it.
10336 * elf/tst-libc_dlvsym-dso.c: New file.
10337 * elf/tst-libc_dlvsym-static.c: Likewise.
10338 * elf/tst-libc_dlvsym.c: Likewise.
10339 * elf/tst-libc_dlvsym.h: Likewise.
10341 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10343 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
10344 include <sys/mount.h>.
10346 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
10348 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
10349 Add __NO_MATH_ERRNO__ check.
10351 2018-01-02 Joseph Myers <joseph@codesourcery.com>
10353 * sysdeps/mips/mips32/libm-test-ulps: Update.
10354 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10356 2018-01-02 Florian Weimer <fweimer@redhat.com>
10358 * misc/tst-pselect.c: Add copyright header.
10360 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
10362 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
10364 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
10366 (settrlimit): Rename into setrlimit.
10367 (__sttrlimit): Rename into __setrlimit.
10369 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
10370 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
10371 never defined in that case.
10373 2018-01-02 Joseph Myers <joseph@codesourcery.com>
10375 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
10377 * sysdeps/arm/libm-test-ulps: Update.
10379 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
10380 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
10382 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10384 * NEWS: Add cosf and sincosf to list of optimized functions.
10386 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
10389 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
10390 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
10391 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
10392 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
10394 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
10397 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
10399 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
10400 making a copy of it.
10402 2018-01-01 Joseph Myers <joseph@codesourcery.com>
10404 * manual/texinfo.tex: Update to version 2017-12-26.21 with
10405 trailing whitespace removed.
10406 * scripts/config.guess: Update to version 2018-01-01.
10407 * scripts/config.sub: Update to version 2018-01-01.
10408 * scripts/move-if-change: Update from gnulib.
10410 * NEWS: Update copyright dates.
10411 * catgets/gencat.c (print_version): Likewise.
10412 * csu/version.c (banner): Likewise.
10413 * debug/catchsegv.sh: Likewise.
10414 * debug/pcprofiledump.c (print_version): Likewise.
10415 * debug/xtrace.sh (do_version): Likewise.
10416 * elf/ldconfig.c (print_version): Likewise.
10417 * elf/ldd.bash.in: Likewise.
10418 * elf/pldd.c (print_version): Likewise.
10419 * elf/sotruss.sh: Likewise.
10420 * elf/sprof.c (print_version): Likewise.
10421 * iconv/iconv_prog.c (print_version): Likewise.
10422 * iconv/iconvconfig.c (print_version): Likewise.
10423 * locale/programs/locale.c (print_version): Likewise.
10424 * locale/programs/localedef.c (print_version): Likewise.
10425 * login/programs/pt_chown.c (print_version): Likewise.
10426 * malloc/memusage.sh (do_version): Likewise.
10427 * malloc/memusagestat.c (print_version): Likewise.
10428 * malloc/mtrace.pl: Likewise.
10429 * manual/libc.texinfo: Likewise.
10430 * nptl/version.c (banner): Likewise.
10431 * nscd/nscd.c (print_version): Likewise.
10432 * nss/getent.c (print_version): Likewise.
10433 * nss/makedb.c (print_version): Likewise.
10434 * posix/getconf.c (main): Likewise.
10435 * scripts/test-installation.pl: Likewise.
10436 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10438 * All files with FSF copyright notices: Update copyright dates
10439 using scripts/update-copyrights.
10440 * locale/programs/charmap-kw.h: Regenerated.
10441 * locale/programs/locfile-kw.h: Likewise.
10443 2017-12-31 Zack Weinberg <zackw@panix.com>
10445 * libio/bits/libio-ldbl.h: Correct check for improper
10446 inclusion. Add own multiple include guard.
10448 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
10449 Dmitry V. Levin <ldv@altlinux.org>
10453 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
10454 string token expansion. Check for NULL pointer or empty string possibly
10455 returned by expand_dynamic_string_token.
10456 (decompose_rpath): Check for empty path after dynamic string
10459 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
10462 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
10464 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
10465 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
10466 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
10467 and PTRACE_SYSCALL.
10468 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
10469 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10470 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10471 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10472 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10473 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
10475 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
10476 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
10477 __ptrace_peeksiginfo_flags, ptrace): Move to ...
10478 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
10479 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10480 bits/ptrace-shared.h.
10481 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
10482 <bits/ptrace-shared.h>.
10483 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
10484 __ptrace_peeksiginfo_flags, ptrace): Remove.
10485 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10486 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10487 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10488 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10489 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
10491 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
10494 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
10495 end of the loop. Improve comments.
10497 2017-12-29 Zack Weinberg <zackw@panix.com>
10500 * manual/errno.texi (Checking for Errors): Explicitly say that errno
10501 might be set on success.
10503 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
10506 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
10507 is unchanged on success.
10509 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
10511 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
10513 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
10514 expand_dynamic_string_token): Likewise.
10515 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
10518 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
10521 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
10522 is set and name contains ':', and all code depending on these checks.
10524 2017-12-24 Zack Weinberg <zackw@panix.com>
10526 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
10527 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
10529 * libio/libio.h: Rename the original version of this file to
10530 libio/bits/libio.h. Error out if not included by stdio.h or the
10532 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
10533 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
10534 if not included by bits/libio.h or the stub _G_config.h.
10535 * sysdeps/unix/sysv/linux/_G_config.h: Move to
10536 sysdeps/unix/sysv/linux/bits. Error out if not included by
10537 bits/libio.h or the stub _G_config.h.
10538 * libio/stdio.h: Include bits/libio.h, not libio.h.
10539 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
10540 well as libio.h and _G_config.h.
10542 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
10543 * libio/strfile.h, stdio-common/vfscanf.c
10544 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
10545 Include stdio.h, not _G_config.h nor libio.h.
10546 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
10547 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
10549 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
10551 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
10554 * stdlib/getrandom.c (getrandom): Fix comment.
10555 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
10557 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
10560 * manual/arith.texi (strtoul): Fix a typo.
10563 * manual/arith.texi (finite): Fix the description of the return
10566 2017-12-22 Eric Blake <ebb9@byu.net>
10568 Avoid gcc warnings on cygwin
10569 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
10570 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
10571 Avoid unused variable.
10573 2017-12-22 Florian Weimer <fweimer@redhat.com>
10575 * io/Makefile (routines): Add copy_file_range.
10576 (tests): Add tst-copy_file_range.
10577 (tests-static, tests-internal): Add tst-copy_file_range-compat.
10578 * io/Versions (GLIBC_2.27): Export copy_file_range.
10579 * io/copy_file_range-compat.c: New file.
10580 * io/copy_file_range.c: Likewise.
10581 * io/tst-copy_file_range-compat.c: Likewise.
10582 * io/tst-copy_file_range.c: Likewise.
10583 * manual/llio.texi (Copying File Data): New section.
10584 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
10585 * support/Makefile (libsupport-routines): Add support-xfstat,
10586 xftruncate, xlseek.
10587 * support/support-xfstat.c: New file.
10588 * support/xftruncate.c: Likewise.
10589 * support/xlseek.c: Likewise.
10590 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
10591 * sysdeps/unix/sysv/linux/**.abilist: Update.
10592 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
10594 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10596 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
10597 disable-multi-arch variant to aarch64-linux-gnu.
10599 2017-12-20 Joseph Myers <joseph@codesourcery.com>
10601 * manual/texinfo.tex: Update to version 2017-12-18.20 with
10602 trailing whitespace removed.
10603 * scripts/config.guess: Update to version 2017-12-17.
10604 * scripts/config.sub: Update to version 2017-11-23.
10605 * scripts/install-sh: Update to version 2017-09-23.17.
10606 * scripts/move-if-change: Update to version 2017-09-13 06:45.
10608 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10610 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
10611 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
10612 * sysdeps/tile/_mcount.S (__mcount): Likewise.
10613 * sysdeps/tile/crti.S (_init, _fini): Likewise.
10614 * sysdeps/tile/crtn.S: Likewise.
10615 * sysdeps/tile/dl-start.S (_start): Likewise.
10616 * sysdeps/tile/dl-trampoline.S: Likewise.
10617 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
10618 * sysdeps/tile/start.S (_start): Likewise.
10619 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
10620 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
10621 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
10622 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
10623 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
10624 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
10625 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
10627 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
10629 * sysdeps/tile/preconfigure: Remove tilegx folder.
10630 * sysdeps/tile/tilegx/Implies: Move definitions to ...
10631 * sysdeps/tile/Implies: ... here.
10632 * sysdeps/tile/tilegx/Makefile: Move rules to ...
10633 * sysdeps/tile/Makefile: ... here.
10634 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
10635 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
10636 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
10637 * sysdeps/tile/bits/wordsize.h: ... here.
10638 * sysdeps/tile/tilegx/*: Move to ...
10639 * sysdeps/tile/*: ... here.
10640 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
10641 * sysdeps/tile/tilegx32/Implies: ... here.
10642 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
10643 * sysdeps/tile/tilegx64/Implies: ... here.
10644 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
10646 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10647 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
10648 * sysdeps/unix/sysv/linux/tile/*: ... here.
10649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
10650 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
10651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
10652 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
10654 * README: Remove tilepro-*-linux-gnu from supported architecture.
10655 * scripts/build-many-glibcs.py: Likewise.
10656 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
10657 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
10658 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
10659 elf_machine_matches_host, elf_machine_dynamic,
10660 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
10661 howto, elf_machine_rela): Likewise.
10662 * sysdeps/tile/dl-start.S (_start): Likewise.
10663 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
10664 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
10665 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
10666 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
10667 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
10668 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
10670 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
10671 * sysdeps/tile/preconfigure: Likewise.
10672 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
10673 POINTER_CHK_GUARD): Likewise.
10674 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
10675 * sysdeps/tile/start.S (_start): Likewise.
10676 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
10678 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
10679 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
10681 * sysdeps/unix/sysv/linux/tile/bits/environments.h
10682 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
10683 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
10685 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
10686 * sysdeps/tile/tilepro/Implies: Remove file.
10687 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
10688 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
10689 * sysdeps/tile/tilepro/memchr.c: Likewise.
10690 * sysdeps/tile/tilepro/memcpy.S: Likewise.
10691 * sysdeps/tile/tilepro/memset.c: Likewise.
10692 * sysdeps/tile/tilepro/memusage.h: Likewise.
10693 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
10694 * sysdeps/tile/tilepro/strchr.c: Likewise.
10695 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
10696 * sysdeps/tile/tilepro/strlen.c: Likewise.
10697 * sysdeps/tile/tilepro/strrchr.c: Likewise.
10698 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
10699 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
10700 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
10701 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
10702 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
10703 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
10705 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
10706 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10707 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
10708 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
10709 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10710 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
10711 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
10712 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
10713 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
10714 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
10715 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
10716 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
10717 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
10718 tilepro mention in comment.
10720 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
10721 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
10722 * nptl/pthread_join_common.c: New file: common function used on
10723 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
10724 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
10725 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
10726 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
10727 (cleanup): Move definition to pthread_join_common.c.
10728 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
10729 Remove superflous checks.
10730 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
10733 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
10735 * sysdeps/aarch64/libm-test-ulps: Update.
10737 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10739 * sysdeps/aarch64/memset.S (MEMSET): Define.
10741 2017-12-20 Florian Weimer <fweimer@redhat.com>
10744 nptl: Provide full implementation of pthread_self in libc.so.
10745 * nptl/Makefile (routines): Add pthread_self.
10746 (libpthread-routines): Replace pthread_self with
10747 compat-pthread_self.
10748 * nptl/forward.c (pthread_self): Remove.
10749 * nptl/nptl-init.c (pthread_functions): Do not initialize
10751 * nptl/pthread_self.c (pthread_self): Remove weak alias.
10752 * nptl/compat-pthread_self.c: New file.
10753 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
10754 Remove ptr_pthread_self.
10756 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
10758 * posix/regcomp.c: Fix spelling in comments.
10759 * posix/regex.h: Likewise.
10760 * posix/regex_internal.c: Likewise.
10761 * posix/regexec.c: Likewise.
10763 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10766 * math/Makefile [C++] (tests): Add test for iseqsig.
10767 * math/math.h [C++] (iseqsig): New implementation, which does
10768 not rely on __MATH_TG/__builtin_types_compatible_p.
10769 * math/test-math-iseqsig.cc: New file.
10770 * sysdeps/powerpc/powerpc64le/Makefile
10771 (CFLAGS-test-math-iseqsig.cc): New variable.
10773 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
10775 * elf/dl-load.c (is_trusted_path): Remove.
10776 (fillin_rpath): Remove check_trusted argument and its use,
10777 all callers changed.
10779 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
10782 * Makeconfig (link-pie-before-libc): Replace -pie with
10783 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
10784 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
10785 (tst-dlopen-aout-no-pie): New.
10786 (LDFLAGS-tst-prelink): Removed.
10787 (tst-prelink-no-pie): New.
10788 (LDFLAGS-tst-main1): Removed.
10789 (tst-main1-no-pie): New.
10790 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
10791 (tst-gmon-no-pie): New.
10793 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
10795 * manual/install.texi: Document that --enable-static-pie
10797 * INSTALL: Regenerated.
10799 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
10802 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
10805 2017-12-19 Joseph Myers <joseph@codesourcery.com>
10809 2017-12-19 Joseph Myers <joseph@codesourcery.com>
10811 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10813 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
10815 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
10816 <errno.h>. Include "eexp.tbl".
10817 (half): New constant.
10819 (__ieee754_exp): Rewrite.
10820 (__slowexp): Remove prototype.
10821 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
10822 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
10823 * sysdeps/i386/fpu/slowexp.c: Likewise.
10824 * sysdeps/ia64/fpu/slowexp.c: Likewise.
10825 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
10826 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
10827 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
10828 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10829 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
10830 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
10832 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
10833 (CPPFLAGS-slowexp.c): Remove variable.
10834 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10835 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
10836 (CFLAGS-slowexp-fma.c): Remove variable.
10837 (CFLAGS-slowexp-fma4.c): Likewise.
10838 (CFLAGS-slowexp-avx.c): Likewise.
10839 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
10841 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
10842 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
10843 * math/Makefile (type-double-routines): Remove slowexp.
10844 * manual/probes.texi (slowexp_p6): Remove.
10845 (slowexp_p32): Likewise.
10847 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10849 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
10852 * lib/glob.c (glob): Do not pass NULL to mempcpy.
10854 2017-12-19 Joseph Myers <joseph@codesourcery.com>
10856 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10858 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
10860 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
10861 <errno.h>. Include "eexp.tbl".
10862 (half): New constant.
10864 (__ieee754_exp): Rewrite.
10865 (__slowexp): Remove prototype.
10866 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
10867 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
10868 * sysdeps/i386/fpu/slowexp.c: Likewise.
10869 * sysdeps/ia64/fpu/slowexp.c: Likewise.
10870 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
10871 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
10872 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
10873 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10874 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
10875 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
10877 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
10878 (CPPFLAGS-slowexp.c): Remove variable.
10879 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10880 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
10881 (CFLAGS-slowexp-fma.c): Remove variable.
10882 (CFLAGS-slowexp-fma4.c): Likewise.
10883 (CFLAGS-slowexp-avx.c): Likewise.
10884 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
10886 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
10887 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
10888 * math/Makefile (type-double-routines): Remove slowexp.
10889 * manual/probes.texi (slowexp_p6): Remove.
10890 (slowexp_p32): Likewise.
10892 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10893 James Clarke <jrtc27@jrtc27.com>
10896 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
10899 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10902 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
10905 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
10908 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
10909 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
10910 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
10911 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
10914 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
10917 * bits/types/__cancel_jmp_buf_tag.h: New file.
10918 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
10919 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
10920 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
10921 * nptl/Makefile (headers): Add
10922 bits/types/__cancel_jmp_buf_tag.h.
10923 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
10924 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
10925 * sysdeps/nptl/pthread.h: Include
10926 <bits/types/__cancel_jmp_buf_tag.h>.
10927 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
10929 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
10931 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
10933 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
10934 --enable-static-pie variants to x86_64, x32 and i686.
10936 2017-12-19 Joseph Myers <joseph@codesourcery.com>
10939 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
10940 argument for attrubutes. All callers changed.
10941 (__inline_mathop1): Likewise. All callers changed.
10942 (__inline_mathop): Likewise. All callers changed.
10943 [__USE_MISC] (scalbn): Use __inline_forward instead of
10944 __inline_forward_c.
10945 [__USE_ISOC99] (scalbln): Likewise.
10946 [__USE_ISOC99] (nearbyint): Likewise.
10947 [__USE_ISOC99] (lrint): Likewise.
10948 [__USE_MISC] (scalbnf): Likewise.
10949 [__USE_ISOC99] (scalblnf): Likewise.
10950 [__USE_ISOC99] (nearbyintf): Likewise.
10951 [__USE_ISOC99] (lrintf): Likewise.
10952 [__USE_MISC] (scalbnl): Likewise.
10953 [__USE_ISOC99] (scalblnl): Likewise.
10954 [__USE_ISOC99] (nearbyintl): Likewise.
10955 [__USE_ISOC99] (lrintl): Likewise.
10956 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
10957 __inline_mathop and __m81_defun changed.
10959 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
10960 CPU or FPU for ARM hard-float configurations.
10962 2017-12-18 Joseph Myers <joseph@codesourcery.com>
10964 * nptl/tst-attr3.c: Include <libc-diag.h>.
10965 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
10967 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
10969 * string/tester.c (test_strncat): Also disable -Warray-bounds
10970 warnings for two tests.
10972 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
10975 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
10976 $(cc-pie-default) == yes.
10977 * config.make.in (cc-pie-default): New.
10978 * configure.ac (libc_cv_pie_default): Renamed to ...
10979 (libc_cv_cc_pie_default): This.
10980 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
10981 * configure: Regenerated.
10983 2017-12-18 Florian Weimer <fweimer@redhat.com>
10986 ld.so: Harden dl-libc/libdl hooks.
10987 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
10988 (rtld_active): New function.
10989 * dlfcn/dladdr.c (__dladdr): Call it.
10990 * dlfcn/dladdr1.c (__dladdr1): Likewise.
10991 * dlfcn/dlclose.c (__dlcose): Likewise.
10992 * dlfcn/dlerror.c (__dlerror): Likewise.
10993 * dlfcn/dlinfo.c (__dlinfo): Likewise.
10994 * dlfcn/dlmopen.c (__dlmopen): Likewise.
10995 * dlfcn/dlopen.c (__dlopen): Likewise.
10996 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10997 * dlfcn/dlsym.c (__dlsym): Likewise.
10998 * dlfcn/dlvsym.c (__dlvsym): Likewise.
10999 * libio/vtables.c (_IO_vtable_check): Likewise.
11000 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
11001 (__libc_dlclose): Likewise.
11002 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
11005 2017-12-18 Joseph Myers <joseph@codesourcery.com>
11008 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
11009 buffers for readlink input and output.
11011 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
11014 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
11015 inhibit_stack_protector.
11018 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
11019 inhibit_stack_protector.
11021 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
11024 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
11025 code and invocation.
11027 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
11029 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
11031 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
11034 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
11036 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11038 * sysdeps/s390/fpu/libm-test-ulps: Update.
11040 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11044 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11046 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
11047 constants to s_sincosf.h file.
11048 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11049 * sysdeps/ieee754/flt-32/s_sincosf.c: New
11051 * sysdeps/ieee754/flt-32/s_sincosf.h:
11054 2017-12-12 Carlos O'Donell <carlos@redhat.com>
11057 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
11060 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
11063 * INSTALL: Regenerated.
11064 * Makeconfig (real-static-start-installed-name): New.
11065 (pic-default): Updated for --enable-static-pie.
11066 (pie-default): New for --enable-static-pie.
11067 (default-pie-ldflag): Likewise.
11068 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
11069 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
11070 Replace $(static-start-installed-name) with
11071 $(real-static-start-installed-name).
11072 (+prectorT): Updated for --enable-static-pie.
11073 (+postctorT): Likewise.
11074 (CFLAGS-.o): Add $(pie-default).
11075 (CFLAGS-.op): Likewise.
11076 * NEWS: Mention --enable-static-pie.
11077 * config.h.in (ENABLE_STATIC_PIE): New.
11078 * configure.ac (--enable-static-pie): New configure option.
11079 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
11080 (have-static-pie): Likewise.
11081 Enable static PIE if linker supports --no-dynamic-linker.
11082 (ENABLE_STATIC_PIE): New AC_DEFINE.
11083 (enable-static-pie): New LIBC_CONFIG_VAR.
11084 * configure: Regenerated.
11085 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
11086 gr$(start-installed-name) for --enable-static-pie.
11087 (extra-objs): Likewise.
11088 (install-lib): Likewise.
11089 (extra-objs): Add static-reloc.o and static-reloc.os
11090 ($(objpfx)$(start-installed-name)): Also depend on
11091 $(objpfx)static-reloc.o.
11092 ($(objpfx)r$(start-installed-name)): New.
11093 ($(objpfx)g$(start-installed-name)): Also depend on
11094 $(objpfx)static-reloc.os.
11095 ($(objpfx)gr$(start-installed-name)): New.
11096 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
11098 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
11100 * csu/static-reloc.c: New file.
11101 * elf/Makefile (routines): Add dl-reloc-static-pie.
11102 (elide-routines.os): Likewise.
11103 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
11104 (tst-tls1-static-non-pie-no-pie): New.
11105 * elf/dl-reloc-static-pie.c: New file.
11106 * elf/dl-support.c (_dl_get_dl_main_map): New function.
11107 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
11108 STATIC_PIE_BOOTSTRAP.
11109 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
11110 * gmon/Makefile (tests): Add tst-gmon-static-pie.
11111 (tests-static): Likewise.
11112 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
11113 (tst-gmon-static-no-pie): New.
11114 (CFLAGS-tst-gmon-static-pie.c): Likewise.
11115 (CRT-tst-gmon-static-pie): Likewise.
11116 (tst-gmon-static-pie-ENV): Likewise.
11117 (tests-special): Likewise.
11118 ($(objpfx)tst-gmon-static-pie.out): Likewise.
11119 (clean-tst-gmon-static-pie-data): Likewise.
11120 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
11121 * gmon/tst-gmon-static-pie.c: New file.
11122 * manual/install.texi: Document --enable-static-pie.
11123 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
11124 (_dl_get_dl_main_map): Likewise.
11125 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
11126 * sysdeps/x86_64/configure.ac: Likewise.
11127 * sysdeps/i386/configure: Regenerated.
11128 * sysdeps/x86_64/configure: Likewise.
11129 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
11130 (ASFLAGS-.op): Likewise.
11132 2017-12-15 Joseph Myers <joseph@codesourcery.com>
11134 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
11135 * posix/tst-mmap-offset.c (fname): Use /tmp.
11136 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
11138 2017-12-15 Steve Ellcey <sellcey@cavium.com>
11140 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
11142 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
11144 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
11147 2017-12-15 Joseph Myers <joseph@codesourcery.com>
11149 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
11150 --with-float=hard for arm-linux-gnueabihf configurations.
11153 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
11154 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
11155 ($(mo-installed)): Use $(objpfx)%.mo.
11156 (realclean): Remove rule.
11158 * po/Makefile (linguas): Remove rule and dependencies.
11159 (linguas.mo): Likewise.
11160 (.PHONY): Do not depend on linguas and linguas.mo.
11161 (podir): Remove variable.
11162 (pofiles): Likewise.
11163 [$(pofiles)] (%.po): Remove rule.
11165 * sysdeps/sparc/sparc32/Makefile
11166 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
11167 start-of-line whitespace in argument of echo.
11168 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
11169 with whitespace. Generate __wrap_.udiv alias.
11170 * sysdeps/sparc/sparc32/rem.S: Regenerated.
11171 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11172 * sysdeps/sparc/sparc32/udiv.S: Likewise.
11173 * sysdeps/sparc/sparc32/urem.S: Likewise.
11175 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11177 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
11178 for aligned inputs.
11180 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
11182 * benchtests/bench-strcmp.c: Print output in JSON format.
11184 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
11186 2017-12-14 Florian Weimer <fweimer@redhat.com>
11190 * elf/dl-load.c (_dl_init_paths): Compute number of components in
11191 the expanded path string.
11193 2017-12-14 Florian Weimer <fweimer@redhat.com>
11197 * elf/dl-load.c (system_dirs): Update comment.
11198 (nsystem_dirs_len): Use array_length.
11199 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
11201 2017-12-14 Florian Weimer <fweimer@redhat.com>
11203 Simplify compiling most of support/ outside of glibc.
11204 * support/check_addrinfo.c: Include <string.h>.
11205 * support/check_dns_packet.c: Likewise.
11206 * support/check_hostent.c: Likewise.
11207 * support/support_can_chroot.c: Include <support/xunistd.h>.
11208 * support/support_format_addrinfo.c: Include <stdlib.h>
11209 * support/support_format_dns_packet.c: Include <stdbool.h>.
11210 * support/support_format_hostent.c: Include <stdlib.h>.
11211 * support/support_format_netent.c: Likewise.
11212 * support/support_write_string.c: Include <support/xunistd.h>.
11213 * support/xdlfcn.c: Include <stddef.h>.
11215 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
11217 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
11219 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
11220 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11222 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
11223 (sysdeps_routines): Add memset-niagara7.
11224 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
11226 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
11228 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
11229 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
11230 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
11231 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
11232 Add niagara7 option.
11233 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
11236 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
11237 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
11238 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
11240 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
11242 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
11243 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
11244 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
11245 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
11246 and __memmove_niagara7.
11247 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
11248 Add niagara7 option.
11249 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
11250 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
11251 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
11252 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
11253 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
11255 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
11257 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
11258 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
11259 * sysdeps/sparc/sparc64/memmove.S: Likewise.
11260 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
11262 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
11263 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
11264 _dl_sparc_cap_flags array.
11265 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
11267 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
11269 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
11270 time whenever possible.
11272 2017-12-12 Carlos O'Donell <carlos@redhat.com>
11274 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
11275 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
11277 2017-12-12 Joseph Myers <joseph@codesourcery.com>
11279 * soft-fp/fmadf4.c: Move to ....
11280 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
11281 * soft-fp/fmasf4.c: Move to ....
11282 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
11283 * soft-fp/fmatf4.c: Move to ....
11284 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
11285 * sysdeps/ieee754/soft-fp/Makefile: New file.
11286 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
11287 * sysdeps/arm/preconfigure: Regenerated.
11288 * sysdeps/arm/nofpu/Implies: New file.
11289 * sysdeps/arm/s_fma.c: Remove file.
11290 * sysdeps/arm/s_fmaf.c: Likewise.
11291 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
11292 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
11293 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
11294 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
11295 * sysdeps/microblaze/s_fma.c: Remove file.
11296 * sysdeps/microblaze/s_fmaf.c: Likewise.
11297 * sysdeps/mips/mips32/nofpu/Implies: New file.
11298 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
11299 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
11300 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
11301 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
11302 * sysdeps/mips/ieee754/s_fma.c: Remove file.
11303 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
11304 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
11306 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
11307 * sysdeps/nios2/s_fma.c: Remove file.
11308 * sysdeps/nios2/s_fmaf.c: Likewise.
11309 * sysdeps/sh/nofpu/Implies: New file.
11310 * sysdeps/sh/s_fma.c: Remove file.
11311 * sysdeps/sh/s_fmaf.c: Likewise.
11312 * sysdeps/tile/Implies: Add ieee754/soft-fp.
11313 * sysdeps/tile/s_fma.c: Remove file.
11314 * sysdeps/tile/s_fmaf.c: Likewise.
11316 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
11318 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11319 Add s_cosf-sse2 and s_cosf-fma.
11320 (CFLAGS-s_cosf-fma.c): New.
11321 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
11322 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
11323 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
11325 2017-12-12 Steve Ellcey <sellcey@cavium.com>
11327 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
11329 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11331 * libio/Makefile (tests): Add tst-bz22415.
11332 (tst-bz22415-ENV): New rule.
11333 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
11334 (tests-special): Add tst-bz22415-mem.out.
11335 ($(objpfx)tst-bz22415-mem.out): New rule.
11336 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
11337 in case of a successful seek operation.
11338 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11339 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
11340 buffer is required.
11341 * libio/tst-bz22415.c: New test.
11343 * sysdeps/ia64/fpu/libm-test-ulps: Update.
11345 2017-12-12 James Clarke <jrtc27@jrtc27.com>
11347 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
11348 __IPC_64 to 0 to avoid IPC_64 being set.
11350 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
11353 * math/bits/mathcalls.h (nextafter): Remove const.
11354 (nexttoward): Likewise.
11356 2017-12-12 Joseph Myers <joseph@codesourcery.com>
11358 * configure.ac (--with-fp): Remove configure option.
11359 (with_fp_cond): New variable.
11360 (libc_cv_with_fp): New configure test. Use this variable instead
11362 * configure: Regenerated.
11363 * config.make.in (with-fp): Use @libc_cv_with_fp@.
11364 * manual/install.texi (Configuring and compiling): Remove
11366 * INSTALL: Regenerated.
11367 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
11368 * sysdeps/mips/preconfigure (with_fp_cond): Define.
11369 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
11370 * sysdeps/sh/preconfigure (with_fp_cond): Define.
11371 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
11372 use --without-fp to configure glibc.
11374 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
11376 * manual/locale.texi (nl_langinfo): Fix a typo.
11378 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
11381 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
11383 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
11385 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
11386 (CFLAGS-argp-parse.c): Likewise.
11387 (CFLAGS-argp-fmtstream.c): Likewise.
11388 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
11389 (CPPFLAGS-sha512-crypt.c): Likewise.
11390 (CPPFLAGS-md5-crypt.c): Likewise.
11391 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
11392 (CFLAGS-stack_chk_fail_local.c): Likewise.
11393 (CFLAGS-backtrace.c): Likewise.
11394 (CFLAGS-sprintf_chk.c): Likewise.
11395 (CFLAGS-snprintf_chk.c): Likewise.
11396 (CFLAGS-vsprintf_chk.c): Likewise.
11397 (CFLAGS-vsnprintf_chk.c): Likewise.
11398 (CFLAGS-asprintf_chk.c): Likewise.
11399 (CFLAGS-vasprintf_chk.c): Likewise.
11400 (CFLAGS-obprintf_chk.c): Likewise.
11401 (CFLAGS-dprintf_chk.c): Likewise.
11402 (CFLAGS-vdprintf_chk.c): Likewise.
11403 (CFLAGS-printf_chk.c): Likewise.
11404 (CFLAGS-fprintf_chk.c): Likewise.
11405 (CFLAGS-vprintf_chk.c): Likewise.
11406 (CFLAGS-vfprintf_chk.c): Likewise.
11407 (CFLAGS-gets_chk.c): Likewise.
11408 (CFLAGS-fgets_chk.c): Likewise.
11409 (CFLAGS-fgets_u_chk.c): Likewise.
11410 (CFLAGS-fread_chk.c): Likewise.
11411 (CFLAGS-fread_u_chk.c): Likewise.
11412 (CFLAGS-swprintf_chk.c): Likewise.
11413 (CFLAGS-vswprintf_chk.c): Likewise.
11414 (CFLAGS-wprintf_chk.c): Likewise.
11415 (CFLAGS-fwprintf_chk.c): Likewise.
11416 (CFLAGS-vwprintf_chk.c): Likewise.
11417 (CFLAGS-vfwprintf_chk.c): Likewise.
11418 (CFLAGS-fgetws_chk.c): Likewise.
11419 (CFLAGS-fgetws_u_chk.c): Likewise.
11420 (CFLAGS-read_chk.c): Likewise.
11421 (CFLAGS-pread_chk.c): Likewise.
11422 (CFLAGS-pread64_chk.c): Likewise.
11423 (CFLAGS-recv_chk.c): Likewise.
11424 (CFLAGS-recvfrom_chk.c): Likewise.
11425 (CFLAGS-tst-longjmp_chk.c): Likewise.
11426 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
11427 (CFLAGS-tst-longjmp_chk2.c): Likewise.
11428 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
11429 (CFLAGS-tst-longjmp_chk3.c): Likewise.
11430 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11431 (CFLAGS-tst-chk1.c): Likewise.
11432 (CFLAGS-tst-chk2.c): Likewise.
11433 (CFLAGS-tst-chk3.c): Likewise.
11434 (CFLAGS-tst-chk4.cc): Likewise.
11435 (CFLAGS-tst-chk5.cc): Likewise.
11436 (CFLAGS-tst-chk6.cc): Likewise.
11437 (CFLAGS-tst-lfschk1.c): Likewise.
11438 (CFLAGS-tst-lfschk2.c): Likewise.
11439 (CFLAGS-tst-lfschk3.c): Likewise.
11440 (CFLAGS-tst-lfschk4.cc): Likewise.
11441 (CFLAGS-tst-lfschk5.cc): Likewise.
11442 (CFLAGS-tst-lfschk6.cc): Likewise.
11443 (CFLAGS-tst-ssp-1.c): Likewise.
11444 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
11445 (CFLAGS-scandir64.c): Likewise.
11446 (CFLAGS-scandir-tail.c): Likewise.
11447 (CFLAGS-scandir64-tail.c): Likewise.
11448 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
11449 (CFLAGS-dl-tunables.c): Likewise.
11450 (CFLAGS-dl-runtime.c): Likewise.
11451 (CFLAGS-dl-lookup.c): Likewise.
11452 (CFLAGS-dl-iterate-phdr.c): Likewise.
11453 (CFLAGS-vismain.c): Likewise.
11454 (CFLAGS-tst-linkall-static.c): Likewise.
11455 (CFLAGS-tst-linkall-static.c): Likewise.
11456 (CPPFLAGS-dl-load.c): Likewise.
11457 (CFLAGS-ldconfig.c): Likewise.
11458 (CFLAGS-dl-cache.c): Likewise.
11459 (CFLAGS-cache.c): Likewise.
11460 (CFLAGS-rtld.c): Likewise.
11461 (CFLAGS-multiload.c): Likewise.
11462 (CFLAGS-filtmod1.c): Likewise.
11463 (CFLAGS-tst-align.c): Likewise.
11464 (CFLAGS-tst-align2.c): Likewise.
11465 (CFLAGS-tst-alignmod.c): Likewise.
11466 (CFLAGS-tst-alignmod2.c): Likewise.
11467 (CPPFLAGS-tst-execstack.c): Likewise.
11468 (CFLAGS-tst-ptrguard1-static.c): Likewise.
11469 (CFLAGS-tst-latepthreadmod.c): Likewise.
11470 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
11471 (CFLAGS-getgrnam_r.c): Likewise.
11472 (CFLAGS-getgrent_r.c): Likewise.
11473 (CFLAGS-getgrent.c): Likewise.
11474 (CFLAGS-fgetgrent.c): Likewise.
11475 (CFLAGS-fgetgrent_r.c): Likewise.
11476 (CFLAGS-putgrent.c): Likewise.
11477 (CFLAGS-initgroups.c): Likewise.
11478 (CFLAGS-getgrgid.c): Likewise.
11479 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
11480 (CFLAGS-getsgent.c): Likewise.
11481 (CFLAGS-fgetsgent.c): Likewise.
11482 (CFLAGS-fgetsgent_r.c): Likewise.
11483 (CFLAGS-putsgent.c): Likewise.
11484 (CFLAGS-getsgnam.c): Likewise.
11485 (CFLAGS-getsgnam_r.c): Likewise.
11486 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
11487 (CFLAGS-iconv_charmap.c): Likewise.
11488 (CFLAGS-dummy-repertoire.c): Likewise.
11489 (CFLAGS-charmap.c): Likewise.
11490 (CFLAGS-linereader.c): Likewise.
11491 (CFLAGS-simple-hash.c): Likewise.
11492 (CFLAGS-gconv_conf.c): Likewise.
11493 (CFLAGS-iconvconfig.c): Likewise.
11494 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
11495 (CFLAGS-gethstbyad.c): Likewise.
11496 (CFLAGS-gethstbynm_r.c): Likewise.
11497 (CFLAGS-gethstbynm.c): Likewise.
11498 (CFLAGS-gethstbynm2_r.c): Likewise.
11499 (CFLAGS-gethstbynm2.c): Likewise.
11500 (CFLAGS-gethstent_r.c): Likewise.
11501 (CFLAGS-gethstent.c): Likewise.
11502 (CFLAGS-rcmd.c): Likewise.
11503 (CFLAGS-getnetbynm_r.c): Likewise.
11504 (CFLAGS-getnetbynm.c): Likewise.
11505 (CFLAGS-getnetbyad_r.c): Likewise.
11506 (CFLAGS-getnetbyad.c): Likewise.
11507 (CFLAGS-getnetent_r.c): Likewise.
11508 (CFLAGS-getnetent.c): Likewise.
11509 (CFLAGS-getaliasent_r.c): Likewise.
11510 (CFLAGS-getaliasent.c): Likewise.
11511 (CFLAGS-getrpcent_r.c): Likewise.
11512 (CFLAGS-getrpcent.c): Likewise.
11513 (CFLAGS-getservent_r.c): Likewise.
11514 (CFLAGS-getservent.c): Likewise.
11515 (CFLAGS-getprtent_r.c): Likewise.
11516 (CFLAGS-getprtent.c): Likewise.
11517 (CFLAGS-either_ntoh.c): Likewise.
11518 (CFLAGS-either_hton.c): Likewise.
11519 (CFLAGS-getnetgrent.c): Likewise.
11520 (CFLAGS-getnetgrent_r.c): Likewise.
11521 (CFLAGS-tst-checks-posix.c): Likewise.
11522 (CFLAGS-tst-sockaddr.c): Likewise.
11523 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
11524 (CFLAGS-tst-translit.c): Likewise.
11525 (CFLAGS-tst-gettext2.c): Likewise.
11526 (CFLAGS-tst-codeset.c): Likewise.
11527 (CFLAGS-tst-gettext3.c): Likewise.
11528 (CFLAGS-tst-gettext4.c): Likewise.
11529 (CFLAGS-tst-gettext5.c): Likewise.
11530 (CFLAGS-tst-gettext6.c): Likewise.
11531 * io/Makefile (CFLAGS-open.c): Likewise.
11532 (CFLAGS-open64.c): Likewise.
11533 (CFLAGS-creat.c): Likewise.
11534 (CFLAGS-creat64.c): Likewise.
11535 (CFLAGS-fcntl.c): Likewise.
11536 (CFLAGS-poll.c): Likewise.
11537 (CFLAGS-ppoll.c): Likewise.
11538 (CFLAGS-lockf.c): Likewise.
11539 (CFLAGS-statfs.c): Likewise.
11540 (CFLAGS-fstatfs.c): Likewise.
11541 (CFLAGS-statvfs.c): Likewise.
11542 (CFLAGS-fstatvfs.c): Likewise.
11543 (CFLAGS-fts.c): Likewise.
11544 (CFLAGS-fts64.c): Likewise.
11545 (CFLAGS-ftw.c): Likewise.
11546 (CFLAGS-ftw64.c): Likewise.
11547 (CFLAGS-lockf.c): Likewise.
11548 (CFLAGS-posix_fallocate.c): Likewise.
11549 (CFLAGS-posix_fallocate64.c): Likewise.
11550 (CFLAGS-fallocate.c): Likewise.
11551 (CFLAGS-fallocate64.c): Likewise.
11552 (CFLAGS-read.c): Likewise.
11553 (CFLAGS-write.c): Likewise.
11554 (CFLAGS-test-stat.c): Likewise.
11555 (CFLAGS-test-lfs.c): Likewise.
11556 * libio/Makefile (CFLAGS-fileops.c): Likewise.
11557 (CFLAGS-fputc.c): Likewise.
11558 (CFLAGS-fputwc.c): Likewise.
11559 (CFLAGS-freopen64.c): Likewise.
11560 (CFLAGS-freopen.c): Likewise.
11561 (CFLAGS-fseek.c): Likewise.
11562 (CFLAGS-fseeko64.c): Likewise.
11563 (CFLAGS-fseeko.c): Likewise.
11564 (CFLAGS-ftello64.c): Likewise.
11565 (CFLAGS-ftello.c): Likewise.
11566 (CFLAGS-fwide.c): Likewise.
11567 (CFLAGS-genops.c): Likewise.
11568 (CFLAGS-getc.c): Likewise.
11569 (CFLAGS-getchar.c): Likewise.
11570 (CFLAGS-getwc.c): Likewise.
11571 (CFLAGS-getwchar.c): Likewise.
11572 (CFLAGS-iofclose.c): Likewise.
11573 (CFLAGS-iofflush.c): Likewise.
11574 (CFLAGS-iofgetpos64.c): Likewise.
11575 (CFLAGS-iofgetpos.c): Likewise.
11576 (CFLAGS-iofgets.c): Likewise.
11577 (CFLAGS-iofgetws.c): Likewise.
11578 (CFLAGS-iofputs.c): Likewise.
11579 (CFLAGS-iofputws.c): Likewise.
11580 (CFLAGS-iofread.c): Likewise.
11581 (CFLAGS-iofsetpos64.c): Likewise.
11582 (CFLAGS-iofsetpos.c): Likewise.
11583 (CFLAGS-ioftell.c): Likewise.
11584 (CFLAGS-iofwrite.c): Likewise.
11585 (CFLAGS-iogetdelim.c): Likewise.
11586 (CFLAGS-iogetline.c): Likewise.
11587 (CFLAGS-iogets.c): Likewise.
11588 (CFLAGS-iogetwline.c): Likewise.
11589 (CFLAGS-ioputs.c): Likewise.
11590 (CFLAGS-ioseekoff.c): Likewise.
11591 (CFLAGS-ioseekpos.c): Likewise.
11592 (CFLAGS-iosetbuffer.c): Likewise.
11593 (CFLAGS-iosetvbuf.c): Likewise.
11594 (CFLAGS-ioungetc.c): Likewise.
11595 (CFLAGS-ioungetwc.c): Likewise.
11596 (CFLAGS-oldfileops.c): Likewise.
11597 (CFLAGS-oldiofclose.c): Likewise.
11598 (CFLAGS-oldiofgetpos64.c): Likewise.
11599 (CFLAGS-oldiofgetpos.c): Likewise.
11600 (CFLAGS-oldiofsetpos64.c): Likewise.
11601 (CFLAGS-oldiofsetpos.c): Likewise.
11602 (CFLAGS-peekc.c): Likewise.
11603 (CFLAGS-putc.c): Likewise.
11604 (CFLAGS-putchar.c): Likewise.
11605 (CFLAGS-putwc.c): Likewise.
11606 (CFLAGS-putwchar.c): Likewise.
11607 (CFLAGS-rewind.c): Likewise.
11608 (CFLAGS-wfileops.c): Likewise.
11609 (CFLAGS-wgenops.c): Likewise.
11610 (CFLAGS-oldiofopen.c): Likewise.
11611 (CFLAGS-iofopen.c): Likewise.
11612 (CFLAGS-iofopen64.c): Likewise.
11613 (CFLAGS-oldtmpfile.c): Likewise.
11614 (CFLAGS-tst_putwc.c): Likewise.
11615 * locale/Makefile (CFLAGS-md5.c): Likewise.
11616 (CFLAGS-charmap.c): Likewise.
11617 (CFLAGS-locfile.c): Likewise.
11618 (CFLAGS-charmap-dir.c): Likewise.
11619 * login/Makefile (CFLAGS-grantpt.c): Likewise.
11620 (CFLAGS-getpt.c): Likewise.
11621 (CFLAGS-pt_chown.c): Likewise.
11622 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
11623 (CFLAGS-obstack.c): Likewise.
11624 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
11625 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
11626 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
11627 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
11628 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
11629 (CFLAGS-test-tgmath.c): Likewise.
11630 (CFLAGS-test-tgmath2.c): Likewise.
11631 (CFLAGS-test-tgmath-ret.c): Likewise.
11632 (CFLAGS-test-powl.c): Likewise.
11633 (CFLAGS-test-snan.c): Likewise.
11634 (CFLAGS-test-signgam-finite.c): Likewise.
11635 (CFLAGS-test-signgam-finite-c99.c): Likewise.
11636 (CFLAGS-test-signgam-finite-c11.c): Likewise.
11637 (CFLAGS-test-signgam-uchar.c): Likewise.
11638 (CFLAGS-test-signgam-uchar-init.c): Likewise.
11639 (CFLAGS-test-signgam-uchar-static.c): Likewise.
11640 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
11641 (CFLAGS-test-signgam-uint.c): Likewise.
11642 (CFLAGS-test-signgam-uint-init.c): Likewise.
11643 (CFLAGS-test-signgam-uint-static.c): Likewise.
11644 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
11645 (CFLAGS-test-signgam-ullong.c): Likewise.
11646 (CFLAGS-test-signgam-ullong-init.c): Likewise.
11647 (CFLAGS-test-signgam-ullong-static.c): Likewise.
11648 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
11649 (CFLAGS-test-math-cxx11.cc): Likewise.
11650 (CFLAGS-test-math-isinff.cc): Likewise.
11651 (CFLAGS-test-math-iszero.cc): Likewise.
11652 (CFLAGS-test-math-issignaling.cc): Likewise.
11653 (CFLAGS-test-math-iscanonical.cc): Likewise.
11654 (CFLAGS-test-iszero-excess-precision.c): Likewise.
11655 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
11656 (CFLAGS-test-flt-eval-method.c): Likewise.
11657 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
11658 (CFLAGS-test-finite-macros.c): Likewise.
11659 * misc/Makefile (CFLAGS-select.c): Likewise.
11660 (CFLAGS-tsearch.c): Likewise.
11661 (CFLAGS-lsearch.c): Likewise.
11662 (CFLAGS-pselect.c): Likewise.
11663 (CFLAGS-readv.c): Likewise.
11664 (CFLAGS-writev.c): Likewise.
11665 (CFLAGS-preadv.c): Likewise.
11666 (CFLAGS-preadv64.c): Likewise.
11667 (CFLAGS-pwritev.c): Likewise.
11668 (CFLAGS-pwritev64.c): Likewise.
11669 (CFLAGS-preadv2.c): Likewise.
11670 (CFLAGS-preadv64v2.c): Likewise.
11671 (CFLAGS-pwritev2.c): Likewise.
11672 (CFLAGS-pwritev64v2.c): Likewise.
11673 (CFLAGS-usleep.c): Likewise.
11674 (CFLAGS-syslog.c): Likewise.
11675 (CFLAGS-error.c): Likewise.
11676 (CFLAGS-getpass.c): Likewise.
11677 (CFLAGS-mkstemp.c): Likewise.
11678 (CFLAGS-mkstemp64.c): Likewise.
11679 (CFLAGS-getsysstats.c): Likewise.
11680 (CFLAGS-getusershell.c): Likewise.
11681 (CFLAGS-err.c): Likewise.
11682 (CFLAGS-tst-tsearch.c): Likewise.
11683 (CFLAGS-msync.c): Likewise.
11684 (CFLAGS-fdatasync.c): Likewise.
11685 (CFLAGS-fsync.c): Likewise.
11686 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
11687 (CFLAGS-unwind.c): Likewise.
11688 (CFLAGS-unwind-forcedunwind.c): Likewise.
11689 (CFLAGS-pthread_cancel.c): Likewise.
11690 (CFLAGS-pthread_setcancelstate.c): Likewise.
11691 (CFLAGS-pthread_setcanceltype.c): Likewise.
11692 (CFLAGS-cancellation.c): Likewise.
11693 (CFLAGS-libc-cancellation.c): Likewise.
11694 (CFLAGS-pthread_exit.c): Likewise.
11695 (CFLAGS-forward.c): Likewise.
11696 (CFLAGS-pthread_testcancel.c): Likewise.
11697 (CFLAGS-pthread_join.c): Likewise.
11698 (CFLAGS-pthread_timedjoin.c): Likewise.
11699 (CFLAGS-pthread_once.c): Likewise.
11700 (CFLAGS-pthread_cond_wait.c): Likewise.
11701 (CFLAGS-sem_wait.c): Likewise.
11702 (CFLAGS-sem_timedwait.c): Likewise.
11703 (CFLAGS-fcntl.c): Likewise.
11704 (CFLAGS-lockf.c): Likewise.
11705 (CFLAGS-pread.c): Likewise.
11706 (CFLAGS-pread64.c): Likewise.
11707 (CFLAGS-pwrite.c): Likewise.
11708 (CFLAGS-pwrite64.c): Likewise.
11709 (CFLAGS-wait.c): Likewise.
11710 (CFLAGS-waitpid.c): Likewise.
11711 (CFLAGS-sigwait.c): Likewise.
11712 (CFLAGS-msgrcv.c): Likewise.
11713 (CFLAGS-msgsnd.c): Likewise.
11714 (CFLAGS-tcdrain.c): Likewise.
11715 (CFLAGS-open.c): Likewise.
11716 (CFLAGS-open64.c): Likewise.
11717 (CFLAGS-pause.c): Likewise.
11718 (CFLAGS-recv.c): Likewise.
11719 (CFLAGS-send.c): Likewise.
11720 (CFLAGS-accept.c): Likewise.
11721 (CFLAGS-sendto.c): Likewise.
11722 (CFLAGS-connect.c): Likewise.
11723 (CFLAGS-recvfrom.c): Likewise.
11724 (CFLAGS-recvmsg.c): Likewise.
11725 (CFLAGS-sendmsg.c): Likewise.
11726 (CFLAGS-close.c): Likewise.
11727 (CFLAGS-read.c): Likewise.
11728 (CFLAGS-write.c): Likewise.
11729 (CFLAGS-nanosleep.c): Likewise.
11730 (CFLAGS-sigsuspend.c): Likewise.
11731 (CFLAGS-msync.c): Likewise.
11732 (CFLAGS-fdatasync.c): Likewise.
11733 (CFLAGS-fsync.c): Likewise.
11734 (CFLAGS-pt-system.c): Likewise.
11735 (CFLAGS-tst-cleanup2.c): Likewise.
11736 (CFLAGS-tst-cleanupx2.c): Likewise.
11737 (CFLAGS-flockfile.c): Likewise.
11738 (CFLAGS-ftrylockfile.c): Likewise.
11739 (CFLAGS-funlockfile.c): Likewise.
11740 (CFLAGS-tst-initializers1.c): Likewise.
11741 (CFLAGS-tst-initializers1-c89.c): Likewise.
11742 (CFLAGS-tst-initializers1-c99.c): Likewise.
11743 (CFLAGS-tst-initializers1-c11.c): Likewise.
11744 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
11745 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
11746 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
11747 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
11748 (CFLAGS-nscd_getgr_r.c): Likewise.
11749 (CFLAGS-nscd_gethst_r.c): Likewise.
11750 (CFLAGS-nscd_getai.c): Likewise.
11751 (CFLAGS-nscd_initgroups.c): Likewise.
11752 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
11753 (CFLAGS-pause.c): Likewise.
11754 (CFLAGS-pread.c): Likewise.
11755 (CFLAGS-pread64.c): Likewise.
11756 (CFLAGS-pwrite.c): Likewise.
11757 (CFLAGS-pwrite64.c): Likewise.
11758 (CFLAGS-sleep.c): Likewise.
11759 (CFLAGS-wait.c): Likewise.
11760 (CFLAGS-waitid.c): Likewise.
11761 (CFLAGS-waitpid.c): Likewise.
11762 (CFLAGS-getopt.c): Likewise.
11763 (CFLAGS-wordexp.c): Likewise.
11764 (CFLAGS-sysconf.c): Likewise.
11765 (CFLAGS-pathconf.c): Likewise.
11766 (CFLAGS-fpathconf.c): Likewise.
11767 (CFLAGS-spawn.c): Likewise.
11768 (CFLAGS-spawnp.c): Likewise.
11769 (CFLAGS-spawni.c): Likewise.
11770 (CFLAGS-glob.c): Likewise.
11771 (CFLAGS-glob64.c): Likewise.
11772 (CFLAGS-getconf.c): Likewise.
11773 (CFLAGS-nanosleep.c): Likewise.
11774 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
11775 (CFLAGS-getpwent.c): Likewise.
11776 (CFLAGS-getpw.c): Likewise.
11777 (CFLAGS-fgetpwent_r.c): Likewise.
11778 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
11779 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
11780 (CFLAGS-mq_timedreceive.c): Likewise.
11781 (CFLAGS-mq_timedsend.c): Likewise.
11782 (CFLAGS-clock_nanosleep.c): Likewise.
11783 (CFLAGS-librt-cancellation.c): Likewise.
11784 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
11785 (CFLAGS-getspent.c): Likewise.
11786 (CFLAGS-fgetspent.c): Likewise.
11787 (CFLAGS-fgetspent_r.c): Likewise.
11788 (CFLAGS-putspent.c): Likewise.
11789 (CFLAGS-getspnam.c): Likewise.
11790 (CFLAGS-getspnam_r.c): Likewise.
11791 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
11792 (CFLAGS-sigsuspend.c): Likewise.
11793 (CFLAGS-sigtimedwait.c): Likewise.
11794 (CFLAGS-sigwait.c): Likewise.
11795 (CFLAGS-sigwaitinfo.c): Likewise.
11796 (CFLAGS-sigreturn.c): Likewise.
11797 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
11798 (CFLAGS-vfwprintf.c): Likewise.
11799 (CFLAGS-tmpfile.c): Likewise.
11800 (CFLAGS-tmpfile64.c): Likewise.
11801 (CFLAGS-tempname.c): Likewise.
11802 (CFLAGS-psignal.c): Likewise.
11803 (CFLAGS-vprintf.c): Likewise.
11804 (CFLAGS-cuserid.c): Likewise.
11805 (CFLAGS-errlist.c): Likewise.
11806 (CFLAGS-siglist.c): Likewise.
11807 (CFLAGS-scanf15.c): Likewise.
11808 (CFLAGS-scanf17.c): Likewise.
11809 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
11810 (CFLAGS-msort.c): Likewise.
11811 (CFLAGS-qsort.c): Likewise.
11812 (CFLAGS-system.c): Likewise.
11813 (CFLAGS-fmtmsg.c): Likewise.
11814 (CFLAGS-strfmon.c): Likewise.
11815 (CFLAGS-strfmon_l.c): Likewise.
11816 (CFLAGS-strfromd.c): Likewise.
11817 (CFLAGS-strfromf.c): Likewise.
11818 (CFLAGS-strfroml.c): Likewise.
11819 (CFLAGS-tst-bsearch.c): Likewise.
11820 (CFLAGS-tst-qsort.c): Likewise.
11821 (CFLAGS-tst-makecontext2.c): Likewise.
11822 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
11823 (CFLAGS-xnlm_prot.c): Likewise.
11824 (CFLAGS-xrstat.c): Likewise.
11825 (CFLAGS-xyppasswd.c): Likewise.
11826 (CFLAGS-xklm_prot.c): Likewise.
11827 (CFLAGS-xrex.c): Likewise.
11828 (CFLAGS-xsm_inter.c): Likewise.
11829 (CFLAGS-xmount.c): Likewise.
11830 (CFLAGS-xrusers.c): Likewise.
11831 (CFLAGS-xspray.c): Likewise.
11832 (CFLAGS-xnfs_prot.c): Likewise.
11833 (CFLAGS-xrquota.c): Likewise.
11834 (CFLAGS-xkey_prot.c): Likewise.
11835 (CFLAGS-auth_unix.c): Likewise.
11836 (CFLAGS-key_call.c): Likewise.
11837 (CFLAGS-pmap_rmt.c): Likewise.
11838 (CFLAGS-clnt_perr.c): Likewise.
11839 (CFLAGS-openchild.c): Likewise.
11840 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
11841 (CFLAGS-msgsnd.c): Likewise.
11842 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
11843 * time/Makefile (CFLAGS-tzfile.c): Likewise.
11844 (CFLAGS-tzset.c): Likewise.
11845 (CFLAGS-getdate.c): Likewise.
11846 (CFLAGS-test_time.c): Likewise.
11847 (CPPFLAGS-tst-tzname.c): Likewise.
11848 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
11849 (CFLAGS-zic.c): Likewise.
11850 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
11851 (CFLAGS-wcswidth.c): Likewise.
11852 (CFLAGS-wcstol.c): Likewise.
11853 (CFLAGS-wcstoul.c): Likewise.
11854 (CFLAGS-wcstoll.c): Likewise.
11855 (CFLAGS-wcstoull.c): Likewise.
11856 (CFLAGS-wcstod.c): Likewise.
11857 (CFLAGS-wcstold.c): Likewise.
11858 (CFLAGS-wcstof128.c): Likewise.
11859 (CFLAGS-wcstof.c): Likewise.
11860 (CFLAGS-wcstol_l.c): Likewise.
11861 (CFLAGS-wcstoul_l.c): Likewise.
11862 (CFLAGS-wcstoll_l.c): Likewise.
11863 (CFLAGS-wcstoull_l.c): Likewise.
11864 (CFLAGS-wcstod_l.c): Likewise.
11865 (CFLAGS-wcstold_l.c): Likewise.
11866 (CFLAGS-wcstof128_l.c): Likewise.
11867 (CFLAGS-wcstof_l.c): Likewise.
11868 (CPPFLAGS-tst-wchar-h.c): Likewise.
11869 (CPPFLAGS-wcstold_l.c): Likewise.
11871 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
11873 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
11875 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11876 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11878 * manual/tunables.texi (Hardware Capability Tunables): Document
11879 glibc.tune.cached_memopt.
11880 * sysdeps/powerpc/cpu-features.c: New file.
11881 * sysdeps/powerpc/cpu-features.h: New file.
11882 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
11883 _dl_powerpc_cpu_features.
11884 * sysdeps/powerpc/dl-tunables.list: New file.
11885 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
11886 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11887 (INIT_ARCH): Initialize use_aligned_memopt.
11888 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
11889 IS_IN(rtld))]: Restrict dl_platform_init availability and
11890 initialize CPU features used by tunables.
11891 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
11892 Add memcpy-power8-cached.
11893 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
11894 __memcpy_power8_cached.
11895 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
11896 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
11899 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
11901 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
11902 (CFLAGS-noinl-tester.c): Likewise.
11903 (CFLAGS-tst-strlen.c): Likewise.
11904 (CFLAGS-stratcliff.c): Likewise.
11905 (CFLAGS-test-ffs.c): Likewise.
11906 (CFLAGS-tst-inlcall.c): Likewise.
11907 (CFLAGS-tst-xbzero-opt.c): Likewise.
11908 (CFLAGS-memcpy.c): Likewise.
11909 (CFLAGS-wordcopy.c): Likewise.
11911 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11913 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11914 Store r15 on stack and add cfi rule.
11915 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11918 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
11921 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
11924 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
11926 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11927 Add s_sinf-sse2 and s_sinf-fma.
11928 (CFLAGS-s_sinf-fma.c): New.
11929 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
11930 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
11931 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
11933 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
11935 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
11937 2017-12-07 Joseph Myers <joseph@codesourcery.com>
11940 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
11941 part of result to imaginary part of argument if it is zero and the
11942 real part of the argument is not finite.
11943 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
11944 of result to real part of argument if it is zero and the imaginary
11945 part of the argument is not finite.
11947 2017-12-07 Mike FABIAN <mfabian@redhat.com>
11950 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
11951 and to the list of locales to be built for testing.
11952 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
11953 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
11954 and build the collation rules upon that.
11956 2017-12-07 Joseph Myers <joseph@codesourcery.com>
11958 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
11959 * manual/math.texi (Mathematics): Document support for _Float32.
11960 * math/Makefile (test-types): Add float32.
11961 * math/Versions (GLIBC_2.27): Add _Float32 functions.
11962 * stdlib/Versions (GLIBC_2.27): Likewise.
11963 * wcsmbs/Versions (GLIBC_2.27): Likewise.
11964 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
11965 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11966 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11967 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11968 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11969 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11970 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11971 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11972 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11973 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11974 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11975 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11976 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11977 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11978 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11979 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11980 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11981 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11982 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11983 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11984 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
11986 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11987 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11988 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11989 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11990 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
12002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
12004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12008 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12009 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12010 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12011 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12012 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12013 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12014 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12015 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12016 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12017 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
12020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12026 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12027 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12028 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12029 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12030 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12031 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12032 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12033 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
12035 2017-12-06 Joseph Myers <joseph@codesourcery.com>
12037 * stdlib/strtof.c: Include <bits/floatn.h>
12038 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
12039 and later undefine as macro. Define as weak alias if
12041 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
12042 and later undefine as macro. Define as weak alias if
12044 * stdlib/strtof_l.c: Include <bits/floatn.h>
12045 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
12046 and later undefine as macro. Define as weak alias if
12048 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
12049 and later undefine as macro. Define as weak alias if
12052 * stdlib/strfromf.c: Include <bits/floatn.h>.
12053 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
12054 and later undefine as macro and define as weak alias.
12056 * math/test-float32.h: New file.
12058 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
12059 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
12060 (libm_alias_float_other_r): Create f32 alias.
12061 (libm_alias_float_r): Use semicolon before call to
12062 libm_alias_float_other_r.
12064 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
12065 second argument to libm_alias_float_other.
12066 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
12067 second argument to libm_alias_float_other.
12068 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
12069 argument to libm_alias_float_other.
12072 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
12073 real part of result for argument 0 + i * NaN.
12074 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
12075 results for tests of 0 + i * NaN.
12077 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12079 * sysdeps/alpha/fpu/libm-test-ulps: Update.
12081 2017-12-06 David S. Miller <davem@davemloft.net>
12083 * sysdeps/sparc/fpu/libm-test-ulps: Update
12084 exp_{downward,towardzero,upward} ulps.
12086 2017-12-06 Joseph Myers <joseph@codesourcery.com>
12088 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
12091 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
12093 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
12095 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
12097 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
12100 2017-12-06 Mike FABIAN <mfabian@redhat.com>
12103 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
12104 and to the list of locales to be built for testing.
12105 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
12106 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
12107 and build the collation rules upon that.
12109 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12111 * NEWS: Add sinf to list of optimized functions.
12113 2017-12-06 Joseph Myers <joseph@codesourcery.com>
12115 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
12116 (__HAVE_FLOAT32X): Likewise.
12117 * manual/math.texi (Mathematics): Document support for _Float64
12119 * math/Makefile (test-types): Add float64 and float32x.
12120 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
12122 * stdlib/Versions (GLIBC_2.27): Likewise.
12123 * wcsmbs/Versions (GLIBC_2.27): Likewise.
12124 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
12125 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12126 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12127 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12128 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12129 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12130 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12131 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12132 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12133 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12134 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12135 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12136 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12137 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12138 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12139 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12140 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12141 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12142 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12143 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12144 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
12146 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12147 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12148 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12149 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12150 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
12161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
12163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12167 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12168 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12169 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12170 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12171 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12172 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12173 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12174 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12175 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12176 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12177 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
12179 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12181 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12183 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12185 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12186 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12187 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12188 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12189 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12190 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12191 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12192 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
12194 2017-12-05 Joseph Myers <joseph@codesourcery.com>
12196 * bits/floatn-common.h: Include <bits/long-double.h>.
12197 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
12198 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
12199 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
12200 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
12201 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
12202 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
12203 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
12204 (__builtin_huge_valf64): Use __builtin_huge_vall.
12205 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
12206 (__builtin_inff64): Use __builtin_infl.
12207 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
12208 (__builtin_nanf64): Use __builtin_nanl.
12209 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
12210 (__builtin_nansf64): Use __builtin_nansl.
12212 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
12213 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12214 Carlos O'Donnell <carlos@redhat.com>
12216 * elf/dl-tunables.list: Add elision parameters.
12217 * manual/tunables.texi: Add entries about elision tunable.
12218 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
12219 Add callback functions to dynamically enable/disable elision.
12220 Add multiple callbacks functions to set elision parameters.
12221 Deleted __libc_enable_secure check.
12222 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
12223 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
12224 * configure: Regenerated.
12225 * configure.ac: Option enable_lock_elision was deleted.
12226 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
12227 * config.make.in: Remove references to enable_lock_elision.
12228 * manual/install.texi: Elision configure option was removed.
12229 * INSTALL: Regenerated to remove enable_lock_elision.
12231 Disable elision so it can verify error case for destroying a mutex.
12232 * sysdeps/powerpc/nptl/elide.h:
12233 Cleanup ENABLE_LOCK_ELISION check.
12234 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
12235 * sysdeps/s390/configure: Regenerated.
12236 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
12237 * nptl/tst-mutex8.c:
12238 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
12239 * sysdeps/powerpc/powerpc32/sysdep.h:
12240 Deleted all ENABLE_LOCK_ELISION checks.
12241 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12242 * sysdeps/powerpc/sysdep.h: Likewise.
12243 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
12244 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
12245 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12246 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12247 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12248 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
12249 enable-lock-elision.
12251 2017-12-05 Joseph Myers <joseph@codesourcery.com>
12253 * stdlib/strtod.c: Include <bits/floatn.h>.
12254 (BUILD_DOUBLE): New macro.
12255 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
12256 (strtof64): Define and later undefine as macro. Define as weak
12257 alias if [!USE_WIDE_CHAR].
12258 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
12259 (wcstof64): Define and later undefine as macro. Define as weak
12260 alias if [USE_WIDE_CHAR].
12261 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
12262 (strtof32x): Define and later undefine as macro. Define as weak
12263 alias if [!USE_WIDE_CHAR].
12264 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
12265 (wcstof32x): Define and later undefine as macro. Define as weak
12266 alias if [USE_WIDE_CHAR].
12267 * stdlib/strtod_l.c: Include <bits/floatn.h>.
12268 (BUILD_DOUBLE): New macro.
12269 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
12270 (strtof64_l): Define and later undefine as macro. Define as weak
12271 alias if [!USE_WIDE_CHAR].
12272 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
12273 (wcstof64_l): Define and later undefine as macro. Define as weak
12274 alias if [USE_WIDE_CHAR].
12275 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
12276 (strtof32x_l): Define and later undefine as macro. Define as weak
12277 alias if [!USE_WIDE_CHAR].
12278 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
12279 (wcstof32x_l): Define and later undefine as macro. Define as weak
12280 alias if [USE_WIDE_CHAR].
12282 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12284 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
12285 (reduced): Use ones as double instead of integer.
12287 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
12289 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
12291 2017-12-05 Joseph Myers <joseph@codesourcery.com>
12293 * stdlib/strfromd.c: Include <bits/floatn.h>.
12294 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
12295 and later undefine as macro and define as weak alias.
12296 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
12299 * math/test-float32x.h: New file.
12300 * math/test-float64.h: Likewise.
12302 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
12303 (libm_alias_double_other_r_f64): New macro.
12304 (libm_alias_double_other_r_f32x): Likewise.
12305 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
12306 libm_alias_double_other_r_f32x.
12307 (libm_alias_double_r): Use semicolon before call to
12308 libm_alias_double_other_r.
12309 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
12311 (libm_alias_double_other_r_f64): New macro.
12312 (libm_alias_double_other_r_f32x): Likewise.
12313 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
12314 libm_alias_double_other_r_f32x.
12316 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
12318 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
12320 (SINF_FUNC): Likewise. Replace floor with simple casts.
12322 2017-12-05 Mike FABIAN <mfabian@redhat.com>
12325 * localedata/Makefile: Add et_EE.UTF-8 to test-input
12326 and to the list of locales to be built for testing.
12327 * localedata/et_EE.UTF-8.in: New file for testing the collation.
12328 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
12329 and build the collation rules upon that.
12331 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
12333 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
12334 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
12335 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
12336 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
12337 instead of __insn__xxx.
12338 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
12339 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
12340 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
12341 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
12342 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
12343 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
12345 2017-12-05 Florian Weimer <fweimer@redhat.com>
12347 Linux: Implement interfaces for memory protection keys
12348 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
12350 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
12351 * support/xunistd.h (xsysconf): Declare.
12352 * support/xraise.c: New file.
12353 * support/xsigaction.c: Likewise.
12354 * support/xsignal.c: Likewise.
12355 * support/xsysconf.c: Likewise.
12356 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
12357 pkey_set, pkey_get, pkey_mprotect.
12358 [misc] (tests): Add tst-pkey.
12359 (tst-pkey): Link with -lpthread.
12360 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
12361 pkey_free, pkey_set, pkey_get, pkey_mprotect.
12362 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
12363 (PKEY_DISABLE_WRITE): Define.
12364 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
12366 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
12367 (SEGV_PKUERR): Add.
12368 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
12369 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
12370 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
12371 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
12373 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
12374 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
12375 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
12376 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
12377 * sysdeps/unix/sysv/linux/**.abilist: Update.
12379 2017-12-05 Florian Weimer <fweimer@redhat.com>
12381 * support/tst-test_compare.c (subprocess): Use long long instead
12382 of long argument for consistent type width across 32-bit and
12383 64-bit architectures.
12384 (do_test): Adjust expected output.
12386 2017-12-05 Joseph Myers <joseph@codesourcery.com>
12388 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
12389 (cosf): Define using libm_alias_float.
12390 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
12391 (fabsf): Define using libm_alias_float.
12392 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
12393 (fmaf): Define using libm_alias_float.
12394 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
12395 (rintf): Define using libm_alias_float.
12396 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
12397 (sinf): Define using libm_alias_float.
12398 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
12399 <libm-alias-float.h>.
12400 (modff): Define using libm_alias_float.
12401 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
12402 <libm-alias-float.h>.
12403 (logbf): Define using libm_alias_float.
12404 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
12405 <libm-alias-float.h>.
12406 (ceilf): Define using libm_alias_float.
12407 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
12408 <libm-alias-float.h>.
12409 (copysignf): Define using libm_alias_float.
12410 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
12411 <libm-alias-float.h>.
12412 (floorf): Define using libm_alias_float.
12413 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
12414 <libm-alias-float.h>.
12415 (llrintf): Define using libm_alias_float.
12416 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
12417 <libm-alias-float.h>.
12418 (llroundf): Define using libm_alias_float.
12419 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
12420 <libm-alias-float.h>.
12421 (lrintf): Define using libm_alias_float.
12422 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
12423 <libm-alias-float.h>.
12424 (lroundf): Define using libm_alias_float.
12425 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
12426 <libm-alias-float.h>.
12427 (nearbyintf): Define using libm_alias_float.
12428 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
12429 <libm-alias-float.h>.
12430 (rintf): Define using libm_alias_float.
12431 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
12432 <libm-alias-float.h>.
12433 (roundf): Define using libm_alias_float.
12434 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
12435 <libm-alias-float.h>.
12436 (truncf): Define using libm_alias_float.
12437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
12438 Include <libm-alias-float.h>.
12439 (ceilf): Define using libm_alias_float.
12440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
12441 Include <libm-alias-float.h>.
12442 (copysignf): Define using libm_alias_float.
12443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
12444 Include <libm-alias-float.h>.
12445 (floorf): Define using libm_alias_float.
12446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
12447 Include <libm-alias-float.h>.
12448 (llrintf): Define using libm_alias_float.
12449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
12450 Include <libm-alias-float.h>.
12451 (llroundf): Define using libm_alias_float.
12452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
12453 Include <libm-alias-float.h>.
12454 (logbf): Define using libm_alias_float.
12455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
12456 Include <libm-alias-float.h>.
12457 (lrintf): Define using libm_alias_float.
12458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
12459 Include <libm-alias-float.h>.
12460 (lroundf): Define using libm_alias_float.
12461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
12462 Include <libm-alias-float.h>.
12463 (modff): Define using libm_alias_float.
12464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
12465 Include <libm-alias-float.h>.
12466 (roundf): Define using libm_alias_float.
12467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
12468 Include <libm-alias-float.h>.
12469 (truncf): Define using libm_alias_float.
12470 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
12471 <libm-alias-float.h>.
12472 (llrintf): Define using libm_alias_float.
12473 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
12474 <libm-alias-float.h>.
12475 (llroundf): Define using libm_alias_float.
12476 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
12477 <libm-alias-float.h>.
12478 (ceilf): Define using libm_alias_float.
12479 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
12480 <libm-alias-float.h>.
12481 (floorf): Define using libm_alias_float.
12482 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
12483 <libm-alias-float.h>.
12484 (llroundf): Define using libm_alias_float.
12485 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
12486 <libm-alias-float.h>.
12487 (lroundf): Define using libm_alias_float.
12488 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
12489 <libm-alias-float.h>.
12490 (roundf): Define using libm_alias_float.
12491 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
12492 <libm-alias-float.h>.
12493 (truncf): Define using libm_alias_float.
12494 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
12495 <libm-alias-float.h>.
12496 (copysignf): Define using libm_alias_float.
12497 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
12498 <libm-alias-float.h>.
12499 (llrintf): Define using libm_alias_float.
12500 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
12501 <libm-alias-float.h>.
12502 (llroundf): Define using libm_alias_float.
12503 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
12504 <libm-alias-float.h>.
12505 (lrintf): Define using libm_alias_float.
12506 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
12507 <libm-alias-float.h>.
12508 (lroundf): Define using libm_alias_float.
12509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
12510 <libm-alias-float.h>.
12511 (ceilf): Define using libm_alias_float.
12512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
12513 <libm-alias-float.h>.
12514 (copysignf): Define using libm_alias_float.
12515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
12516 <libm-alias-float.h>.
12517 (cosf): Define using libm_alias_float.
12518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
12519 <libm-alias-float.h>.
12520 (floorf): Define using libm_alias_float.
12521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
12522 <libm-alias-float.h>.
12523 (llrintf): Define using libm_alias_float.
12524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
12525 <libm-alias-float.h>.
12526 (llroundf): Define using libm_alias_float.
12527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
12528 <libm-alias-float.h>.
12529 (logbf): Define using libm_alias_float.
12530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
12531 <libm-alias-float.h>.
12532 (modff): Define using libm_alias_float.
12533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
12534 <libm-alias-float.h>.
12535 (roundf): Define using libm_alias_float.
12536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
12537 <libm-alias-float.h>.
12538 (sinf): Define using libm_alias_float.
12539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
12540 <libm-alias-float.h>.
12541 (truncf): Define using libm_alias_float.
12542 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
12543 <libm-alias-float.h>.
12544 (ceilf): Define using libm_alias_float.
12545 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
12546 <libm-alias-float.h>.
12547 (copysignf): Define using libm_alias_float.
12548 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
12549 <libm-alias-float.h>.
12550 (floorf): Define using libm_alias_float.
12551 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
12552 <libm-alias-float.h>.
12553 (llrintf): Define using libm_alias_float.
12554 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
12555 <libm-alias-float.h>.
12556 (llroundf): Define using libm_alias_float.
12557 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
12558 <libm-alias-float.h>.
12559 (nearbyintf): Define using libm_alias_float.
12560 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
12561 <libm-alias-float.h>.
12562 (rintf): Define using libm_alias_float.
12563 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
12564 <libm-alias-float.h>.
12565 (roundf): Define using libm_alias_float.
12566 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
12567 <libm-alias-float.h>.
12568 (truncf): Define using libm_alias_float.
12569 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
12570 <libm-alias-float.h>.
12571 (ceilf): Define using libm_alias_float.
12572 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
12573 <libm-alias-float.h>.
12574 (floorf): Define using libm_alias_float.
12575 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
12576 <libm-alias-float.h>.
12577 (llroundf): Define using libm_alias_float.
12578 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
12579 <libm-alias-float.h>.
12580 (roundf): Define using libm_alias_float.
12581 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
12582 <libm-alias-float.h>.
12583 (truncf): Define using libm_alias_float.
12584 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
12585 <libm-alias-float.h>.
12586 (copysignf): Define using libm_alias_float.
12587 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
12588 <libm-alias-float.h>.
12589 (llrintf): Define using libm_alias_float.
12590 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
12591 <libm-alias-float.h>.
12592 (llroundf): Define using libm_alias_float.
12593 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
12594 <libm-alias-float.h>.
12595 (cosf): Define using libm_alias_float.
12596 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
12597 <libm-alias-float.h>.
12598 (llrintf): Define using libm_alias_float.
12599 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
12600 <libm-alias-float.h>.
12601 (llroundf): Define using libm_alias_float.
12602 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
12603 <libm-alias-float.h>.
12604 (sinf): Define using libm_alias_float.
12606 2017-12-04 Florian Weimer <fweimer@redhat.com>
12608 * support/check.h (TEST_COMPARE): Define.
12609 (support_test_compare_failure): Declare.
12610 * support/Makefile (libsupport-routines): Add
12611 support_test_compare_failure.
12612 (tests): Add tst-test_compare.
12613 * support /support_test_compare_failure.c: New file.
12614 * support/tst-test_compare.c: Likewise.
12616 2017-12-04 Mike FABIAN <mfabian@redhat.com>
12619 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
12620 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
12621 available, this rewrite of the collation rules does reproduce
12622 the test file in the same order.
12624 2017-12-04 Mike FABIAN <mfabian@redhat.com>
12627 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
12628 digraphs in the month and day names. Using single code points for
12629 digraphs is deprecated. While there are dedicated Unicode
12630 codepoints, for the digraphs, these are included for backwards
12631 compatibility and modern texts use a sequence of Basic Latin
12632 characters. See: https://www.unicode.org/faq/ligature_digraph.html
12633 This makes the month and day names agree exactly with CLDR now,
12634 CLDR does not use the single code points for the digraphs either.
12636 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
12638 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
12640 2017-12-04 Joseph Myers <joseph@codesourcery.com>
12642 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
12645 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
12647 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
12648 Define only for libc.so.
12650 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
12652 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12653 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
12654 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
12655 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
12656 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12658 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12661 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
12663 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
12666 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
12667 PREINIT_FUNCTION_WEAK is nonzero.
12668 (gmon_initializer): New function. Put procedure label for it in
12669 .init_array section.
12670 (_init): Don't call PREINIT_FUNCTION.
12671 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
12672 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
12673 value when map argument is null.
12675 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
12676 depi instruction from PIC pc-relative sequence.
12677 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
12678 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
12679 (elf_machine_load_address): Likewise.
12680 (elf_machine_runtime_setup): Likewise.
12682 2017-12-02 Joseph Myers <joseph@codesourcery.com>
12684 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
12685 <libm-alias-double.h>.
12686 (logb): Define using libm_alias_double.
12687 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
12688 <libm-alias-double.h>.
12689 (copysign): Define using libm_alias_double.
12690 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
12691 <libm-alias-double.h>.
12692 (llrint): Define using libm_alias_double.
12693 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
12694 <libm-alias-double.h>.
12695 (llround): Define using libm_alias_double.
12696 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
12697 <libm-alias-double.h>.
12698 (lrint): Define using libm_alias_double.
12699 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
12700 <libm-alias-double.h>.
12701 (lround): Define using libm_alias_double.
12702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12703 Include <libm-alias-double.h>.
12704 (copysign): Define using libm_alias_double.
12705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
12706 Include <libm-alias-double.h>.
12707 (llrint): Define using libm_alias_double.
12708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
12709 Include <libm-alias-double.h>.
12710 (llround): Define using libm_alias_double.
12711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
12712 <libm-alias-double.h>.
12713 (logb): Define using libm_alias_double.
12714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
12715 Include <libm-alias-double.h>.
12716 (lrint): Define using libm_alias_double.
12717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
12718 Include <libm-alias-double.h>.
12719 (lround): Define using libm_alias_double.
12720 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
12721 <libm-alias-double.h>.
12722 (llrint): Define using libm_alias_double.
12723 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
12724 <libm-alias-double.h>.
12725 (llround): Define using libm_alias_double.
12726 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
12727 <libm-alias-double.h>.
12728 (llround): Define using libm_alias_double.
12729 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
12730 <libm-alias-double.h>.
12731 (lround): Define using libm_alias_double.
12732 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
12733 <libm-alias-double.h>.
12734 (copysign): Define using libm_alias_double.
12735 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
12736 <libm-alias-double.h>.
12737 (llrint): Define using libm_alias_double.
12738 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
12739 <libm-alias-double.h>.
12740 (llround): Define using libm_alias_double.
12741 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
12742 <libm-alias-double.h>.
12743 (lrint): Define using libm_alias_double.
12744 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
12745 <libm-alias-double.h>.
12746 (lround): Define using libm_alias_double.
12747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
12748 <libm-alias-double.h>.
12749 (copysign): Define using libm_alias_double.
12750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
12751 <libm-alias-double.h>.
12752 (llrint): Define using libm_alias_double.
12754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
12755 <libm-alias-double.h>.
12756 (llround): Define using libm_alias_double.
12757 (lround): Likewise.
12758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
12759 <libm-alias-double.h>.
12760 (logb): Define using libm_alias_double.
12761 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
12762 <libm-alias-double.h>.
12763 (copysign): Define using libm_alias_double.
12764 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
12765 <libm-alias-double.h>.
12766 (llrint): Define using libm_alias_double.
12768 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
12769 <libm-alias-double.h>.
12770 (llround): Define using libm_alias_double.
12771 (lround): Likewise.
12772 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
12773 <libm-alias-double.h>.
12774 (llround): Define using libm_alias_double.
12775 (lround): Likewise.
12776 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
12777 <libm-alias-double.h>.
12778 (copysign): Define using libm_alias_double.
12779 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
12780 <libm-alias-double.h>.
12781 (llrint): Define using libm_alias_double.
12783 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
12784 <libm-alias-double.h>.
12785 (llround): Define using libm_alias_double.
12786 (lround): Likewise.
12787 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
12788 <libm-alias-double.h>.
12789 (llrint): Define using libm_alias_double.
12791 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
12792 <libm-alias-double.h>.
12793 (llround): Define using libm_alias_double.
12794 (lround): Likewise.
12796 2017-12-01 Joseph Myers <joseph@codesourcery.com>
12798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
12799 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
12800 compat symbol based on llround.
12802 * sysdeps/powerpc/power7/fpu/s_logb.c
12803 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
12804 symbol based on __logb, not on logb.
12805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
12806 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
12807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
12808 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
12810 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
12811 (rint): Define using libm_alias_double.
12812 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
12813 <libm-alias-double.h>.
12814 (modf): Define using libm_alias_double.
12815 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
12816 <libm-alias-double.h>.
12817 (ceil): Define using libm_alias_double.
12818 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
12819 <libm-alias-double.h>.
12820 (floor): Define using libm_alias_double.
12821 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
12822 <libm-alias-double.h>.
12823 (nearbyint): Define using libm_alias_double.
12824 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
12825 <libm-alias-double.h>.
12826 (rint): Define using libm_alias_double.
12827 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
12828 <libm-alias-double.h>.
12829 (round): Define using libm_alias_double.
12830 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
12831 <libm-alias-double.h>.
12832 (trunc): Define using libm_alias_double.
12833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
12834 <libm-alias-double.h>.
12835 (ceil): Define using libm_alias_double.
12836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
12837 Include <libm-alias-double.h>.
12838 (floor): Define using libm_alias_double.
12839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
12840 <libm-alias-double.h>.
12841 (modf): Define using libm_alias_double.
12842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
12843 Include <libm-alias-double.h>.
12844 (round): Define using libm_alias_double.
12845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
12846 Include <libm-alias-double.h>.
12847 (trunc): Define using libm_alias_double.
12848 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
12849 <libm-alias-double.h>.
12850 (ceil): Define using libm_alias_double.
12851 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
12852 <libm-alias-double.h>.
12853 (floor): Define using libm_alias_double.
12854 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
12855 <libm-alias-double.h>.
12856 (round): Define using libm_alias_double.
12857 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
12858 <libm-alias-double.h>.
12859 (trunc): Define using libm_alias_double.
12860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
12861 <libm-alias-double.h>.
12862 (ceil): Define using libm_alias_double.
12863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
12864 <libm-alias-double.h>.
12865 (floor): Define using libm_alias_double.
12866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
12867 <libm-alias-double.h>.
12868 (modf): Define using libm_alias_double.
12869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
12870 <libm-alias-double.h>.
12871 (round): Define using libm_alias_double.
12872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
12873 <libm-alias-double.h>.
12874 (trunc): Define using libm_alias_double.
12875 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
12876 <libm-alias-double.h>.
12877 (ceil): Define using libm_alias_double.
12878 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
12879 <libm-alias-double.h>.
12880 (floor): Define using libm_alias_double.
12881 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
12882 <libm-alias-double.h>.
12883 (nearbyint): Define using libm_alias_double.
12884 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
12885 <libm-alias-double.h>.
12886 (rint): Define using libm_alias_double.
12887 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
12888 <libm-alias-double.h>.
12889 (round): Define using libm_alias_double.
12890 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
12891 <libm-alias-double.h>.
12892 (trunc): Define using libm_alias_double.
12893 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
12894 <libm-alias-double.h>.
12895 (ceil): Define using libm_alias_double.
12896 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
12897 <libm-alias-double.h>.
12898 (floor): Define using libm_alias_double.
12899 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
12900 <libm-alias-double.h>.
12901 (round): Define using libm_alias_double.
12902 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
12903 <libm-alias-double.h>.
12904 (trunc): Define using libm_alias_double.
12906 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
12907 (fabs): Define using libm_alias_double.
12908 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
12909 (fma): Define using libm_alias_double.
12910 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
12911 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
12912 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
12913 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
12915 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12917 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
12919 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
12920 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
12921 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
12923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
12924 due redirect macro.
12926 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
12928 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
12930 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12932 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
12933 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
12934 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
12935 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
12937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12938 (libm-sysdep_routines): Add s_nearbyintf-generic and
12939 s_nearbyint-generic.
12940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
12942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
12943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
12945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
12947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
12949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
12952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12953 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
12954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
12956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
12957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
12959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
12960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
12961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12964 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
12965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
12967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
12968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
12970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
12971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
12972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
12974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12975 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
12976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
12978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
12979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
12981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
12982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
12983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12986 (sysdep_calls): New rule.
12987 (sysdep_routines): Use sysdep_calls as base.
12988 (libm-sysdep_routines): Add generic rule for symbols shared with
12989 libc. Add s_copysign-generic and s_copysign-generic objects.
12990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
12992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
12993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
12995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
12996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
12997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
12999 2017-12-01 Mike FABIAN <mfabian@redhat.com>
13002 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
13003 the list of locales to be built for testing.
13004 * localedata/is_IS.UTF-8.in: New file.
13005 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
13008 2017-12-01 Joseph Myers <joseph@codesourcery.com>
13010 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
13011 <libm-alias-float.h>.
13012 (fabsf): Define using libm_alias_float.
13014 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
13016 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
13018 2017-11-30 Joseph Myers <joseph@codesourcery.com>
13020 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
13021 <libm-alias-float.h>.
13022 (fabsf): Define using libm_alias_float.
13023 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
13024 <libm-alias-float.h>.
13025 (lrintf): Define using libm_alias_float.
13026 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
13027 <libm-alias-float.h>.
13028 (rintf): Define using libm_alias_float.
13030 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
13031 <libm-alias-double.h>.
13032 (fabs): Define using libm_alias_double.
13033 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
13034 <libm-alias-double.h>.
13035 (lrint): Define using libm_alias_double.
13036 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
13037 <libm-alias-double.h>.
13038 (rint): Define using libm_alias_double.
13040 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
13041 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
13042 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
13043 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
13044 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
13045 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
13046 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
13047 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
13048 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
13049 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
13050 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
13051 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
13052 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
13053 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
13054 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
13055 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
13056 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
13057 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
13059 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
13060 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
13061 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
13063 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
13064 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
13065 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
13067 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
13068 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
13069 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
13070 s_expm1_template.c.
13071 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
13072 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
13073 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
13075 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
13076 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
13077 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
13078 s_floor_template.c.
13079 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
13080 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
13081 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
13082 s_frexp_template.c.
13083 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
13084 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
13085 s_lrint_template.c.
13086 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
13087 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
13088 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
13090 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
13091 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
13092 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
13093 s_nearbyint_template.c.
13094 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
13095 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
13096 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
13097 s_remquo_template.c.
13098 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
13099 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
13100 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
13102 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
13103 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
13104 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
13106 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
13107 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
13108 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
13109 s_sincos_template.c.
13110 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
13111 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
13112 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
13114 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
13115 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
13116 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
13118 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
13119 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
13120 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
13121 s_trunc_template.c.
13122 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
13123 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
13124 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
13125 s_atan.c instead of including s_atan.c.
13126 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
13127 s_atanf.c instead of including s_atanf.c.
13128 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
13129 s_atanl.c instead of including s_atanl.c.
13130 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
13131 instead of s_atan.c.
13132 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
13133 instead of s_atanf.c.
13134 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
13135 instead of s_atanl.c.
13137 * scripts/update-copyrights: Do not handle intl/plural.c
13140 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
13143 * configure.ac (BISON): Require to be present.
13144 * configure: Regenerated.
13145 * intl/Makefile (generated): Add plural.c.
13146 [$(BISON) != no]: Make code unconditional.
13147 (plural.c): Change rule to $(objpfx)plural.c.
13148 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
13149 * intl/plural.c: Remove.
13150 * manual/install.texi (Tools for Compilation): Document bison as
13152 * INSTALL: Regenerated.
13154 2017-11-30 Joseph Myers <joseph@codesourcery.com>
13156 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
13157 <libm-alias-double.h>.
13158 (llrint): Define using libm_alias_double.
13159 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
13160 <libm-alias-float.h>.
13161 (llrintf): Define using libm_alias_float.
13162 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
13163 <libm-alias-ldouble.h>.
13164 (llrintl): Define using libm_alias_ldouble.
13166 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
13167 declare_mgen_alias instead of weak_alias.
13168 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
13169 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
13170 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
13172 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13174 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
13176 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
13177 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
13178 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
13180 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
13181 Add submul_1-generic.
13182 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
13183 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
13184 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
13186 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
13187 Add addmul_1-generic.
13188 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
13189 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
13190 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
13192 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
13194 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
13195 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
13196 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
13198 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
13200 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
13201 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
13202 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
13204 2017-11-30 Mike FABIAN <mfabian@redhat.com>
13206 According to CLDR, collation rules for Serbian and Bosnian
13207 should be the same as for Croatian.
13210 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
13211 and to the list of locales to be built for testing.
13212 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
13213 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
13214 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
13215 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
13217 2017-11-30 Mike FABIAN <mfabian@redhat.com>
13219 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
13220 to make test case pass.
13221 * localedata/hr_HR.UTF-8.in: Add more test strings.
13223 2017-11-30 Mike FABIAN <mfabian@redhat.com>
13225 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
13227 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
13229 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
13230 the list of locales to built for testing.
13231 * localedata/hr_HR.UTF-8.in: New file.
13233 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
13236 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
13238 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
13239 CLDR (except use ligatures for the digraphs, CLDR does not use
13240 the ligatures), add first_workday, some fixes in the date and time
13242 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
13244 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
13245 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
13246 Add int_p_cs_precedes and int_n_cs_precedes.
13247 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
13248 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
13250 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
13251 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
13253 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
13254 and lang_lib. Change postal_fmt.
13256 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
13258 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
13260 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
13261 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
13262 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
13263 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
13264 * sysdeps/generic/setjmpP.h: New file.
13265 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
13266 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
13267 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
13268 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
13269 Add jmp_buf-ssp.sym.
13270 (tests): Add tst-saved_mask-1.
13272 2017-11-30 Arjun Shankar <arjun@redhat.com>
13276 * malloc/malloc.c (__libc_malloc): Use checked_request2size
13277 instead of request2size.
13279 2017-11-30 Joseph Myers <joseph@codesourcery.com>
13281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
13282 (__lllrint): Remove alias.
13283 (lllrint): Likewise.
13284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
13285 (__lllrintf): Likewise.
13286 (lllrintf): Likewise.
13288 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
13289 <libm-alias-float.h>.
13290 (copysignf): Define using libm_alias_float.
13291 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
13292 <libm-alias-float.h>.
13293 (fabsf): Define using libm_alias_float.
13294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13295 Include <libm-alias-float.h>.
13296 (copysignf): Define using libm_alias_float.
13297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
13298 <libm-alias-float.h>.
13299 (fabsf): Define using libm_alias_float.
13300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
13301 <libm-alias-float.h>.
13302 (fdimf): Define using libm_alias_float.
13303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
13304 <libm-alias-float.h>.
13305 (fmaf): Define using libm_alias_float.
13306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
13307 <libm-alias-float.h>.
13308 (llrintf): Define using libm_alias_float.
13309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
13310 Include <libm-alias-float.h>.
13311 (nearbyintf): Define using libm_alias_float.
13312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
13313 <libm-alias-float.h>.
13314 (rintf): Define using libm_alias_float.
13315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
13316 <libm-alias-float.h>.
13317 (llrintf): Define using libm_alias_float.
13318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
13319 <libm-alias-float.h>.
13320 (lrintf): Define using libm_alias_float.
13321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
13322 <libm-alias-float.h>.
13323 (nearbyintf): Define using libm_alias_float.
13324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
13325 <libm-alias-float.h>.
13326 (rintf): Define using libm_alias_float.
13327 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
13328 <libm-alias-float.h>.
13329 (ceilf): Define using libm_alias_float.
13330 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
13331 <libm-alias-float.h>.
13332 (floorf): Define using libm_alias_float.
13333 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
13334 <libm-alias-float.h>.
13335 (fmaf): Define using libm_alias_float.
13336 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
13337 <libm-alias-float.h>.
13338 (lrintf): Define using libm_alias_float.
13339 (llrintf): Likewise.
13340 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
13341 <libm-alias-float.h>.
13342 (nearbyintf): Define using libm_alias_float.
13343 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
13344 <libm-alias-float.h>.
13345 (rintf): Define using libm_alias_float.
13346 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
13347 <libm-alias-float.h>.
13348 (truncf): Define using libm_alias_float.
13349 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
13350 <libm-alias-float.h>.
13351 (copysignf): Define using libm_alias_float.
13352 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
13353 <libm-alias-float.h>.
13354 (fabsf): Define using libm_alias_float.
13355 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
13356 <libm-alias-float.h>.
13357 (lrintf): Define using libm_alias_float.
13358 (llrintf): Likewise.
13359 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
13360 <libm-alias-float.h>.
13361 (nearbyintf): Define using libm_alias_float.
13362 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
13363 <libm-alias-float.h>.
13364 (rintf): Define using libm_alias_float.
13366 2017-11-29 Joseph Myers <joseph@codesourcery.com>
13368 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
13369 <libm-alias-double.h>.
13370 (copysign): Define using libm_alias_double.
13371 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
13372 <libm-alias-double.h>.
13373 (fabs): Define using libm_alias_double.
13374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13375 Include <libm-alias-double.h>.
13376 (copysign): Define using libm_alias_double.
13377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
13378 <libm-alias-double.h>.
13379 (fabs): Define using libm_alias_double.
13380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
13381 <libm-alias-double.h>.
13382 (fdim): Define using libm_alias_double.
13383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
13384 <libm-alias-double.h>.
13385 (fma): Define using libm_alias_double.
13386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
13387 <libm-alias-double.h>.
13388 (llrint): Define using libm_alias_double.
13389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
13390 Include <libm-alias-double.h>.
13391 (nearbyint): Define using libm_alias_double.
13392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
13393 <libm-alias-double.h>.
13394 (rint): Define using libm_alias_double.
13395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
13396 <libm-alias-double.h>.
13397 (fabs): Define using libm_alias_double.
13398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
13399 <libm-alias-double.h>.
13400 (llrint): Define using libm_alias_double.
13401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
13402 <libm-alias-double.h>.
13403 (nearbyint): Define using libm_alias_double.
13404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
13405 <libm-alias-double.h>.
13406 (rint): Define using libm_alias_double.
13407 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
13408 <libm-alias-double.h>.
13409 (ceil): Define using libm_alias_double.
13410 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
13411 <libm-alias-double.h>.
13412 (floor): Define using libm_alias_double.
13413 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
13414 <libm-alias-double.h>.
13415 (fma): Define using libm_alias_double.
13416 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
13417 <libm-alias-double.h>.
13418 (lrint): Define using libm_alias_double.
13419 (llrint): Likewise.
13420 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
13421 <libm-alias-double.h>.
13422 (nearbyint): Define using libm_alias_double.
13423 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
13424 <libm-alias-double.h>.
13425 (rint): Define using libm_alias_double.
13426 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
13427 <libm-alias-double.h>.
13428 (trunc): Define using libm_alias_double.
13429 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
13430 <libm-alias-double.h>.
13431 (copysign): Define using libm_alias_double.
13432 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
13433 <libm-alias-double.h>.
13434 (fabs): Define using libm_alias_double.
13435 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
13436 <libm-alias-double.h>.
13437 (lrint): Define using libm_alias_double.
13438 (llrint): Likewise.
13439 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
13440 <libm-alias-double.h>.
13441 (nearbyint): Define using libm_alias_double.
13442 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
13443 <libm-alias-double.h>.
13444 (rint): Define using libm_alias_double.
13447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
13449 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
13451 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
13452 SPARC --disable-multi-arch glibc variants.
13454 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
13455 <libm-alias-float.h>.
13456 (exp2f): Define using libm_alias_float, or libm_alias_float_other
13458 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
13459 <libm-alias-float.h>.
13460 (exp2f): Define using libm_alias_float, or libm_alias_float_other
13462 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
13463 <libm-alias-float.h>.
13464 (exp2f): Define using libm_alias_float, or libm_alias_float_other
13466 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
13467 <libm-alias-float.h>.
13468 (exp2f): Define using libm_alias_float, or libm_alias_float_other
13470 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
13471 <libm-alias-float.h>.
13472 (exp2f): Define using libm_alias_float, or libm_alias_float_other
13474 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
13475 <libm-alias-float.h>.
13476 (ceilf): Define using libm_alias_float.
13477 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
13478 <libm-alias-float.h>.
13479 (floorf): Define using libm_alias_float.
13480 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
13481 <libm-alias-float.h>.
13482 (fmaf): Define using libm_alias_float.
13483 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
13484 <libm-alias-float.h>.
13485 (nearbyintf): Define using libm_alias_float.
13486 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
13487 <libm-alias-float.h>.
13488 (rintf): Define using libm_alias_float.
13489 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
13490 <libm-alias-float.h>.
13491 (truncf): Define using libm_alias_float.
13492 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
13493 (copysignf): Define using libm_alias_float.
13494 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
13495 (cosf): Define using libm_alias_float.
13496 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
13497 (fabsf): Define using libm_alias_float.
13498 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
13499 (fmaxf): Define using libm_alias_float.
13500 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
13501 (fminf): Define using libm_alias_float.
13502 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
13503 (llrintf): Define using libm_alias_float.
13504 [!__ILP32__] (lrintf): Likewise.
13505 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
13506 (sincosf): Define using libm_alias_float.
13507 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
13508 (sinf): Define using libm_alias_float.
13509 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
13510 (lrintf): Define using libm_alias_float.
13512 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
13513 <libm-alias-double.h>.
13514 (atan): Define using libm_alias_double.
13515 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
13516 <libm-alias-double.h>.
13517 (ceil): Define using libm_alias_double.
13518 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
13519 <libm-alias-double.h>.
13520 (floor): Define using libm_alias_double.
13521 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
13522 <libm-alias-double.h>.
13523 (fma): Define using libm_alias_double.
13524 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
13525 <libm-alias-double.h>.
13526 (nearbyint): Define using libm_alias_double.
13527 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
13528 <libm-alias-double.h>.
13529 (rint): Define using libm_alias_double.
13530 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
13531 <libm-alias-double.h>.
13532 (sin): Define using libm_alias_double.
13534 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
13535 <libm-alias-double.h>.
13536 (tan): Define using libm_alias_double.
13537 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
13538 <libm-alias-double.h>.
13539 (trunc): Define using libm_alias_double.
13540 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
13541 (copysign): Define using libm_alias_double.
13542 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
13543 (fabs): Define using libm_alias_double.
13544 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
13545 (fmax): Define using libm_alias_double.
13546 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
13547 (fmin): Define using libm_alias_double.
13548 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
13549 (llrint): Define using libm_alias_double.
13550 [!__ILP32__] (lrint): Likewise.
13551 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
13552 (lrint): Define using libm_alias_double.
13554 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13556 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
13557 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
13559 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
13560 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
13561 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
13562 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
13563 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
13564 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13566 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
13567 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
13569 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
13570 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
13571 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
13572 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
13573 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
13574 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13576 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
13577 (libm-sysdep_routines): Add s_nearbyint-generic and
13578 s_nearbyintf-generic objects.
13579 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
13580 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
13581 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
13582 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
13583 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
13584 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
13586 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
13587 Add s_finitef-generic and s_finite-generic objects.
13588 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
13589 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
13590 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
13591 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
13592 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
13593 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
13595 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
13596 Add s_isinff-generic and s_isinf-generic objects.
13597 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
13598 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
13599 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
13600 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
13601 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
13602 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13604 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
13605 Add s_isnanf-generic and s_isnan-generic objects.
13606 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
13607 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
13608 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
13609 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
13610 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
13611 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13613 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
13615 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
13617 (sysdep_routines): Use sysdep_calls as base.
13618 (libm-sysdep_routines): Add generic rule for symbols shared with
13619 libc. Add s_signbit-generic and s_signbitf-generic objects.
13620 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
13621 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
13622 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
13623 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
13624 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
13625 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13627 2017-11-29 Joseph Myers <joseph@codesourcery.com>
13629 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
13630 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
13631 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
13632 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
13633 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
13634 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
13635 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
13636 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
13637 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
13638 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
13639 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
13640 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
13641 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
13642 libm_alias_float_r.
13643 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
13644 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
13646 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
13647 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
13648 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
13649 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
13650 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
13651 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
13652 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
13653 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
13654 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
13655 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
13657 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
13659 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
13660 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
13661 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
13662 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
13663 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
13664 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
13665 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
13666 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
13667 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
13668 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
13669 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
13670 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
13671 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
13672 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
13673 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
13674 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
13675 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
13676 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
13677 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
13679 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
13680 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
13681 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
13682 * sysdeps/ia64/fpu/w_lgammaf_main.c
13683 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
13684 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
13686 2017-11-28 Mike FABIAN <mfabian@redhat.com>
13687 Alexandre Oliva <aoliva@redhat.com>
13690 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
13691 * localedata/fr_CA.UTF-8.in: New file with test data for backward
13693 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
13695 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
13696 * localedata/locales/de_DE (LC_COLLATE): Likewise.
13697 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
13698 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
13699 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
13700 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
13701 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
13702 instead of “ifdef DIACRIT_BACKWARD”.
13704 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13706 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
13707 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
13708 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
13709 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
13710 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
13711 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
13712 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
13713 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
13714 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
13715 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
13716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
13717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
13718 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
13719 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
13720 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
13721 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
13722 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
13723 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
13724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
13725 ($(have-as-vis3) == yes): Remove conditional.
13726 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
13728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
13730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
13732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
13734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
13736 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
13737 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
13738 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
13739 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
13740 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
13741 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
13742 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
13743 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
13745 2017-11-29 Joseph Myers <joseph@codesourcery.com>
13747 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
13748 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
13749 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
13750 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
13751 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
13752 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
13753 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
13754 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
13755 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
13756 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
13757 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
13758 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
13759 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
13760 libm_alias_double_r.
13761 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
13763 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
13764 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
13765 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
13766 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
13767 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
13768 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
13769 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
13770 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
13771 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
13772 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
13773 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
13775 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
13777 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
13778 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
13779 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
13780 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
13781 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
13782 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
13783 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
13784 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
13785 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
13786 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
13787 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
13788 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
13789 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
13790 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
13791 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
13792 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
13793 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
13794 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
13796 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
13797 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
13798 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
13799 * sysdeps/ia64/fpu/w_lgamma_main.c
13800 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
13801 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
13803 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
13805 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
13806 address of $global$ into %dp register earlier. Use pc-relative
13807 instruction sequence for PIC case.
13809 2017-11-28 Joseph Myers <joseph@codesourcery.com>
13811 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
13812 (asinhf): Define using libm_alias_float.
13813 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
13814 (atanf): Define using libm_alias_float.
13815 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
13816 (cbrtf): Define using libm_alias_float.
13817 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
13818 (ceilf): Define using libm_alias_float.
13819 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
13820 (copysignf): Define using libm_alias_float.
13821 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
13822 (expm1f): Define using libm_alias_float.
13823 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
13824 (fabsf): Define using libm_alias_float.
13825 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
13826 (floorf): Define using libm_alias_float.
13827 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
13828 (fmaxf): Define using libm_alias_float.
13829 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
13830 (fminf): Define using libm_alias_float.
13831 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
13832 (frexpf): Define using libm_alias_float.
13833 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
13834 (llrintf): Define using libm_alias_float.
13835 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
13836 (logbf): Define using libm_alias_float.
13837 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
13838 (lrintf): Define using libm_alias_float.
13839 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
13840 (nearbyintf): Define using libm_alias_float.
13841 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
13842 (remquof): Define using libm_alias_float.
13843 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
13844 (rintf): Define using libm_alias_float.
13845 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
13846 (truncf): Define using libm_alias_float.
13847 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
13848 <libm-alias-float.h>.
13849 (exp2f): Define using libm_alias_float, or libm_alias_float_other
13851 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
13852 <libm-alias-float.h>.
13853 (expf): Define using libm_alias_float, or libm_alias_float_other
13855 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
13856 <libm-alias-float.h>.
13857 (log2f): Define using libm_alias_float, or libm_alias_float_other
13859 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
13860 <libm-alias-float.h>.
13861 (logf): Define using libm_alias_float, or libm_alias_float_other
13863 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
13864 <libm-alias-float.h>.
13865 (powf): Define using libm_alias_float, or libm_alias_float_other
13867 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
13868 <libm-alias-float.h>.
13869 (cosf): Define using libm_alias_float.
13870 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
13871 <libm-alias-float.h>.
13872 (sincosf): Define using libm_alias_float.
13873 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
13874 <libm-alias-float.h>.
13875 (sinf): Define using libm_alias_float.
13876 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
13877 (fmaxf): Define using libm_alias_float.
13878 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
13879 (fminf): Define using libm_alias_float.
13880 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13881 <libm-alias-float.h>.
13882 (fmaf): Define using libm_alias_float.
13884 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
13885 (asinh): Define using libm_alias_double.
13886 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
13887 (atan): Define using libm_alias_double.
13888 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
13889 (cbrt): Define using libm_alias_double.
13890 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
13891 (ceil): Define using libm_alias_double.
13892 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
13893 (copysign): Define using libm_alias_double.
13894 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
13895 (expm1): Define using libm_alias_double.
13896 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
13897 (fabs): Define using libm_alias_double.
13898 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
13899 (fdim): Define using libm_alias_double.
13900 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
13901 (floor): Define using libm_alias_double.
13902 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
13903 (fmax): Define using libm_alias_double.
13904 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
13905 (fmin): Define using libm_alias_double.
13906 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
13907 (frexp): Define using libm_alias_double.
13908 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
13909 (llrint): Define using libm_alias_double.
13910 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
13911 (logb): Define using libm_alias_double.
13912 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
13913 (lrint): Define using libm_alias_double.
13914 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
13915 (nearbyint): Define using libm_alias_double.
13916 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
13917 (remquo): Define using libm_alias_double.
13918 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
13919 (rint): Define using libm_alias_double.
13920 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
13921 (trunc): Define using libm_alias_double.
13922 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
13923 (fmax): Define using libm_alias_double.
13924 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
13925 (fmin): Define using libm_alias_double.
13926 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
13927 (fma): Define using libm_alias_double.
13929 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
13932 * elf/dl-hwcaps.c (ROUND): Removed.
13933 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
13934 and ELF_NOTE_NEXT_OFFSET.
13935 * elf/dl-load.c (ROUND): Removed.
13936 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
13937 * elf/readelflib.c (ROUND): Removed.
13938 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
13939 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
13940 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
13941 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
13943 2017-11-28 Joseph Myers <joseph@codesourcery.com>
13945 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
13946 [!__fmaf] (fmaf): Define using libm_alias_float.
13948 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
13949 [!__fma] (fma): Define using libm_alias_double.
13950 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
13952 2017-11-28 Mike FABIAN <mfabian@redhat.com>
13955 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
13956 and implement the collation rules for cs from CLDR on top of that.
13957 * Makefile: Add cs_CZ.UTF-8 to test-input.
13958 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
13960 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
13962 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
13964 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
13965 Icarus Sparry <icarus.w.sparry@intel.com>
13967 * benchtests/Makefile:Add BENCHSET to allow subsets of
13968 benchmarks to be run.
13969 * benchtests/README: Add documentation for: Running subsets of
13972 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
13974 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
13975 range of tests names.
13977 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
13978 result from property and remove "max", min" and "mean" from
13979 required properties based on benchtests/bench-skeleton.c.
13981 2017-11-28 Florian Weimer <fweimer@redhat.com>
13984 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
13985 due to Internet requirement.
13986 * posix/Makefile (tests): Remove tst-getaddrinfo4,
13988 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
13990 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13992 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
13993 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
13994 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
13995 (sysdep_routines): Add memset-ultra1.
13996 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
13998 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
13999 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
14000 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
14001 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
14002 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
14003 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
14004 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
14005 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14007 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
14009 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
14010 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
14011 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
14012 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
14013 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
14014 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
14015 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
14017 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
14018 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
14019 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
14020 (sysdep_routines): Add memcpy-ultra1.
14021 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
14022 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
14024 2017-11-28 Joseph Myers <joseph@codesourcery.com>
14026 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
14027 (cfloat_versions): Take function argument without trailing 'f'.
14028 Call libm_alias_float_other.
14029 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
14030 * sysdeps/alpha/fpu/cargf.c: Likewise.
14031 * sysdeps/alpha/fpu/cimagf.c: Likewise.
14032 * sysdeps/alpha/fpu/conjf.c: Likewise.
14033 * sysdeps/alpha/fpu/crealf.c: Likewise.
14034 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
14035 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
14036 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
14037 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
14038 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
14039 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
14040 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
14041 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
14042 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
14043 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
14044 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
14045 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
14046 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
14047 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
14048 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
14049 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
14050 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
14051 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
14052 (clog10f): Use libm_alias_float_other.
14053 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
14054 (ceilf): Define using libm_alias_float.
14055 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
14056 (copysignf): Define using libm_alias_float.
14057 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
14058 (fabsf): Define using libm_alias_float.
14059 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
14060 (floorf): Define using libm_alias_float.
14061 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
14062 (fmaxf): Define using libm_alias_float.
14063 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
14064 (fminf): Define using libm_alias_float.
14065 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
14066 (lrintf): Define using libm_alias_float.
14067 (llrintf): Likewise.
14068 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
14069 (lroundf): Define using libm_alias_float.
14070 (llroundf): Likewise.
14071 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
14072 (rintf): Define using libm_alias_float.
14073 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
14074 (truncf): Define using libm_alias_float.
14076 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
14077 (ceilf): Define using libm_alias_float.
14078 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
14079 (floorf): Define using libm_alias_float.
14080 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
14081 (fmaf): Define using libm_alias_float.
14082 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
14083 (fmaxf): Define using libm_alias_float.
14084 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
14085 (fminf): Define using libm_alias_float.
14086 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
14087 (llrintf): Define using libm_alias_float.
14088 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
14089 (llroundf): Define using libm_alias_float.
14090 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
14091 (lrintf): Define using libm_alias_float.
14092 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
14093 (lroundf): Define using libm_alias_float.
14094 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
14095 <libm-alias-float.h>.
14096 (nearbyintf): Define using libm_alias_float.
14097 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
14098 (rintf): Define using libm_alias_float.
14099 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
14100 (roundf): Define using libm_alias_float.
14101 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
14102 (truncf): Define using libm_alias_float.
14104 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
14105 (ceil): Define using libm_alias_double.
14106 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
14107 (copysign): Define using libm_alias_double.
14108 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
14109 (fabs): Define using libm_alias_double.
14110 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
14111 (floor): Define using libm_alias_double.
14112 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
14113 (fmax): Define using libm_alias_double.
14114 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
14115 (fmin): Define using libm_alias_double.
14116 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
14117 (lrint): Define using libm_alias_double.
14118 (llrint): Likewise.
14119 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
14120 (lround): Define using libm_alias_double.
14121 (llround): Likewise.
14122 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
14123 (rint): Define using libm_alias_double.
14124 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
14125 (trunc): Define using libm_alias_double.
14127 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
14128 (libm_alias_double_r): Add semicolon after weak_alias call.
14130 2017-11-27 Joseph Myers <joseph@codesourcery.com>
14132 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
14133 (ceil): Define using libm_alias_double.
14134 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
14135 (floor): Define using libm_alias_double.
14136 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
14137 (fma): Define using libm_alias_double.
14138 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
14139 (fmax): Define using libm_alias_double.
14140 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
14141 (fmin): Define using libm_alias_double.
14142 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
14143 (llrint): Define using libm_alias_double.
14144 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
14145 (llround): Define using libm_alias_double.
14146 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
14147 (lrint): Define using libm_alias_double.
14148 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
14149 (lround): Define using libm_alias_double.
14150 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
14151 (nearbyint): Define using libm_alias_double.
14152 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
14153 (rint): Define using libm_alias_double.
14154 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
14155 (round): Define using libm_alias_double.
14156 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
14157 (trunc): Define using libm_alias_double.
14159 2017-11-27 Florian Weimer <fweimer@redhat.com>
14161 * sysdeps/unix/sysv/linux/mlock2.c: New file.
14162 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
14163 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
14164 (tests): Add tst-mlock2.
14165 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
14166 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
14167 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
14168 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
14169 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
14170 for mlock. Document mlock2.
14172 2017-11-27 Joseph Myers <joseph@codesourcery.com>
14174 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
14175 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
14177 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
14179 * sysdeps/x86/Makeconfig: New file.
14180 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
14181 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
14182 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
14183 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
14184 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
14185 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
14186 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
14188 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
14189 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
14190 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
14191 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
14192 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
14193 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
14194 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
14195 * manual/math.texi (Mathematics): Document support for _Float64x.
14196 * math/Versions (GLIBC_2.27): Add _Float64x functions.
14197 * stdlib/Versions (GLIBC_2.27): Likewise.
14198 * wcsmbs/Versions (GLIBC_2.27): Likewise.
14199 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
14200 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14201 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14202 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14203 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14204 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14205 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14206 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14207 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14208 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14209 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
14212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14214 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14215 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14216 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14217 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14218 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14219 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14220 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14221 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14222 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14223 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14224 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14225 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14226 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14227 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
14229 2017-11-27 Andreas Schwab <schwab@suse.de>
14231 * elf/Makefile (dl-routines): Add dl-sort-maps.
14232 * elf/dl-sort-maps.c: New file.
14233 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
14234 (_dl_sort_maps): Declare.
14235 * elf/dl-fini.c (_dl_sort_fini): Remove.
14236 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
14237 * elf/dl-close.c (_dl_close_worker): Likewise.
14238 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
14240 * elf/dl-open.c (dl_open_worker): Likewise.
14242 2017-11-24 Joseph Myers <joseph@codesourcery.com>
14244 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
14245 using libm_alias_float128.
14246 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
14248 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
14250 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
14251 (setpayloadsigf128): Likewise.
14252 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
14254 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
14257 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
14258 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
14259 -mfloat128 to CFLAGS.
14261 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
14263 (CFLAGS-libm-test-support-float64x.c): New variable.
14264 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
14265 $(f128-loader-link) to gnulib-tests.
14267 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
14268 (libm_alias_float128_other_r): If
14269 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
14271 (libm_alias_float128_r): Add semicolon after weak_alias call.
14272 * sysdeps/generic/libm-alias-ldouble.h
14273 (libm_alias_ldouble_other_r_f128): New macro.
14274 (libm_alias_ldouble_other_r_f64x): Likewise.
14275 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
14276 and libm_alias_ldouble_other_r_f64x.
14277 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
14278 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
14279 (libm_alias_ldouble_other_r_f128): New macro.
14280 (libm_alias_ldouble_other_r_f64x): Likewise.
14281 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
14282 and libm_alias_ldouble_other_r_f64x.
14284 * stdlib/strfroml.c: Always include <stdlib.h>.
14285 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
14286 undefine as macro and define as weak alias.
14287 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
14288 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
14290 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
14291 Define and later undefine as macro and define as weak alias.
14293 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
14294 Define and later undefine as macro. Define as weak alias if
14296 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
14297 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
14298 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
14299 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
14300 Define and later undefine as macro. Define as weak alias if
14302 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
14303 Define and later undefine as macro. Define as weak alias if
14305 * sysdeps/ieee754/float128/strtof128_l.c
14306 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
14307 Define and later undefine as macro. Define as weak alias if
14309 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
14310 Define and later undefine as macro. Define as weak alias if
14312 * sysdeps/ieee754/ldbl-128/strtold_l.c
14313 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
14314 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
14315 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
14316 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
14317 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
14318 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
14319 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
14320 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
14321 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
14322 * sysdeps/ieee754/ldbl-96/strtold_l.c
14323 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
14324 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
14325 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
14326 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
14328 * math/test-float64x.h: New file.
14329 * math/Makefile (type-float64x-yes): New variable.
14330 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
14332 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
14333 function-like macro.
14334 (min_of_type_): Likewise.
14335 (min_of_type_l): Likewise.
14336 (min_of_type_f128): Likewise.
14337 (min_of_type): Pass () as last argument of __MATH_TG.
14339 * stdlib/tst-strtod-round-skeleton.c
14340 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
14343 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
14344 for combinations of long double with _Float64 and _Float64x.
14346 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
14347 (__DECL_SIMD_cosf32): Likewise.
14348 (__DECL_SIMD_cosf64): Likewise.
14349 (__DECL_SIMD_cosf32x): Likewise.
14350 (__DECL_SIMD_cosf64x): Likewise.
14351 (__DECL_SIMD_cosf128x): Likewise.
14352 (__DECL_SIMD_sinf16): Likewise.
14353 (__DECL_SIMD_sinf32): Likewise.
14354 (__DECL_SIMD_sinf64): Likewise.
14355 (__DECL_SIMD_sinf32x): Likewise.
14356 (__DECL_SIMD_sinf64x): Likewise.
14357 (__DECL_SIMD_sinf128x): Likewise.
14358 (__DECL_SIMD_sincosf16): Likewise.
14359 (__DECL_SIMD_sincosf32): Likewise.
14360 (__DECL_SIMD_sincosf64): Likewise.
14361 (__DECL_SIMD_sincosf32x): Likewise.
14362 (__DECL_SIMD_sincosf64x): Likewise.
14363 (__DECL_SIMD_sincosf128x): Likewise.
14364 (__DECL_SIMD_logf16): Likewise.
14365 (__DECL_SIMD_logf32): Likewise.
14366 (__DECL_SIMD_logf64): Likewise.
14367 (__DECL_SIMD_logf32x): Likewise.
14368 (__DECL_SIMD_logf64x): Likewise.
14369 (__DECL_SIMD_logf128x): Likewise.
14370 (__DECL_SIMD_expf16): Likewise.
14371 (__DECL_SIMD_expf32): Likewise.
14372 (__DECL_SIMD_expf64): Likewise.
14373 (__DECL_SIMD_expf32x): Likewise.
14374 (__DECL_SIMD_expf64x): Likewise.
14375 (__DECL_SIMD_expf128x): Likewise.
14376 (__DECL_SIMD_powf16): Likewise.
14377 (__DECL_SIMD_powf32): Likewise.
14378 (__DECL_SIMD_powf64): Likewise.
14379 (__DECL_SIMD_powf32x): Likewise.
14380 (__DECL_SIMD_powf64x): Likewise.
14381 (__DECL_SIMD_powf128x): Likewise.
14383 * stdlib/Versions (libc): Move entries for wcstof128 and
14384 wcstof128_l to ....
14385 * wcsmbs/Versions (libc): ... here.
14386 Include <float128-abi.h>.
14388 2017-11-24 Florian Weimer <fweimer@redhat.com>
14390 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14391 bits/mman-shared.h.
14392 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
14393 <bits/mman-shared.h>.
14394 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
14396 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
14397 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
14398 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
14399 <bits/mman-shared.h>.
14401 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14404 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
14405 posix_memalign/free.
14406 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
14408 2017-11-22 Mike FABIAN <mfabian@redhat.com>
14411 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
14412 and implement the collation rules for pl from CLDR on top of that.
14413 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
14414 of locales to be built for testing.
14415 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
14417 2017-11-23 Joseph Myers <joseph@codesourcery.com>
14419 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
14420 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
14421 libm_alias_ldouble_other.
14422 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
14423 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
14424 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
14425 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
14426 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
14427 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
14428 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
14429 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
14430 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
14431 libm_alias_ldouble_r.
14432 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
14433 libm_alias_ldouble_other.
14434 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
14435 (log10l): Likewise.
14436 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
14437 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
14438 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
14439 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
14440 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
14441 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
14442 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
14443 (atan2l): Likewise.
14444 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
14445 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
14446 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
14447 libm_alias_ldouble.
14448 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
14450 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
14451 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
14452 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
14454 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
14455 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
14456 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
14457 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
14458 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
14459 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
14460 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
14461 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
14462 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
14463 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
14464 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
14465 libm_alias_ldouble.
14466 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
14467 libm_alias_ldouble_other.
14468 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
14469 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
14470 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
14471 libm_alias_ldouble.
14472 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
14473 libm_alias_ldouble_other.
14474 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
14475 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
14476 * sysdeps/ia64/fpu/w_lgammal_main.c
14477 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
14478 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
14480 2017-11-23 Florian Weimer <fweimer@redhat.com>
14482 * malloc/malloc.c (tcache_thread_shutdown): Rename from
14483 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
14484 alike. Remove freeres marker.
14485 * malloc/arena.c (arena_thread_freeres): Call
14486 tcache_thread_shutdown.
14488 2017-11-23 Florian Weimer <fweimer@redhat.com>
14491 Export nscd hash function as __nss_hash.
14492 * include/nss.h (__nss_hash): Declare.
14493 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
14495 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
14496 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
14498 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
14499 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
14500 * nss/Makefiles (routines): Add nss_hash.
14501 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
14502 * nss/nss_hash.c: Rename from nis/nis_hash.c.
14503 (__nss_hash): Rename from __nis_hash. Define hidden alias.
14504 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
14506 2017-11-23 Florian Weimer <fweimer@redhat.com>
14509 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
14510 Return error code, not -1.
14511 * signal/tst-sigwait-eintr.c: New file.
14512 * signal/Makefile (tests): Add tst-sigwait-eintr.
14514 2017-11-23 Florian Weimer <fweimer@redhat.com>
14516 Linux: Add memfd_create system call wrapper
14517 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
14519 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
14520 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
14521 [__USE_GNU] (memfd_create): Declare.
14522 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
14523 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
14524 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
14525 * sysdeps/unix/sysv/linux/**.abilist: Update.
14526 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
14528 2017-11-22 Joseph Myers <joseph@codesourcery.com>
14530 * localedata/gen-locale.sh: Fix typo in variable name.
14532 * resolv/res_debug.c (p_secstodate): Condition definition on
14533 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
14534 directly as __p_secstodate, and as a compat symbol. Do not use
14535 libresolv_hidden_def.
14536 * resolv/resolv.h (p_secstodate): Remove macro and function
14538 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
14539 using p_secstodate.
14540 * include/resolv.h (__p_secstodate): Do not use
14541 libresolv_hidden_proto.
14542 * resolv/Makefile (tests): Move tst-p_secstodate to ....
14543 (tests-internal): ... here.
14544 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
14545 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
14546 and declare and use __p_secstodate and use compat_symbol_reference
14548 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
14549 implementation returning 77.
14552 * resolv/res_debug.c: Include <libc-diag.h>.
14553 (p_secstodate): Assert time_t at least as wide as u_long. On
14554 overflow, use integer seconds since the epoch as output, or use
14555 "<overflow>" as output and set errno to EOVERFLOW if integer
14556 seconds since the epoch would be 14 or more characters.
14557 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
14559 * resolv/tst-p_secstodate.c: New file.
14560 * resolv/Makefile (tests): Add tst-p_secstodate.
14561 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
14563 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
14564 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
14565 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
14567 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
14569 * posix/regcomp.c (init_word_char): Add comments.
14571 2017-11-22 Joseph Myers <joseph@codesourcery.com>
14574 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
14575 strlen to compute length of ut_user and set trailing NUL byte of
14578 2017-11-21 Mike FABIAN <mfabian@redhat.com>
14581 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
14582 using “copy "iso14651_t1"” and then implementing the
14583 collation rules for lv from CLDR on top of that.
14584 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
14585 of locales to be built for testing.
14586 * lv_LV.UTF-8.in: New file with test data to test the Latvian
14589 2017-11-21 Joseph Myers <joseph@codesourcery.com>
14591 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
14592 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
14593 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
14594 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
14595 [__USE_MISC] (MADV_HWPOISON): New macro.
14596 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
14598 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14600 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
14601 -Wmissing-braces on GCC 4.9.
14603 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
14605 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
14606 * sysdeps/s390/s390-32/start.S (_start): Likewise
14607 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
14608 (thread_start): Likewise.
14609 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
14610 (thread_start): Likewise.
14611 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
14612 (__makecontext_ret): Likewise.
14613 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
14614 (__makecontext_ret): Likewise.
14616 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
14618 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
14619 __wcschrnul): Remove attribute_hidden.
14621 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
14623 regex: don't assume uint64_t or uint32_t
14624 This avoids -Werror=overflow errors for 32-bit systems in
14625 the 64-bit case. Problem reported by Joseph Myers in:
14626 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
14627 Also, when this code is used in Gnulib it ports to platforms
14628 that lack uint64_t and uint32_t. The C standard doesn't guarantee
14629 them, and on some 32-bit compilers there is no uint64_t.
14630 Problem reported by Gianluigi Tiesi in:
14631 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
14632 * posix/regcomp.c (init_word_char): Don't assume that the types
14633 uint64_t and uint32_t exist. Adapted from Gnulib patch
14634 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
14635 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
14637 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
14639 * sysdeps/aarch64/memset-reg.h: New file.
14640 * sysdeps/aarch64/memset.S: Use it.
14641 (__memset): Rename to MEMSET macro.
14642 [ZVA_MACRO]: Use zva_macro.
14643 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
14644 Add memset_generic and memset_falkor.
14645 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
14646 (__libc_ifunc_impl_list): Add memset ifuncs.
14647 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
14648 local variable zva_size.
14649 * sysdeps/aarch64/multiarch/memset.c: New file.
14650 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
14651 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
14652 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
14653 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
14654 (DCZID_DZP_MASK): New macro.
14655 (DCZID_BS_MASK): Likewise.
14656 (init_cpu_features): Read and set zva_size.
14657 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
14658 (struct cpu_features): New member zva_size.
14660 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
14661 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
14662 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
14664 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
14665 backwards. Fix timing computation.
14666 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
14667 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
14668 on memset by N at a time. Fix timing computation.
14670 2017-11-20 Florian Weimer <fweimer@redhat.com>
14672 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
14673 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
14675 2017-11-19 Florian Weimer <fweimer@redhat.com>
14677 manual: Document mprotect
14678 * manual/memory.texi (Memory Protection): New section.
14679 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
14680 documentation of PROT_* flags and reference the Memory Protection
14683 2017-11-19 Florian Weimer <fweimer@redhat.com>
14685 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
14686 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
14687 (Scatter-Gather): ... to here. Remove misleading comment.
14689 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
14691 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
14694 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
14695 when /proc/<pid>/setgroups does not exist.
14697 2017-11-18 Florian Weimer <fweimer@redhat.com>
14699 * sysdeps/unix/sysv/linux/tst-ttyname.c
14700 (become_root_in_mount_ns): Remove.
14701 (do_in_chroot_1): Call support_enter_mount_namespace.
14702 (do_in_chroot_2): Likewise.
14703 (do_test): Call support_become_root early.
14705 2017-11-18 Florian Weimer <fweimer@redhat.com>
14707 * support/namespace.h (support_enter_mount_namespace): Declare.
14708 * support/support_enter_mount_namespace.c: New file.
14709 * support/Makefile (libsupport-routines): Add
14710 support_enter_mount_namespace.
14712 2017-11-18 Florian Weimer <fweimer@redhat.com>
14714 * support/temp_file.c (support_create_temp_directory): Use
14715 test_dir and do not rely on the presence of the XXXXXX suffix.
14716 * support/temp_file.h (support_create_temp_directory): Update
14718 * support/tst-xreadlink.c (do_test): Adjust.
14719 * support/support_chroot.c (support_chroot_create): Likewise.
14721 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14723 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
14725 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
14728 2017-11-17 Joseph Myers <joseph@codesourcery.com>
14730 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
14731 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
14732 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
14733 (ceill): Define using libm_alias_ldouble.
14734 * sysdeps/x86_64/fpu/s_copysignl.S: Include
14735 <libm-alias-ldouble.h>.
14736 (copysignl): Define using libm_alias_ldouble.
14737 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
14738 (fabsl): Define using libm_alias_ldouble.
14739 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
14740 (floorl): Define using libm_alias_ldouble.
14741 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
14742 (fmaxl): Define using libm_alias_ldouble.
14743 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
14744 (fminl): Define using libm_alias_ldouble.
14745 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
14746 (llrintl): Define using libm_alias_ldouble.
14747 (lrintl): Likewise.
14748 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
14749 <libm-alias-ldouble.h>.
14750 (nearbyintl): Define using libm_alias_ldouble.
14751 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
14752 (truncl): Define using libm_alias_ldouble.
14753 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
14754 <libm-alias-ldouble.h>.
14755 (lrintl): Define using libm_alias_ldouble.
14757 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
14758 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
14759 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
14760 (asinhl): Define using libm_alias_ldouble.
14761 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
14762 (atanl): Define using libm_alias_ldouble.
14763 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
14764 (cbrtl): Define using libm_alias_ldouble.
14765 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
14766 (ceill): Define using libm_alias_ldouble.
14767 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
14768 (copysignl): Define using libm_alias_ldouble.
14769 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
14770 (fabsl): Define using libm_alias_ldouble.
14771 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
14772 (floorl): Define using libm_alias_ldouble.
14773 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
14774 (fmaxl): Define using libm_alias_ldouble.
14775 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
14776 (fminl): Define using libm_alias_ldouble.
14777 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
14778 (frexpl): Define using libm_alias_ldouble.
14779 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
14780 (llrintl): Define using libm_alias_ldouble.
14781 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
14782 (logbl): Define using libm_alias_ldouble.
14783 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
14784 (lrintl): Define using libm_alias_ldouble.
14785 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
14786 (nearbyintl): Define using libm_alias_ldouble.
14787 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
14788 (nextafterl): Define using libm_alias_ldouble.
14789 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
14790 (remquol): Define using libm_alias_ldouble.
14791 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
14792 (rintl): Define using libm_alias_ldouble.
14793 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
14794 (truncl): Define using libm_alias_ldouble.
14795 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
14796 (fmaxl): Define using libm_alias_ldouble.
14797 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
14798 (fminl): Define using libm_alias_ldouble.
14800 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
14801 to C syntax instead of availability and properties of types.
14802 * bits/floatn.h [!__ASSEMBLER]: Likewise.
14803 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
14804 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
14805 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
14806 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
14807 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
14809 2017-11-17 Florian Weimer <fweimer@redhat.com>
14811 support_become_root: Enable file creation in namespaces.
14812 * support/support_become_root.c (setup_mapping): New function.
14813 (support_become_root): Call it.
14815 2017-11-17 Joseph Myers <joseph@codesourcery.com>
14817 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
14820 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14822 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
14823 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
14825 2017-11-16 Joseph Myers <joseph@codesourcery.com>
14827 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
14829 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14832 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
14834 * INSTALL: Fix botched up regeneration.
14836 * NEWS: Update sourceare link to https.
14837 * configure.ac: Likewise.
14838 * crypt/md5test-giant.c: Likewise.
14839 * dlfcn/bug-atexit1.c: Likewise.
14840 * dlfcn/bug-atexit2.c: Likewise.
14841 * localedata/README: Likewise.
14842 * malloc/tst-mallocfork.c: Likewise.
14843 * manual/install.texi: Likewise.
14844 * nptl/tst-pthread-getattr.c: Likewise.
14845 * stdio-common/tst-fgets.c: Likewise.
14846 * stdio-common/tst-fwrite.c: Likewise.
14847 * sunrpc/Makefile: Likewise.
14848 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
14849 * wcsmbs/tst-mbrtowc2.c: Likewise.
14850 * configure: Regenerate.
14851 * INSTALL: Regenerate.
14853 2017-11-15 Martin Sebor <msebor@redhat.com>
14855 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
14856 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
14857 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
14859 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
14862 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
14863 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
14866 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
14867 Defer is_pty check until end of the function.
14868 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14871 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
14872 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
14873 (ttyname): Likewise.
14874 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
14875 (__ttyname_r): Likewise.
14877 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
14880 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
14882 * manual/terminal.texi (Is It a Terminal):
14883 Mention ENODEV for ttyname and ttyname_r.
14885 2017-11-15 Joseph Myers <joseph@codesourcery.com>
14887 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
14888 constant and macro.
14890 * sysdeps/unix/sysv/linux/bits/mman-linux.h
14891 [__USE_MISC] (MADV_WIPEONFORK): New macro.
14892 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
14893 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
14894 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
14895 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
14897 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14899 * signal/sigrelse.c (sigrelse): Optimize implementation.
14901 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
14902 (__sigpause): Rely on __sigsuspend to implement single thread
14903 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
14905 2017-11-15 Joseph Myers <joseph@codesourcery.com>
14907 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14908 kernel version to 4.14.
14910 2017-11-15 Steve Ellcey <sellcey@cavium.com>
14913 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
14914 Check if ifname is too long.
14916 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
14918 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
14920 2017-11-15 Mike FABIAN <mfabian@redhat.com>
14922 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
14923 was accidentally lost.
14925 2017-11-15 Mike FABIAN <mfabian@redhat.com>
14927 * localedata/locales/az_IR: Add standard copyright header.
14929 2017-11-15 Florian Weimer <fweimer@redhat.com>
14932 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
14933 not just the top one. Output a new "subheaps" statistic.
14935 2017-11-15 Florian Weimer <fweimer@redhat.com>
14938 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
14939 under the per-arena lock.
14940 * malloc/Makefile (tests): Add tst-malloc_info.
14941 (tst-malloc_info): Link with libpthread.
14942 * malloc/tst-malloc_info.c: New file.
14944 2017-11-15 Joseph Myers <joseph@codesourcery.com>
14947 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
14948 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
14949 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
14950 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
14951 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
14952 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
14953 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
14954 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
14955 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
14956 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
14957 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
14958 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
14959 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
14960 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
14961 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
14962 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
14963 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
14964 (__floating_type): Likewise.
14965 (__real_integer_type): Likewise.
14966 (__complex_integer_type): Likewise.
14967 (__expr_is_real): Likewise.
14968 (__tgmath_real_type_sub): Likewise.
14969 (__tgmath_real_type): Likewise.
14970 (__tgmath_complex_type_sub): Likewise.
14971 (__tgmath_complex_type): Likewise.
14972 (__TGMATH_F128): Likewise.
14973 (__TGMATH_CF128): Likewise.
14974 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
14976 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
14977 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
14979 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
14981 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
14982 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
14983 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
14984 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
14986 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
14987 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
14989 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
14990 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
14991 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
14993 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
14994 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
14995 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
14999 2017-11-14 Joseph Myers <joseph@codesourcery.com>
15001 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
15002 for stpncpy calls for GCC 8.
15003 (test_strncat): Disable -Wstringop-truncation warning for strncat
15004 calls for GCC 8. Disable -Wstringop-overflow= warning for one
15005 strncat call for GCC 7.
15006 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
15008 (test_memcmp): Use memcpy instead of strncpy for calls not copying
15011 * string/bug-strncat1.c: Include <libc-diag.h>.
15012 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
15014 2017-11-13 Claude Paroz <claude@2xlibre.net>
15017 * localedata/locales/aa_DJ: Improved readibility by replacing
15018 <Uxxxx> sequences in the ASCII printable range by their ASCII
15019 character equivalents.
15020 * localedata/locales/aa_ER: Likewise.
15021 * localedata/locales/aa_ER@saaho: Likewise.
15022 * localedata/locales/aa_ET: Likewise.
15023 * localedata/locales/af_ZA: Likewise.
15024 * localedata/locales/agr_PE: Likewise.
15025 * localedata/locales/ak_GH: Likewise.
15026 * localedata/locales/am_ET: Likewise.
15027 * localedata/locales/anp_IN: Likewise.
15028 * localedata/locales/ar_AE: Likewise.
15029 * localedata/locales/ar_BH: Likewise.
15030 * localedata/locales/ar_DZ: Likewise.
15031 * localedata/locales/ar_EG: Likewise.
15032 * localedata/locales/ar_IN: Likewise.
15033 * localedata/locales/ar_IQ: Likewise.
15034 * localedata/locales/ar_JO: Likewise.
15035 * localedata/locales/ar_KW: Likewise.
15036 * localedata/locales/ar_LB: Likewise.
15037 * localedata/locales/ar_LY: Likewise.
15038 * localedata/locales/ar_MA: Likewise.
15039 * localedata/locales/ar_OM: Likewise.
15040 * localedata/locales/ar_QA: Likewise.
15041 * localedata/locales/ar_SA: Likewise.
15042 * localedata/locales/ar_SD: Likewise.
15043 * localedata/locales/ar_SS: Likewise.
15044 * localedata/locales/ar_SY: Likewise.
15045 * localedata/locales/ar_TN: Likewise.
15046 * localedata/locales/ar_YE: Likewise.
15047 * localedata/locales/as_IN: Likewise.
15048 * localedata/locales/ast_ES: Likewise.
15049 * localedata/locales/ayc_PE: Likewise.
15050 * localedata/locales/az_AZ: Likewise.
15051 * localedata/locales/az_IR: Likewise.
15052 * localedata/locales/be_BY: Likewise.
15053 * localedata/locales/be_BY@latin: Likewise.
15054 * localedata/locales/bem_ZM: Likewise.
15055 * localedata/locales/ber_DZ: Likewise.
15056 * localedata/locales/ber_MA: Likewise.
15057 * localedata/locales/bg_BG: Likewise.
15058 * localedata/locales/bhb_IN: Likewise.
15059 * localedata/locales/bho_IN: Likewise.
15060 * localedata/locales/bi_VU: Likewise.
15061 * localedata/locales/bn_BD: Likewise.
15062 * localedata/locales/bn_IN: Likewise.
15063 * localedata/locales/bo_CN: Likewise.
15064 * localedata/locales/bo_IN: Likewise.
15065 * localedata/locales/br_FR: Likewise.
15066 * localedata/locales/brx_IN: Likewise.
15067 * localedata/locales/bs_BA: Likewise.
15068 * localedata/locales/byn_ER: Likewise.
15069 * localedata/locales/ca_AD: Likewise.
15070 * localedata/locales/ca_ES: Likewise.
15071 * localedata/locales/ca_FR: Likewise.
15072 * localedata/locales/ca_IT: Likewise.
15073 * localedata/locales/ce_RU: Likewise.
15074 * localedata/locales/chr_US: Likewise.
15075 * localedata/locales/cmn_TW: Likewise.
15076 * localedata/locales/crh_UA: Likewise.
15077 * localedata/locales/cs_CZ: Likewise.
15078 * localedata/locales/csb_PL: Likewise.
15079 * localedata/locales/cv_RU: Likewise.
15080 * localedata/locales/cy_GB: Likewise.
15081 * localedata/locales/da_DK: Likewise.
15082 * localedata/locales/de_AT: Likewise.
15083 * localedata/locales/de_BE: Likewise.
15084 * localedata/locales/de_CH: Likewise.
15085 * localedata/locales/de_DE: Likewise.
15086 * localedata/locales/de_IT: Likewise.
15087 * localedata/locales/de_LI: Likewise.
15088 * localedata/locales/de_LU: Likewise.
15089 * localedata/locales/doi_IN: Likewise.
15090 * localedata/locales/dv_MV: Likewise.
15091 * localedata/locales/dz_BT: Likewise.
15092 * localedata/locales/el_CY: Likewise.
15093 * localedata/locales/el_GR: Likewise.
15094 * localedata/locales/en_AG: Likewise.
15095 * localedata/locales/en_AU: Likewise.
15096 * localedata/locales/en_BW: Likewise.
15097 * localedata/locales/en_CA: Likewise.
15098 * localedata/locales/en_DK: Likewise.
15099 * localedata/locales/en_GB: Likewise.
15100 * localedata/locales/en_HK: Likewise.
15101 * localedata/locales/en_IE: Likewise.
15102 * localedata/locales/en_IL: Likewise.
15103 * localedata/locales/en_IN: Likewise.
15104 * localedata/locales/en_NG: Likewise.
15105 * localedata/locales/en_NZ: Likewise.
15106 * localedata/locales/en_PH: Likewise.
15107 * localedata/locales/en_SG: Likewise.
15108 * localedata/locales/en_US: Likewise.
15109 * localedata/locales/en_ZA: Likewise.
15110 * localedata/locales/en_ZM: Likewise.
15111 * localedata/locales/en_ZW: Likewise.
15112 * localedata/locales/eo: Likewise.
15113 * localedata/locales/es_AR: Likewise.
15114 * localedata/locales/es_BO: Likewise.
15115 * localedata/locales/es_CL: Likewise.
15116 * localedata/locales/es_CO: Likewise.
15117 * localedata/locales/es_CR: Likewise.
15118 * localedata/locales/es_CU: Likewise.
15119 * localedata/locales/es_DO: Likewise.
15120 * localedata/locales/es_EC: Likewise.
15121 * localedata/locales/es_ES: Likewise.
15122 * localedata/locales/es_GT: Likewise.
15123 * localedata/locales/es_HN: Likewise.
15124 * localedata/locales/es_MX: Likewise.
15125 * localedata/locales/es_NI: Likewise.
15126 * localedata/locales/es_PA: Likewise.
15127 * localedata/locales/es_PE: Likewise.
15128 * localedata/locales/es_PR: Likewise.
15129 * localedata/locales/es_PY: Likewise.
15130 * localedata/locales/es_SV: Likewise.
15131 * localedata/locales/es_US: Likewise.
15132 * localedata/locales/es_UY: Likewise.
15133 * localedata/locales/es_VE: Likewise.
15134 * localedata/locales/et_EE: Likewise.
15135 * localedata/locales/eu_ES: Likewise.
15136 * localedata/locales/eu_ES@euro: Likewise.
15137 * localedata/locales/fa_IR: Likewise.
15138 * localedata/locales/ff_SN: Likewise.
15139 * localedata/locales/fi_FI: Likewise.
15140 * localedata/locales/fil_PH: Likewise.
15141 * localedata/locales/fo_FO: Likewise.
15142 * localedata/locales/fr_BE: Likewise.
15143 * localedata/locales/fr_CA: Likewise.
15144 * localedata/locales/fr_CH: Likewise.
15145 * localedata/locales/fr_FR: Likewise.
15146 * localedata/locales/fr_LU: Likewise.
15147 * localedata/locales/fur_IT: Likewise.
15148 * localedata/locales/fy_DE: Likewise.
15149 * localedata/locales/fy_NL: Likewise.
15150 * localedata/locales/ga_IE: Likewise.
15151 * localedata/locales/gd_GB: Likewise.
15152 * localedata/locales/gez_ER: Likewise.
15153 * localedata/locales/gez_ET: Likewise.
15154 * localedata/locales/gl_ES: Likewise.
15155 * localedata/locales/gu_IN: Likewise.
15156 * localedata/locales/gv_GB: Likewise.
15157 * localedata/locales/ha_NG: Likewise.
15158 * localedata/locales/hak_TW: Likewise.
15159 * localedata/locales/he_IL: Likewise.
15160 * localedata/locales/hi_IN: Likewise.
15161 * localedata/locales/hif_FJ: Likewise.
15162 * localedata/locales/hne_IN: Likewise.
15163 * localedata/locales/hr_HR: Likewise.
15164 * localedata/locales/hsb_DE: Likewise.
15165 * localedata/locales/ht_HT: Likewise.
15166 * localedata/locales/hu_HU: Likewise.
15167 * localedata/locales/hy_AM: Likewise.
15168 * localedata/locales/i18n: Likewise.
15169 * localedata/locales/ia_FR: Likewise.
15170 * localedata/locales/id_ID: Likewise.
15171 * localedata/locales/ig_NG: Likewise.
15172 * localedata/locales/ik_CA: Likewise.
15173 * localedata/locales/is_IS: Likewise.
15174 * localedata/locales/it_CH: Likewise.
15175 * localedata/locales/it_IT: Likewise.
15176 * localedata/locales/iu_CA: Likewise.
15177 * localedata/locales/ja_JP: Likewise.
15178 * localedata/locales/ka_GE: Likewise.
15179 * localedata/locales/kk_KZ: Likewise.
15180 * localedata/locales/kl_GL: Likewise.
15181 * localedata/locales/kn_IN: Likewise.
15182 * localedata/locales/ko_KR: Likewise.
15183 * localedata/locales/kok_IN: Likewise.
15184 * localedata/locales/ks_IN: Likewise.
15185 * localedata/locales/ks_IN@devanagari: Likewise.
15186 * localedata/locales/ku_TR: Likewise.
15187 * localedata/locales/kw_GB: Likewise.
15188 * localedata/locales/ky_KG: Likewise.
15189 * localedata/locales/lb_LU: Likewise.
15190 * localedata/locales/lg_UG: Likewise.
15191 * localedata/locales/li_BE: Likewise.
15192 * localedata/locales/li_NL: Likewise.
15193 * localedata/locales/lij_IT: Likewise.
15194 * localedata/locales/ln_CD: Likewise.
15195 * localedata/locales/lo_LA: Likewise.
15196 * localedata/locales/lt_LT: Likewise.
15197 * localedata/locales/lv_LV: Likewise.
15198 * localedata/locales/lzh_TW: Likewise.
15199 * localedata/locales/mag_IN: Likewise.
15200 * localedata/locales/mai_IN: Likewise.
15201 * localedata/locales/mg_MG: Likewise.
15202 * localedata/locales/mhr_RU: Likewise.
15203 * localedata/locales/mi_NZ: Likewise.
15204 * localedata/locales/mk_MK: Likewise.
15205 * localedata/locales/ml_IN: Likewise.
15206 * localedata/locales/mn_MN: Likewise.
15207 * localedata/locales/mni_IN: Likewise.
15208 * localedata/locales/mr_IN: Likewise.
15209 * localedata/locales/ms_MY: Likewise.
15210 * localedata/locales/mt_MT: Likewise.
15211 * localedata/locales/my_MM: Likewise.
15212 * localedata/locales/nan_TW: Likewise.
15213 * localedata/locales/nan_TW@latin: Likewise.
15214 * localedata/locales/nb_NO: Likewise.
15215 * localedata/locales/nds_DE: Likewise.
15216 * localedata/locales/nds_NL: Likewise.
15217 * localedata/locales/ne_NP: Likewise.
15218 * localedata/locales/nhn_MX: Likewise.
15219 * localedata/locales/niu_NU: Likewise.
15220 * localedata/locales/niu_NZ: Likewise.
15221 * localedata/locales/nl_AW: Likewise.
15222 * localedata/locales/nl_BE: Likewise.
15223 * localedata/locales/nl_NL: Likewise.
15224 * localedata/locales/nn_NO: Likewise.
15225 * localedata/locales/nr_ZA: Likewise.
15226 * localedata/locales/nso_ZA: Likewise.
15227 * localedata/locales/oc_FR: Likewise.
15228 * localedata/locales/om_ET: Likewise.
15229 * localedata/locales/om_KE: Likewise.
15230 * localedata/locales/or_IN: Likewise.
15231 * localedata/locales/os_RU: Likewise.
15232 * localedata/locales/pa_IN: Likewise.
15233 * localedata/locales/pa_PK: Likewise.
15234 * localedata/locales/pap_AW: Likewise.
15235 * localedata/locales/pap_CW: Likewise.
15236 * localedata/locales/pl_PL: Likewise.
15237 * localedata/locales/ps_AF: Likewise.
15238 * localedata/locales/pt_BR: Likewise.
15239 * localedata/locales/pt_PT: Likewise.
15240 * localedata/locales/quz_PE: Likewise.
15241 * localedata/locales/raj_IN: Likewise.
15242 * localedata/locales/ro_RO: Likewise.
15243 * localedata/locales/ru_RU: Likewise.
15244 * localedata/locales/ru_UA: Likewise.
15245 * localedata/locales/rw_RW: Likewise.
15246 * localedata/locales/sa_IN: Likewise.
15247 * localedata/locales/sat_IN: Likewise.
15248 * localedata/locales/sc_IT: Likewise.
15249 * localedata/locales/sd_IN: Likewise.
15250 * localedata/locales/sd_IN@devanagari: Likewise.
15251 * localedata/locales/se_NO: Likewise.
15252 * localedata/locales/sgs_LT: Likewise.
15253 * localedata/locales/shs_CA: Likewise.
15254 * localedata/locales/si_LK: Likewise.
15255 * localedata/locales/sid_ET: Likewise.
15256 * localedata/locales/sk_SK: Likewise.
15257 * localedata/locales/sl_SI: Likewise.
15258 * localedata/locales/sm_WS: Likewise.
15259 * localedata/locales/so_DJ: Likewise.
15260 * localedata/locales/so_ET: Likewise.
15261 * localedata/locales/so_KE: Likewise.
15262 * localedata/locales/so_SO: Likewise.
15263 * localedata/locales/sq_AL: Likewise.
15264 * localedata/locales/sq_MK: Likewise.
15265 * localedata/locales/sr_ME: Likewise.
15266 * localedata/locales/sr_RS: Likewise.
15267 * localedata/locales/sr_RS@latin: Likewise.
15268 * localedata/locales/ss_ZA: Likewise.
15269 * localedata/locales/st_ZA: Likewise.
15270 * localedata/locales/sv_FI: Likewise.
15271 * localedata/locales/sv_SE: Likewise.
15272 * localedata/locales/sw_KE: Likewise.
15273 * localedata/locales/sw_TZ: Likewise.
15274 * localedata/locales/szl_PL: Likewise.
15275 * localedata/locales/ta_IN: Likewise.
15276 * localedata/locales/ta_LK: Likewise.
15277 * localedata/locales/tcy_IN: Likewise.
15278 * localedata/locales/te_IN: Likewise.
15279 * localedata/locales/tg_TJ: Likewise.
15280 * localedata/locales/th_TH: Likewise.
15281 * localedata/locales/the_NP: Likewise.
15282 * localedata/locales/ti_ER: Likewise.
15283 * localedata/locales/ti_ET: Likewise.
15284 * localedata/locales/tig_ER: Likewise.
15285 * localedata/locales/tk_TM: Likewise.
15286 * localedata/locales/tl_PH: Likewise.
15287 * localedata/locales/tn_ZA: Likewise.
15288 * localedata/locales/to_TO: Likewise.
15289 * localedata/locales/tpi_PG: Likewise.
15290 * localedata/locales/tr_CY: Likewise.
15291 * localedata/locales/tr_TR: Likewise.
15292 * localedata/locales/ts_ZA: Likewise.
15293 * localedata/locales/tt_RU: Likewise.
15294 * localedata/locales/tt_RU@iqtelif: Likewise.
15295 * localedata/locales/ug_CN: Likewise.
15296 * localedata/locales/uk_UA: Likewise.
15297 * localedata/locales/unm_US: Likewise.
15298 * localedata/locales/ur_IN: Likewise.
15299 * localedata/locales/ur_PK: Likewise.
15300 * localedata/locales/uz_UZ: Likewise.
15301 * localedata/locales/uz_UZ@cyrillic: Likewise.
15302 * localedata/locales/ve_ZA: Likewise.
15303 * localedata/locales/vi_VN: Likewise.
15304 * localedata/locales/wa_BE: Likewise.
15305 * localedata/locales/wae_CH: Likewise.
15306 * localedata/locales/wal_ET: Likewise.
15307 * localedata/locales/wo_SN: Likewise.
15308 * localedata/locales/xh_ZA: Likewise.
15309 * localedata/locales/yi_US: Likewise.
15310 * localedata/locales/yo_NG: Likewise.
15311 * localedata/locales/yue_HK: Likewise.
15312 * localedata/locales/yuw_PG: Likewise.
15313 * localedata/locales/zh_CN: Likewise.
15314 * localedata/locales/zh_HK: Likewise.
15315 * localedata/locales/zh_SG: Likewise.
15316 * localedata/locales/zh_TW: Likewise.
15317 * localedata/locales/zu_ZA: Likewise.
15319 2017-11-13 Florian Weimer <fweimer@redhat.com>
15321 * support/next_to_fault.h, support/next_to_fault.c: New files.
15322 * support/Makefile (libsupport-routines): Add next_to_fault.
15323 * resolv/tst-inet_pton.c (struct next_to_fault)
15324 (next_to_fault_allocate, next_to_fault_free): Remove.
15325 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
15327 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
15329 * elf/dl-support.c: Include <dl-procruntime.c>.
15330 * include/link.h: Include <link_map.h>.
15331 * sysdeps/generic/dl-procruntime.c: New file.
15332 * sysdeps/generic/link_map.h: Likewise.
15333 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
15334 the writable ld.so namespace.
15336 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
15338 timezone: pacify GCC -Wstringop-truncation
15339 Problem reported by Martin Sebor in:
15340 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
15341 * timezone/zic.c (writezone): Use memcpy, not strncpy.
15343 2017-11-12 Florian Weimer <fweimer@redhat.com>
15345 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
15347 (tests): Add tst-xreadlink.
15348 * support/support.h (xstrndup): Declare.
15349 * support/xunistd.h (xunlink, xreadlink): Declare.
15350 * support/temp_file.h (support_create_temp_directory): Declare.
15351 * support/temp_file.c (support_create_temp_directory): New function.
15352 * support/support_chroot.c (support_chroot_create): Use it.
15353 * support/xreadlink.c: New file.
15354 * support/xstrndup.c: Likewise.
15355 * support/xunlink.c: Likewise.
15356 * support/tst-xreadlink.c: Likewise.
15358 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
15360 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
15362 2017-11-11 Florian Weimer <fweimer@redhat.com>
15366 * resolv/res_comp.c (printable_string, binary_hnok)
15367 (binary_leading_dash): New functions.
15368 (res_hnok): Reimplement using these functions and ns_name_pton.
15369 (res_ownok): Likewise.
15370 (res_mailok): Reimplement using printable_string, ns_name_pton and
15372 (res_dnok): Reimplement using printable_string and ns_name_pton.
15373 * resolv/tst-res_hnok.c (tests): Add additional tests.
15374 (LETTERDIGITS, PRINTABLE): Define.
15375 (do_test): Adjust one_char results.
15377 2017-11-11 Florian Weimer <fweimer@redhat.com>
15380 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
15381 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
15383 2017-11-11 Florian Weimer <fweimer@redhat.com>
15385 * resolv/tst-ns_name_pton.c: New file.
15386 * resolv/Makefile (tests): Add tst-ns_name_pton.
15387 (tst-ns_name_pton): Link against libresolv.
15389 2017-11-11 Florian Weimer <fweimer@redhat.com>
15391 * resolv/tst-res_hnok.c: New file.
15392 * resolv/Makefile (tests): Add tst-res_hnok.
15393 (tst-res_hnok): Link against libresolv.
15395 2017-11-11 Florian Weimer <fweimer@redhat.com>
15397 * resolv/tst-resolv-network.c: Use test framework instead explicit
15400 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
15402 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
15403 <jmp_buf-macros.h>.
15404 [!_ISOMAC] (STR_HELPER): New.
15405 [!_ISOMAC] (STR): Likewise.
15406 [!_ISOMAC] (TEST_SIZE): Likewise.
15407 [!_ISOMAC] (TEST_ALIGN): Likewise.
15408 [!_ISOMAC] (TEST_OFFSET): Likewise.
15409 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
15410 field offsets of jmp_buf as well as sigjmp_buf.
15411 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
15412 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
15413 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
15414 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
15415 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
15416 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
15417 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
15418 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
15419 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
15420 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
15422 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
15424 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
15425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
15427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
15429 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
15430 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
15431 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
15432 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
15433 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
15434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
15436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
15438 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
15439 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
15440 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
15442 2017-11-07 Joseph Myers <joseph@codesourcery.com>
15445 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15446 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
15447 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15448 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
15449 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15450 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
15451 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15452 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
15453 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15454 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
15455 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15456 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
15457 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15458 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
15459 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15460 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
15461 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15462 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
15463 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15464 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
15465 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15466 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
15467 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15468 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
15469 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15470 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
15471 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15472 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
15473 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15474 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
15475 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15476 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
15477 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15478 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
15479 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15480 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
15481 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15482 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
15483 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15484 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
15485 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15486 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
15487 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15488 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
15489 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15490 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
15491 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15492 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
15493 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15494 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
15495 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15496 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
15497 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15498 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
15499 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15500 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
15501 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15502 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
15503 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15504 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
15505 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15506 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
15507 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15508 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
15509 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15510 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
15511 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15512 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
15513 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15514 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
15515 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15516 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
15517 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15518 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
15519 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15520 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
15521 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15522 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
15523 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15524 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
15525 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15526 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
15527 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15528 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
15529 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15530 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
15531 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
15532 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
15534 * stdlib/tst-strtod.h (F16): New macro.
15540 (IF_FLOAT16): Likewise.
15541 (IF_FLOAT32): Likewise.
15542 (IF_FLOAT64): Likewise.
15543 (IF_FLOAT32X): Likewise.
15544 (IF_FLOAT64X): Likewise.
15545 (IF_FLOAT128X): Likewise.
15546 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
15547 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
15548 (STRTOD_TEST_FOREACH): Likewise.
15549 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
15550 (CHOOSE_f64): Likewise.
15551 (CHOOSE_f32x): Likewise.
15552 (CHOOSE_f64x): Likewise.
15554 2017-11-07 Andreas Schwab <schwab@suse.de>
15556 * nptl/Makefile (tests-internal): Remove tst-typesizes.
15558 2017-11-07 Mike FABIAN <mfabian@redhat.com>
15561 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
15563 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
15566 2017-11-07 Claude Paroz <claude@2xlibre.net>
15569 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
15571 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
15573 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
15576 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15579 * nptl/allocatestack.c (allocate_stack): Check if
15580 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
15581 __PTHREAD_MUTEX_HAVE_PREV is defined.
15582 * nptl/descr.h (pthread): Likewise.
15583 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15585 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
15586 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15587 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
15588 * sysdeps/nptl/bits/thread-shared-types.h
15589 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
15591 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
15592 of __WORDSIZE for internal layout.
15593 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
15594 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
15595 instead of __WORDSIZE whether to use an union for __spins and __list
15597 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
15599 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
15600 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
15602 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
15603 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
15605 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
15606 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
15608 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
15609 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
15611 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
15612 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
15614 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
15615 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
15617 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
15618 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
15620 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
15621 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
15623 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
15624 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
15626 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
15627 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
15629 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
15630 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
15632 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
15633 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
15635 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
15636 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
15638 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
15639 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
15641 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
15642 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
15645 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
15647 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
15648 checks for expected input type size.
15649 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
15650 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
15652 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
15653 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
15654 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
15655 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
15656 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
15657 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
15658 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
15659 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
15660 superflous runtime assert check.
15661 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
15663 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
15665 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
15667 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
15669 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
15671 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
15673 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
15674 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
15675 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
15677 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
15679 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
15681 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
15683 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
15685 * nptl/pthread_attr_setinheritsched.c
15686 (__pthread_attr_setinheritsched): Likewise.
15687 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
15689 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
15691 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
15692 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
15693 __old_pthread_attr_setstack): Likewise.
15694 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
15696 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
15698 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
15700 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
15701 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
15703 * nptl/tst-typesizes.c: Remove file.
15705 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
15706 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
15707 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
15708 checks for internal pthread_mutex_t offsets.
15709 * sysdeps/aarch64/nptl/pthread-offsets.h
15710 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
15711 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
15712 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
15713 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
15714 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
15715 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
15716 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
15717 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
15718 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
15719 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
15720 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
15721 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
15722 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
15723 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
15724 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
15725 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
15726 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
15727 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
15729 2017-11-07 Florian Weimer <fweimer@redhat.com>
15731 * bits/mman-linux.h: Move ...
15732 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
15734 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
15737 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15739 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
15740 Redefine STRNLEN as __strnlen_power8.
15742 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15744 * signal/sighold.c (sighold): Optimize implementation.
15746 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
15747 __NR_rt_sigqueueinfo.
15749 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
15751 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
15752 assume __NR_rt_sigtimedwait.
15753 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
15754 and add LIBC_CANCEL_HANDLED for cancellation marking.
15755 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
15757 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
15758 (sysdeps_routines): Add memchr_noneon.
15759 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
15760 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
15761 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
15762 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
15763 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
15764 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
15765 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
15767 * sysdeps/arm/arm-ifunc.h: New file.
15768 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
15769 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
15770 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
15771 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
15772 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
15773 (__memcpy_neon): Avoid create hidden alias.
15774 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
15775 (__memcpy_vfp): Likewise.
15776 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
15777 (sysdep_routines): Add memcpy_arm.
15778 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
15780 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
15783 * Makerules (make-link-multidir): New.
15784 * config.make.in (multidir): New.
15785 * configure.ac (libc_cv_multidir): New. AC_SUBST.
15786 * configure: Regenerated.
15787 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
15788 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
15789 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
15792 2017-11-06 Joseph Myers <joseph@codesourcery.com>
15795 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
15796 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
15798 2017-11-04 Mike FABIAN <mfabian@redhat.com>
15800 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
15803 2017-11-04 Florian Weimer <fweimer@redhat.com>
15805 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
15807 2017-11-03 Joseph Myers <joseph@codesourcery.com>
15809 * math/math.h [__HAVE_DISTINCT_FLOAT16
15810 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
15811 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
15812 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
15813 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
15814 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
15815 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
15816 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
15817 (__MATH_TG_F32): New macro.
15818 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
15819 (__MATH_TG_F64X): Likewise.
15820 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
15821 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
15823 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
15825 * po/de.po: Update translations.
15826 * po/ru.po: Likewise.
15828 2017-11-03 Florian Weimer <fweimer@redhat.com>
15830 * manual/filesys.texi (Hard Links): Document linkat.
15832 2017-11-03 Joseph Myers <joseph@codesourcery.com>
15834 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
15835 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
15836 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
15837 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
15838 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
15839 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
15840 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
15841 the same as _Float128.
15842 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
15843 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
15844 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
15847 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
15849 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
15851 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
15853 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
15854 (strtof32x): Likewise.
15855 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
15856 (strtof64x): Likewise.
15857 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
15858 (strtof128x): Likewise.
15859 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
15860 (strfromf16): Likewise.
15861 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
15862 (strfromf32): Likewise.
15863 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
15864 (strfromf64): Likewise.
15865 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
15866 (strfromf32x): Likewise.
15867 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
15868 (strfromf64x): Likewise.
15869 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
15870 (strfromf128x): Likewise.
15871 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
15872 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
15873 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
15874 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
15875 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
15876 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
15878 2017-11-03 Richard Henderson <rth@twiddle.net>
15880 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
15882 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
15884 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
15886 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
15888 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
15889 DT_TLSDESC_GOT initialization.
15890 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
15891 (_dl_tlsdesc_resolve_hold): Likewise.
15892 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
15893 (_dl_tlsdesc_resolve_hold): Likewise.
15894 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
15895 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
15897 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
15899 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
15901 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
15904 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
15905 non-lazily for R_ARM_TLS_DESC.
15907 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
15910 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
15911 R_ARM_TLS_DESC case.
15912 (elf_machine_lazy_rel): Remove the prelink check.
15914 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
15916 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
15917 DT_TLSDESC_GOT initialization.
15918 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
15919 (_dl_tlsdesc_resolve_rela): Likewise.
15920 (_dl_tlsdesc_resolve_hold): Likewise.
15921 (_dl_tlsdesc_undefweak): Remove ldar.
15922 (_dl_tlsdesc_dynamic): Likewise.
15923 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
15924 (_dl_tlsdesc_resolve_rela): Likewise.
15925 (_dl_tlsdesc_resolve_hold): Likewise.
15926 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
15927 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
15928 (_dl_tlsdesc_resolve_rela): Likewise.
15929 (_dl_tlsdesc_resolve_hold): Likewise.
15931 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
15933 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
15934 binding and initialization non-lazily for R_AARCH64_TLSDESC.
15936 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
15938 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
15939 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
15941 2017-11-02 Joseph Myers <joseph@codesourcery.com>
15943 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
15945 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
15946 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
15947 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
15948 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
15949 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
15950 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
15951 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
15952 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
15953 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
15954 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
15955 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
15957 2017-11-02 Mike FABIAN <mfabian@redhat.com>
15960 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
15961 * localedata/locales/tpi_PG: Add standard header.
15963 2017-11-02 Florian Weimer <fweimer@redhat.com>
15965 test-errno-linux: quotactl can fail with EPERM in containers.
15966 * sysdeps/unix/sysv/linux/test-errno-linux.c
15967 (LIST, LIST_FORWARD): New macros.
15968 (check_error_in_list): New function.
15969 (test_wrp_rv): Accept list of permitted error codes.
15970 (test_wrp_rv2): Remove.
15971 (test_wrp): Call test_wrp_rv with list of error codes.
15972 (test_wrp2): Accept list of error codes.
15973 (do_test): Adjust. Allow EPERM for quotactl.
15975 2017-11-02 Florian Weimer <fweimer@redhat.com>
15977 * stdio-common/bug16.c (do_test): Use array_length.
15978 * stdio-common/errlist.c (_sys_nerr): Likewise.
15979 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
15980 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
15981 * stdio-common/psiginfo.c (psiginfo): Use array_length.
15982 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
15983 (do_test): Use array_length.
15984 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
15985 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
15986 * stdio-common/tst-printf-round.c (do_test): Likewise.
15987 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
15988 (CHECK): Use array_length.
15989 * stdio-common/tstdiomisc.c (t3, F): Likewise.
15990 * stdio-common/tstscanf.c (main): Likewise.
15991 * stdio-common/vfprintf.c (process_string_arg): Likewise.
15993 2017-11-02 Florian Weimer <fweimer@redhat.com>
15995 Add array_length and array_end macros.
15996 * include/array_length.h: New file.
15998 2017-11-02 Florian Weimer <fweimer@redhat.com>
16001 * posix/tst-glob-tilde.c (do_noescape): New variable.
16002 (one_test): Process it.
16003 (do_test): Set do_noescape. Add unescaping test case.
16005 2017-11-01 Joseph Myers <joseph@codesourcery.com>
16008 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
16009 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
16010 with appropriate macros defined and undefined.
16011 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
16012 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
16013 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
16014 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
16015 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
16016 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
16017 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
16018 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
16019 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
16020 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
16023 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
16024 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
16025 that for long double. Do not condition define and undefine of
16026 _Mdouble_complex_ on [__CFLOAT128].
16028 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
16030 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
16031 of <sysdeps/generic/sysdep.h>.
16032 (ALIGNARG): Removed.
16033 (ASM_SIZE_DIRECTIVE): Likewise.
16036 (ENTRY_CHK): Likewise.
16037 (END_CHK): Likewise.
16038 (syscall_error): Likewise.
16039 (mcount): Likewise.
16040 (PSEUDO_END): Likewise.
16042 (atom_text_section): Likewise.
16043 * sysdeps/x86/sysdep.h: New file.
16044 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
16045 of <sysdeps/generic/sysdep.h>.
16046 (ALIGNARG): Removed.
16047 (ASM_SIZE_DIRECTIVE): Likewise.
16050 (ENTRY_CHK): Likewise.
16051 (END_CHK): Likewise.
16052 (syscall_error): Likewise.
16053 (mcount): Likewise.
16054 (PSEUDO_END): Likewise.
16056 (atom_text_section): Likewise.
16058 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
16060 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
16061 category of LC_CTYPE set to "i18n:2012".
16062 * localedata/locales/i18n_ctype: Regenerate.
16064 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
16066 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
16067 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
16068 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
16069 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
16071 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
16072 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
16073 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
16074 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
16076 2017-10-31 Joseph Myers <joseph@codesourcery.com>
16079 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
16081 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
16083 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
16085 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
16086 (CMPLXF32X): Likewise.
16087 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
16088 (CMPLXF64X): Likewise.
16089 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
16090 (CMPLXF128X): Likewise.
16093 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
16094 (__MATH_EVAL_FMT2): Define to add 0.0f.
16096 2017-10-31 Alan Modra <amodra@gmail.com>
16098 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
16100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
16101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
16102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
16103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
16104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
16105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
16106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
16107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
16108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
16109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
16110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
16111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
16112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
16113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
16114 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
16115 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
16116 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
16117 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
16118 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
16119 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
16120 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
16121 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
16122 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
16123 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
16124 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
16125 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
16126 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
16127 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
16128 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
16129 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
16130 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
16131 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
16132 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
16133 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
16134 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
16135 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
16136 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
16137 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
16138 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
16139 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16140 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
16141 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
16142 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
16143 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
16144 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
16145 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
16146 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
16147 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
16148 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
16149 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
16150 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
16151 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
16152 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
16153 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
16154 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
16155 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
16156 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
16157 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
16158 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
16159 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
16160 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
16161 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
16162 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
16163 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16164 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
16165 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
16166 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
16167 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
16168 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
16170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
16171 include sysdep.h and math_ldbl_opt.h.
16173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
16174 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
16175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
16176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
16177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
16178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
16179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
16180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
16181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
16182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
16183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
16184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
16185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
16186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
16187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
16188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
16189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
16190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
16191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
16192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
16193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
16194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
16195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
16196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
16197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
16198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
16200 2017-10-31 Alan Modra <amodra@gmail.com>
16202 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
16203 string/strncase_l.c, not string/strncase.c.
16204 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
16205 (libc_hidden_def): Redefine.
16207 2017-10-31 Alan Modra <amodra@gmail.com>
16209 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
16210 (__STRCMP, STRCMP, __strcasecmp_l): Define.
16211 (__strcasecmp): Don't define.
16213 2017-10-31 Alan Modra <amodra@gmail.com>
16215 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
16217 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
16218 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
16219 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
16221 2017-10-31 Alan Modra <amodra@gmail.com>
16223 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
16226 2017-10-31 Alan Modra <amodra@gmail.com>
16228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
16229 Redefine only when SHARED.
16231 2017-10-30 Joseph Myers <joseph@codesourcery.com>
16233 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
16234 Include <bits/math-finite.h> with appropriate macros defined and
16236 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
16237 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
16238 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
16239 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
16240 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
16242 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
16243 [!_Mlong_double_] (_Mlong_double_): Likewise.
16244 [!_Mfloat16_] (_Mfloat16_): Likewise.
16245 [!_Mfloat32_] (_Mfloat32_): Likewise.
16246 [!_Mfloat64_] (_Mfloat64_): Likewise.
16247 [!_Mfloat128_] (_Mfloat128_): Likewise.
16248 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
16249 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
16250 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
16251 (_Mdouble_): Define without indirection through those macros.
16252 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
16253 [!_Mfloat128_] (_Mfloat128_): Likewise.
16254 [_Mlong_double_] (_Mlong_double_): Likewise.
16255 (_Mdouble_): Define without indirection through those macros.
16256 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
16257 not add -D_Mlong_double_=double.
16258 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
16259 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
16261 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
16263 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
16265 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
16267 * sysdeps/x86/libc-start.c: Reformat.
16269 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
16272 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
16273 (1): Renamed to ...
16276 (L(Src2)): Likewise.
16277 (L(1)): Renamed to ...
16280 2017-10-30 Joseph Myers <joseph@codesourcery.com>
16282 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
16283 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
16284 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
16285 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
16286 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
16287 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
16288 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
16289 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
16290 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
16291 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
16292 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
16293 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
16294 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
16295 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
16296 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
16297 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
16298 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
16299 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
16300 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
16301 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
16302 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
16303 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
16304 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
16305 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
16306 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
16307 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
16308 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
16309 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
16310 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
16311 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
16312 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
16313 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
16314 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
16315 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
16316 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
16317 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
16318 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
16319 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
16320 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
16321 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
16322 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
16323 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
16324 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
16325 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
16326 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
16327 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
16328 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
16329 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
16330 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
16331 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
16332 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
16333 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
16334 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
16335 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
16336 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
16337 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
16338 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
16339 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
16340 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
16341 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
16342 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
16343 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
16344 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
16345 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
16346 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
16347 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
16349 2017-10-30 Florian Weimer <fweimer@redhat.com>
16351 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
16353 * io/tst-mkdirat.c (do_test): Likewise.
16354 * io/tst-mkfifoat.c (do_test): Likewise.
16355 * io/tst-mknodat.c (do_test): Likewise.
16356 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
16357 * locale/programs/locale.c (select_dirs): Likewise.
16358 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
16359 * posix/bug-glob2.c (my_readdir): Likewise.
16360 * posix/tst-dir.c (main): Likewise.
16361 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
16362 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
16364 2017-10-30 Florian Weimer <fweimer@redhat.com>
16366 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
16369 2017-10-30 Florian Weimer <fweimer@redhat.com>
16371 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
16372 Convert to support/test-driver.c.
16373 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
16374 New macro parameters.
16375 (PRINTF): Remove macro. Use test_verbose conditionals instead.
16376 * posix/tst-gnuglob.c: New file.
16377 * posix/tst-gnuglob64.c: Likewise.
16378 * posix/Makefile (tests): Add tst-gnuglob64.
16380 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
16383 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
16384 and use a better translation for March in “mon”.
16385 * localedata/locales/csb_PL: Use more ASCII to improve the
16386 readability of the source.
16388 2017-10-30 Mike FABIAN <mfabian@redhat.com>
16391 * localedata/locales/km_KH: Use ASCII as much
16392 as possible for better readability of the source and
16393 remove useless comments.
16394 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
16395 was commented out and apparently wrong anyway because it was
16396 using Lao characters. If Buddhist era should be used
16397 for km_KH, a native speaker should write the correct formaat
16399 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
16400 (According to CLDR, the first weekday for Cambodia is Sunday).
16401 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
16402 (These were using Lao characters which must be wrong. If we get
16403 the correct data from a native speaker, we could add it back, until
16404 then it is better not to have name_mr and name_mrs at all than
16407 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
16409 * locale/loadlocale.c: Correct size of
16410 _nl_value_type_LC_<category> arrays.
16412 2017-10-27 Joseph Myers <joseph@codesourcery.com>
16414 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
16415 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
16416 with appropriate macros defined and undefined.
16417 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
16418 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
16419 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
16420 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
16421 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
16423 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
16425 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
16428 2017-10-27 Mike FABIAN <mfabian@redhat.com>
16430 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
16431 with lowercase letters to make it agree with CLDR.
16433 2017-10-27 Mike FABIAN <mfabian@redhat.com>
16436 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
16437 first letters of yesstr and nostr in yesexpr and noexpr,
16438 not for the full words.
16439 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
16440 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
16441 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
16442 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
16443 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
16444 first letters of yesstr and nostr in yesexpr and noexpr,
16445 until now only English was matched in yesexpr and noexpr.
16446 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
16447 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
16448 fil but not for tl. As tl and fil are very similar, using fil
16449 is probably better than using English.
16451 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
16454 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
16455 in yesstr and nostr.
16457 2017-10-26 Joseph Myers <joseph@codesourcery.com>
16459 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
16460 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
16461 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
16463 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
16465 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
16467 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
16469 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
16470 (SNANF128X): Likewise.
16472 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
16473 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
16474 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
16475 (HUGE_VAL_F32): Likewise.
16476 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
16477 (HUGE_VAL_F64): Likewise.
16478 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
16479 (HUGE_VAL_F32X): Likewise.
16480 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
16481 (HUGE_VAL_F64X): Likewise.
16482 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
16483 (HUGE_VAL_F128X): Likewise.
16485 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
16487 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
16488 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
16489 for the br_FR locale.
16491 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
16494 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
16496 2017-10-25 Carlos O'Donell <carlos@redhat.com>
16498 * locale/programs/record-status.h: Define globals, and function
16499 prototypes. Move function bodies...
16500 * locale/programs/record-status.c: ... to here. New file.
16501 * iconv/Makefile (iconv_prog-modules): Add record-status.
16502 * locale/Makefile (lib-modules): Likewise.
16503 * iconv/iconv_prog.c: Remove verbose.
16504 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
16505 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
16506 record a warning about ASCII compatibility.
16507 * locale/programs/ld-monetary.c (monetary_finish): If
16508 warn_int_curr_symbol is true then record a warning about the symbol
16509 not being in our ISO 4217 list.
16510 * locale/programs/locale.c: Include record-status.h. Remove verbose.
16511 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
16512 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
16513 (OPT_NO_WARN): Define.
16514 (OPT_WARN): Define.
16515 (options): Add entry for --no-warnings, and --warnings.
16516 (set_warnings): New function to enable/disable warnings.
16517 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
16518 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
16519 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
16520 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
16521 Pass flags to generate_locale.
16522 (generate_locale): Accept new flag argument and pass it to localedef
16524 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
16525 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
16527 * localedata/Makefile (test-input-data): Use full file name.
16528 * localedata/da_DK.in: Rename to...
16529 * localedata/da_DK.ISO-8859-1.in: ...this.
16530 * localedata/de_DE.in: Rename to...
16531 * localedata/de_DE.ISO-8859-1.in: ...this.
16532 * localedata/en_US.in: Rename to...
16533 * localedata/en_US.ISO-8859-1.in: ...this.
16534 * localedata/fr_FR.in: Rename to...
16535 * localedata/fr_FR.UTF-8.in: ... this.
16536 * localedata/hr_HR.in: Rename to...
16537 * localedata/hr_HR.ISO-8859-2.in: ...this.
16538 * localedata/hu_HU.in: Rename to...
16539 * localedata/hu_HU.UTF-8.in: ...this.
16540 * localedata/si_LK.in: Rename to...
16541 * localedata/si_LK.UTF-8.in: ...this.
16542 * localedata/sv_SE.in: Rename to...
16543 * localedata/sv_SE.ISO-8859-1.in: ...this.
16544 * localedata/tr_TR.in: Rename to...
16545 * localedata/tr_TR.UTF-8.in: ...this.
16546 * localedata/uk_UA.in: Rename to...
16547 * localedata/uk_UA.UTF-8.in: ...this.
16548 * localedata/sort-test.sh: Test file is locale name with the
16551 * localedata/unicode-gen/Makefile (check_i18n): Rename to
16552 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
16554 * localedata/locales/i18n_ctype: Regenerate.
16555 * localedata/locales/tr_TR: Likewise.
16556 * localedata/locales/translit_circle: Likewise.
16557 * localedata/locales/translit_cjk_compat: Likewise.
16558 * localedata/locales/translit_combining: Likewise.
16559 * localedata/locales/translit_compat: Likewise.
16560 * localedata/locales/translit_font: Likewise.
16561 * localedata/locales/translit_fraction: Likewise.
16563 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16565 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
16566 lxvd2x/stxvd2x with lvx/stvx.
16567 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
16569 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
16571 * include/alloc_buffer.h: Replace "if if " with "if " in
16573 * sysdeps/mips/memcpy.S: Likkewise.
16574 * sysdeps/mips/memset.S: Likewise.
16575 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
16577 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
16579 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
16582 2017-10-25 Mike FABIAN <mfabian@redhat.com>
16585 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
16586 yesexpr and noexpr.
16587 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
16588 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
16589 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
16590 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
16591 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
16592 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
16593 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
16595 2017-10-25 Mike FABIAN <mfabian@redhat.com>
16597 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
16598 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
16599 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
16600 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
16601 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
16602 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
16603 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
16604 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
16605 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
16606 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
16607 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
16608 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
16610 2017-10-25 Mike FABIAN <mfabian@redhat.com>
16612 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
16613 as possible for better readability of the source.
16614 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
16615 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
16616 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
16617 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
16618 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
16619 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
16620 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
16621 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
16622 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
16623 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
16624 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
16625 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
16626 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
16627 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
16628 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
16629 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
16630 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
16631 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
16632 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
16633 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
16634 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
16635 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
16636 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
16637 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
16638 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
16639 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
16640 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
16641 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
16642 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
16643 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
16644 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
16645 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
16646 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
16647 * localedata/locales/en_US (LC_MESSAGES): Likewise.
16648 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
16649 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
16650 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
16651 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
16652 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
16653 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
16654 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
16655 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
16656 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
16657 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
16658 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
16659 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
16660 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
16661 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
16662 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
16663 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
16664 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
16665 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
16666 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
16667 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
16668 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
16669 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
16670 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
16671 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
16672 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
16673 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
16674 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
16675 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
16676 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
16677 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
16678 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
16679 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
16680 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
16681 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
16682 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
16683 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
16684 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
16685 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
16686 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
16687 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
16688 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
16689 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
16690 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
16691 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
16692 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
16693 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
16694 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
16695 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
16696 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
16697 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
16698 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
16699 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
16700 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
16701 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
16702 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
16703 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
16704 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
16705 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
16706 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
16707 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
16708 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
16709 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
16710 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
16711 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
16712 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
16713 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
16714 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
16715 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
16716 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
16717 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
16718 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
16719 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
16720 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
16721 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
16722 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
16723 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
16724 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
16725 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
16726 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
16727 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
16728 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
16729 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
16730 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
16731 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
16732 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
16733 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
16734 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
16735 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
16736 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
16737 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
16738 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
16739 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
16740 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
16741 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
16742 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
16743 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
16744 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
16745 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
16746 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
16747 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
16748 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
16749 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
16750 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
16751 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
16752 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
16753 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
16754 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
16755 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
16756 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
16757 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
16758 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
16759 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
16760 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
16761 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
16762 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
16763 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
16764 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
16765 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
16766 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
16767 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
16768 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
16769 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
16770 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
16771 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
16772 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
16773 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
16774 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
16775 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
16776 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
16777 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
16778 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
16779 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
16780 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
16781 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
16782 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
16783 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
16784 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
16785 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
16786 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
16787 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
16789 2017-10-25 Mike FABIAN <mfabian@redhat.com>
16791 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
16792 (Use first letters of yesstr and nostr correctly instead of using
16795 2017-10-25 Mike FABIAN <mfabian@redhat.com>
16797 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
16798 (Use first letters of yesstr and nostr correctly).
16800 2017-10-25 Mike FABIAN <mfabian@redhat.com>
16802 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
16803 also check for the first characters of yesstr and nostr.
16804 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
16805 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
16807 2017-10-25 Mike FABIAN <mfabian@redhat.com>
16809 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
16810 also check for Chinese characters.
16812 2017-10-25 Mike FABIAN <mfabian@redhat.com>
16814 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
16815 match also for the contents of yesstr and nostr. As the first letter
16816 of yesstr and nostr is equal, checking only for the first letter
16819 2017-10-25 Mike FABIAN <mfabian@redhat.com>
16821 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
16822 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
16824 2017-10-25 Mike FABIAN <mfabian@redhat.com>
16826 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
16827 of main contributor.
16829 2017-10-25 Mike FABIAN <mfabian@redhat.com>
16831 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
16832 instead of using English.
16834 2017-10-25 Mike FABIAN <mfabian@redhat.com>
16836 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
16837 by including the first letters of nostr and yesexpr in the regexp.
16838 Also make it more readable by using ASCII where possible.
16840 2017-10-25 Mike FABIAN <mfabian@redhat.com>
16842 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
16843 the first letter of nostr in the regexp. It agrees with CLDR now.
16844 Also make it more readable by using ASCII where possible.
16846 2017-10-24 Mike FABIAN <mfabian@redhat.com>
16848 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
16849 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
16850 these strings contain a U+17D6 (which somewhat looks like a colon)
16851 instead of a real colon to separate the full words for “yes”
16852 and “no” from the single letter responses.
16854 2017-10-24 Mike FABIAN <mfabian@redhat.com>
16856 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
16857 it agree with CLDR (include the first letter of yesstr).
16858 Also make it more readable by using ASCII where possible.
16860 2017-10-24 Mike FABIAN <mfabian@redhat.com>
16862 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
16863 and improve yesexpr and noexpr. The yesstr and nostr apparently
16864 came from CLDR. And CLDR has a bug there: these strings contain
16865 a U+0903 (which looks like a colon) instead of a real colon
16866 to separate the full words for “yes” and “no” from the single
16869 2017-10-24 Mike FABIAN <mfabian@redhat.com>
16871 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
16872 letters of the full yesstr and nostr in yesexpr and noexpr.
16874 2017-10-24 Mike FABIAN <mfabian@redhat.com>
16876 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
16877 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
16878 * localedata/locales/an_ES: Make source more readable by using ASCII
16881 2017-10-24 Mike FABIAN <mfabian@redhat.com>
16884 * localedata/locales/yuw_PG: New file.
16885 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
16886 * locale/iso-639.def: Add Yau (Uruwa).
16888 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
16890 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
16892 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
16894 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
16895 (__libc_realloc): Likewise.
16896 (_mid_memalign): Likewise.
16897 (__libc_calloc): Likewise.
16899 2017-10-23 Mike FABIAN <mfabian@redhat.com>
16901 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
16902 by adding the generic +1 and -0 as in all other locales.
16903 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
16904 day names and make it more readable by using ASCII where possible.
16906 2017-10-24 Joseph Myers <joseph@codesourcery.com>
16908 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
16909 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
16911 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16913 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
16914 WNOHANG in waitpid call.
16916 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
16918 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
16919 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
16921 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
16922 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
16923 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
16924 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
16925 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
16926 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
16927 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
16928 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
16931 2017-10-23 Michael Collison <michael.collison@arm.com>
16933 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
16934 with __builtin_sqrt.
16935 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
16936 with __builtin_sqrtf.
16937 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
16938 with __builtin_ceil.
16939 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
16940 with __builtin_ceilf.
16941 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
16942 with __builtin_floor.
16943 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
16944 with __builtin_floorf.
16945 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
16946 with __builtin_fma.
16947 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
16948 with __builtin_fmaf.
16949 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
16950 with __builtin_fmax.
16951 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
16952 with __builtin_fmaxf.
16953 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
16954 with __builtin_fmin.
16955 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
16956 with __builtin_fminf.
16957 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
16958 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
16959 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
16960 with builtin_rint and conversion to int.
16961 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
16962 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
16963 with builtin_llround.
16964 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
16965 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
16966 with builtin_rint and conversion to long int.
16967 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
16968 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
16969 with builtin_lround.
16970 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
16971 with builtin_lroundf.
16972 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
16973 statements with __builtin_nearbyint.
16974 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
16975 statements with __builtin_nearbyintf.
16976 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
16977 with __builtin_rint.
16978 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
16979 with __builtin_rintf.
16980 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
16981 with __builtin_round.
16982 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
16983 with __builtin_roundf.
16984 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
16985 with __builtin_trunc.
16986 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
16987 with __builtin_truncf.
16988 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
16989 and s_l[l]round[f].c too.
16991 2017-10-23 Alan Modra <amodra@gmail.com>
16993 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
16994 Adjust stack after restoring regs. Add missing LR cfi_restore.
16996 2017-10-23 Alan Modra <amodra@gmail.com>
16998 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
16999 Move LR save and frame setup/teardown and LR restore to
17000 immediately around memset call. Provide cfi.
17002 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
17004 * sysdeps/i386/fpu/e_powf.S: Removed.
17005 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
17006 * sysdeps/i386/fpu/w_powf.c: Likewise.
17007 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
17008 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17009 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
17011 (CFLAGS-e_powf-sse2.c): New.
17012 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
17013 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
17015 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
17017 * sysdeps/i386/fpu/e_log2f.S: Removed.
17018 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
17019 * sysdeps/i386/fpu/w_log2f.c: Likewise.
17020 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
17021 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17022 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
17024 (CFLAGS-e_log2f-sse2.c): New.
17025 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
17026 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
17028 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
17030 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17032 (CFLAGS-e_powf-fma.c): New.
17033 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
17034 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
17036 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
17038 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17040 (CFLAGS-e_log2f-fma.c): New.
17041 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
17042 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
17044 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
17046 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17048 (CFLAGS-e_logf-fma.c): New.
17049 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
17050 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
17052 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
17054 * sysdeps/i386/fpu/e_logf.S: Removed.
17055 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
17056 * sysdeps/i386/fpu/w_logf.c: Likewise.
17057 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
17058 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
17059 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17060 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
17062 (CFLAGS-e_logf-sse2.c): New.
17063 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
17064 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
17066 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
17068 * sysdeps/i386/fpu/e_exp2f.S: Removed.
17069 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
17070 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
17071 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17072 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
17074 (CFLAGS-e_exp2f-sse2.c): New.
17075 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
17076 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
17078 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
17080 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17082 (CFLAGS-e_exp2f-fma.c): New.
17083 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
17084 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
17086 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
17088 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
17089 * sysdeps/i386/fpu/e_expf.S: Likewise.
17090 * sysdeps/i386/fpu/math_errf.c: Likewise.
17091 * sysdeps/i386/fpu/w_expf.c: Likewise.
17092 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
17093 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17094 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
17095 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
17096 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17097 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
17098 Remove e_expf-ia32.
17099 (CFLAGS-e_expf-sse2.c): New.
17100 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
17101 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
17103 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
17105 * sysdeps/x86_64/fpu/e_expf.S: Removed.
17106 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
17107 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
17108 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
17110 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
17112 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
17113 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
17115 (__redirect_expf): This.
17116 (SYMBOL_NAME): Changed to expf.
17117 (__ieee754_expf): Renamed to ...
17119 (__GI___expf): This.
17120 (__ieee754_expf): Add strong_alias.
17121 (__expf_finite): Likewise.
17123 Include <sysdeps/ieee754/flt-32/e_expf.c>.
17125 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
17128 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
17131 2017-10-21 Florian Weimer <fweimer@redhat.com>
17133 * posix/Makefile (tests): Add tst-glob-tilde.
17134 (tests-special): Add tst-glob-tilde-mem.out
17135 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
17136 (tst-glob-tilde-mem.out): Add mtrace check.
17137 * posix/tst-glob-tilde.c: New file.
17139 2017-10-20 Joseph Myers <joseph@codesourcery.com>
17141 * bits/floatn-common.h: New file.
17142 * math/Makefile (headers): Add bits/floatn-common.h.
17143 * bits/floatn.h: Include <bits/floatn-common.h>.
17144 * sysdeps/ia64/bits/floatn.h: Likewise.
17145 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
17146 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
17147 * sysdeps/powerpc/bits/floatn.h: Likewise.
17148 * sysdeps/x86/bits/floatn.h: Likewise.
17150 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17152 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
17153 indicates whether compiler emits an warning for alias for
17154 functions with incompatible types.
17157 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
17158 the auxiliary process is terminated by a signal before calling _exit
17161 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
17164 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
17166 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
17167 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
17168 and bit_arch_XSAVEC_Usable if needed.
17169 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
17170 and bit_arch_Use_dl_runtime_resolve_opt.
17171 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
17173 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
17174 (bit_arch_Prefer_No_AVX512): Updated.
17175 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
17176 (bit_arch_XSAVEC_Usable): New.
17177 (STATE_SAVE_OFFSET): Likewise.
17178 (STATE_SAVE_MASK): Likewise.
17179 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
17180 (cpu_features): Add xsave_state_size and xsave_state_full_size.
17181 (index_arch_Use_dl_runtime_resolve_opt): Removed.
17182 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
17183 (index_arch_XSAVEC_Usable): New.
17184 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
17185 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
17186 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
17188 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
17189 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
17190 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
17191 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
17192 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
17193 _dl_runtime_resolve_xsavec.
17194 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
17196 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
17197 instead of VEC_SIZE.
17198 (REGISTER_SAVE_BND0): Removed.
17199 (REGISTER_SAVE_BND1): Likewise.
17200 (REGISTER_SAVE_BND3): Likewise.
17201 (REGISTER_SAVE_RAX): Always defined to 0.
17203 (_dl_runtime_resolve_avx): Likewise.
17204 (_dl_runtime_resolve_avx_slow): Likewise.
17205 (_dl_runtime_resolve_avx_opt): Likewise.
17206 (_dl_runtime_resolve_avx512): Likewise.
17207 (_dl_runtime_resolve_avx512_opt): Likewise.
17208 (_dl_runtime_resolve_sse): Likewise.
17209 (_dl_runtime_resolve_sse_vex): Likewise.
17211 (_dl_runtime_resolve_fxsave): Likewise.
17212 (USE_XSAVE): Likewise.
17213 (_dl_runtime_resolve_xsave): Likewise.
17214 (USE_XSAVEC): Likewise.
17215 (_dl_runtime_resolve_xsavec): Likewise.
17216 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
17218 (_dl_runtime_resolve_avx512_opt): Likewise.
17219 (_dl_runtime_resolve_avx): Likewise.
17220 (_dl_runtime_resolve_avx_opt): Likewise.
17221 (_dl_runtime_resolve_sse): Likewise.
17222 (_dl_runtime_resolve_sse_vex): Likewise.
17223 (_dl_runtime_resolve_fxsave): New.
17224 (_dl_runtime_resolve_xsave): Likewise.
17225 (_dl_runtime_resolve_xsavec): Likewise.
17227 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
17231 * posix/glob.c (__glob): Fix one-byte overflow.
17233 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
17235 * malloc/malloc.c (sysdep-cancel.h): Add include.
17237 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
17239 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
17241 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
17243 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
17244 (tests): Remove $(objpfx)ga_test depdendency.
17245 * resolv/ga_test.c: Remove file.
17247 2017-10-20 Mike FABIAN <mfabian@redhat.com>
17250 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
17251 * localedata/locales/kab_DZ: New file.
17253 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
17255 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
17256 _dl_relocate_static_pie instead of _dl_start to compute load
17257 address in static PIE.
17259 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
17261 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
17263 2017-10-20 Mike FABIAN <mfabian@redhat.com>
17266 * localedata/SUPPORTED: Add shn_MM/UTF-8.
17267 * localedata/locales/shn_MM: New file.
17269 2017-10-20 Florian Weimer <fweimer@redhat.com>
17272 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
17273 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
17274 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
17275 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
17276 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
17277 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
17279 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
17281 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17283 2017-10-19 Joseph Myers <joseph@codesourcery.com>
17285 * sysdeps/mips/ieee754/bits/floatn.h: New file.
17288 * sysdeps/mips/bits/long-double.h: Move to ....
17289 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
17291 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
17293 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
17295 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
17296 H.J. Lu <hongjiu.lu@intel.com>
17299 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
17300 GLRO(dl_platform) to NULL.
17301 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
17302 (modules-names): Add tst-platformmod-1 and
17303 x86_64/tst-platformmod-2.
17304 (CFLAGS-tst-platform-1.c): New.
17305 (CFLAGS-tst-platformmod-1.c): Likewise.
17306 (CFLAGS-tst-platformmod-2.c): Likewise.
17307 (LDFLAGS-tst-platformmod-2.so): Likewise.
17308 ($(objpfx)tst-platform-1): Likewise.
17309 ($(objpfx)tst-platform-1.out): Likewise.
17310 (tst-platform-1-ENV): Likewise.
17311 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
17312 * sysdeps/x86_64/tst-platform-1.c: New file.
17313 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
17314 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
17316 2017-10-19 Mike FABIAN <mfabian@redhat.com>
17319 * locale/iso-639.def: Add Karbi.
17320 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
17321 * localedata/locales/mjw_IN: New file.
17323 2017-10-18 Joseph Myers <joseph@codesourcery.com>
17325 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
17326 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
17327 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
17328 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
17329 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
17330 (libm_alias_ldouble_other_r): Also create _Float128 alias.
17331 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
17333 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
17334 (libm_alias_ldouble_other_r): Also create _Float128 alias.
17335 * manual/math.texi (Mathematics): Document additional architecture
17336 support for _Float128.
17337 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
17338 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17339 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17340 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17341 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17342 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17343 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17344 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17345 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17346 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17347 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17348 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17349 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17350 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17351 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17353 2017-10-18 Renlin Li <renlin.li@arm.com>
17355 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
17356 _DYNAMIC symbol to calculate load address.
17358 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
17360 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
17361 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
17363 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
17364 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
17366 2017-10-18 Mike FABIAN <mfabian@redhat.com>
17369 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
17370 and improve readability by using more ASCII.
17371 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
17372 and improve readability by using more ASCII.
17374 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
17376 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
17377 not all targets support atomics on bool.
17379 2017-10-17 Joseph Myers <joseph@codesourcery.com>
17381 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
17382 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
17384 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
17385 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
17386 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
17387 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
17388 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
17389 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
17391 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17393 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
17396 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
17399 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
17400 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
17401 (do_check_remalloced_chunk): Fix build bug.
17402 (do_check_malloc_state): Add assert that checks arena->top.
17403 (malloc_consolidate): Remove initialization.
17404 (int_mallinfo): Remove call to malloc_consolidate.
17405 (__libc_mallopt): Clarify why malloc_consolidate is needed.
17407 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
17409 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
17410 (have_fastchunks): Remove.
17411 (clear_fastchunks): Remove.
17412 (set_fastchunks): Remove.
17413 (malloc_state): Add have_fastchunks.
17414 (malloc_init_state): Use have_fastchunks.
17415 (do_check_malloc_state): Remove incorrect invariant checks.
17416 (_int_malloc): Use have_fastchunks.
17417 (_int_free): Likewise.
17418 (malloc_consolidate): Likewise.
17420 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
17422 * malloc/malloc.c (tcache_put): Inline.
17423 (tcache_get): Inline.
17425 2017-10-17 Jordi Mallach <jordi@gnu.org>
17427 Aurelien Jarno <aurelien@aurel32.net>
17429 * localedata/locales/ca_ES@valencia: New file.
17430 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
17432 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
17435 * math/math.h: Let signbit use the builtin in C++ mode with gcc
17438 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17440 * scripts/build-many-glibcs.py (Context.add_all_configs):
17441 Add arm-linux-gnueabihf multiarch extra_glibcs.
17443 * sysdeps/generic/ifunc-init.h: New file.
17444 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
17446 2017-10-17 Mike FABIAN <mfabian@redhat.com>
17449 * localedata/locales/el_GR: Set n_cs_precedes to 0.
17450 * localedata/locales/el_CY: copy "el_GR" because it is identical.
17451 * stdlib/tst-strfmon_l.c: adapt test case.
17453 2017-10-16 Joseph Myers <joseph@codesourcery.com>
17455 * sysdeps/generic/float128-abi.h: New file.
17456 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
17457 non-__prefixed symbols to ....
17458 * math/Versions: ... here. Include <float128-abi.h>.
17459 * stdlib/Versions ... and here. Include <float128-abi.h>
17461 2017-10-16 Florian Weimer <fweimer@redhat.com>
17463 * version.h (VERSION): Switch to ".9000" as the development
17466 2017-10-16 Florian Weimer <fweimer@redhat.com>
17469 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
17470 compat_symbol_reference to access non-default version.
17472 2017-10-16 Florian Weimer <fweimer@redhat.com>
17474 * malloc/Makefile (others-extras): Set to mcheck-init.o.
17476 2017-10-16 Carlos O'Donell <carlos@redhat.com>
17478 * include/shlib-compat.h (compat_symbol_reference): Update
17481 2017-10-16 Joseph Myers <joseph@codesourcery.com>
17483 * math/Makefile (test-types): Add
17484 $(type-float128-$(float128-alias-fcts)).
17485 * math/test-float128.h (TYPE_STR): Define conditional on
17486 [FLT128_MANT_DIG == LDBL_MANT_DIG].
17487 (ULP_IDX): Likewise.
17488 (ULP_I_IDX): Likewise.
17490 * stdlib/strtold.c: Include <bits/floatn.h>
17491 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
17492 and later undefine as macro. Define as weak alias if
17494 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
17495 and later undefine as macro. Define as weak alias if
17497 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
17498 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
17499 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
17500 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
17501 Define and later undefine as macro. Define as weak alias if
17503 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
17505 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
17506 Define and later undefine as macro. Define as weak alias if
17508 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
17509 Define and later undefine as macro. Define as weak alias if
17512 2017-10-15 Carlos O'Donell <carlos@redhat.com>
17514 * localedata/collate-test.c (allocate_arrays): Don't use \n in
17515 record_verbose messages.
17517 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
17520 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
17521 to silence -O3 -Wall warning with GCC 7.
17523 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
17525 * Makeconfig (+link-static-before-libc): Use the first of
17526 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
17527 * gmon/Makefile (tests): Add tst-gmon-static.
17528 (tests-static): Likewise.
17529 (CFLAGS-tst-gmon-static.c): New.
17530 (CRT-tst-gmon-static): Likewise.
17531 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
17532 (tst-gmon-static-ENV): Likewise.
17533 (tests-special): Likewise.
17534 ($(objpfx)tst-gmon-static.out): Likewise.
17535 (clean-tst-gmon-static-data): Likewise.
17536 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
17537 * gmon/tst-gmon-static-gprof.sh: New file.
17538 * gmon/tst-gmon-static.c: Likewise.
17540 2017-10-13 Carlos O'Donell <carlos@redhat.com>
17543 * locale/programs/linereader.c (get_string): Don't warn on
17544 non-symbolic character.
17547 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
17551 * locale/programs/record-status.h: New file
17552 * locale/programs/locale.c: Add comment.
17553 * locale/programs/charmap-dir.c: Don't include error.h.
17554 (charmap_opendir): Use record_error.
17555 * locale/programs/charmap.c: Don't include error.h.
17556 (charmap_read): Use record_error, and record_warning.
17557 (parse_charmap): Likewise.
17558 * locale/programs/ld-address.c: Don't include error.h.
17559 (address_finish): Use record_error, and record_warning.
17560 * locale/programs/ld-collate.c: Don't include error.h.
17561 (collate_finish): Use record_error, and record_error_at_line.
17562 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
17563 (ctype_class_new): Likewise.
17564 (ctype_map_new): Likewise.
17565 (set_one_default): Likewise.
17566 (set_class_defaults): Likewise.
17567 (translit_flatten): Likewise.
17568 (allocate_arrays): Use record_error, and record_verbose.
17569 * locale/programs/ld-identification.c: Don't include error.h.
17570 (indentation_finish): Use record_error and record_warning.
17571 * locale/programs/ld-measurement.c: Don't include error.h.
17572 (measurement_finish): Use record_error.
17573 * locale/programs/ld-messages.c
17574 (message_finish): Likewise.
17575 * locale/programs/ld-monetary.c
17576 (monetary_finish): Likewise.
17577 * locale/programs/ld-name.c (name_finish): Use record_error
17578 and record_warning.
17579 * locale/programs/ld-numeric.c
17580 (numeric_finish): Use record_error.
17581 * locale/programs/ld-paper.c: Don't include error.h.
17582 (paper_finish): Use record_error.
17583 * locale/programs/ld-telephone.c: Don't include error.h.
17584 (telephone_finish): Use record_error.
17585 * locale/programs/ld-time.c (time_finish): Likewise.
17586 * locale/programs/linereader.h (lr_error): Make inline func.
17587 * locale/programs/localedef.c: Define recorded_warning_count,
17588 and recorded_error_count.
17589 (main): Use record_error. Use recorded_error_count and
17590 recorded_warning_count to issue correct error returns.
17591 (add_to_readlist): Use record_error.
17592 (find_locale): Likewise.
17593 (load_locale): Likewise.
17594 * locale/programs/localedef.h: Remove be_quiet
17595 and WITH_CUR_LOCALE.
17596 * locale/programs/locarchive.c (compare_from_file): Use
17598 * locale/programs/locfile.c (write_locale_data): Use
17600 * locale/programs/repertoire.c: Dont include error.h.
17601 (repertoire_complain): Use record_error.
17602 * localedata/tst-fmon.sh: Expect failures from localedef.
17603 * localedata/tst-locale.sh: Likewise.
17604 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
17606 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
17607 (REPORTS): Likewise.
17609 (i18n): Rename to...
17610 (i18n_ctype): ...this.
17611 (i18n-report): Rename to...
17612 (i18n_ctype-report): ...this.
17613 * localedata/locales/i18n_ctype: Regenerate.
17614 * localedata/locales/i18n: copy i18n_ctype.
17616 2017-10-13 Joseph Myers <joseph@codesourcery.com>
17618 * stdlib/strfroml.c: Include <bits/floatn.h>.
17619 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
17620 Define before include of <stdlib.h> and undefine afterwards, then
17621 define as weak alias.
17623 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
17624 Undefine and restore default definition. Use
17625 libm_alias_ldouble_other.
17627 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
17630 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
17633 2017-10-13 James Clarke <jrtc27@jrtc27.com>
17635 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17636 Assign sym_map to be map for local symbols, as TLS relocations
17637 use sym_map to determine whether the symbol is defined and to
17638 extract the TLS information.
17639 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
17640 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
17642 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17645 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
17646 (math_force_eval): Add powerpc version.
17649 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
17651 (do_test): Likewise.
17652 * stdio-common/tst-printf.sh: Likewise.
17653 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
17654 ifdef clause in order to set the carry bit right. Replace r0 by
17655 0 without changing the behavior.
17657 2017-10-13 Joseph Myers <joseph@codesourcery.com>
17659 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
17660 <libm-alias-ldouble.h>.
17661 (fabsl): Define using libm_alias_ldouble.
17662 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
17663 <libm-alias-ldouble.h>.
17664 (fabsl): Define using libm_alias_ldouble.
17666 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
17667 Remove conditional code.
17669 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
17670 Rename to __clog10_internal_l.
17671 (__clog10_internal_l): Define aliases using
17672 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
17675 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17677 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
17678 * benchtests/sincosf-inputs: New file.
17679 * benchtests/cosf-inputs: New file.
17680 * benchtests/sinf-inputs: New file.
17682 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17684 * posix/tst-spawn.c (do_test): Wait for both children.
17686 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
17689 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
17690 tests-pie): Add tst-gmon-pie.
17691 (CFLAGS-tst-gmon-pie.c): New.
17692 (CRT-tst-gmon-pie): Likewise.
17693 (tst-gmon-pie-ENV): Likewise.
17694 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
17695 ($(objpfx)tst-gmon-pie.out): Likewise.
17696 (clean-tst-gmon-pie-data): Likewise.
17697 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
17698 * gmon/gmon.c [PIC]: Include <link.h>.
17699 [PIC] (callback): New function.
17700 (write_hist): Add an argument for load address. Subtract load
17702 (write_call_graph): Likewise.
17703 (write_gmon): Call __dl_iterate_phdr to get load address, pass
17704 it to write_hist and write_call_graph.
17705 * gmon/tst-gmon-pie.c: New file.
17707 2017-10-11 Joseph Myers <joseph@codesourcery.com>
17709 * math/Makefile (test-types-basic): New variable.
17710 (test-types): Likewise.
17711 (libm-test-support): Use $(test-types) instead of $(types).
17712 (libm-tests-base-normal): Likewise.
17713 (libm-tests-base-finite): Likewise.
17714 (libm-tests-base-inline): Likewise.
17715 (generated): Likewise.
17716 ($(objpfx)libm-test-support-$(t).c): Likewise.
17717 (libm-tests-for-type iterator): Likewise.
17718 (libm-test-support iterator): Likewise.
17719 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
17720 (ulp_idx): Use ULP_IDX.
17721 * math/test-ldouble.h: Include <float.h>.
17722 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
17723 (ULP_IDX): New macro.
17724 (ULP_I_IDX): Likewise.
17725 * math/test-double.h (ULP_IDX): Likewise.
17726 (ULP_I_IDX): Likewise.
17727 * math/test-float.h (ULP_IDX): Likewise.
17728 (ULP_I_IDX): Likewise.
17729 * math/test-float128.h (ULP_IDX): Likewise.
17730 (ULP_I_IDX): Likewise.
17732 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17734 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
17735 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17736 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17737 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
17738 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17739 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
17740 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
17741 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17742 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17743 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17744 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
17745 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17746 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17747 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17748 (SINGLE_THREAD_BY_GLOBAL): Define.
17749 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
17751 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
17753 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
17755 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
17757 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
17758 (SINGLE_THREAD_BY_GLOBAL): Likewise.
17759 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
17762 2017-10-11 Andreas Schwab <schwab@suse.de>
17764 * nis/Makefile (aux): Remove.
17765 * nscd/Makefile (aux): Add nscd_hash.
17766 (nscd-modules): Likewise.
17767 ($(objpfx)nscd): Don't depend on libnsl.
17768 * nscd/nscd_hash.c: New file.
17769 * nscd/nscd_hash.h: Likewise.
17770 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
17771 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
17772 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
17773 instead of <nis/rpcsvc/nis.h>.
17774 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
17776 2017-10-11 Florian Weimer <fweimer@redhat.com>
17779 Avoid large NSS buffers with many addresses, aliases.
17780 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
17781 using dynarrays and struct alloc_buffer.
17782 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
17783 (tst-nss-files-hosts-multi): Link with -ldl.
17784 * nss/tst-nss-files-hosts-multi.c: New file.
17786 2017-10-11 Florian Weimer <fweimer@redhat.com>
17789 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
17790 scratch_buffer. Eliminate gotos.
17792 2017-10-11 Joseph Myers <joseph@codesourcery.com>
17794 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
17795 libm_alias_ldouble_other.
17796 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
17797 undefine and redefine.
17798 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
17799 (exp10l): Do not define here.
17800 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
17801 (weak_alias): Undefine and redefine.
17802 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
17803 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
17804 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
17805 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
17807 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
17808 [!__fma] (fma): Define using libm_alias_double.
17809 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
17810 [!__fmaf] (fmaf): Define using libm_alias_float.
17811 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
17812 (fmal): Define using libm_alias_ldouble.
17814 2017-10-10 Joseph Myers <joseph@codesourcery.com>
17816 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
17818 (libm_alias_double_other): Likewise.
17819 (libm_alias_double_r): Use libm_alias_double_other_r.
17820 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
17822 (libm_alias_float_other): Likewise.
17823 (libm_alias_float_r): Use libm_alias_float_other_r.
17824 * sysdeps/generic/libm-alias-float128.h
17825 (libm_alias_float128_other_r): New macro.
17826 (libm_alias_float128_other): Likewise.
17827 (libm_alias_float128_r): Use libm_alias_float128_other_r.
17828 * sysdeps/generic/libm-alias-ldouble.h
17829 (libm_alias_ldouble_other_r): New macro.
17830 (libm_alias_ldouble_other): Likewise.
17831 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
17832 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
17833 (libm_alias_double_other_r): New macro.
17834 (libm_alias_double_other): Likewise.
17835 (libm_alias_double_r): Use libm_alias_double_other_r.
17836 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
17837 (libm_alias_ldouble_other_r): New macro.
17838 (libm_alias_ldouble_other): Likewise.
17839 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
17840 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
17841 [!USE_AS_COMPAT]: Use libm_alias_double_other.
17842 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
17843 [!USE_AS_COMPAT]: Use libm_alias_float_other.
17844 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
17845 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
17846 * math/w_exp2f.c: Use libm_alias_float_other.
17847 * math/w_expf.c: Likewise.
17848 * math/w_log2f.c: Likewise.
17849 * math/w_logf.c: Likewise.
17850 * math/w_powf.c: Likewise.
17851 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
17852 [!__exp2f]: Use libm_alias_float_other.
17853 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
17854 [!__expf]: Use libm_alias_float_other.
17855 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
17856 [!__log2f]: Use libm_alias_float_other.
17857 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
17858 [!__logf]: Use libm_alias_float_other.
17859 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
17860 [!__powf]: Use libm_alias_float_other.
17862 2017-10-10 Florian Weimer <fweimer@redhat.com>
17864 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
17866 (_nss_files_gethostbyname3_r): Call it.
17868 2017-10-09 Joseph Myers <joseph@codesourcery.com>
17870 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
17871 error. Remove default definition of declare_mgen_alias.
17872 [!declare_mgen_alias_r]: Likewise.
17873 * sysdeps/generic/math-type-macros-double.h
17874 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
17875 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
17876 (declare_mgen_alias_r): Likewise.
17877 * sysdeps/generic/math-type-macros-float128.h
17878 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
17879 * sysdeps/generic/math-type-macros-ldouble.h
17880 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
17881 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
17883 (declare_mgen_alias_r_s): Likewise.
17884 (declare_mgen_alias_r): Likewise.
17885 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
17886 (lgamma_r): Define using libm_alias_double_r.
17887 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
17888 (lgammaf_r): Define using libm_alias_float_r.
17889 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
17890 (lgammal_r): Define using libm_alias_ldouble_r.
17891 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
17892 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
17894 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17896 * lib/glob.c (__glob_pattern_type): Remove now-spurious
17897 extern declaration.
17899 2017-10-09 Joseph Myers <joseph@codesourcery.com>
17901 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
17903 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
17906 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
17907 [__cplusplus >= 201103] (__USE_ISOC99): Define.
17908 * math/Makefile (test-math-cxx11): New test.
17909 * math/test-math-cxx11.cc: New file.
17911 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
17913 * login/openpty.c (openpty): Close slave pty file descriptor on error.
17915 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
17916 call to allocate the slave pty file descriptor.
17918 2017-10-06 Joseph Myers <joseph@codesourcery.com>
17920 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
17921 [!__fma] (fma): Define using libm_alias_double.
17922 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
17923 [!__fma] (fma): Define using libm_alias_double.
17925 * sysdeps/ieee754/float128/float128_private.h: Include
17926 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
17927 (libm_alias_ldouble_r): Undefine and redefine.
17928 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
17929 <libm-alias-ldouble.h>.
17930 (asinhl): Define using libm_alias_ldouble.
17931 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
17932 <libm-alias-ldouble.h>.
17933 (atanl): Define using libm_alias_ldouble.
17934 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
17935 <libm-alias-ldouble.h>.
17936 (cbrtl): Define using libm_alias_ldouble.
17937 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
17938 <libm-alias-ldouble.h>.
17939 (ceill): Define using libm_alias_ldouble.
17940 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
17941 <libm-alias-ldouble.h>.
17942 (copysignl): Define using libm_alias_ldouble.
17943 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
17944 <libm-alias-ldouble.h>.
17945 (cosl): Define using libm_alias_ldouble.
17946 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
17947 <libm-alias-ldouble.h>.
17948 (erfl): Define using libm_alias_ldouble.
17950 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
17951 <libm-alias-ldouble.h>.
17952 (expm1l): Define using libm_alias_ldouble.
17953 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
17954 <libm-alias-ldouble.h>.
17955 (fabsl): Define using libm_alias_ldouble.
17956 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
17957 <libm-alias-ldouble.h>.
17958 (floorl): Define using libm_alias_ldouble.
17959 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
17960 <libm-alias-ldouble.h>.
17961 (fmal): Define using libm_alias_ldouble.
17962 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
17963 <libm-alias-ldouble.h>.
17964 (frexpl): Define using libm_alias_ldouble.
17965 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
17966 libm_alias_ldouble.
17967 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
17968 <libm-alias-ldouble.h>.
17969 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
17970 libm_alias_ldouble.
17971 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
17972 <libm-alias-ldouble.h>.
17973 (getpayloadl): Define using libm_alias_ldouble.
17974 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
17975 <libm-alias-ldouble.h>.
17976 (llrintl): Define using libm_alias_ldouble.
17977 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
17978 <libm-alias-ldouble.h>.
17979 (llroundl): Define using libm_alias_ldouble.
17980 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
17981 <libm-alias-ldouble.h>.
17982 (logbl): Define using libm_alias_ldouble.
17983 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
17984 <libm-alias-ldouble.h>.
17985 (lrintl): Define using libm_alias_ldouble.
17986 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
17987 <libm-alias-ldouble.h>.
17988 (lroundl): Define using libm_alias_ldouble.
17989 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
17990 <libm-alias-ldouble.h>.
17991 (modfl): Define using libm_alias_ldouble.
17992 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
17993 <libm-alias-ldouble.h>.
17994 (nearbyintl): Define using libm_alias_ldouble.
17995 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
17996 <libm-alias-ldouble.h>.
17997 (nextafterl): Define using libm_alias_ldouble.
17998 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
17999 <libm-alias-ldouble.h>.
18000 (nextupl): Define using libm_alias_ldouble.
18001 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
18002 <libm-alias-ldouble.h>.
18003 (remquol): Define using libm_alias_ldouble.
18004 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
18005 <libm-alias-ldouble.h>.
18006 (rintl): Define using libm_alias_ldouble.
18007 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
18008 <libm-alias-ldouble.h>.
18009 (roundevenl): Define using libm_alias_ldouble.
18010 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
18011 <libm-alias-ldouble.h>.
18012 (roundl): Define using libm_alias_ldouble.
18013 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
18014 using libm_alias_ldouble.
18015 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
18016 <libm-alias-ldouble.h>.
18017 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
18018 Define using libm_alias_ldouble.
18019 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
18020 <libm-alias-ldouble.h>.
18021 (sincosl): Define using libm_alias_ldouble.
18022 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
18023 <libm-alias-ldouble.h>.
18024 (sinl): Define using libm_alias_ldouble.
18025 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
18026 <libm-alias-ldouble.h>.
18027 (tanhl): Define using libm_alias_ldouble.
18028 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
18029 <libm-alias-ldouble.h>.
18030 (tanl): Define using libm_alias_ldouble.
18031 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
18032 <libm-alias-ldouble.h>.
18033 (totalorderl): Define using libm_alias_ldouble.
18034 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
18035 <libm-alias-ldouble.h>.
18036 (totalordermagl): Define using libm_alias_ldouble.
18037 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
18038 <libm-alias-ldouble.h>.
18039 (truncl): Define using libm_alias_ldouble.
18040 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
18041 libm_alias_ldouble.
18042 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
18043 libm_alias_ldouble.
18044 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
18045 <libm-alias-ldouble.h>.
18046 (weak_alias): Do not undefine and redefine.
18047 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
18048 (copysignl): Define with long_double_symbol only if [IS_IN
18050 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
18051 <libm-alias-ldouble.h>.
18052 (weak_alias): Do not undefine and redefine.
18053 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
18054 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
18055 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
18056 <libm-alias-ldouble.h>.
18057 (weak_alias): Do not undefine and redefine.
18058 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
18059 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
18060 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
18061 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
18062 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
18063 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
18064 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
18065 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
18066 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
18067 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
18068 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
18069 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
18070 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
18071 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
18072 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
18073 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
18074 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
18075 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
18076 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
18077 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
18078 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
18079 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
18080 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
18081 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
18082 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
18083 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
18085 2017-10-06 Carlos O'Donell <carlos@redhat.com>
18088 * malloc/malloc.c (tcache_shutting_down): Use bool type.
18089 (tcache_thread_freeres): Set tcache_shutting_down before
18090 freeing the tcache.
18091 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
18092 * malloc/tst-malloc-tcache-leak.c: New file.
18094 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18096 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
18097 back to powerpc32 file.
18098 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
18099 (memrchr): Add __memrchr_power8 to ifunc list.
18100 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
18101 extra bytes for unaligned inputs.
18103 2017-10-06 Joseph Myers <joseph@codesourcery.com>
18105 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
18106 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
18107 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
18108 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
18109 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
18111 2017-10-05 Joseph Myers <joseph@codesourcery.com>
18113 * sysdeps/arm/libm-test-ulps: Update.
18115 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
18116 <libm-alias-ldouble.h>.
18117 (asinhl): Define using libm_alias_ldouble.
18118 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
18119 <libm-alias-ldouble.h>.
18120 (cbrtl): Define using libm_alias_ldouble.
18121 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
18122 <libm-alias-ldouble.h>.
18123 (copysignl): Define using libm_alias_ldouble.
18124 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
18125 <libm-alias-ldouble.h>.
18126 (cosl): Define using libm_alias_ldouble.
18127 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
18128 <libm-alias-ldouble.h>.
18129 (erfl): Define using libm_alias_ldouble.
18131 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
18132 <libm-alias-ldouble.h>.
18133 (fmal): Define using libm_alias_ldouble.
18134 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
18135 <libm-alias-ldouble.h>.
18136 (frexpl): Define using libm_alias_ldouble.
18137 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
18138 libm_alias_ldouble.
18139 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
18140 <libm-alias-ldouble.h>.
18141 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
18142 libm_alias_ldouble.
18143 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
18144 <libm-alias-ldouble.h>.
18145 (getpayloadl): Define using libm_alias_ldouble.
18146 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
18147 <libm-alias-ldouble.h>.
18148 (llrintl): Define using libm_alias_ldouble.
18149 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
18150 <libm-alias-ldouble.h>.
18151 (llroundl): Define using libm_alias_ldouble.
18152 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
18153 <libm-alias-ldouble.h>.
18154 (lrintl): Define using libm_alias_ldouble.
18155 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
18156 <libm-alias-ldouble.h>.
18157 (lroundl): Define using libm_alias_ldouble.
18158 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
18159 <libm-alias-ldouble.h>.
18160 (modfl): Define using libm_alias_ldouble.
18161 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
18162 <libm-alias-ldouble.h>.
18163 (nextupl): Define using libm_alias_ldouble.
18164 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
18165 <libm-alias-ldouble.h>.
18166 (remquol): Define using libm_alias_ldouble.
18167 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
18168 <libm-alias-ldouble.h>.
18169 (roundevenl): Define using libm_alias_ldouble.
18170 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
18171 <libm-alias-ldouble.h>.
18172 (roundl): Define using libm_alias_ldouble.
18173 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
18174 using libm_alias_ldouble.
18175 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
18176 <libm-alias-ldouble.h>.
18177 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
18178 <libm-alias-ldouble.h>.
18179 (setpayloadsigl): Define using libm_alias_ldouble.
18180 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
18181 <libm-alias-ldouble.h>.
18182 (sincosl): Define using libm_alias_ldouble.
18183 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
18184 <libm-alias-ldouble.h>.
18185 (sinl): Define using libm_alias_ldouble.
18186 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
18187 <libm-alias-ldouble.h>.
18188 (tanhl): Define using libm_alias_ldouble.
18189 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
18190 <libm-alias-ldouble.h>.
18191 (tanl): Define using libm_alias_ldouble.
18192 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
18193 <libm-alias-ldouble.h>.
18194 (totalorderl): Define using libm_alias_ldouble.
18195 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
18196 <libm-alias-ldouble.h>.
18197 (totalordermagl): Define using libm_alias_ldouble.
18198 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
18199 libm_alias_ldouble.
18200 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
18201 libm_alias_ldouble.
18203 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
18205 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
18207 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
18208 (__libc_ifunc_impl_list): Likewise.
18209 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
18210 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
18212 * benchtests/bench-memmove-walk.c: New file.
18213 * benchtests/Makefile (string-benchset): Add it.
18215 * benchtests/bench-memset-walk.c: New file.
18216 * benchtests/Makefile (string-benchset): Add it.
18218 * benchtests/bench-memcpy-walk.c: New file.
18219 * benchtests/Makefile (string-benchset): Add it.
18221 2017-10-05 Florian Weimer <fweimer@redhat.com>
18223 nscd: Eliminate compilation time dependency in the build output.
18224 * nscd/nscd_stat.c (STATDATA_VERSION)
18225 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
18226 (STATDATA_VERSION_FULL): New macro definitions.
18227 (compilation): Remove.
18228 (struct statdata): Adjust version member.
18229 (send_stats): Set version from STATDATA_VERSION_FULL.
18230 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
18232 2017-10-05 Joseph Myers <joseph@codesourcery.com>
18234 * configure.ac (--enable-add-ons): Remove option.
18235 (machine): Do not mention add-ons in comment.
18236 (LIBC_PRECONFIGURE): Likewise.
18237 (add_ons): Remove variable and sanity checks and logic to locate
18239 (add_ons_automatic): Remove variable.
18240 (configured_add_ons): Likewise.
18241 (add_ons_sfx): Likewise.
18242 (add_ons_pfx): Likewise.
18243 (add_on_subdirs): Likewise.
18244 (sysnames_add_ons): Likewise. Remove loop over add-ons and
18245 consideration of add-ons in Implies handling.
18246 (sysdeps_add_ons): Likewise.
18247 * configure: Regenerated.
18248 * libidn/configure.ac: Remove.
18249 * libidn/configure: Likewise.
18250 * sysdeps/unix/inet/configure.ac: New file.
18251 * sysdeps/unix/inet/configure: New generated file.
18252 * sysdeps/unix/inet/Subdirs: Add libidn.
18253 * Makeconfig (sysdeps-srcdirs): Remove variable.
18254 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
18255 ($(common-objpfx)config.status): Do not depend on add-on files.
18256 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
18258 (all-subdirs): Do not include $(add-on-subdirs).
18259 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
18260 * config.make.in (add-ons): Remove variable.
18261 (add-on-subdirs): Likewise.
18262 (sysdeps-add-ons): Likewise.
18263 * manual/Makefile (add-chapters): Remove.
18264 ($(objpfx)texis): Do not depend on $(add-chapters).
18265 (nonexamples): Do not handle $(add-chapters).
18266 (examples): Do not handle $(add-ons).
18267 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
18269 * manual/install.texi (Installation): Do not mention add-ons.
18270 (--enable-add-ons): Do not document configure option.
18271 * INSTALL: Regenerated.
18272 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
18273 * manual/maint.texi (Hierarchy Conventions): Do not mention
18275 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
18277 * scripts/gen-sorted.awk: Do not handle Subdirs files from
18279 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
18280 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
18282 2017-10-05 Andreas Schwab <schwab@suse.de>
18285 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
18286 (_IO_flush_all_lockp): Always lock list_all_lock.
18287 (_IO_flush_all_linebuffered): Likewise.
18288 (_IO_unbuffer_all): Likewise.
18290 2017-10-05 Florian Weimer <fweimer@redhat.com>
18293 Do not flush stdio streams on abort.
18294 * stdlib/abort.c (fflush): Remove macro definition.
18295 (abort): Remove stages related to stdio flushing.
18297 2017-10-05 Florian Weimer <fweimer@redhat.com>
18299 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
18301 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
18303 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18305 2017-10-05 Florian Weimer <fweimer@redhat.com>
18307 * support/support_format_hostent.c (support_format_hostent): Add
18308 more error information for NETDB_INTERNAL.
18310 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
18312 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
18313 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
18314 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
18315 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
18316 AC_DEFINE if multi-arch is enabled.
18317 * sysdeps/i386/configure: Regenerated.
18319 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
18321 * Makeconfig (+link-static-before-libc): Use
18322 $(DEFAULT-LDFLAGS-$(@F)).
18323 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
18324 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
18325 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
18327 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
18329 * elf/Makefile (tests): Add tst-main1.
18330 (modules-names): Add tst-main1mod.
18331 ($(objpfx)tst-main1): New.
18332 (CRT-tst-main1): Likewise.
18333 (LDFLAGS-tst-main1): Likewise.
18334 (LDLIBS-tst-main1): Likewise.
18335 (tst-main1mod.so-no-z-defs): Likewise.
18336 * elf/tst-main1.c: New file.
18337 * elf/tst-main1mod.c: Likewise.
18339 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
18341 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
18343 2017-10-04 Joseph Myers <joseph@codesourcery.com>
18345 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
18346 (fma): Define using libm_alias_double.
18347 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
18348 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
18350 (fmal): Do not define as compat symbol here.
18351 * sysdeps/alpha/fpu/s_fma.c: New file.
18353 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
18355 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
18357 2017-10-04 Joseph Myers <joseph@codesourcery.com>
18360 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
18362 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
18364 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
18365 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
18366 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
18367 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
18368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18369 Include <math_ldbl_opt.h>
18370 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
18372 (compat_symbol): Undefine and redefine.
18373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
18375 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
18376 (compat_symbol): Undefine and redefine.
18377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
18378 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
18379 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
18380 GLIBC_2_1 for libm.
18381 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
18382 GLIBC_2.0 copysignl symbol.
18383 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
18384 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
18386 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
18388 2017-10-04 Florian Weimer <fweimer@redhat.com>
18390 * scripts/check-local-headers.sh: Ignore nspr4 header file
18391 directory in addition to nspr.
18393 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
18396 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
18397 * configure: Regenerate.
18398 * crypt/Makefile (nss-cpp-flags): New variable.
18399 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
18400 (CPPFLAGS-md5-crypt.c): Use it.
18401 * scripts/check-local-headers.sh: Ignore nspr header file
18404 2017-10-04 Andreas Schwab <schwab@suse.de>
18406 * nis/Makefile (services): Remove compat.
18407 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
18408 ($(objpfx)libnss_compat.so): Remove rule.
18409 * nis/Versions (libnss_compat): Remove.
18410 * nss/Makefile (services): Add compat.
18411 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
18412 * nss/Versions (libnss_compat): Define.
18413 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
18414 Don't include <rpc/types.h>. Replace bool_t by bool.
18415 * nss/nss_compat/compat-initgroups.c: Likewise.
18416 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
18417 instead of <rpcsrv/ypclnt.h>.
18418 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
18419 yp_get_default_domain.
18420 * nss/nss_compat/compat-pwd.c: Likewise.
18421 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
18422 yp_get_default_domain.
18423 * nss/nss_compat/nisdomain.c: New file.
18424 * nss/nss_compat/nisdomain.h: Likewise.
18426 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
18429 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
18430 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18432 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
18435 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
18436 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
18438 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
18440 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
18441 "movl main@GOTOFF(%ebx), %eax".
18443 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
18445 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
18446 allow undefined _DYNAMIC in PIE libc.a.
18447 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
18450 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
18452 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
18455 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
18457 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
18460 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
18462 * math/test-math-iscanonical.cc (error): Replace bool with int.
18464 2017-10-03 Joseph Myers <joseph@codesourcery.com>
18466 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
18467 (modf): Define using libm_alias_double, only if [!__modf].
18468 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
18469 <libm-alias-double.h>.
18470 (modf): Define using libm_alias_double, only if [!__modf].
18471 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
18472 compat symbol here.
18473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
18474 (weak_alias): Do not undefine and redefine.
18475 (strong_alias): Likewise.
18476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
18477 (weak_alias): Likewise.
18478 (strong_alias): Likewise.
18480 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
18481 (logb): Define using libm_alias_double, only if [!__logb].
18482 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
18483 <libm-alias-double.h>.
18484 (logb): Define using libm_alias_double, only if [!__logb].
18485 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
18486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
18487 (weak_alias): Do not undefine and redefine.
18488 (strong_alias): Likewise.
18489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
18490 (weak_alias): Likewise.
18491 (strong_alias): Likewise.
18493 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
18495 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
18496 Check SHARED instead PIC.
18498 2017-10-03 Joseph Myers <joseph@codesourcery.com>
18500 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
18501 [!__fmaf] (fmaf): Define using libm_alias_float.
18503 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
18504 (frexp): Define using libm_alias_double.
18505 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
18506 <libm-alias-double.h>.
18507 (frexp): Define using libm_alias_double.
18508 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
18509 compat symbol here.
18511 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18514 * math/math.h: Trivial fix for unbalanced parentheses in comment.
18515 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
18516 (CFLAGS-test-math-iscanonical.cc): New variable.
18517 * math/test-math-iscanonical.cc: New file.
18518 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
18519 Provide a C++ implementation based on function overloading,
18520 rather than using __MATH_TG, which uses C-only builtins.
18521 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
18523 * sysdeps/powerpc/powerpc64le/Makefile
18524 (CFLAGS-test-math-iscanonical.cc): New variable.
18526 2017-10-03 Joseph Myers <joseph@codesourcery.com>
18528 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
18529 (ceil): Define using libm_alias_double.
18530 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
18531 (floor): Define using libm_alias_double.
18532 * sysdeps/ieee754/dbl-64/s_llround.c: Include
18533 <libm-alias-double.h>.
18534 (llround): Define using libm_alias_double.
18535 * sysdeps/ieee754/dbl-64/s_lround.c: Include
18536 <libm-alias-double.h>.
18537 (lround): Define using libm_alias_double.
18538 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
18539 <libm-alias-double.h>.
18540 (nearbyint): Define using libm_alias_double.
18541 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
18542 <libm-alias-double.h>.
18543 (remquo): Define using libm_alias_double.
18544 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
18545 (rint): Define using libm_alias_double.
18546 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
18547 (round): Define using libm_alias_double.
18548 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
18549 (trunc): Define using libm_alias_double.
18550 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
18551 <libm-alias-double.h>.
18552 (ceil): Define using libm_alias_double.
18553 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
18554 <libm-alias-double.h>.
18555 (floor): Define using libm_alias_double.
18556 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
18557 <libm-alias-double.h>.
18558 (llround): Define using libm_alias_double.
18559 [_LP64] (lround): Likewise.
18560 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
18561 <libm-alias-double.h>.
18562 [!_LP64] (lround): Define using libm_alias_double.
18563 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
18564 <libm-alias-double.h>.
18565 (nearbyint): Define using libm_alias_double.
18566 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
18567 <libm-alias-double.h>.
18568 (remquo): Define using libm_alias_double.
18569 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
18570 <libm-alias-double.h>.
18571 (rint): Define using libm_alias_double.
18572 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
18573 <libm-alias-double.h>.
18574 (round): Define using libm_alias_double.
18575 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
18576 <libm-alias-double.h>.
18577 (trunc): Define using libm_alias_double.
18578 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
18579 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
18580 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
18581 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
18582 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
18583 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
18584 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
18585 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
18586 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
18588 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
18590 * math/w_remainder.c: New file.
18591 * math/w_remainderf.c: New file.
18592 * math/w_remainderl.c: New file.
18594 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
18596 * elf/rtld.c (BOOTSTRAP_MAP): New.
18597 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
18598 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
18600 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
18602 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
18605 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18607 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
18608 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
18609 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
18610 rtld_hidden_data_ver): Define to empty.
18611 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
18612 __assert_perror_fail): Likewise.
18613 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
18614 (__rewinddir): Likewise.
18615 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
18616 (__profile_frequency): Likewise.
18617 * include/setjmp.h (__sigsetjmp): Likewise.
18618 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
18619 __libc_sigaction): Likewise.
18620 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
18621 not set hidden attribute.
18622 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
18623 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
18624 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
18625 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
18626 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
18627 __fxstatat64): Likewise.
18628 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
18629 (__uname): Likewise.
18630 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
18631 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
18632 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
18633 (NO_RTLD_HIDDEN): Set.
18634 * sysdeps/mach/hurd/configure: Refresh.
18635 * config.h.in: Refresh.
18637 2017-10-02 Joseph Myers <joseph@codesourcery.com>
18639 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
18640 (atan): Define using libm_alias_double.
18641 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
18642 (tan): Define using libm_alias_double.
18643 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
18644 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
18646 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
18647 define as weak alias of __atan. Do not define any aliases if
18649 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
18650 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
18651 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
18652 as weak alias of __tan. Do not define any aliases if [__tan].
18653 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
18654 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
18655 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
18657 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
18658 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
18659 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
18660 and define as weak alias of __atan.
18661 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
18663 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
18664 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
18665 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
18666 define as weak alias of __tan.
18668 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
18670 * math/w_lgamma.c: New file.
18671 * math/w_lgammaf.c: New file.
18672 * math/w_lgammal.c: New file.
18674 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
18676 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
18677 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
18678 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
18679 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
18680 * sysdeps/ieee754/flt-32/w_logf.c: New file.
18681 * sysdeps/ieee754/flt-32/w_powf.c: New file.
18682 * sysdeps/i386/fpu/w_log2f.c: New file.
18683 * sysdeps/i386/fpu/w_logf.c: New file.
18684 * sysdeps/i386/fpu/w_powf.c: New file.
18685 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
18686 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
18687 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
18689 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
18690 H.J. Lu <hongjiu.lu@intel.com>
18692 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
18693 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
18694 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
18695 * sysdeps/ieee754/flt-32/w_expf.c: New file.
18696 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
18698 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
18699 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
18700 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
18701 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
18702 * sysdeps/i386/fpu/w_exp2f.c: New file.
18703 * sysdeps/i386/fpu/w_expf.c: New file.
18704 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
18705 * sysdeps/x86_64/fpu/w_expf.c: New file.
18707 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
18709 * math/Versions (logf): New libm symbol at GLIBC_2.27.
18712 * math/w_log2f.c: New file.
18713 * math/w_logf.c: New file.
18714 * math/w_powf.c: New file.
18715 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
18716 * math/w_logf_compat.c (__logf_compat): Likewise.
18717 * math/w_powf_compat.c (__powf_compat): Likewise.
18718 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
18719 * sysdeps/ia64/fpu/e_logf.S: Likewise.
18720 * sysdeps/ia64/fpu/e_powf.S: Likewise.
18721 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
18722 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18723 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18724 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18725 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18726 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18727 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18728 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18729 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18730 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18731 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18732 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18741 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18742 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18743 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18744 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18745 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18746 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18748 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18750 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18751 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18752 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18754 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18756 * sysdeps/powerpc/powerpc64/multiarch/Makefile
18757 (sysdep_routines): Add memrchr_power8.
18758 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18759 (memrchr): Add __memrchr_power8 to list of memrchr functions.
18760 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
18762 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
18763 (memrchr): Add __memrchr_power8 to ifunc list.
18764 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
18766 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18769 * sysdeps/unix/sysv/linux/posix_fadvise64.c
18770 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
18772 * sysdeps/unix/sysv/linux/posix_fallocate64.c
18773 (__posix_fallocate64_l64): Likewise.
18775 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18778 * sysdeps/unix/sysv/linux/sched_setaffinity.c
18779 (__sched_setaffinity_new): Add libc_hidden_proto and
18782 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18785 * include/glob.h (__glob64): Add libc_hidden_proto.
18786 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
18789 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18792 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
18795 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18798 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
18800 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18803 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
18806 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18809 * csu/version.c (__libc_print_version): Add attribute_hidden.
18811 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18814 * include/libc-internal.h (__init_misc): Add attribute_hidden.
18816 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18819 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
18821 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18824 * nscd/nscd_helper.c (__nis_hash): New prototype.
18826 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18829 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
18830 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
18832 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18833 * termios/tcgetattr.c (__tcgetattr): Likewise.
18835 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18838 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
18839 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
18840 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
18841 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
18842 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
18844 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18847 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
18849 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18852 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
18853 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
18855 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18858 * intl/hash-string.h (__hash_string): Add attribute_hidden.
18860 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18863 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
18864 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
18866 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18869 * include/ifreq.h: New file.
18870 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
18871 (__ifreq): Likewise.
18872 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
18873 (__ifreq): Likewise.
18875 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18878 * include/idna.h: New file.
18879 * inet/getnameinfo.c: Include <idna.h> instead of
18881 (__idna_to_unicode_lzlz): Removed.
18882 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
18884 (__idna_to_ascii_lz): Removed.
18885 (__idna_to_unicode_lzlz): Likewise.
18887 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18890 * include/plural-exp.h: New file.
18891 * intl/plural-exp.c: Include <plural-exp.h> instead of
18894 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18897 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
18898 "getsourcefilter.h".
18899 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
18900 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
18901 "getsourcefilter.h".
18902 (__get_sol): Removed.
18904 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18907 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
18909 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
18911 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18914 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
18917 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18920 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
18922 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18925 * include/search.h (__tdestroy): Add libc_hidden_proto.
18926 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
18928 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18931 * include/assert.h (__assert_fail_base): Add attribute_hidden.
18933 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18936 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
18939 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18942 * include/signal.h (__kill): Add libc_hidden_proto.
18943 (__sigblock): Likewise.
18944 (__sigprocmask): Likewise.
18945 (__sigaltstack): Likewise.
18946 * signal/kill.c (__kill): Add libc_hidden_def.
18947 * signal/sigblock.c (__sigblock): Likewise.
18948 * signal/sigprocmask.c (__sigprocmask): Likewise.
18949 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
18950 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
18951 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
18952 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
18953 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
18955 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
18957 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
18958 (__sigprocmask): Likewise.
18959 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
18961 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
18962 (__sigprocmask): Likewise.
18963 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
18966 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18969 * include/string.h (__strsep): Add libc_hidden_proto.
18970 * string/strsep.c (__strsep): Add libc_hidden_def.
18972 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18975 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
18977 (__spawni): Likewise.
18979 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18982 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
18983 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
18986 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18989 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
18991 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
18994 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
18995 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
18996 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
18997 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
18998 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
19000 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
19001 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
19003 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
19006 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
19007 (__dcigettext): Likewise.
19009 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
19012 * include/sys/sysinfo.h (__get_nprocs_conf): Add
19014 (__get_nprocs): Likewise.
19015 (__get_phys_pages): Likewise.
19016 (__get_avphys_pages): Likewise.
19017 (__get_child_max): Add attribute_hidden.
19018 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
19019 (__get_nprocs): Likewise.
19020 (__get_phys_pages): Likewise.
19021 (__get_avphys_pages): Likewise.
19022 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
19024 (__get_nprocs): Likewise.
19025 (__get_phys_pages): Likewise.
19026 (__get_avphys_pages): Likewise.
19027 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
19029 (__get_nprocs_conf): Likewise.
19030 (__get_phys_pages): Likewise.
19031 (__get_avphys_pages): Likewise.
19033 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
19036 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
19038 (__netlink_close): Likewise.
19039 (__netlink_free_handle): Likewise.
19040 (__netlink_request): Likewise.
19042 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
19045 * include/rpc/rpc.h (__rpc_thread_variables): Add
19047 (__rpc_thread_svc_cleanup): Likewise.
19048 (__rpc_thread_clnt_cleanup): Likewise.
19049 (__rpc_thread_key_cleanup): Likewise.
19051 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
19054 * include/sys/uio.h (__readv): Add libc_hidden_proto.
19055 (__writev): Likewise.
19056 * misc/readv.c (__readv): Add libc_hidden_def.
19057 * misc/writev.c (__writev): Likewise.
19058 * sysdeps/posix/readv.c (__readv): Likewise.
19059 * sysdeps/posix/writev.c (__writev): Likewise.
19060 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
19061 (__readv): Likewise.
19062 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
19063 (__writev): Likewise.
19065 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
19068 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
19069 (__regcomp): Add libc_hidden_proto.
19070 (__regexec): Likewise.
19071 (__regfree): Likewise.
19072 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
19073 (__regfree): Likewise.
19074 * posix/regexec.c (__regexec): Likewise.
19076 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
19079 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
19080 (__getutent): Likewise.
19081 (__getutid): Likewise.
19082 (__getutline): Likewise.
19083 (__pututline): Likewise.
19084 (__getutent_r): Likewise.
19085 (__getutid_r): Likewise.
19086 (__getutline_r): Likewise.
19087 (__utmpname): Add attribute_hidden.
19088 (__setutent): Likewise.
19089 (__endutent): Likewise.
19090 * login/getutent.c (__getutent): Add libc_hidden_def.
19091 * login/getutent_r.c (__getutent_r): Likewise.
19092 (__pututline): Likewise.
19093 * login/getutid.c (__getutid): Likewise.
19094 * login/getutid_r.c (__getutid_r): Likewise.
19095 * login/getutline.c (__getutline): Likewise.
19096 * login/getutline_r.c (__getutline_r): Likewise.
19097 * login/updwtmp.c (__updwtmp): Likewise.
19099 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
19102 * include/dirent.h (__opendir): Always add attribute_hidden.
19103 (__fdopendir): Likewise.
19104 (__closedir): Likewise.
19105 (__readdir): Likewise.
19106 (__readdir64): Add libc_hidden_proto.
19107 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
19108 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
19109 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
19110 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
19113 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
19116 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
19117 * include/netdb.h (__gethostbyaddr_r): Likewise.
19118 (__gethostbyname_r): Likewise.
19119 (__gethostbyname2_r): Likewise.
19120 (__getnetbyaddr_r): Likewise.
19121 (__getnetbyname_r): Likewise.
19122 (__getservbyname_r): Likewise.
19123 (__getservbyport_r): Likewise.
19124 (__getprotobyname_r): Likewise.
19125 (__getprotobynumber_r): Likewise.
19126 (__getnetgrent_r): Likewise.
19127 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
19128 (__getrpcbynumber_r): Likewise.
19129 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
19131 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
19134 * include/stdio.h (__fcloseall): Add attribute_hidden.
19135 (__getline): Likewise.
19136 (__path_search): Likewise.
19137 (__gen_tempname): Likewise.
19138 (__libc_message): Likewise.
19139 (__flockfile): Likewise.
19140 (__funlockfile): Likewise.
19141 (__fxprintf): Likewise.
19142 (__fxprintf_nocancel): Likewise.
19144 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
19147 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
19148 (__sgetsgent_r): Likewise.
19150 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
19153 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
19154 (__statfs64): Likewise.
19155 (__fstatfs64): Likewise.
19156 * include/sys/statvfs.h (__statvfs64): Likewise.
19157 (__fstatvfs64): Likewise.
19158 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
19159 (__statfs_filesize_max): Likewise.
19160 (__statfs_symlinks): Likewise.
19161 (__statfs_chown_restricted): Likewise.
19163 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
19166 * include/time.h (__tzstring): Add attribute_hidden.
19167 (__tzfile_read): Likewise.
19168 (__tzfile_compute): Likewise.
19169 (__tzfile_default): Likewise.
19170 (__tzset_parse_tz): Likewise.
19171 (__offtime): Likewise.
19172 (__asctime_r): Likewise.
19173 (__tzset): Likewise.
19174 (__tz_convert): Likewise.
19175 (__getdate_r): Likewise.
19176 (__getclktck): Likewise.
19178 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
19181 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
19182 (__nscd_unmap): Likewise.
19183 (__nscd_cache_search): Likewise.
19184 (__nscd_get_nl_timestamp): Likewise.
19185 (__nscd_getpwnam_r): Likewise.
19186 (__nscd_getpwuid_r): Likewise.
19187 (__nscd_getgrnam_r): Likewise.
19188 (__nscd_getgrgid_r): Likewise.
19189 (__nscd_gethostbyname_r): Likewise.
19190 (__nscd_gethostbyname2_r): Likewise.
19191 (__nscd_gethostbyaddr_r): Likewise.
19192 (__nscd_getai): Likewise.
19193 (__nscd_getgrouplist): Likewise.
19194 (__nscd_getservbyname_r): Likewise.
19195 (__nscd_getservbyport_r): Likewise.
19196 (__nscd_innetgr): Likewise.
19197 (__nscd_setnetgrent): Likewise.
19199 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
19202 * include/gmp.h: Declare internal functions only if _ISOMAC is
19204 (__mpn_extract_double): Add attribute_hidden.
19205 (__mpn_extract_long_double): Likewise.
19206 (__mpn_extract_float128): Likewise.
19207 (__mpn_construct_float): Likewise.
19208 (__mpn_construct_double): Likewise.
19209 (__mpn_construct_long_double): Likewise.
19210 (__mpn_construct_float128): Likewise.
19211 (mpn_add_1): Likewise.
19212 (mpn_addmul_1): Likewise.
19213 (mpn_add_n): Likewise.
19214 (mpn_cmp): Likewise.
19215 (mpn_divrem): Likewise.
19216 (mpn_lshift): Likewise.
19217 (mpn_mul): Likewise.
19218 (mpn_mul_1): Likewise.
19219 (mpn_rshift): Likewise.
19220 (mpn_sub_1): Likewise.
19221 (mpn_submul_1): Likewise.
19222 (mpn_sub_n): Likewise.
19224 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
19227 * include/wchar.h (__wcsnlen): Add attribute_hidden.
19228 (__wcscat): Likewise.
19229 (__btowc): Likewise.
19230 (__wcrtomb): Likewise.
19231 (__mbsrtowcs): Likewise.
19232 (__wcsrtombs): Likewise.
19233 (__mbsnrtowcs): Likewise.
19234 (__wcsnrtombs): Likewise.
19235 (__wcsncpy): Likewise.
19236 (__wcpncpy): Likewise.
19237 (__wmemcpy): Likewise.
19238 (__wmempcpy): Likewise.
19239 (__wmemmove): Likewise.
19240 (__wcschrnul): Likewise.
19241 (__vfwscanf): Likewise.
19242 (__vswprintf): Likewise.
19243 (__fwprintf): Likewise.
19244 (__vfwprintf): Likewise.
19246 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
19249 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
19250 (__getgrgid_r): Likewise.
19251 (__getgrnam_r): Likewise.
19252 * include/pwd.h (__getpwuid_r): Likewise.
19253 (__getpwnam_r): Likewise.
19254 (__fgetpwent_r): Likewise.
19255 * include/shadow.h (__getspnam_r): Likewise.
19256 (__sgetspent_r): Likewise.
19257 (__fgetspent_r): Likewise.
19259 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
19262 * include/unistd.h (__access): Add attribute_hidden.
19263 (__lseek64): Likewise.
19264 (__libc_pread64): Likewise.
19265 (__pipe2): Likewise.
19266 (__sleep): Likewise.
19267 (__chdir): Likewise.
19268 (__fchdir): Likewise.
19269 (__getcwd): Likewise.
19270 (__rmdir): Likewise.
19271 (__execvpe): Likewise.
19272 (__execve): Likewise.
19273 (__setsid): Likewise.
19274 (__getuid): Likewise.
19275 (__geteuid): Likewise.
19276 (__getgid): Likewise.
19277 (__getegid): Likewise.
19278 (__getgroups): Likewise.
19279 (__group_member): Likewise.
19280 (__ttyname_r): Likewise.
19281 (__isatty): Likewise.
19282 (__readlink): Likewise.
19283 (__unlink): Likewise.
19284 (__gethostname): Likewise.
19285 (__profil): Likewise.
19286 (__getdtablesize): Likewise.
19288 (__ftruncate): Likewise.
19289 (__ftruncate64): Likewise.
19291 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
19294 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
19295 * argp/argp-fs-xinl.c: Likewise.
19296 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
19297 * argp/argp-parse.c: Include <argp.h>.
19298 * argp/argp-xinl.c: Likewise.
19299 * include/argp-fmtstream.h: New file.
19300 * include/argp.h (__argp_error): Add attribute_hidden.
19301 (__argp_failure): Likewise.
19302 (__argp_input): Likewise.
19303 (__argp_state_help): Likewise.
19305 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
19308 * include/wchar.h (____wcstof_l_internal): New prototype.
19309 (____wcstod_l_internal): Likewise.
19310 (____wcstold_l_internal): Likewise.
19311 (____wcstol_l_internal): Likewise.
19312 (____wcstoul_l_internal): Likewise.
19313 (____wcstoll_l_internal): Likewise.
19314 (____wcstoull_l_internal): Likewise.
19315 (____wcstof128_l_internal): Likewise.
19316 * sysdeps/ieee754/float128/wcstof128.c
19317 (____wcstof128_l_internal): Removed.
19318 * sysdeps/ieee754/float128/wcstof128_l.c
19319 (____wcstof128_l_internal): Likewise.
19320 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
19321 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
19322 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
19323 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
19324 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
19325 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
19326 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
19327 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
19328 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
19329 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
19331 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
19334 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
19335 instead of <sys/statvfs.h>.
19336 (__internal_statvfs): Removed.
19337 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
19338 instead of <sys/statvfs.h>.
19339 (__internal_statvfs64): Removed.
19340 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
19341 "internal_statvfs.h" instead of <sys/statvfs.h>.
19342 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
19343 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
19344 instead of <sys/statvfs.h>.
19345 (__internal_statvfs): Removed.
19346 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
19347 instead of <sys/statvfs.h>.
19348 (__internal_statvfs64): Removed.
19350 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
19353 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
19354 (__gconv_close): Likewise.
19355 (__gconv): Likewise.
19356 (__gconv_find_transform): Likewise.
19357 (__gconv_lookup_cache): Likewise.
19358 (__gconv_compare_alias_cache): Likewise.
19359 (__gconv_load_cache): Likewise.
19360 (__gconv_get_path): Likewise.
19361 (__gconv_close_transform): Likewise.
19362 (__gconv_release_cache): Likewise.
19363 (__gconv_find_shlib): Likewise.
19364 (__gconv_release_shlib): Likewise.
19365 (__gconv_get_builtin_trans): Likewise.
19366 (__gconv_compare_alias): Likewise.
19367 * include/dlfcn.h (_dlerror_run): Likewise.
19368 * include/stdio.h (__fortify_fail_abort): Likewise.
19369 * include/time.h (__tz_compute): Likewise.
19370 (__strptime_internal): Likewise.
19371 * intl/gettextP.h (_nl_find_domain): Likewise.
19372 (_nl_load_domain): Likewise.
19373 (_nl_find_msg): Likewise.
19374 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
19375 (EXTRACT_PLURAL_EXPRESSION): Likewise.
19376 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
19377 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
19378 (__gai_find_request): Likewise.
19379 (__gai_remove_request): Likewise.
19380 (__gai_notify): Likewise.
19381 (__gai_notify_only): Likewise.
19382 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
19383 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
19384 (_dl_non_dynamic_init): Likewise.
19385 (_dl_aux_init): Likewise.
19386 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
19387 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
19389 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
19390 (__wcsmbs_clone_conv): Likewise.
19391 (__wcsmbs_named_conv): Likewise.
19393 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
19396 * include/stdlib.h (__random): Add attribute_hidden.
19397 (__random_r): Likewise.
19398 (__srandom_r): Likewise.
19399 (__initstate_r): Likewise.
19400 (__setstate_r): Likewise.
19401 (__erand48_r): Likewise.
19402 (__nrand48_r): Likewise.
19403 (__jrand48_r): Likewise.
19404 (__srand48_r): Likewise.
19405 (__seed48_r): Likewise.
19406 (__lcong48_r): Likewise.
19407 (__drand48_iterate): Likewise.
19408 (__setenv): Likewise.
19409 (__unsetenv): Likewise.
19410 (__clearenv): Likewise.
19411 (__ptsname_r): Likewise.
19412 (__posix_openpt): Likewise.
19413 (__add_to_environ): Likewise.
19414 (__realpath): Add libc_hidden_proto.
19415 (__ecvt_r): Likewise.
19416 (__fcvt_r): Likewise.
19417 (__qecvt_r): Likewise.
19418 (__qfcvt_r): Likewise.
19419 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
19420 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
19422 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
19425 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
19426 * include/time.h (__mktime_internal): Likewise.
19427 * libio/iolibio.h (__fopen_internal): Likewise.
19429 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
19431 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
19433 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
19434 Correct offset used to restore PIC register.
19436 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
19439 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
19440 code to load address of __getcontext_ret when generating PIC code.
19442 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
19444 * elf/Makefile (tests-static-internal): Add
19445 tst-tls1-static-non-pie.
19446 (LDFLAGS-tst-tls1-static-non-pie): New.
19447 * elf/tst-tls1-static-non-pie.c: New file.
19449 2017-09-29 Joseph Myers <joseph@codesourcery.com>
19451 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
19452 (asinh): Define using libm_alias_double.
19453 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
19454 (cbrt): Define using libm_alias_double.
19455 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
19456 <libm-alias-double.h>.
19457 (copysign): Define using libm_alias_double.
19458 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
19459 (erf): Define using libm_alias_double.
19461 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
19462 (expm1): Define using libm_alias_double.
19463 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
19464 (fabs): Define using libm_alias_double.
19465 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
19467 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
19468 <libm-alias-double.h>.
19469 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
19471 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
19472 <libm-alias-double.h>.
19473 (getpayload): Define using libm_alias_double.
19474 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
19475 <libm-alias-double.h>.
19476 (llrint): Define using libm_alias_double.
19477 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
19478 (lrint): Define using libm_alias_double.
19479 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
19480 <libm-alias-double.h>.
19481 (nextup): Define using libm_alias_double.
19482 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
19483 <libm-alias-double.h>.
19484 (roundeven): Define using libm_alias_double.
19485 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
19487 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
19488 <libm-alias-double.h>.
19489 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
19490 using libm_alias_double.
19491 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
19492 (cos): Define using libm_alias_double.
19494 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
19495 <libm-alias-double.h>.
19496 (sincos): Define using libm_alias_double.
19497 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
19498 (tanh): Define using libm_alias_double.
19499 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
19500 <libm-alias-double.h>.
19501 (totalorder): Define using libm_alias_double.
19502 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
19503 <libm-alias-double.h>.
19504 (totalordermag): Define using libm_alias_double.
19505 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
19507 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
19509 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
19510 <libm-alias-double.h>.
19511 (getpayload): Define using libm_alias_double.
19512 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
19513 <libm-alias-double.h>.
19514 (roundeven): Define using libm_alias_double.
19515 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
19516 <libm-alias-double.h>.
19517 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
19518 <libm-alias-double.h>.
19519 (totalorder): Define using libm_alias_double.
19520 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
19521 <libm-alias-double.h>.
19522 (totalordermag): Define using libm_alias_double.
19523 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
19524 libc compat symbol here.
19525 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
19526 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
19527 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
19528 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
19529 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
19530 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
19531 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
19532 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
19533 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
19534 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
19536 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
19538 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
19539 _dl_relocate_static_pie instead of _dl_start to compute load
19540 address in static PIE. Return 0 if _DYNAMIC is undefined for
19543 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
19545 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
19546 _DYNAMIC is undefined for static executable.
19548 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
19550 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
19552 2017-09-29 Joseph Myers <joseph@codesourcery.com>
19554 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19556 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
19558 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
19559 (__ieee754_lgamma_r): Use fabs rather than __fabs.
19560 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19561 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19562 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
19563 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
19564 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
19565 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
19566 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
19567 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
19568 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
19569 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
19570 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
19571 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
19572 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
19573 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19574 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
19576 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
19578 * math/bits/cmathcalls.h (cimag): Remove inline.
19579 (creal): Remove inline.
19580 (conj): Remove inline.
19582 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
19584 * math/Makefile (type-float-routines): Add e_powf_log2_data.
19585 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
19586 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
19587 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
19588 (issignalingf_inline): Likewise.
19589 (POWF_LOG2_TABLE_BITS): Likewise.
19590 (POWF_LOG2_POLY_ORDER): Likewise.
19591 (POWF_SCALE_BITS): Likewise.
19592 (POWF_SCALE): Likewise.
19593 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
19594 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
19595 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
19597 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
19599 * math/Makefile (type-float-routines): Add e_log2f_data.
19600 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
19601 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
19602 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
19603 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
19604 * sysdeps/i386/fpu/e_log2f_data.c: New file.
19605 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
19606 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
19608 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
19610 * math/Makefile (type-float-routines): Add e_logf_data.
19611 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
19612 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
19613 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
19614 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
19615 * sysdeps/i386/fpu/e_logf_data.c: New file.
19616 * sysdeps/ia64/fpu/e_logf_data.c: New file.
19617 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
19619 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
19621 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
19622 undefined _DYNAMIC in PIE libc.a.
19623 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
19626 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
19628 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
19629 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
19630 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
19631 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
19632 (__signbit): Remove.
19633 (__signbitl): Remove.
19634 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
19635 (__signbit): Remove.
19636 (__signbitl): Remove.
19637 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
19638 (__signbit): Remove.
19639 (__signbitl): Remove.
19640 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
19641 (__signbit): Remove.
19642 (__signbitl): Remove.
19643 * sysdeps/tile/bits/mathinline.h: Delete file.
19644 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
19645 (__signbit): Remove.
19646 (__signbitl): Remove.
19648 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
19650 * math/math.h: Improve handling of C99 isgreater macros.
19651 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
19652 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
19653 * sysdeps/powerpc/bits/mathinline.h: Likewise.
19654 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19655 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
19657 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
19659 * sysdeps/aarch64/libm-test-ulps: Update.
19661 2017-09-28 Joseph Myers <joseph@codesourcery.com>
19664 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19665 math_opt_barrier on argument when doing arithmetic on it.
19666 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
19667 Likewise. Use math_force_eval not math_opt_barrier after
19669 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
19670 math_opt_barrier on argument when doing arithmetic on it.
19671 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19674 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
19676 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
19678 (__freeifaddrs): Likewise.
19680 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19682 * include/dirent.h (__dirfd): New declaration.
19683 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
19685 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
19686 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
19687 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
19688 * include/unistd.h (__revoke): New declaration.
19689 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
19691 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
19692 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
19694 * include/dirent.h (__seekdir): New declaration.
19695 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
19696 redefine as weak alias.
19697 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
19699 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
19700 and use libc_hidden_def on them.
19701 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
19703 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
19704 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
19705 instead of getifaddrs and freeifaddrs.
19707 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
19710 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
19711 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
19712 (__dso_handle): Remove declaration.
19713 * dlfcn/tstatexit.c (__dso_handle): Removed.
19714 (main): Don't check __dso_handle.
19715 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
19716 (main): Don't check __dso_handle.
19717 * include/dso_handle.h: New file.
19718 * malloc/mtrace.c: Include <dso_handle.h>.
19719 (mtrace): Pass __dso_handle directly.
19720 * nptl/pthread_atfork.c: Include <dso_handle.h>.
19721 (__dso_handle): Remove declaration.
19722 (__pthread_atfork): Pass __dso_handle directly.
19723 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
19724 (__dso_handle): Removed.
19725 * posix/wordexp-test.c: Include <dso_handle.h>.
19726 (__dso_handle): Remove declaration.
19727 (__app_register_atfork): Pass __dso_handle directly.
19728 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
19729 (__dso_handle): Remove declaration.
19730 (at_quick_exit): Pass __dso_handle directly.
19731 * stdlib/atexit.c: Include <dso_handle.h>.
19732 (__dso_handle): Remove declaration.
19733 (atexit): Pass __dso_handle directly.
19734 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
19735 (__dso_handle): Removed.
19737 2017-09-26 Joseph Myers <joseph@codesourcery.com>
19739 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
19742 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
19744 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
19745 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
19746 values to correct default value for given type.
19748 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
19751 * elf/Makefile (tests): Add tst-debug1.
19752 ($(objpfx)tst-debug1): New.
19753 ($(objpfx)tst-debug1.out): Likewise.
19754 ($(objpfx)tst-debug1mod1.so): Likewise.
19755 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
19756 with p_filesz == 0.
19757 * elf/tst-debug1.c: New file.
19759 2017-09-26 Joseph Myers <joseph@codesourcery.com>
19761 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
19762 Define using __ifunc.
19764 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19766 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
19769 2017-09-26 Joseph Myers <joseph@codesourcery.com>
19772 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
19774 2017-09-26 Florian Weimer <fweimer@redhat.com>
19776 * resolv/Makefile (tests-internal): Fix typo in comment.
19778 2017-09-26 Florian Weimer <fweimer@redhat.com>
19780 * resolv/nss_dns/dns-host.c: Fix typo in comment.
19782 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19784 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
19785 Use an union instead of a max_align_t array for __space,
19786 so that __space is the same size on all platforms.
19787 * malloc/scratch_buffer_grow_preserve.c
19788 (__libc_scratch_buffer_grow_preserve): Likewise.
19791 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
19793 * posix/Makefile (routines): Add glob-lstat-compat and
19794 glob64-lstat-compat.
19795 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
19796 * posix/glob-lstat-compat.c: New file.
19797 * posix/glob64-lstat-compat.c: Likewise.
19798 * posix/tst-glob_lstat_compat.c: Likewise.
19799 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
19800 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
19801 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
19802 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
19804 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
19805 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
19806 * posix/glob.c (glob_lstat): New function.
19807 (glob): Rename to __glob and add versioned symbol to 2.27.
19808 (glob_in_dir): Use glob_lstat.
19809 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
19810 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19811 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
19813 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
19814 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
19815 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
19816 gl_lstat on glob call.
19817 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
19818 and glob64 symbols.
19819 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19820 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19821 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19822 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19823 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19824 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19825 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19826 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19827 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19828 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19829 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19830 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19833 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
19834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19835 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19836 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19837 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19838 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19839 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19842 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19843 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19844 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19846 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
19848 * configure.ac (AS): Require binutils 2.25 or later.
19849 * configure: Regenerated.
19851 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
19854 * stdlib/test-atexit-race-common.c (do_test): Minimize required
19857 2017-09-25 DJ Delorie <dj@redhat.com>
19860 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
19863 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19865 * sysdeps/ieee754/dbl-64/sincos32.h
19866 [SINCCOS32_H]: Remove define.
19867 [SINCOS32_H]: Define.
19869 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
19871 * math/Versions (expf): New libm symbol at GLIBC_2.27.
19873 * math/w_exp2f.c: New file.
19874 * math/w_expf.c: New file.
19875 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
19876 * math/w_expf_compat.c (__expf_compat): Likewise.
19877 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
19878 * sysdeps/ia64/fpu/e_expf.S: Likewise.
19879 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
19880 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19881 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19882 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19883 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19884 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19885 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19886 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19887 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19888 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19889 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19890 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19899 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19900 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19901 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19902 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19903 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19908 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19909 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19910 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19912 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
19914 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
19915 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
19916 (roundtoint, converttoint): Likewise.
19917 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
19918 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
19919 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
19920 * sysdeps/ieee754/flt-32/math_config.h: New file.
19921 * sysdeps/ieee754/flt-32/math_errf.c: New file.
19922 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
19923 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
19924 * sysdeps/i386/fpu/math_errf.c: New file.
19925 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
19926 * sysdeps/ia64/fpu/math_errf.c: New file.
19927 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
19928 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
19930 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
19932 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
19933 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
19934 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
19935 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
19936 to make sure that these symbols are defined.
19937 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
19939 (__need_NULL): Do not define.
19940 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
19942 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
19943 CMGROUP_MAX, cmsgcred): Do not define.
19944 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
19946 * bits/socket.h: Likewise.
19947 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
19948 __gettimeofday instead of gettimeofday.
19949 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
19950 instead of settimeofday.
19952 2017-09-22 Joseph Myers <joseph@codesourcery.com>
19954 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
19955 (asinhf): Define using libm_alias_float.
19956 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
19957 (atanf): Define using libm_alias_float.
19958 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
19959 (cbrtf): Define using libm_alias_float.
19960 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
19961 (ceilf): Define using libm_alias_float.
19962 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
19963 <libm-alias-float.h>.
19964 (copysignf): Define using libm_alias_float.
19965 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
19966 (cosf): Define using libm_alias_float.
19967 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
19968 (erff): Define using libm_alias_float.
19970 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
19971 (expm1f): Define using libm_alias_float.
19972 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
19973 (fabsf): Define using libm_alias_float.
19974 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
19975 (floorf): Define using libm_alias_float.
19976 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
19977 (frexpf): Define using libm_alias_float.
19978 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
19980 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
19981 <libm-alias-float.h>.
19982 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
19984 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
19985 <libm-alias-float.h>.
19986 (getpayloadf): Define using libm_alias_float.
19987 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
19988 <libm-alias-float.h>.
19989 (llrintf): Define using libm_alias_float.
19990 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
19991 <libm-alias-float.h>.
19992 (llroundf): Define using libm_alias_float.
19993 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
19994 (logbf): Define using libm_alias_float.
19995 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
19996 (lrintf): Define using libm_alias_float.
19997 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
19998 (lroundf): Define using libm_alias_float.
19999 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
20000 (modff): Define using libm_alias_float.
20001 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
20002 <libm-alias-float.h>.
20003 (nearbyintf): Define using libm_alias_float.
20004 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
20005 <libm-alias-float.h>.
20006 (nextafterf): Define using libm_alias_float.
20007 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
20008 <libm-alias-float.h>.
20009 (nextupf): Define using libm_alias_float.
20010 * sysdeps/ieee754/flt-32/s_remquof.c: Include
20011 <libm-alias-float.h>.
20012 (remquof): Define using libm_alias_float.
20013 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
20014 (rintf): Define using libm_alias_float.
20015 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
20016 <libm-alias-float.h>.
20017 (roundevenf): Define using libm_alias_float.
20018 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
20019 (roundf): Define using libm_alias_float.
20020 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
20021 using libm_alias_float.
20022 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
20023 <libm-alias-float.h>.
20024 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
20025 Define using libm_alias_float.
20026 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
20027 <libm-alias-float.h>.
20028 (sincosf): Define using libm_alias_float.
20029 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
20030 (sinf): Define using libm_alias_float.
20031 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
20032 (tanf): Define using libm_alias_float.
20033 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
20034 (tanhf): Define using libm_alias_float.
20035 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
20036 <libm-alias-float.h>.
20037 (totalorderf): Define using libm_alias_float.
20038 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
20039 <libm-alias-float.h>.
20040 (totalordermagf): Define using libm_alias_float.
20041 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
20042 (truncf): Define using libm_alias_float.
20043 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
20045 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
20048 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20051 math/math.h: Let fpclassify use the builtin in C++ mode, even
20052 when optimazing for size.
20054 2017-09-22 Joseph Myers <joseph@codesourcery.com>
20056 * csu/Makefile (generated): Do not add version-info.h.
20057 (before-compile): Likewise.
20058 (all-Banner-files): Remove variable.
20059 ($(objpfx)version-info.h): Remove rule.
20060 * csu/version.c (banner): Do not include "version-info.h".
20061 * libidn/Banner: Remove.
20062 * manual/contrib.texi (Simon Josefsson): New entry.
20064 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20066 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20067 Remove conditionals on LDBL_MANT_DIG.
20068 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
20069 (__ieee754_lgammal_r): Likewise.
20071 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20073 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
20075 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
20076 _Float128 and L(). Replace _Float128 with long double and L(x)
20077 with xL, throughout the file.
20078 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
20079 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
20080 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
20081 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
20083 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20085 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
20086 sysdeps/ieee754/ldbl-128ibm.
20087 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
20088 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
20089 of including it. Keep _Float128 and L() intact. These will be
20090 reviewed by a separate patch.
20091 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
20092 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
20093 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
20094 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
20096 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
20099 (__finitef128): Define to __redirect___finitef128.
20100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
20101 (__isinff128): Define to __redirect___isinff128.
20102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
20103 (__isnanf128): Define to __redirect___isnanf128.
20105 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20107 * sysdeps/powerpc/powerpc64le/Makefile
20108 (CFLAGS-tst-strtod-nan-locale.c): New variable.
20109 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
20111 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
20112 Carlos O'Donell <carlos@redhat.com>
20115 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
20116 * stdlib/test-dlclose-exit-race.c: New file.
20117 * stdlib/test-dlclose-exit-race-helper.c: New file.
20118 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
20120 2017-09-21 Joseph Myers <joseph@codesourcery.com>
20122 * crypt/Banner: Remove file.
20123 * nptl/Banner: Likewise.
20124 * resolv/Banner: Likewise.
20125 * soft-fp/Banner: Likewise.
20126 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
20127 ($(objpfx)version.d): Remove dependency on banner.h.
20128 ($(objpfx)version.os): Likewise.
20129 * nptl/version.c (banner): Do not include banner.h.
20130 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
20131 Jelinek and BIND code.
20133 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
20134 Carlos O'Donell <carlos@redhat.com>
20136 * support/xdlfcn.h: New file.
20137 * support/xdlfcn.c: New file.
20138 * support/Makefile (libsupport-routines): Add xdlfcn.
20139 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
20141 2017-09-20 Joseph Myers <joseph@codesourcery.com>
20144 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20145 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
20146 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
20147 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
20148 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
20149 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
20150 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
20151 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
20153 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
20154 Ricky Zhou <rickyz@google.com>
20155 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
20158 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
20160 (__new_exitfn): Fail registration when we finished at_exit processing.
20161 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
20162 * stdlib/on_exit.c (__on_exit): Likewise.
20163 * stdlib/exit.c (__exit_funcs_done): New variable.
20164 (__run_exit_handlers): Use __exit_funcs_lock.
20165 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
20167 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
20168 (test-cxa_atexit-race, test-on_exit-race): New tests.
20169 * stdlib/test-atexit-race-common.c: New file.
20170 * stdlib/test-atexit-race.c: New file.
20171 * stdlib/test-at_quick_exit-race.c: New file.
20172 * stdlib/test-cxa_atexit-race.c: New file.
20173 * stdlib/test-on_exit-race.c: New file.
20175 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
20177 * benchtests/Makefile: Add exp2f and log2f benchmarks.
20178 * benchtests/exp2f-inputs: Copy of expf-inputs.
20179 * benchtests/log2f-inputs: Copy of logf-inputs.
20181 2017-09-19 Joseph Myers <joseph@codesourcery.com>
20183 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
20184 Explicitly take address of first element of array arguments in
20185 call to INLINE_SYSCALL.
20187 2017-09-19 Andreas Schwab <schwab@suse.de>
20190 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
20192 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
20194 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
20195 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
20196 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20197 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
20198 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20199 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
20200 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20201 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
20202 * posix/Makefile (tests): Add tst-fexecve.
20203 * posix/tst-fexecve.c: New file.
20205 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
20207 * benchtests/Makefile: Add logf benchmark.
20208 * benchtests/logf-inputs: Add reduced trace from wrf_r.
20210 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
20212 * benchtests/Makefile: Add expf benchmark.
20213 * benchtests/expf-inputs: Add reduced trace from wrf_r.
20215 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
20217 * csu/Makefile: Add -funwind-tables to libc-start.c.
20218 * debug/Makefile: Add -funwind-tables to backtrace.c.
20219 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
20220 * sysdeps/arm/Makefile: Likewise.
20221 * sysdeps/i386/Makefile: Likewise.
20222 * sysdeps/m68k/Makefile: Likewise.
20223 * sysdeps/mips/Makefile: Likewise.
20224 * sysdeps/nios2/Makefile: Likewise.
20225 * sysdeps/sh/Makefile: Likewise.
20226 * sysdeps/sparc/Makefile: Likewise.
20228 2017-09-19 Joseph Myers <joseph@codesourcery.com>
20230 * benchtests/Makefile (bench-math): Add trunc and truncf.
20231 (CFLAGS-bench-trunc.c): New variable.
20232 (CFLAGS-bench-truncf.c): Likewise.
20233 * benchtests/trunc-inputs: New file.
20234 * benchtests/truncf-inputs: Likewise.
20236 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20238 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
20240 2017-09-18 Joseph Myers <joseph@codesourcery.com>
20242 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
20243 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
20245 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
20246 (exp10l): Define as weak alias.
20247 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
20248 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
20250 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
20251 (remainderl): Define as weak alias.
20253 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
20254 (fmal): Define using libm_alias_ldouble.
20255 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
20256 (acoshl): Define using libm_alias_ldouble.
20257 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
20258 (acosl): Define using libm_alias_ldouble.
20259 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
20260 (asinl): Define using libm_alias_ldouble.
20261 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
20262 (atan2l): Define using libm_alias_ldouble.
20263 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
20264 (atanhl): Define using libm_alias_ldouble.
20265 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
20266 (coshl): Define using libm_alias_ldouble.
20267 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
20268 (exp10l): Define using libm_alias_ldouble.
20269 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
20270 (exp2l): Define using libm_alias_ldouble.
20271 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
20272 (expl): Define using libm_alias_ldouble.
20273 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
20274 (fmodl): Define using libm_alias_ldouble.
20275 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
20276 (hypotl): Define using libm_alias_ldouble.
20277 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
20278 (j0l): Define using libm_alias_ldouble.
20280 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
20281 (j1l): Define using libm_alias_ldouble.
20283 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
20284 (jnl): Define using libm_alias_ldouble.
20286 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
20287 (log10l): Define using libm_alias_ldouble.
20288 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
20289 (log2l): Define using libm_alias_ldouble.
20290 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
20291 (logl): Define using libm_alias_ldouble.
20292 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
20293 (powl): Define using libm_alias_ldouble.
20294 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
20295 (remainderl): Define using libm_alias_ldouble.
20296 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
20297 (sinhl): Define using libm_alias_ldouble.
20298 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
20299 (sqrtl): Define using libm_alias_ldouble.
20300 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
20301 (tgammal): Define using libm_alias_ldouble.
20302 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
20303 (exp10l): Do not use long_double_symbol here.
20304 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
20305 [LIBM_SVID_COMPAT] (remainderl): Likewise.
20306 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
20307 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
20308 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
20309 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
20310 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
20311 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
20312 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
20313 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
20314 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
20315 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
20316 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
20317 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
20318 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
20319 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
20320 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
20321 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
20322 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
20323 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
20324 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
20325 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
20327 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
20329 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
20330 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
20332 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
20334 * io/read.c (read): Add libc_hidden_weak.
20335 * sysdeps/mach/hurd/read.c (read): Likewise.
20336 * io/write.c (write): Likewise.
20337 * sysdeps/mach/hurd/write.c (write): Likewise.
20338 * io/pread64.c (__pread64): Likewise.
20339 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
20340 * posix/pread64.c (__pread64): Add libc_hidden_def.
20342 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
20344 * benchtests/scripts/compare_strings.py: New option -g.
20345 (draw_graph): Print a message that a graph is being generated.
20346 (process_results): Generate graph only if -g is passed.
20347 (main): Process option -g.
20349 * benchtests/scripts/compare_strings.py (process_results):
20350 Better spacing for output.
20352 * benchtests/scripts/compare_strings.py: Use argparse.
20353 * benchtests/README: Document existence of compare_strings.py.
20355 2017-09-15 Joseph Myers <joseph@codesourcery.com>
20357 * math/s_fma.c: Include <libm-alias-double.h>.
20358 (fma): Define using libm_alias_double.
20359 * math/s_nextafter.c: Include <libm-alias-double.h>.
20360 (nextafter): Define using libm_alias_double.
20361 * math/w_acos_compat.c: Include <libm-alias-double.h>.
20362 (acos): Define using libm_alias_double.
20363 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
20364 (aocsh): Define using libm_alias_double.
20365 * math/w_asin_compat.c: Include <libm-alias-double.h>.
20366 (asin): Define using libm_alias_double.
20367 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
20368 (atan2): Define using libm_alias_double.
20369 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
20370 (atanh): Define using libm_alias_double.
20371 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
20372 (cosh): Define using libm_alias_double.
20373 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
20374 (exp10): Define using libm_alias_double.
20375 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
20376 (exp2): Define using libm_alias_double.
20377 * math/w_exp_compat.c: Include <libm-alias-double.h>.
20378 (exp): Define using libm_alias_double.
20379 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
20380 (fmod): Define using libm_alias_double.
20381 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
20382 (hypot): Define using libm_alias_double.
20383 * math/w_j0_compat.c: Include <libm-alias-double.h>.
20384 (j0): Define using libm_alias_double.
20386 * math/w_j1_compat.c: Include <libm-alias-double.h>.
20387 (j1): Define using libm_alias_double.
20389 * math/w_jn_compat.c: Include <libm-alias-double.h>.
20390 (jn): Define using libm_alias_double.
20392 * math/w_log10_compat.c: Include <libm-alias-double.h>.
20393 (log10): Define using libm_alias_double.
20394 * math/w_log2_compat.c: Include <libm-alias-double.h>.
20395 (log2): Define using libm_alias_double.
20396 * math/w_log_compat.c: Include <libm-alias-double.h>.
20397 (log): Define using libm_alias_double.
20398 * math/w_pow_compat.c: Include <libm-alias-double.h>.
20399 (pow): Define using libm_alias_double.
20400 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
20401 (remainder): Define using libm_alias_double.
20402 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
20403 (sinh): Define using libm_alias_double.
20404 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
20405 (sqrt): Define using libm_alias_double.
20406 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
20407 (tgamma): Define using libm_alias_double.
20408 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
20409 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
20410 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
20411 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
20412 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
20413 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
20414 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
20415 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
20416 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
20417 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
20418 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
20419 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
20420 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
20421 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
20422 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
20423 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
20424 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
20425 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
20426 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
20427 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
20428 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
20429 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
20430 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
20431 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
20432 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
20434 * math/e_acoshl.c: Remove.
20435 * math/e_acosl.c: Likewise.
20436 * math/e_asinl.c: Likewise.
20437 * math/e_atan2l.c: Likewise.
20438 * math/e_atanhl.c: Likewise.
20439 * math/e_coshl.c: Likewise.
20440 * math/e_expl.c: Likewise.
20441 * math/e_fmodl.c: Likewise.
20442 * math/e_gammal_r.c: Likewise.
20443 * math/e_hypotl.c: Likewise.
20444 * math/e_j0l.c: Likewise.
20445 * math/e_j1l.c: Likewise.
20446 * math/e_jnl.c: Likewise.
20447 * math/e_lgammal_r.c: Likewise.
20448 * math/e_log10l.c: Likewise.
20449 * math/e_log2l.c: Likewise.
20450 * math/e_logl.c: Likewise.
20451 * math/e_powl.c: Likewise.
20452 * math/e_rem_pio2l.c: Likewise.
20453 * math/e_sinhl.c: Likewise.
20454 * math/e_sqrtf128.c: Likewise.
20455 * math/e_sqrtl.c: Likewise.
20456 * math/k_cosl.c: Likewise.
20457 * math/k_sinl.c: Likewise.
20458 * math/k_tanl.c: Likewise.
20459 * math/s_asinhl.c: Likewise.
20460 * math/s_atanl.c: Likewise.
20461 * math/s_cbrtl.c: Likewise.
20462 * math/s_erfl.c: Likewise.
20463 * math/s_expm1l.c: Likewise.
20464 * math/s_log1pl.c: Likewise.
20465 * math/s_tanhl.c: Likewise.
20467 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20470 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
20471 [$(subdir) = math] (sysdep_calls): New variable. Has the
20472 previous contents of sysdep_routines, but re-sorted..
20473 [$(subdir) = math] (sysdep_routines): Re-use the contents from
20475 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
20476 defined in sysdep_calls and replace by the respective m_* names.
20477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
20478 (compat_symbol): Undefine to avoid duplicated compat symbols in
20481 2017-09-15 Joseph Myers <joseph@codesourcery.com>
20483 * math/s_fmaf.c: Include <libm-alias-float.h>.
20484 (fmaf): Define using libm_alias_float.
20485 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
20486 (acosf): Define using libm_alias_float.
20487 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
20488 (acoshf): Define using libm_alias_float.
20489 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
20490 (asinf): Define using libm_alias_float.
20491 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
20492 (atan2f): Define using libm_alias_float.
20493 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
20494 (atanhf): Define using libm_alias_float.
20495 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
20496 (coshf): Define using libm_alias_float.
20497 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
20498 (exp10f): Define using libm_alias_float.
20499 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
20500 (fmodf): Define using libm_alias_float.
20501 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
20502 (hypotf): Define using libm_alias_float.
20503 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
20504 (j0f): Define using libm_alias_float.
20506 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
20507 (j1f): Define using libm_alias_float.
20509 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
20510 (jnf): Define using libm_alias_float.
20512 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
20513 (log10f): Define using libm_alias_float.
20514 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
20515 (log2f): Define using libm_alias_float.
20516 * math/w_logf_compat.c: Include <libm-alias-float.h>.
20517 (logf): Define using libm_alias_float.
20518 * math/w_powf_compat.c: Include <libm-alias-float.h>.
20519 (powf): Define using libm_alias_float.
20520 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
20521 (remainderf): Define using libm_alias_float.
20522 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
20523 (sinhf): Define using libm_alias_float.
20524 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
20525 (sqrtf): Define using libm_alias_float.
20526 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
20527 (tgammaf): Define using libm_alias_float.
20529 2017-09-14 Joseph Myers <joseph@codesourcery.com>
20531 * include/math.h (roundeven): Change hidden_proto call to
20533 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
20535 [NO_LONG_DOUBLE] (__j0l): New strong alias.
20536 (y0): Rename to __y0 and define as weak alias.
20537 [NO_LONG_DOUBLE] (__y0l): New strong alias.
20538 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
20540 (y0f): Rename to __y0f and define as weak alias.
20541 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
20543 [NO_LONG_DOUBLE] (__j1l): New strong alias.
20544 (y1): Rename to __y1 and define as weak alias.
20545 [NO_LONG_DOUBLE] (__y1l): New strong alias.
20546 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
20548 (y1f): Rename to __y1f and define as weak alias.
20549 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
20551 [NO_LONG_DOUBLE] (__jnl): New strong alias.
20552 (yn): Rename to __yn and define as weak alias.
20553 [NO_LONG_DOUBLE] (__ynl): New strong alias.
20554 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
20556 (ynf): Rename to __ynf and define as weak alias.
20557 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
20558 (fromfp): Define as weak alias.
20559 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
20560 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
20561 (fromfpx): Define as weak alias.
20562 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
20563 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
20564 __getpayload and define as weak alias.
20565 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
20566 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
20567 __roundeven and define as weak alias.
20568 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
20569 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
20571 (setpayload): Define as weak alias.
20572 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
20573 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
20575 (setpayloadsig): Define as weak alias.
20576 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
20577 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
20578 __totalorder and define as weak alias.
20579 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
20580 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
20581 to __totalordermag and define as weak alias.
20582 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
20583 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
20584 (ufromfp): Define as weak alias.
20585 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
20586 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
20588 (ufromfpx): Define as weak alias.
20589 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
20590 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
20591 Rename to __getpayload and define as weak alias.
20592 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
20593 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
20594 Rename to __roundeven and define as weak alias.
20595 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
20596 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
20597 Rename to __totalorder and define as weak alias.
20598 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
20599 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
20600 (totalordermag): Rename to __totalordermag and define as weak
20602 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
20603 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
20605 (__roundevenl): Likewise.
20606 (__totalorderl): Likewise.
20607 (__totalordermagl): Likewise
20608 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
20610 (fromfpf128): Define as weak alias.
20611 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
20613 (fromfpxf128): Define as weak alias.
20614 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
20616 (setpayloadf128): Define as weak alias.
20617 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
20618 __setpayloadsigf128.
20619 (setpayloadsigf128): Define as weak alias.
20620 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
20622 (ufromfpf128): Define as weak alias.
20623 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
20625 (ufromfpxf128): Define as weak alias.
20626 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
20627 (fromfpf): Define as weak alias.
20628 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
20630 (fromfpxf): Define as weak alias.
20631 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
20632 __getpayloadf and define as weak alias.
20633 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
20634 __roundevenf and define as weak alias.
20635 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
20637 (setpayloadf): Define as weak alias.
20638 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
20640 (setpayloadsigf): Define as weak alias.
20641 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
20642 __totalorderf and define as weak alias.
20643 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
20644 Rename to __totalordermagf and define as weak alias.
20645 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
20647 (ufromfpf): Define as weak alias.
20648 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
20650 (ufromfpxf): Define as weak alias.
20651 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
20653 (fromfpl): Define as weak alias.
20654 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
20656 (fromfpxl): Define as weak alias.
20657 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
20658 to __getpayloadl and define as weak alias.
20659 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
20660 __roundevenl and define as weak alias.
20661 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
20663 (setpayloadl): Define as weak alias.
20664 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
20666 (setpayloadsigl): Define as weak alias.
20667 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
20668 to __totalorderl and define as weak alias.
20669 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
20670 Rename to __totalordermagl and define as weak alias.
20671 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
20673 (ufromfpl): Define as weak alias.
20674 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
20676 (ufromfpxl): Define as weak alias.
20677 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
20679 (fromfpl): Define as weak alias.
20680 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
20682 (fromfpxl): Define as weak alias.
20683 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
20684 Rename to __getpayloadl and define as weak alias.
20685 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
20686 to __roundevenl and define as weak alias. Call __roundeven
20687 instead of roundeven.
20688 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
20690 (setpayloadl): Define as weak alias.
20691 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
20693 (setpayloadsigl): Define as weak alias.
20694 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
20695 Rename to __totalorderl and define as weak alias.
20696 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
20697 Rename to __totalordermagl and define as weak alias.
20698 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
20700 (ufromfpl): Define as weak alias.
20701 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
20703 (ufromfpxl): Define as weak alias.
20704 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
20706 (fromfpl): Define as weak alias.
20707 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
20709 (fromfpxl): Define as weak alias.
20710 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
20711 __getpayloadl and define as weak alias.
20712 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
20713 __roundevenl and define as weak alias.
20714 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
20716 (setpayloadl): Define as weak alias.
20717 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
20719 (setpayloadsigl): Define as weak alias.
20720 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
20721 __totalorderl and define as weak alias.
20722 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
20723 Rename to __totalordermagl and define as weak alias.
20724 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
20726 (ufromfpl): Define as weak alias.
20727 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
20729 (ufromfpxl): Define as weak alias.
20731 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20733 * benchtests/bench-string.h (realloc_bufs): New function.
20734 (test_init): Call it.
20735 * benchtests/bench-memset-large.c (do_test): Likewise.
20736 * benchtests/bench-memset.c (do_test): Likewise.
20738 * benchtests/bench-memset-large.c: Print output in JSON
20740 * benchtests/bench-memset.c: Likewise.
20742 2017-09-14 Mike FABIAN <mfabian@redhat.com>
20745 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
20746 * iconvdata/Makefile: Add IBM858.
20747 * iconvdata/gconv-modules: Likewise.
20748 * iconvdata/tst-tables.sh: Likewise.
20749 * iconvdata/ibm858.c: New file.
20750 * localedata/charmaps/IBM858: Likewise.
20752 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
20755 * locales/niu_NZ (LC_TIME): copy "niu_NU".
20756 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
20758 2017-09-14 Mike FABIAN <mfabian@redhat.com>
20761 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
20762 and add tel_int_fmt.
20764 2017-09-14 Joseph Myers <joseph@codesourcery.com>
20766 * sysdeps/generic/libm-alias-float128.h: New file.
20767 * sysdeps/generic/math-type-macros-float128.h: Include
20768 <libm-alias-float128.h>.
20769 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
20771 2017-09-13 Joseph Myers <joseph@codesourcery.com>
20773 * sysdeps/generic/libm-alias-ldouble.h: New file.
20774 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
20775 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
20776 * sysdeps/generic/math-type-macros-ldouble.h: Include
20777 <libm-alias-ldouble.h>.
20778 [!declare_mgen_alias] (declare_mgen_alias): Define to use
20779 libm_alias_ldouble.
20781 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
20783 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
20784 * math/w_exp_compat.c: ... here.
20785 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
20786 * math/w_expf_compat.c: ... here.
20787 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
20788 * math/w_expl_compat.c: ... here.
20789 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
20790 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
20791 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
20792 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
20794 2017-09-13 Joseph Myers <joseph@codesourcery.com>
20796 * math/w_scalbln_template.c (strong_alias): Do not undefine and
20798 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
20800 (ldexpl): Only define as compat symbol for libc, not libm.
20801 (scalbnl): Define as compat symbol for libc here.
20802 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
20803 define for [IS_IN (libc)].
20804 (__ldexpl_2): Remove alias.
20805 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
20806 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
20807 name in long_double_symbol call.
20808 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
20809 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
20810 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
20811 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
20812 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
20814 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
20815 Define as compat symbol.
20817 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20819 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
20820 * sysdeps/unix/sysv/linux/alpha/Makefile
20821 [$(subdir) = csu] (sysdep_routines): Remove rule.
20823 2017-09-13 Joseph Myers <joseph@codesourcery.com>
20825 * sysdeps/generic/libm-alias-double.h: New file.
20826 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
20827 * sysdeps/generic/math-type-macros-double.h: Include
20828 <libm-alias-double.h>.
20829 [declare_mgen_alias] (declare_mgen_alias): Define to use
20831 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
20832 (M_LIBM_NEED_COMPAT): Remove macro.
20833 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
20834 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
20835 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
20837 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
20838 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
20839 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
20840 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
20841 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
20842 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
20843 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
20844 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
20845 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
20846 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
20847 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
20848 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
20849 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
20850 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
20851 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
20852 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
20853 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
20854 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
20855 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
20856 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
20857 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
20858 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
20859 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
20860 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
20861 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
20862 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
20863 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
20864 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
20865 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
20867 (declare_mgen_alias): New macro.
20868 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
20869 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
20870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
20871 (M_LIBM_NEED_COMPAT): Remove macro.
20872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
20873 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
20874 <first-versions.h>.
20875 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
20876 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
20878 2017-09-12 Joseph Myers <joseph@codesourcery.com>
20880 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
20881 (declare_mgen_alias_2): Remove.
20882 * sysdeps/generic/math-type-macros-double.h
20883 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
20885 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
20887 (ldexp): Define with declare_mgen_alias.
20888 (scalbn): Likewise.
20890 2017-09-12 Steve Ellcey <sellcey@cavium.com>
20892 * grp/initgroups.c: Include config.h.
20893 (DEFAULT_CONFIG): New macro.
20894 (internal_getgrouplist): Use DEFAULT_CONFIG.
20895 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20896 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
20897 (DEFAULT_DEFCONFIG): New macro.
20898 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
20899 * nss/grp-lookup.c: Include config.h
20900 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
20901 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
20902 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
20903 * manual/nss.texi: Update default values section.
20905 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
20908 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
20910 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
20911 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
20912 Handle MathVec_Prefer_No_AVX512.
20913 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
20914 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
20917 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
20919 * posix/sched_primax.c (__sched_get_priority_max): Add
20921 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
20922 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
20923 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
20924 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
20925 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
20926 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
20927 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
20928 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
20931 2017-09-11 Joseph Myers <joseph@codesourcery.com>
20933 * sysdeps/generic/libm-alias-float.h: New file.
20934 * sysdeps/generic/math-type-macros-float.h: Include
20935 <libm-alias-float.h>.
20936 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
20938 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
20941 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
20942 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
20943 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
20944 (HWCAP_IMPORTANT): Likewise.
20945 (HWCAP_X86_64): New enum.
20946 (HWCAP_X86_AVX512_1): Updated.
20947 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
20948 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
20949 (modules-names): Add x86_64/tst-x86_64mod-1.
20950 (LDFLAGS-tst-x86_64mod-1.so): New.
20951 ($(objpfx)tst-x86_64-1): Likewise.
20952 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
20953 (tst-x86_64-1-clean): Likewise.
20954 * sysdeps/x86_64/tst-x86_64-1.c: New file.
20955 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
20957 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
20959 * po/sv.po: Update translations.
20960 * po/fr.po: Likewise.
20962 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20964 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
20966 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
20968 * elf/rtld-Rules: Fix $(error) use.
20970 2017-09-09 Mike FABIAN <mfabian@redhat.com>
20973 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
20974 * locale/iso-639.def: Change “Bengali” to “Bangla”.
20975 * localedata/locales/bn_BD: “Bengali” was still used in some
20976 comments. Change it to “Bangla”.
20978 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
20980 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
20982 2017-09-08 Steve Ellcey <sellcey@cavium.com>
20984 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
20985 thunderx2t99p1 to list of cpu names.
20986 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
20987 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
20989 2017-09-08 Steve Ellcey <sellcey@cavium.com>
20991 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
20992 Use strcmp instead of tunable_is_name.
20994 2017-09-08 Joseph Myers <joseph@codesourcery.com>
20996 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
20997 (F_GET_RW_HINT): New macro.
20998 [__USE_GNU] (F_SET_RW_HINT): Likewise.
20999 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
21000 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
21001 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
21002 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
21003 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
21004 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
21005 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
21006 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
21008 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
21009 (F_ADD_SEALS): New macro.
21010 [__USE_GNU] (F_GET_SEALS): Likewise.
21011 [__USE_GNU] (F_SEAL_SEAL): Likewise.
21012 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
21013 [__USE_GNU] (F_SEAL_GROW): Likewise.
21014 [__USE_GNU] (F_SEAL_WRITE): Likewise.
21016 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21018 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
21019 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
21020 * posix/glob_internal.h (__glob_pattern_type):
21021 * posix/glob.c (glob):
21022 * posix/glob_pattern_p.c (__glob_pattern_p):
21025 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
21026 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21027 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
21028 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
21029 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
21030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
21031 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
21032 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
21033 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
21034 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21035 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
21036 * sysdeps/wordsize-64/glob.c: Likewise.
21037 * sysdeps/wordsize-64/glob64.c: Likewise.
21038 * sysdeps/wordsize-64/globfree.c: Likewise.
21039 * sysdeps/wordsize-64/globfree64.c: Likewise.
21040 * sysdeps/unix/sysv/linux/glob.c: New file.
21041 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
21042 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
21043 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
21044 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
21045 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
21046 adds !GLOB_NO_OLD_VERSION as an extra condition.
21047 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
21048 using relative path instead of absolute one.
21049 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
21050 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
21051 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21052 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
21053 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
21054 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
21057 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
21058 (glob): Use the same scratch buffer for both getlogin_r and
21059 getpwnam_r. Don’t require preallocation of the login name. This
21060 simplifies storage allocation, and corrects the handling of
21064 * posix/glob.c (glob): Port recent patches to platforms
21065 lacking getpwnam_r.
21066 (glob): Fix longstanding misuse of errno after getpwnam_r, which
21067 returns an error number rather than setting errno.
21069 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
21070 instead of GCC extension.
21071 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
21072 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
21073 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
21077 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
21078 * posix/bug-glob1.c: Remove file.
21079 * posix/tst-glob_symlinks.c: New file.
21080 * posix/glob.c (__lstat64): New macro.
21081 (is_dir): New function.
21082 (glob, glob_in_dir): Match symlinks even if they are dangling.
21083 (link_stat, link_exists_p): Remove. All uses removed.
21087 * posix/glob.c (struct readdir_result): Remove skip_entry member.
21088 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
21093 * posix/Makefile (routines): Add globfree, globfree64, and
21095 * posix/flexmember.h: New file.
21096 * posix/glob_internal.h: Likewise.
21097 * posix/glob_pattern_p.c: Likewise.
21098 * posix/globfree.c: Likewise.
21099 * posix/globfree64.c: Likewise.
21100 * sysdeps/gnu/globfree64.c: Likewise.
21101 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
21102 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
21103 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
21104 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
21105 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
21106 * sysdeps/wordsize-64/globfree.c: Likewise.
21107 * sysdeps/wordsize-64/globfree64.c: Likewise.
21108 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
21109 [NDEBUG): Remove comments.
21110 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
21111 (dirent_type): New type. Use uint_fast8_t not
21112 uint8_t, as C99 does not require uint8_t.
21113 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
21114 (struct readdir_result): Use dirent_type. Do not define skip_entry
21115 unless it is needed; this saves a byte on platforms lacking d_ino.
21116 (readdir_result_type, readdir_result_skip_entry):
21117 New functions, replacing ...
21118 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
21119 these functions, which were removed. This makes the callers
21120 easier to read. All callers changed.
21121 (D_INO_TO_RESULT): Now empty if there is no d_ino.
21122 (size_add_wrapv, glob_use_alloca): New static functions.
21123 (glob, glob_in_dir): Check for size_t overflow in several places,
21124 and fix some size_t checks that were not quite right.
21125 Remove old code using SHELL since Bash no longer
21127 (glob, prefix_array): Separate MS code better.
21128 (glob_in_dir): Remove old Amiga and VMS code.
21129 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
21131 (glob_in_dir): Do not rely on undefined behavior in accessing
21132 struct members beyond their bounds. Use a flexible array member
21134 (link_stat): Rename from link_exists2_p and return -1/0 instead of
21135 0/1. Caller changed.
21136 (glob): Fix memory leaks.
21137 * posix/glob64 (globfree64): Move to separate file.
21138 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
21139 (globfree64): Remove hidden alias.
21140 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
21142 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
21144 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
21146 Move compat code to separate file.
21147 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
21150 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
21152 * resolv/tst-resolv-qtypes.c (domain): Changed to
21153 "const char domain[] =".
21155 2017-09-07 Joseph Myers <joseph@codesourcery.com>
21157 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
21160 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
21161 (TCP_MD5SIG_EXT): Likewise.
21162 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
21163 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
21164 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
21166 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
21168 2017-09-07 Mike FABIAN <mfabian@redhat.com>
21170 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
21172 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
21175 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
21177 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
21179 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
21180 before assuming that the file is empty. Avoid testing buffer content
21183 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21186 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
21188 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
21190 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
21192 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
21194 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
21196 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
21198 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
21201 2017-09-06 Florian Weimer <fweimer@redhat.com>
21203 * malloc/dynarray_emplace_enlarge.c
21204 (__libc_dynarray_emplace_enlarge): Add missing else.
21206 2017-09-06 Florian Weimer <fweimer@redhat.com>
21209 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
21210 case of failure to obtain the global conf object.
21212 2017-09-06 Florian Weimer <fweimer@redhat.com>
21215 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
21216 dynarray allocation failure.
21218 2017-09-06 Florian Weimer <fweimer@redhat.com>
21220 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
21221 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
21222 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
21224 (response): Call them. Add 'p', '6' flag processing.
21225 (test_reverse): New function.
21226 (test_get2_any): Call it.
21227 (test_no_inet6): Add 'p' test.
21228 (test_inet6): Likewise.
21230 2017-09-06 Florian Weimer <fweimer@redhat.com>
21232 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
21233 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
21235 (test_gai): Adjust query names. Add additional tests.
21236 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
21237 test_get2. Adjust query names. Add additional tests.
21238 (test_no_inet6): New function, extracted from threadfunc.
21239 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
21240 Add additional tests.
21242 2017-09-06 Mike FABIAN <mfabian@redhat.com>
21245 * localedata/unicode-gen/utf8_gen.py: Set the width for
21246 characters with Prepended_Concatenation_Mark property to 1
21247 * localedata/charmaps/UTF-8: Updated using the improved script.
21249 2017-09-06 Mike FABIAN <mfabian@redhat.com>
21252 * localedata/unicode-gen/utf8_gen.py: Improve the script to
21253 use the range notation for all ranges of neighbouring characters
21254 with the same width.
21256 2017-09-05 Joseph Myers <joseph@codesourcery.com>
21258 * sysdeps/generic/math-type-macros-double.h: Include
21259 <math-svid-compat.h>.
21260 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
21261 * sysdeps/generic/math-type-macros-float.h: Include
21262 <math-svid-compat.h>.
21263 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
21264 * sysdeps/generic/math-type-macros-ldouble.h: Include
21265 <math-svid-compat.h>.
21266 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
21267 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
21269 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
21270 * math/w_acosf_compat.c: Likewise.
21271 * math/w_acosh_compat.c: Likewise.
21272 * math/w_acoshf_compat.c: Likewise.
21273 * math/w_acoshl_compat.c: Likewise.
21274 * math/w_acosl_compat.c: Likewise.
21275 * math/w_asin_compat.c: Likewise.
21276 * math/w_asinf_compat.c: Likewise.
21277 * math/w_asinl_compat.c: Likewise.
21278 * math/w_atan2_compat.c: Likewise.
21279 * math/w_atan2f_compat.c: Likewise.
21280 * math/w_atan2l_compat.c: Likewise.
21281 * math/w_atanh_compat.c: Likewise.
21282 * math/w_atanhf_compat.c: Likewise.
21283 * math/w_atanhl_compat.c: Likewise.
21284 * math/w_cosh_compat.c: Likewise.
21285 * math/w_coshf_compat.c: Likewise.
21286 * math/w_coshl_compat.c: Likewise.
21287 * math/w_exp10_compat.c: Likewise.
21288 * math/w_exp10f_compat.c: Likewise.
21289 * math/w_exp10l_compat.c: Likewise.
21290 * math/w_exp2_compat.c: Likewise.
21291 * math/w_exp2f_compat.c: Likewise.
21292 * math/w_exp2l_compat.c: Likewise.
21293 * math/w_fmod_compat.c: Likewise.
21294 * math/w_fmodf_compat.c: Likewise.
21295 * math/w_fmodl_compat.c: Likewise.
21296 * math/w_hypot_compat.c: Likewise.
21297 * math/w_hypotf_compat.c: Likewise.
21298 * math/w_hypotl_compat.c: Likewise.
21299 * math/w_j0_compat.c: Likewise.
21300 * math/w_j0f_compat.c: Likewise.
21301 * math/w_j0l_compat.c: Likewise.
21302 * math/w_j1_compat.c: Likewise.
21303 * math/w_j1f_compat.c: Likewise.
21304 * math/w_j1l_compat.c: Likewise.
21305 * math/w_jn_compat.c: Likewise.
21306 * math/w_jnf_compat.c: Likewise.
21307 * math/w_jnl_compat.c: Likewise.
21308 * math/w_lgamma_r_compat.c: Likewise.
21309 * math/w_lgammaf_r_compat.c: Likewise.
21310 * math/w_lgammal_r_compat.c: Likewise.
21311 * math/w_log10_compat.c: Likewise.
21312 * math/w_log10f_compat.c: Likewise.
21313 * math/w_log10l_compat.c: Likewise.
21314 * math/w_log2_compat.c: Likewise.
21315 * math/w_log2f_compat.c: Likewise.
21316 * math/w_log2l_compat.c: Likewise.
21317 * math/w_log_compat.c: Likewise.
21318 * math/w_logf_compat.c: Likewise.
21319 * math/w_logl_compat.c: Likewise.
21320 * math/w_pow_compat.c: Likewise.
21321 * math/w_powf_compat.c: Likewise.
21322 * math/w_powl_compat.c: Likewise.
21323 * math/w_remainder_compat.c: Likewise.
21324 * math/w_remainderf_compat.c: Likewise.
21325 * math/w_remainderl_compat.c: Likewise.
21326 * math/w_sinh_compat.c: Likewise.
21327 * math/w_sinhf_compat.c: Likewise.
21328 * math/w_sinhl_compat.c: Likewise.
21329 * math/w_sqrt_compat.c: Likewise.
21330 * math/w_sqrtf_compat.c: Likewise.
21331 * math/w_sqrtl_compat.c: Likewise.
21332 * math/w_tgamma_compat.c: Likewise.
21333 * math/w_tgammaf_compat.c: Likewise.
21334 * math/w_tgammal_compat.c: Likewise.
21335 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
21336 [LIBM_SVID_COMPAT].
21337 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
21338 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
21339 [LIBM_SVID_COMPAT].
21340 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
21341 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
21342 [LIBM_SVID_COMPAT].
21343 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
21344 * sysdeps/i386/fpu/w_sqrt.c: New file.
21345 * sysdeps/ia64/fpu/w_acos.c: Likewise.
21346 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
21347 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
21348 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
21349 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
21350 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
21351 * sysdeps/ia64/fpu/w_asin.c: Likewise.
21352 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
21353 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
21354 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
21355 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
21356 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
21357 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
21358 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
21359 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
21360 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
21361 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
21362 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
21363 * sysdeps/ia64/fpu/w_exp.c: Likewise.
21364 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
21365 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
21366 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
21367 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
21368 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
21369 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
21370 * sysdeps/ia64/fpu/w_expf.c: Likewise.
21371 * sysdeps/ia64/fpu/w_expl.c: Likewise.
21372 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
21373 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
21374 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
21375 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
21376 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
21377 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
21378 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
21379 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
21380 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
21381 * sysdeps/ia64/fpu/w_log.c: Likewise.
21382 * sysdeps/ia64/fpu/w_log10.c: Likewise.
21383 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
21384 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
21385 * sysdeps/ia64/fpu/w_log2.c: Likewise.
21386 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
21387 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
21388 * sysdeps/ia64/fpu/w_logf.c: Likewise.
21389 * sysdeps/ia64/fpu/w_logl.c: Likewise.
21390 * sysdeps/ia64/fpu/w_pow.c: Likewise.
21391 * sysdeps/ia64/fpu/w_powf.c: Likewise.
21392 * sysdeps/ia64/fpu/w_powl.c: Likewise.
21393 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
21394 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
21395 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
21396 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
21397 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
21398 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
21399 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
21400 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
21401 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
21402 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
21403 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
21404 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
21405 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
21406 [LIBM_SVID_COMPAT].
21407 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
21408 * sysdeps/ieee754/k_standard.c: Likewise.
21409 * sysdeps/ieee754/k_standardf.c: Likewise.
21410 * sysdeps/ieee754/k_standardl.c: Likewise.
21411 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
21412 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
21413 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
21414 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
21415 long_double_symbol call on [LIBM_SVID_COMPAT].
21416 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
21417 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
21418 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
21419 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
21420 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
21421 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
21422 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
21423 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
21424 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
21425 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
21426 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
21427 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
21428 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
21429 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
21430 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
21431 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
21432 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
21433 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
21434 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
21435 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
21436 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
21437 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
21439 2017-09-05 Steve Ellcey <sellcey@cavium.com>
21441 * include/shlib-compat.h (TEST_COMPAT): New Macro.
21442 * malloc/tst-mallocstate.c: Convert from test-skeleton
21443 to test-driver. Ifdef code using TEST_COMPAT macro.
21444 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
21445 * math/test-matherr.c: Likewise.
21447 2017-09-05 Joseph Myers <joseph@codesourcery.com>
21450 * debug/pcprofiledump.c (main): Use byte-swapped mask when
21451 comparing word with byte-swapped constant.
21453 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
21456 * locale/iso-639.def: add Miskito.
21457 * localedata/SUPPORTED: Add miq_NI/UTF-8.
21458 * localedata/locales/miq_NI: New file.
21460 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
21463 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
21464 (__mkdir): Likewise.
21465 * io/chmod.c (__chmod): Add libc_hidden_def.
21466 * io/mkdir.c (__mkdir): Likewise.
21467 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
21468 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
21469 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
21470 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
21472 2017-09-04 Joseph Myers <joseph@codesourcery.com>
21474 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21478 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
21479 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
21481 2017-09-04 Florian Weimer <fweimer@redhat.com>
21483 * math/math.h: Issue warning if log is defined.
21485 2017-09-04 Joseph Myers <joseph@codesourcery.com>
21487 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
21488 kernel version to 4.13.
21490 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
21492 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
21493 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
21495 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
21496 just <bits/types.h>.
21497 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
21498 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
21499 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
21500 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
21501 * misc/preadv2.c: Include <errno.h>.
21502 * misc/preadv64v2.c: Include <errno.h>.
21503 * misc/pwritev2.c: Include <errno.h>.
21504 * misc/pwritev64v2.c: Include <errno.h>.
21505 * sysdeps/posix/preadv2.c: Include <errno.h>.
21506 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
21507 Fix <unistd.h> inclusion.
21508 * sysdeps/posix/pwritev2.c: Include <errno.h>.
21509 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
21510 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
21511 __strtoul_internal): New functions.
21512 * sysdeps/posix/pause.c: Include <sigsetops.h>.
21513 * sysdeps/posix/system.c: Include <sigsetops.h>.
21514 * sysdeps/mach/hurd/i386/Makefile
21515 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
21516 [$(subdir) = csu] (sysdep-only-routines): Likewise.
21517 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
21518 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
21519 __feraiseexcept_renamed to feraiseexcept instead of
21520 __GI_feraiseexcept.
21521 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
21522 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
21523 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
21524 RWF_NOWAIT): Define to 0 if undefined already.
21525 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
21527 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
21528 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
21530 2017-09-01 Joseph Myers <joseph@codesourcery.com>
21532 * manual/math.texi (pow10): Do not document.
21533 (pow10f): Likewise.
21534 (pow10l): Likewise.
21535 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
21536 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
21537 * math/libm-test-exp10.inc (pow10_test): Remove.
21538 (do_test): Do not call pow10.
21539 * math/w_exp10_compat.c (pow10): Make into compat symbol.
21540 [NO_LONG_DOUBLE] (pow10l): Likewise.
21541 * math/w_exp10f_compat.c (pow10f): Likewise.
21542 * math/w_exp10l_compat.c (pow10l): Likewise.
21543 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
21544 (pow10): Make into compat symbol.
21545 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
21546 (pow10f): Make into compat symbol.
21547 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
21548 (pow10l): Make into compat symbol.
21549 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
21551 (CFLAGS-nldbl-pow10.c): Remove variable..
21552 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
21553 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
21554 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
21555 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
21556 Undefine and redefine.
21557 (pow10l): Make into compat symbol.
21558 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
21559 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
21560 * sysdeps/arm/libm-test-ulps: Likewise.
21561 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
21562 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21563 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21564 * sysdeps/microblaze/libm-test-ulps: Likewise.
21565 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21566 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21567 * sysdeps/nios2/libm-test-ulps: Likewise.
21568 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21569 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21570 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21571 * sysdeps/sh/libm-test-ulps: Likewise.
21572 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21573 * sysdeps/tile/libm-test-ulps: Likewise.
21574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21576 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
21578 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
21580 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
21582 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
21583 "../ChangeLog.old/ChangeLog.8".
21584 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
21585 "../ChangeLog.old/ChangeLog.14".
21587 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
21589 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
21592 2017-09-01 Joseph Myers <joseph@codesourcery.com>
21594 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
21596 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
21598 * csu/version.c (banner): Remove "by Roland McGrath et al.".
21599 * nptl/Banner: Remove "by Ulrich Drepper et al.".
21601 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
21603 * stdlib/tst-atexit-common.c (do_test): Test support for at least
21604 32 atexit handlers.
21606 2017-09-01 Zack Weinberg <zackw@panix.com>
21608 * math/math.h (HUGE_VAL): Improve commentary.
21610 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21611 Andreas Schwab <schwab@suse.de>
21614 * include/stdio.h (__gen_tempfd): New function.
21615 * stdio-common/Makefile (routines): Add gentempfd.
21616 * stdio-common/gentempfd.c: New file.
21617 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
21618 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
21619 unnamed file first.
21621 2017-09-01 Florian Weimer <fweimer@redhat.com>
21625 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
21626 result to determine success or failure, not the errno value.
21627 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
21628 (tst-nss-files-hosts-erange): Link with -ldl.
21629 * nss/tst-nss-files-hosts-erange.c: New file.
21630 * nss/tst-resolv-basic.c (response): Handle nodata.example.
21631 (do_test): Add NO_DATA tests.
21632 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
21633 (do_test): Call it.
21635 2017-09-01 Florian Weimer <fweimer@redhat.com>
21638 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
21639 coming from gethostbyname2_r.
21641 2017-09-01 Florian Weimer <fweimer@redhat.com>
21643 * support/namespace.h (struct support_chroot_configuration): Add
21645 (struct support_chroot): Add path_hosts, path_host_conf.
21646 * support/support_chroot.c (write_file): New function.
21647 (support_chroot_create): Call it to process /etc/resolv.conf,
21648 /etc/hosts, /etc/host.conf.
21649 (support_chroot_free): Update.
21651 2017-09-01 Florian Weimer <fweimer@redhat.com>
21653 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
21654 status indicates it is set.
21656 2017-09-01 Florian Weimer <fweimer@redhat.com>
21659 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
21660 function lookup failures more reliable.
21662 2017-09-01 Florian Weimer <fweimer@redhat.com>
21664 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
21665 (getcanonname): Likewise.
21666 (gaih_inet): Likewise.
21668 2017-09-01 Florian Weimer <fweimer@redhat.com>
21670 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
21671 (getcanonname): Likewise.
21672 (gaih_inet): Likewise.
21674 2017-08-31 Steve Ellcey <sellcey@cavium.com>
21675 Richard Henderson <rth@twiddle.net>
21677 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
21678 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
21679 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
21680 (IREG_SIZE, OREG_SIZE): New macros.
21681 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
21682 (IREG_SIZE, OREG_SIZE): New macros.
21683 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
21684 (IREG_SIZE): New macro.
21685 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
21686 (IREG_SIZE): New macro.
21687 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
21689 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
21690 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
21691 (__CONCATX): Handle exceptions correctly on large values that may
21693 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
21694 Initialize if not already set.
21695 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
21697 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21699 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
21700 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
21702 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
21704 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
21706 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
21708 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
21710 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
21712 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
21714 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
21715 (NO_CANCELLATION): Likewise.
21716 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
21718 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
21720 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
21722 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
21723 (NO_CANCELLATION): Likewise.
21724 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
21725 (NO_CANCELLATION): Likewise.
21726 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
21728 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
21730 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
21732 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
21734 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
21736 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
21737 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
21739 2017-08-31 Steve Ellcey <sellcey@cavium.com>
21741 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
21744 2017-08-31 Florian Weimer <fweimer@redhat.com>
21746 * include/libc-symbols.h (internal_function): Remove.
21748 2017-08-31 Florian Weimer <fweimer@redhat.com>
21750 * stdlib/fmtmsg.c (internal_addseverity): Remove
21753 2017-08-31 Florian Weimer <fweimer@redhat.com>
21755 * stdio-common/printf_fp.c (group_number): Remove
21757 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
21759 2017-08-31 Florian Weimer <fweimer@redhat.com>
21761 * posix/fnmatch.c (internal_function): Remove definition.
21762 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
21763 * posix/regcomp.c (peek_token, init_word_char)
21764 (duplicate_node_closure, fetch_token, peek_token)
21765 (peek_token_bracket, build_range_exp, build_collating_symbol):
21767 * posix/regex_internal.c (re_string_construct_common)
21768 (create_ci_newstate, create_cd_newstate, re_string_allocate)
21769 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
21770 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
21771 (re_string_translate_buffer, re_string_reconstruct)
21772 (re_string_peek_byte_case, re_string_fetch_byte_case)
21773 (re_string_destruct, re_string_context_at, re_node_set_alloc)
21774 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
21775 (re_node_set_add_intersect, re_node_set_init_union)
21776 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
21777 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
21778 (re_dfa_add_node, calc_state_hash, re_acquire_state)
21779 (re_acquire_state_context): Likewise.
21780 * posix/regex_internal.h (internal_function): Remove definition.
21781 (re_string_realloc_buffers, build_wcs_buffer)
21782 (build_wcs_upper_buffer, build_upper_buffer)
21783 (re_string_translate_buffer, re_string_context_at)
21784 (re_string_char_size_at, re_string_wchar_at)
21785 (re_string_elem_size_at): Likewise.
21786 * posix/regexec.c (match_ctx_init, match_ctx_clean)
21787 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
21788 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
21789 (re_search_internal, re_search_2_stub, re_search_stub)
21790 (re_copy_regs, prune_impossible_nodes, check_matching)
21791 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
21792 (free_fail_stack_return, sift_states_iter_mb)
21793 (sift_states_backward, build_sifted_states)
21794 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
21795 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
21796 (check_subexp_limits, sift_states_bkref, merge_state_array)
21797 (find_recover_state, transit_state, merge_state_with_log)
21798 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
21799 (transit_state_mb, transit_state_bkref, get_subexp)
21800 (get_subexp_sub, find_subexp_node, check_arrival)
21801 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
21802 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
21803 (check_node_accept_bytes, find_collation_sequence_value)
21804 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
21805 (acquire_init_state_context, check_halt_node_context)
21806 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
21807 (sub_epsilon_src_nodes): Likewise.
21808 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
21809 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
21810 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
21811 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
21812 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
21813 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
21814 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
21815 * sysdeps/posix/ttyname.c (getttyname): Likewise.
21816 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
21817 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
21818 (PREADV): Likewise.
21819 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
21820 (PREADV): Likewise.
21821 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
21822 (PWRITEV): Likewise.
21823 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
21824 (PWRITEV): Likewise.
21825 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
21826 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
21828 2017-08-31 Florian Weimer <fweimer@redhat.com>
21830 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
21831 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
21832 Remove internal_function.
21833 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
21834 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
21835 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
21836 (__deallocate_stack, __libc_pthread_init)
21837 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
21838 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
21839 (__libc_disable_asynccancel, __librt_disable_asynccancel):
21841 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
21842 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
21843 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
21845 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
21846 (__pthread_mutex_unlock_usercnt): Likewise.
21848 2017-08-31 Florian Weimer <fweimer@redhat.com>
21850 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
21851 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
21852 (fts_safe_changedir): Remove internal_function.
21853 * io/ftw.c (internal_function): Remove definition.
21854 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
21856 2017-08-31 Florian Weimer <fweimer@redhat.com>
21858 * inet/deadline.c (__deadline_current_time)
21859 (__deadline_from_timeval, __deadline_to_ms): Remove
21861 * inet/getnameinfo.c (nrl_domainname): Likewise.
21862 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
21863 * inet/inet6_option.c (add_pad): Likewise.
21864 * inet/net-internal.h (__deadline_current_time)
21865 (__deadline_from_timeval, __deadline_to_ms): Likewise.
21866 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
21867 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
21868 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
21870 2017-08-31 Joseph Myers <joseph@codesourcery.com>
21872 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
21873 include <bits/nan.h>.
21874 * math/Makefile (headers): Remove bits/nan.h.
21875 * bits/nan.h: Remove.
21876 * sysdeps/ieee754/bits/nan.h: Likewise.
21877 * sysdeps/mips/bits/nan.h: Likewise.
21879 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
21880 not include <bits/inf.h>.
21881 * math/Makefile (headers): Remove bits/inf.h.
21882 * bits/inf.h: Remove.
21883 * sysdeps/ieee754/bits/inf.h: Likewise.
21885 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
21886 bits/huge_vall.h or bits/huge_val_flt128.h.
21887 (HUGE_VAL): Define directly here.
21888 [__USE_ISOC99] (HUGE_VALF): Likewise.
21889 [__USE_ISOC99] (HUGE_VALL): Likewise.
21890 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21891 (HUGE_VAL_F128): Likewise.
21892 * math/Makefile (headers): Remove bits/huge_val.h,
21893 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
21894 * bits/huge_val.h: Remove.
21895 * bits/huge_val_flt128.h: Likewise.
21896 * bits/huge_valf.h: Likewise.
21897 * bits/huge_vall.h: Likewise.
21898 * sysdeps/ia64/bits/huge_vall.h: Likewise.
21899 * sysdeps/ieee754/bits/huge_val.h: Likewise.
21900 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
21901 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
21902 * sysdeps/sh/bits/huge_val.h: Likewise.
21903 * sysdeps/sparc/bits/huge_vall.h: Likewise.
21904 * sysdeps/x86/bits/huge_vall.h: Likewise.
21906 2017-08-31 Florian Weimer <fweimer@redhat.com>
21908 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
21910 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
21912 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
21913 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
21914 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
21915 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
21916 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21917 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
21918 * elf/dl-libc.c (dlerror_run): Likewise.
21919 * elf/dl-load.c (add_name_to_object, decompose_rpath)
21920 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
21921 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
21922 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
21924 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
21925 (_dl_higher_prime_number, _dl_strtoul): Likewise.
21926 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
21927 * elf/dl-profile.c (_dl_start_profile): Likewise.
21928 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
21929 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
21931 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
21932 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
21933 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
21934 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
21935 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
21936 (_dl_allocate_tls_storage): Likewise.
21937 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
21938 (_dl_check_all_versions): Likewise.
21939 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
21940 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
21941 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
21942 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
21943 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
21944 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
21945 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
21946 internal_function from __dl_start.
21947 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
21948 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
21949 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
21950 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
21951 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
21952 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
21953 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
21954 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
21955 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
21956 (_dl_next_ld_env_entry, _dl_important_hwcaps)
21957 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
21958 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
21959 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
21960 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
21961 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
21963 (struct rtld_global_ro): Remove internal_function from the
21964 _dl_lookup_symbol_x member.
21965 (_dl_symbol_value): Remove. No longer defined anywhere.
21966 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
21968 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
21969 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
21970 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
21971 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
21972 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
21973 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
21974 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
21975 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
21976 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
21977 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
21978 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
21979 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
21981 2017-08-31 Florian Weimer <fweimer@redhat.com>
21983 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
21984 Remove internal_function.
21985 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
21987 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
21990 2017-08-31 Florian Weimer <fweimer@redhat.com>
21992 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
21993 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
21994 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
21996 2017-08-31 Florian Weimer <fweimer@redhat.com>
21998 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
21999 (__gai_enqueue_request): Remove internal_function.
22000 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
22001 (__gai_remove_request, __gai_notify, __gai_notify_only)
22002 (__gai_sigqueue): Likewise.
22003 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
22004 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
22005 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
22006 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22009 2017-08-31 Florian Weimer <fweimer@redhat.com>
22011 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
22012 * include/dirent.h (__opendirat, __getdents, __getdents64)
22013 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
22014 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
22015 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
22016 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
22018 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
22020 2017-08-31 Florian Weimer <fweimer@redhat.com>
22022 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
22024 (GETCWD_RETURN_TYPE): Likewise.
22026 2017-08-31 Florian Weimer <fweimer@redhat.com>
22028 * include/time.h (__tz_compute, __strptime_internal): Remove
22030 * time/strptime_l.c (__strptime_internal): Likewise.
22031 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
22033 2017-08-31 Florian Weimer <fweimer@redhat.com>
22035 * iconv/gconv.c (__gconv): Remove internal_function.
22036 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
22037 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
22038 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
22039 (__gconv_release_cache): Likewise.
22040 * iconv/gconv_close.c (__gconv_close): Likewise.
22041 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
22042 (read_conf_file, __gconv_get_path): Likewise.
22043 * iconv/gconv_db.c (derivation_lookup, add_derivation)
22044 (__gconv_release_step, gen_steps, increment_counter)
22045 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
22046 (__gconv_close_transform, free_modules_db): Likewise.
22047 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
22049 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
22050 (__gconv_find_transform, __gconv_lookup_cache)
22051 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
22052 (__gconv_close_transform, __gconv_release_cache)
22053 (__gconv_loaded_object, __gconv_release_shlib)
22054 (__gconv_compare_alias): Likewise.
22055 * iconv/gconv_open.c (__gconv_open): Likewise.
22056 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
22057 * iconv/iconvconfig.c (add_module): Likewise.
22058 * intl/dcigettext.c (plural_lookup, guess_category_value)
22059 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
22060 * intl/eval-plural.h (plural_eval): Likewise.
22061 * intl/finddomain.c (_nl_find_domain): Likewise.
22062 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
22063 (_nl_load_domain, _nl_find_msg): Likewise.
22064 (internal_function): Remove definition.
22065 * intl/loadinfo.h (internal_function): Likewise.
22066 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
22068 * intl/localealias.c (internal_function): Remove definition.
22069 (read_alias_file): Remove internal_function.
22070 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
22071 * intl/plural-exp.h (internal_function): Remove definition.
22072 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
22074 * intl/plural.c: Regenerate.
22075 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
22076 * locale/coll-lookup.c (__collidx_table_lookup)
22077 (__collseq_table_lookup): Likewise.
22078 * locale/coll-lookup.h (__collidx_table_lookup)
22079 (__collseq_table_lookup): Likewise.
22080 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
22081 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
22082 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
22083 (_nl_unload_locale): Likewise.
22084 * locale/localeinfo.h (struct __locale_data): Remove
22085 internal_function from cleanup member.
22086 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
22087 (_nl_remove_locale, _nl_load_locale_from_archive)
22088 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
22089 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
22090 (_nl_cleanup_time): Remove internal_function.
22091 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
22092 (_nl_parse_alt_digit): Likewise.
22093 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
22094 (_nl_select_era_entry): Likewise.
22095 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
22096 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
22097 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
22098 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
22099 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
22101 2017-08-31 Florian Weimer <fweimer@redhat.com>
22103 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
22104 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
22105 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
22106 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
22108 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
22109 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
22110 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
22111 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
22113 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
22115 2017-08-31 Florian Weimer <fweimer@redhat.com>
22117 * misc/getttyent.c (skip, value): Remove internal_function.
22118 * misc/syslog.c (openlog_internal): Likewise.
22119 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
22121 2017-08-31 Florian Weimer <fweimer@redhat.com>
22123 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
22124 (__nss_rewrite_field): Remove internal_function.
22125 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22126 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
22127 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
22128 * nss/nsswitch.c (nss_parse_file, nss_getline)
22129 (nss_parse_service_list, nss_new_service): Likewise.
22130 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
22131 * nss/valid_field.c (__nss_valid_field): Likewise.
22132 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
22134 2017-08-31 Florian Weimer <fweimer@redhat.com>
22136 * malloc/arena.c (__malloc_fork_lock_parent)
22137 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
22138 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
22139 internal_function from defintions.
22140 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
22141 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
22142 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
22143 internal_function from declarations.
22144 * malloc/malloc.c (internal_function): Do not define.
22145 (mem2mem_check): Remove internal_function from declaration.
22146 (munmap_chunk, mremap_chunk): Remove internal_function.
22147 * malloc/mtrace.c (tr_where): Likewise.
22149 2017-08-31 Florian Weimer <fweimer@redhat.com>
22151 * include/rpc/pmap_clnt.h (__get_socket): Remove
22153 * sunrpc/auth_des.c (synchronize): Likewise.
22154 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
22155 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
22156 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
22157 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
22158 (key_call): Likewise.
22159 * sunrpc/pm_getport.c (__get_socket): Likewise.
22160 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
22161 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
22162 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
22163 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
22164 (invalidate): Likewise.
22165 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
22166 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
22167 (set_input_fragment, get_input_bytes): Likewise.
22169 2017-08-31 Florian Weimer <fweimer@redhat.com>
22171 * malloc/malloc.c (_int_free): Remove locked variable and related
22174 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
22177 * Makerules (build-module-helper-objlist): Filter out
22178 $(elf-objpfx)sofini.os.
22179 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
22182 2017-08-31 Florian Weimer <fweimer@redhat.com>
22184 * libio/fcloseall.c: Assume weak_alias is defined.
22185 * libio/feof.c: Likewise.
22186 * libio/fileno.c: Likewise.
22187 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
22188 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
22190 (_IO_file_open): Call __open directly.
22191 (_IO_new_file_sync): Assume ESPIPE is defined.
22192 (_IO_file_seekoff_maybe_mmap): Call __read directly.
22193 (_IO_new_file_write): Call __write directly.
22194 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
22195 * libio/ftello64.c (__ftello64): Assume EIO is defined.
22196 * libio/genops.c: Assume _LIBC is defined.
22197 (save_for_backup): Remove internal_function.
22198 * libio/getc.c: Assume weak_alias is defined.
22199 * libio/getwc.c: Likewise.
22200 * libio/iofclose.c: Assume _LIBC is defined.
22201 * libio/iofdopen.c: Likewise.
22202 (_IO_fcntl): Remove macro definition.
22203 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
22204 Call __fcntl directly.
22205 * libio/iofflush.c: Assume weak_alias is defined.
22206 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
22208 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
22209 * libio/iofgets.c: Likewise.
22210 * libio/iofopen.c: Assume _LIBC is defined.
22211 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
22212 * libio/iofputs.c: Assume weak_alias is defined.
22213 * libio/iofread.c: Likewise.
22214 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
22215 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
22216 * libio/ioftell.c: Assume weak_alias is defined.
22217 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
22218 * libio/iofwide.c: Assume _LIBC is defined.
22219 (_IO_fwide): Drop SHARED conditional because it is implied by
22221 * libio/iofwrite.c: Assume weak_alias is defined.
22222 * libio/iogetdelim.c: Likewise.
22223 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
22224 * libio/iogetwline.c (wmemcpy): Remove macro definition.
22225 (_IO_getwline): Call __wmemcpy directly.
22226 * libio/iopopen.c: Assume _LIBC is defined.
22227 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
22228 (_IO_close): Remove macro definitions.
22229 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
22231 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
22233 * libio/ioputs.c: Assume weak_alias is defined.
22234 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
22235 * libio/iosetbuffer.c: Assume weak_alias is defined.
22236 * libio/iosetvbuf.c: Likewise.
22237 * libio/ioungetc.c: Likewise.
22238 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
22239 libc_hidden_def, libc_hidden_weak, NULL are defined.
22240 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
22241 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
22243 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
22245 (_IO_old_file_init_internal): Drop SHARED conditional because it
22246 is implied by SHLIB_COMPAT.
22247 (_IO_old_file_fopen): Call __open directly.
22248 (_IO_old_file_sync): Assume ESPIPE is defined.
22249 (_IO_old_file_write): Call __write directly.
22250 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
22251 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
22252 Call __fcntl directly.
22253 * libio/oldiofgetpos.c: Assume weak_alias is defined.
22254 (_IO_old_fgetpos): Assume EIO is defined.
22255 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
22256 (_IO_old_fgetpos64): Assume EIO is defined.
22257 * libio/oldiofsetpos.c: Assume weak_alias is defined.
22258 (_IO_old_fsetpos): Assume EIO is defined.
22259 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
22260 (_IO_old_fsetpos64): Assume EIO is defined.
22261 * libio/oldiopopen.c: Assume _LIBC is defined.
22262 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
22263 (_IO_close): Remove macro definitions.
22264 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
22266 (_IO_old_proc_close): Call __close, __waitpid directly.
22267 * libio/put.c: Assume weak_alias is defined.
22268 * libio/stdfiles.c: Assume _LIBC is defined.
22269 * libio/stdio.c: Likewise.
22270 * libio/wfileops.c: Likewise.
22271 (_IO_wfile_sync): Assume ESPIPE is defined.
22272 * libio/wgenops.c: Assume _LIBC is defined.
22273 (save_for_wbackup): Remove internal_function.
22275 2017-08-31 Florian Weimer <fweimer@redhat.com>
22277 * malloc/malloc.c (top_check): Change return type to void. Remove
22279 * malloc/hooks.c (top_check): Likewise.
22280 (malloc_check, realloc_check, memalign_check): Adjust.
22282 2017-08-30 Joseph Myers <joseph@codesourcery.com>
22285 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
22286 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
22287 sigcontext and namespace requirements.
22288 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
22289 * sysdeps/m68k/sys/ucontext.h: Likewise.
22290 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
22291 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
22292 <bits/sigcontext.h>.
22293 (__ctx): Define earlier.
22294 (mcontext_t): Define structure contents rather than using struct
22296 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
22297 __glibc_reserved1 instead of __reserved.
22298 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
22299 <bits/sigcontext.h>.
22300 (__ctx): Define earlier.
22301 (mcontext_t): Define structure contents rather than using struct
22303 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
22304 mcontext_t instead of struct sigcontext.
22305 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
22306 <bits/sigcontext.h>.
22307 (__ctx): Define earlier.
22308 (mcontext_t): Define structure contents rather than using struct
22310 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
22311 <bits/sigcontext.h>.
22312 (__ctx): Define earlier.
22313 (mcontext_t): Define structure contents rather than using struct
22315 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
22316 mcontext_t instead of struct sigcontext.
22317 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
22318 mcontext_t instead of struct sigcontext.
22319 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
22320 <bits/sigcontext.h>.
22321 (__ctx): New macro.
22322 (struct __ia64_fpreg_mcontext): New type.
22323 (mcontext_t): Define structure contents rather than using struct
22325 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
22326 (uc_sigmask): Define using __ctx.
22327 (uc_stack): Likewise.
22328 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
22329 <bits/sigcontext.h>.
22330 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22331 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
22332 <bits/sigcontext.h>.
22333 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
22334 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
22335 <bits/sigcontext.h>.
22336 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
22337 <bits/sigcontext.h>.
22338 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
22339 <bits/sigcontext.h>.
22340 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
22341 <bits/sigcontext.h>.
22342 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
22343 <bits/sigcontext.h>.
22344 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
22345 <bits/sigcontext.h>.
22346 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
22347 <bits/sigcontext.h>.
22348 (__ctx): Define earlier.
22349 (mcontext_t): Define structure contents rather than using struct
22351 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
22352 <bits/sigcontext.h>. Include <bits/types.h>.
22353 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
22354 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
22355 (test-xfail-XPG42/ucontext.h/conform): Likewise.
22356 (test-xfail-UNIX98/signal.h/conform): Likewise.
22357 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
22358 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
22359 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
22360 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
22361 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
22362 (test-xfail-POSIX2008/signal.h/conform): Likewise.
22363 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
22364 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
22365 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
22367 2017-08-30 Florian Weimer <fweimer@redhat.com>
22369 * malloc/dynarray_emplace_enlarge.c
22370 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
22371 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
22372 * malloc/tst-dynarray.c (test_long_overflow): New function.
22373 (do_test): Call it.
22375 2017-08-30 Florian Weimer <fweimer@redhat.com>
22377 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
22378 (set_arena_corrupt): Remove definitions.
22379 (mtrim): Do not check for corrupt arena.
22380 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
22383 2017-08-30 Florian Weimer <fweimer@redhat.com>
22386 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
22388 (ptmalloc_init): Do not set or use check_action.
22389 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
22390 call to malloc_printerr. Remove return statement.
22391 (free_check): Likewise. Remove arena unlock.
22392 (top_check): Update comment. Adjust call to malloc_printerr.
22393 Remove heap repair code.
22394 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
22395 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
22396 (sysmalloc): Adjust call to malloc_printerr.
22397 (munmap_chunk, __libc_realloc): Likewise. Remove return
22399 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
22400 Remove errout label and corresponding gotos.
22401 (_int_free): Likewise. Remove arena unlock.
22402 (do_set_mallopt_check): Do not set check_action.
22403 (malloc_printerr): Adjust parameter list. Do not mark arena as
22405 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
22407 * manual/probes.texi (Memory Allocation Probes): Remove
22408 memory_mallopt_check_action.
22410 2017-08-30 Steve Ellcey <sellcey@cavium.com>
22412 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
22413 Use pointer to uint64_t instead of long int for sp.
22415 2017-08-30 Florian Weimer <fweimer@redhat.com>
22418 * malloc/malloc.c (malloc_printerr): Always terminate the process,
22419 without printing a backtrace. Do not leak any information in the
22421 * manual/memory.texi (Heap Consistency Checking): Update.
22422 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
22424 2017-08-30 Florian Weimer <fweimer@redhat.com>
22426 Do not scale NPTL tests with available number of CPUs.
22427 * nptl/tst-cond16.c (count): Set to constant value of 8.
22428 * nptl/tst-cond18.c (count): Likewise.
22430 2017-08-29 Joseph Myers <joseph@codesourcery.com>
22433 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
22434 Define to take a second argument that is a macro that
22435 concatentates a suffix, not the suffix itself.
22436 (__CONCAT_d): New macro.
22437 (__CONCAT_f): Likewise.
22438 (__CONCAT_l): Likewise.
22440 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
22442 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
22445 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22446 Aurelien Jarno <aurelien@aurel32.net>
22447 Maciej W. Rozycki <macro@imgtec.com>
22450 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
22451 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
22452 `mips16-syscall6' and `mips16-syscall7'.
22453 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
22454 (CFLAGS-mips16-syscall7.c): Remove.
22455 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
22456 Remove `__mips16_syscall5', `__mips16_syscall6' and
22457 `__mips16_syscall7'.
22458 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
22459 (__mips16_syscall0): Rename `__mips16_syscall_return' to
22460 `__mips_syscall_return'.
22461 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
22462 (__mips16_syscall1): Likewise.
22463 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
22464 (__mips16_syscall2): Likewise.
22465 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
22466 (__mips16_syscall3): Likewise.
22467 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
22468 (__mips16_syscall4): Likewise.
22469 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
22471 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
22473 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
22475 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
22476 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
22477 `__mips16_syscall5'. Remove prototype.
22478 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
22479 `__mips16_syscall6'. Remove prototype.
22480 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
22481 `__mips16_syscall7'. Remove prototype.
22482 (__nomips16, __mips16_syscall_return): Move to...
22483 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
22484 (__nomips16, __mips_syscall_return): ... here.
22485 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
22486 `__mips16_syscall_return' to `__mips_syscall_return'.
22487 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
22488 `internal_syscall##nr'.
22489 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
22490 `internal_syscall##nr'.
22491 (FORCE_FRAME_POINTER): Remove.
22492 (__mips_syscall5): New prototype.
22493 (internal_syscall5): Rewrite to call `__mips_syscall5'.
22494 (__mips_syscall6): New prototype.
22495 (internal_syscall6): Rewrite to call `__mips_syscall6'.
22496 (__mips_syscall7): New prototype.
22497 (internal_syscall7): Rewrite to call `__mips_syscall7'.
22498 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
22499 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
22500 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
22501 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
22502 (sysdep_routines): Add libc-do-syscall.
22503 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
22504 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
22506 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22509 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
22510 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
22511 (advise_stack_range): New function.
22512 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
22513 stack non required to advise_stack_range at allocatestack.c
22515 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
22517 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
22519 2017-08-29 Florian Weimer <fweimer@redhat.com>
22522 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
22523 __end_fct. Mangle __end_fct after setting it to NULL.
22524 * iconv/Makefile (tests): Add tst-gconv-init-failure.
22525 (modules-names, modules-names-tests): Add
22526 tst-gconv-init-failure-mod.
22527 (gconv-modules): New target.
22528 (tst-gconv-init-failure-mod.so): Link against libsupport.
22529 (tst-gconv-init-failure): Depend on gconv-modules,
22530 tst-gconv-init-failure-mod.so.
22531 * iconv/tst-gconv-init-failure-mod.c: New file.
22532 * iconv/tst-gconv-init-failure.c: Likewise.
22533 * iconv/test-gconv-modules: Likewise.
22535 2017-08-29 Florian Weimer <fweimer@redhat.com>
22538 * iconv/gconv_db.c (free_derivation): Remove redundant
22540 (gen_steps): Unconditionally mangle __btowc_fct after
22542 (increment_counter): Likewise. Do not call init_fct for internal
22545 2017-08-29 Joseph Myers <joseph@codesourcery.com>
22548 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
22549 (_MSUF_): Remove macro.
22550 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
22552 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
22553 (__REDIRFROM_X): New macro.
22554 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
22556 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
22557 (__REDIRTO_X): Likewise.
22558 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
22560 (__MATH_REDIRCALL_2): Likewise.
22561 (__MATH_REDIRCALL_INTERNAL): Likewise.
22562 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
22563 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
22564 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
22565 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
22566 * math/test-finite-macros.c: New file.
22567 * math/Makefile (tests): Add test-finite-macros.
22568 (CFLAGS-test-finite-macros.c): New variable.
22570 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
22571 Jeff Law <law@redhat.com>
22574 Mangle NULL pointers in iconv/gconv.
22575 * iconv/gconv_cache.c (find_module): Demangle init_fct before
22576 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
22577 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
22578 is non-NULL before demangling the end_fct. Check for NULL
22579 end_fct after demangling.
22580 (__gconv_release_step): Demangle the end_fct before checking
22581 it for NULL. Remove assert on __shlibc_handle != NULL.
22582 (gen_steps): Don't check btowc_fct for NULL before mangling.
22583 Demangle init_fct before checking for NULL.
22584 (increment_counter): Likewise.
22585 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
22586 end_fct for NULL before mangling.
22587 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
22590 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
22593 * locale/iso-639.def: add Morisyen.
22595 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22598 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
22599 (iszero): New C++ implementation that does not use
22600 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
22601 signaling nans are enabled, since __builtin_types_compatible_p
22602 is a C-only feature.
22603 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
22604 defined, include ieee754_float128.h for access to the union and
22605 member ieee854_float128.ieee.
22606 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
22607 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
22608 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
22609 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
22610 options of test-math-zero on powerpc64le.
22612 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
22614 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
22615 Change double to float.
22617 2017-08-28 Joseph Myers <joseph@codesourcery.com>
22619 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
22621 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
22622 conditional code; define contents only for [LIBM_SVID_COMPAT].
22624 2017-08-28 Florian Weimer <fweimer@redhat.com>
22626 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
22627 (abi-lp64_be-options): Remove.
22628 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
22629 (abi-hard-options): Likewise.
22630 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
22631 (abi-o32_hard-options, abi-o32_soft_2008-options)
22632 (abi-o32_hard_2008-options, abi-n32_soft-options)
22633 (abi-n32_hard-options, abi-n32_soft_2008-options)
22634 (abi-n32_hard_2008-options, abi-n64_soft-options)
22635 (abi-n64_hard-options, abi-n64_soft_2008-options)
22636 (abi-n64_hard_2008-options): Likewise.
22637 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
22638 (abi-64-v1-options, abi-64-v2-options): Likewise.
22639 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
22640 (abi-64-options): Likewise.
22641 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
22642 (abi-64-options): Likewise.
22643 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
22644 (abi-64-options): Likewise.
22645 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
22646 (abi-64-options, abi-x32-options): Likewise.
22648 2017-08-28 Florian Weimer <fweimer@redhat.com>
22650 Store supported list of SYS_* system calls in the source tree.
22651 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
22652 (bits/syscall.h): Generate from list file.
22653 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
22654 [$(subdir) = misc] (tests): Add tst-syscall-list.
22655 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
22656 [$(subdir) = misc] (tst-syscall-list-macros.list)
22657 [$(subdir) = misc] (tst-syscall-list-nr.list)
22658 (tst-syscall-list-sys.list): Helper targets for new
22659 tst-syscall-list test.
22660 [$(subdir) = misc] (tst-syscall-list.out): Run test script
22661 tst-syscall-list.sh.
22662 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
22663 target. Do not include bits/syscall.d.
22664 [$(subdir) = misc] (generated): Do not update.
22665 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
22666 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
22667 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
22668 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
22670 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
22672 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
22673 (tst-cxa_atexit, tst-on_exit): Likewise.
22674 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
22675 tst-cxa_atexit, and tst-on_exit.
22676 * stdlib/tst-atexit-common.c: New file.
22677 * stdlib/tst-atexit.c: New file.
22678 * stdlib/tst-at_quick_exit.c: New file.
22679 * stdlib/tst-cxa_atexit.c: New file.
22680 * stdlib/tst-on_exit.c: New file.
22682 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
22684 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
22685 * mach/stack_chk_fail_local.c: New file.
22686 * hurd/stack_chk_fail_local.c: New file.
22687 * mach/Machrules ($(interface-library)-routines): Add
22688 stack_chk_fail_local.
22689 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
22690 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
22691 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
22692 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
22693 * hurd/Makefile (CFLAGS-hurdstartup.o,
22694 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
22696 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
22698 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
22699 (index_cpu_*, index_arch_*): Removed.
22701 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
22703 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
22704 Use uint64_t instead of unsigned long.
22706 2017-08-25 Joseph Myers <joseph@codesourcery.com>
22708 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
22709 [__HAVE_DISTINCT_FLOAT128].
22711 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
22712 of <bits/math-finite.h>.
22713 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
22714 inclusion of <bits/math-finite.h>.
22715 * math/bits/math-finite.h (__REDIRTO_X): Do not define
22716 conditionally on [__MATH_DECLARING_LDOUBLE && defined
22717 __NO_LONG_DOUBLE_MATH].
22718 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
22719 (__MATH_REDIRCALL_2): Likewise.
22720 (__MATH_REDIRCALL_INTERNAL): Likewise.
22721 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
22722 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
22723 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
22725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
22727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
22729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
22731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
22733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
22735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
22737 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
22738 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
22739 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
22740 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
22741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
22742 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
22743 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
22744 w_sqrtf_compat-ppc32.
22746 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22748 * math/math.h [defined __cplusplus] (issignaling): In the long
22749 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
22750 is not defined. Call __issignaling, otherwise.
22752 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22754 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
22755 syscall definitions and replace __builtin_expect with __glibc_likely.
22756 * sysdeps/unix/syscall-template.S: Update comment about cancellable
22758 (SYSCALL_CANCELLABLE): Removedefinition
22759 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
22761 (PSEUDO_END): Likewise.
22762 [IS_IN (libpthread)] (CENABLE): Likewise.
22763 [IS_IN (libpthread)] (CDISABLE): Likewise.
22764 [IS_IN (libc)] (CENABLE): Likewise.
22765 [IS_IN (libc)] (CENABLE): Likewise.
22766 [IS_IN (librt)] (CDISABLE): Likewise.
22767 [IS_IN (librt)] (CDISABLE): Likewise.
22768 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
22769 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
22771 (PSEUDO_END): Likewise.
22772 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
22773 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
22774 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
22775 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
22776 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
22777 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
22778 (CENABLE): Likewise.
22779 (CDISABLE): Likewise.
22780 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
22781 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
22783 (PSEUDO_END): Likewise.
22784 [IS_IN (libpthread)] (CENABLE): Likewise.
22785 [IS_IN (libpthread)] (CDISABLE): Likewise.
22786 [IS_IN (libc)] (CENABLE): Likewise.
22787 [IS_IN (libc)] (CENABLE): Likewise.
22788 [IS_IN (librt)] (CDISABLE): Likewise.
22789 [IS_IN (librt)] (CDISABLE): Likewise.
22790 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
22791 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
22793 (PSEUDO_END): Likewise.
22794 [IS_IN (libpthread)] (CENABLE): Likewise.
22795 [IS_IN (libpthread)] (CDISABLE): Likewise.
22796 [IS_IN (libc)] (CENABLE): Likewise.
22797 [IS_IN (libc)] (CENABLE): Likewise.
22798 [IS_IN (librt)] (CDISABLE): Likewise.
22799 [IS_IN (librt)] (CDISABLE): Likewise.
22800 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
22801 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
22803 (PSEUDO_END): Likewise.
22804 [IS_IN (libpthread)] (CENABLE): Likewise.
22805 [IS_IN (libpthread)] (CDISABLE): Likewise.
22806 [IS_IN (libc)] (CENABLE): Likewise.
22807 [IS_IN (libc)] (CENABLE): Likewise.
22808 [IS_IN (librt)] (CDISABLE): Likewise.
22809 [IS_IN (librt)] (CDISABLE): Likewise.
22810 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
22811 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
22813 (PSEUDO_END): Likewise.
22814 [IS_IN (libpthread)] (CENABLE): Likewise.
22815 [IS_IN (libpthread)] (CDISABLE): Likewise.
22816 [IS_IN (libc)] (CENABLE): Likewise.
22817 [IS_IN (libc)] (CENABLE): Likewise.
22818 [IS_IN (librt)] (CDISABLE): Likewise.
22819 [IS_IN (librt)] (CDISABLE): Likewise.
22820 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
22821 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
22823 (PSEUDO_END): Likewise.
22824 [IS_IN (libpthread)] (CENABLE): Likewise.
22825 [IS_IN (libpthread)] (CDISABLE): Likewise.
22826 [IS_IN (libc)] (CENABLE): Likewise.
22827 [IS_IN (libc)] (CENABLE): Likewise.
22828 [IS_IN (librt)] (CDISABLE): Likewise.
22829 [IS_IN (librt)] (CDISABLE): Likewise.
22830 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
22831 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
22833 (PSEUDO_END): Likewise.
22834 [IS_IN (libpthread)] (CENABLE): Likewise.
22835 [IS_IN (libpthread)] (CDISABLE): Likewise.
22836 [IS_IN (libc)] (CENABLE): Likewise.
22837 [IS_IN (libc)] (CENABLE): Likewise.
22838 [IS_IN (librt)] (CDISABLE): Likewise.
22839 [IS_IN (librt)] (CDISABLE): Likewise.
22840 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
22841 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
22843 (PSEUDO_END): Likewise.
22844 [IS_IN (libpthread)] (CENABLE): Likewise.
22845 [IS_IN (libpthread)] (CDISABLE): Likewise.
22846 [IS_IN (libc)] (CENABLE): Likewise.
22847 [IS_IN (libc)] (CENABLE): Likewise.
22848 [IS_IN (librt)] (CDISABLE): Likewise.
22849 [IS_IN (librt)] (CDISABLE): Likewise.
22850 (SINGLE_THREAD_P): Likewise.
22851 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
22853 (PSEUDO_END): Likewise.
22854 [IS_IN (libpthread)] (CENABLE): Likewise.
22855 [IS_IN (libpthread)] (CDISABLE): Likewise.
22856 [IS_IN (libc)] (CENABLE): Likewise.
22857 [IS_IN (libc)] (CENABLE): Likewise.
22858 [IS_IN (librt)] (CDISABLE): Likewise.
22859 [IS_IN (librt)] (CDISABLE): Likewise.
22860 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
22861 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
22863 (PSEUDO_END): Likewise.
22864 [IS_IN (libpthread)] (CENABLE): Likewise.
22865 [IS_IN (libpthread)] (CDISABLE): Likewise.
22866 [IS_IN (libc)] (CENABLE): Likewise.
22867 [IS_IN (libc)] (CENABLE): Likewise.
22868 [IS_IN (librt)] (CDISABLE): Likewise.
22869 [IS_IN (librt)] (CDISABLE): Likewise.
22870 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
22871 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
22872 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
22873 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
22874 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
22876 (PSEUDO_END): Likewise.
22877 [IS_IN (libpthread)] (CENABLE): Likewise.
22878 [IS_IN (libpthread)] (CDISABLE): Likewise.
22879 [IS_IN (libc)] (CENABLE): Likewise.
22880 [IS_IN (libc)] (CENABLE): Likewise.
22881 [IS_IN (librt)] (CDISABLE): Likewise.
22882 [IS_IN (librt)] (CDISABLE): Likewise.
22883 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
22884 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
22886 (PSEUDO_END): Likewise.
22887 [IS_IN (libpthread)] (CENABLE): Likewise.
22888 [IS_IN (libpthread)] (CDISABLE): Likewise.
22889 [IS_IN (libc)] (CENABLE): Likewise.
22890 [IS_IN (libc)] (CENABLE): Likewise.
22891 [IS_IN (librt)] (CDISABLE): Likewise.
22892 [IS_IN (librt)] (CDISABLE): Likewise.
22893 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
22894 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
22896 (PSEUDO_END): Likewise.
22897 [IS_IN (libpthread)] (CENABLE): Likewise.
22898 [IS_IN (libpthread)] (CDISABLE): Likewise.
22899 [IS_IN (libc)] (CENABLE): Likewise.
22900 [IS_IN (libc)] (CENABLE): Likewise.
22901 [IS_IN (librt)] (CDISABLE): Likewise.
22902 [IS_IN (librt)] (CDISABLE): Likewise.
22903 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
22904 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
22905 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22906 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
22907 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
22909 (PSEUDO_END): Likewise.
22910 [IS_IN (libpthread)] (CENABLE): Likewise.
22911 [IS_IN (libpthread)] (CDISABLE): Likewise.
22912 [IS_IN (libc)] (CENABLE): Likewise.
22913 [IS_IN (libc)] (CENABLE): Likewise.
22914 [IS_IN (librt)] (CDISABLE): Likewise.
22915 [IS_IN (librt)] (CDISABLE): Likewise.
22916 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
22917 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
22919 (PSEUDO_END): Likewise.
22920 [IS_IN (libpthread)] (CENABLE): Likewise.
22921 [IS_IN (libpthread)] (CDISABLE): Likewise.
22922 [IS_IN (libc)] (CENABLE): Likewise.
22923 [IS_IN (libc)] (CENABLE): Likewise.
22924 [IS_IN (librt)] (CDISABLE): Likewise.
22925 [IS_IN (librt)] (CDISABLE): Likewise.
22926 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
22928 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
22930 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
22932 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
22934 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22936 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
22939 * string/stratcliff.c (do_test): Declare size, nchars, inner,
22940 middle and outer with size_t instead of int. Repleace %d and
22941 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
22942 "MAX (outer, nchars - 64)" to support unsigned outer and
22943 nchars. Also exit loop when outer == 0.
22945 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22947 * include/fcntl.h (__fcntl_nocancel): Remove definition.
22948 * include/signal.h (__sigsuspend_nocancel): Likewise.
22949 * include/time.h (__nanosleep_nocancel): Likewise.
22950 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
22951 * login/utmp_file.c: Include non cancellable syscall header.
22952 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
22955 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
22957 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
22958 .byte sequences with AVX512F instructions.
22959 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
22960 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
22961 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
22962 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
22964 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
22967 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
22968 Steve Ellcey <sellcey@cavium.com>
22970 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
22971 Use PTR_REG macro in cmp instruction.
22973 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22975 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
22976 Change the return type of the ifunc resolver to match the return
22977 type of the target function.
22979 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22981 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
22982 (preadv64): Likewise.
22983 (pwrite64(: Likewise.
22984 (pwritev64): Likewise.
22986 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
22987 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
22988 (LOAD_ARGS_0): Likewise.
22989 (LOAD_ARGS_1): Likewise.
22990 (LOAD_ARGS_2): Likewise.
22991 (LOAD_ARGS_3): Likewise.
22992 (LOAD_ARGS_4): Likewise.
22993 (LOAD_ARGS_5): Likewise.
22994 (LOAD_ARGS_6): Likewise.
22995 (LOAD_REGS_0): Likewise.
22996 (LOAD_REGS_1): Likewise.
22997 (LOAD_REGS_2): Likewise.
22998 (LOAD_REGS_3): Likewise.
22999 (LOAD_REGS_4): Likewise.
23000 (LOAD_REGS_5): Likewise.
23001 (LOAD_REGS_6): Likewise.
23002 (ASM_ARGS_0): Likewise.
23003 (ASM_ARGS_1): Likewise.
23004 (ASM_ARGS_2): Likewise.
23005 (ASM_ARGS_3): Likewise.
23006 (ASM_ARGS_4): Likewise.
23007 (ASM_ARGS_5): Likewise.
23008 (ASM_ARGS_6): Likewise.
23009 (LOAD_ARGS_TYPES_1): Likewise.
23010 (LOAD_ARGS_TYPES_2): Likewise.
23011 (LOAD_ARGS_TYPES_3): Likewise.
23012 (LOAD_ARGS_TYPES_4): Likewise.
23013 (LOAD_ARGS_TYPES_5): Likewise.
23014 (LOAD_ARGS_TYPES_6): Likewise.
23015 (LOAD_REGS_TYPES_1): Likewise.
23016 (LOAD_REGS_TYPES_2): Likewise.
23017 (LOAD_REGS_TYPES_3): Likewise.
23018 (LOAD_REGS_TYPES_4): Likewise.
23019 (LOAD_REGS_TYPES_5): Likewise.
23020 (LOAD_REGS_TYPES_6): Likewise.
23021 (TYPEFY): New define.
23022 (ARGIFY): Likewise.
23023 (internal_syscall0): Likewise.
23024 (internal_syscall1): Likewise.
23025 (internal_syscall2): Likewise.
23026 (internal_syscall3): Likewise.
23027 (internal_syscall4): Likewise.
23028 (internal_syscall5): Likewise.
23029 (internal_syscall6): Likewise.
23030 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
23031 (INTERNAL_SYSCALL_NCS): Remove define.
23032 (internal_syscall1): Add define.
23034 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
23036 * math/w_remainder_compat.c: Remove duplicate inclusion of
23037 math-svid-compat.h.
23038 * math/w_remainderf_compat.c: Likewise.
23039 * math/w_remainderl_compat.c: Likewise.
23041 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
23043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23045 2017-08-22 Joseph Myers <joseph@codesourcery.com>
23048 * math/tgmath.h (__floating_type): Simplify definitions.
23049 (__real_integer_type): New macro.
23050 (__complex_integer_type): Likewise.
23051 (__expr_is_real): Likewise.
23052 (__tgmath_real_type_sub): Update comment to describe handling of
23054 (__tgmath_complex_type_sub): New macro.
23055 (__tgmath_complex_type): Likewise.
23056 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23057 (__TGMATH_CF128): Use __expr_is_real.
23058 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
23060 (__TGMATH_BINARY_REAL_IMAG): Likewise.
23061 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
23062 * math/gen-tgmath-tests.py (Type.create_type): Create complex
23065 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23067 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
23069 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
23071 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
23074 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
23075 nanosleep_not_cancel with __nanosleep_nocancel.
23076 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
23077 (__nanosleep_nocancel): New macro.
23078 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
23080 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
23082 (__nanosleep_nocancel): New prototype.
23084 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
23085 pause_not_cancel with __pause_nocancel.
23086 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
23087 (__pause_nocancel): New macro.
23088 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
23090 (__pause_nocancel): New prototype.
23091 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
23093 2017-08-22 Martin Sebor <msebor@redhat.com>
23095 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
23096 to return a pointer to the same type as the target function.
23098 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
23102 * include/printf.h (__printf_fphex): Add attribute_hidden.
23103 (__guess_grouping): New prototype.
23104 * stdio-common/printf_fp.c (__guess_grouping): Removed.
23105 * stdio-common/reg-printf.c (__register_printf_specifier): Add
23106 libc_hidden_proto and libc_hidden_def.
23107 * stdlib/strfmon_l.c (__guess_grouping): Removed.
23108 (__vstrfmon_l): Remove the third argument passed to
23111 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
23113 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
23114 definition for issignaling that does not rely on __MATH_TG,
23115 since __MATH_TG uses __builtin_types_compatible_p, which is only
23116 available in C mode.
23117 (CFLAGS-test-math-issignaling.cc): New variable.
23118 * math/Makefile [CXX] (tests): Add test-math-issignaling.
23119 * math/test-math-issignaling.cc: New test for C++ implementation
23120 of type-generic issignaling.
23121 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
23122 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
23123 options of test-math-issignaling on powerpc64le.
23125 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
23127 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
23129 (hidden_proto): Likewise.
23130 (hidden_tls_proto): Likewise.
23131 (__hidden_proto): Likewise.
23133 2017-08-22 Florian Weimer <fweimer@redhat.com>
23135 math: Statically link tests of internal functionality.
23136 * math/Makefile (tests): Remove atest-exp, atest-sincos,
23138 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
23139 (gmp-objs): Remove assignment.
23140 (atest-exp, atest-sincos, atest-exp2): Remove targets.
23142 2017-08-22 Joseph Myers <joseph@codesourcery.com>
23145 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
23147 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
23149 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
23152 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
23153 variable definitions above inclusion of ../Rules.
23155 2017-08-21 Joseph Myers <joseph@codesourcery.com>
23157 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
23158 case calling __builtin_unreachable.
23160 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23162 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
23163 __waitpid_nocancel.
23164 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
23165 (__waitpid_nocancel): New macro.
23166 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
23168 (__waitpid_nocancel): Replace macro with a function.
23169 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
23172 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
23174 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
23175 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
23177 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
23178 __writev_nocancel_nostatus.
23179 (write_call_graph): Likewise.
23180 (write_bb_counts): Likewise.
23181 * resolv/herror.c (herror): Likewise.
23182 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
23184 (__writev_nocancel_nostatus): New macro.
23185 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
23187 (__writev_nocancel_nostatus): New function.
23189 2017-08-21 Joseph Myers <joseph@codesourcery.com>
23192 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
23194 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
23196 (hidden_proto): Likewise.
23197 (hidden_tls_proto): Likewise.
23198 (__hidden_proto): Likewise.
23201 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
23202 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
23203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
23205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
23207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
23209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
23211 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
23212 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
23213 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
23214 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
23215 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
23216 GLIBC_2.0 sqrtl symbol.
23218 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
23219 [__USE_MISC] (_LIB_VERSION): Likewise.
23220 [__USE_MISC] (struct exception): Likewise.
23221 [__USE_MISC] (matherr): Likewise.
23222 [__USE_MISC] (DOMAIN): Likewise.
23223 [__USE_MISC] (SING): Likewise.
23224 [__USE_MISC] (OVERFLOW): Likewise.
23225 [__USE_MISC] (UNDERFLOW): Likewise.
23226 [__USE_MISC] (TLOSS): Likewise.
23227 [__USE_MISC] (PLOSS): Likewise.
23228 [__USE_MISC] (HUGE): Likewise.
23229 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
23230 * math/math-svid-compat.h: New file.
23231 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
23233 * include/math.h [!_ISOMAC] (__matherr): Remove.
23234 * manual/arith.texi (FP Exceptions): Do not document matherr.
23235 * math/Makefile (tests): Change test-matherr to test-matherr-3.
23236 (tests-internal): New variable.
23237 (install-lib): Do not add libieee.a.
23238 (non-lib.a): Likewise.
23239 (extra-objs): Do not add libieee.a and ieee-math.o.
23240 (CPPFLAGS-s_lib_version.c): Remove variable.
23241 ($(objpfx)libieee.a): Remove rule.
23242 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
23243 * math/ieee-math.c: Remove.
23244 * math/libm-test-support.c (matherr): Remove.
23245 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
23246 and license notices. Include <math-svid-compat.h> and
23248 (matherr): Undefine as macro. Use compat_symbol_reference.
23249 (_LIB_VERSION): Likewise.
23250 * math/test-matherr-2.c: New file.
23251 * math/test-matherr-3.c: Likewise.
23252 * sysdeps/generic/math_private.h (__kernel_standard): Remove
23254 (__kernel_standard_f): Likewise.
23255 (__kernel_standard_l): Likewise.
23256 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
23257 <math_private.h>. Include <math-svid-compat.h>.
23258 (_LIB_VERSION): Undefine as macro.
23259 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
23260 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
23261 [LIBM_SVID_COMPAT], use compat_symbol.
23262 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
23263 <math_private.h>. Include <math-svid-compat.h>.
23264 (matherr): Undefine as macro.
23265 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
23267 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
23268 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
23269 compat_symbol_reference.
23270 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
23271 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
23272 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
23273 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
23274 (MATHERR_D): Remove declaration.
23275 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
23276 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
23277 [LIBM_BUILD] (pmatherrf): Likewise.
23278 [LIBM_BUILD] (pmatherr): Likewise.
23279 [LIBM_BUILD] (pmatherrl): Likewise.
23280 (DOMAIN): Likewise.
23282 (OVERFLOW): Likewise.
23283 (UNDERFLOW): Likewise.
23286 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
23287 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
23289 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
23290 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
23292 * math/lgamma-compat.h: Include <math-svid-compat.h>.
23293 * math/w_acos_compat.c: Likewise.
23294 * math/w_acosf_compat.c: Likewise.
23295 * math/w_acosh_compat.c: Likewise.
23296 * math/w_acoshf_compat.c: Likewise.
23297 * math/w_acoshl_compat.c: Likewise.
23298 * math/w_acosl_compat.c: Likewise.
23299 * math/w_asin_compat.c: Likewise.
23300 * math/w_asinf_compat.c: Likewise.
23301 * math/w_asinl_compat.c: Likewise.
23302 * math/w_atan2_compat.c: Likewise.
23303 * math/w_atan2f_compat.c: Likewise.
23304 * math/w_atan2l_compat.c: Likewise.
23305 * math/w_atanh_compat.c: Likewise.
23306 * math/w_atanhf_compat.c: Likewise.
23307 * math/w_atanhl_compat.c: Likewise.
23308 * math/w_cosh_compat.c: Likewise.
23309 * math/w_coshf_compat.c: Likewise.
23310 * math/w_coshl_compat.c: Likewise.
23311 * math/w_exp10_compat.c: Likewise.
23312 * math/w_exp10f_compat.c: Likewise.
23313 * math/w_exp10l_compat.c: Likewise.
23314 * math/w_exp2_compat.c: Likewise.
23315 * math/w_exp2f_compat.c: Likewise.
23316 * math/w_exp2l_compat.c: Likewise.
23317 * math/w_fmod_compat.c: Likewise.
23318 * math/w_fmodf_compat.c: Likewise.
23319 * math/w_fmodl_compat.c: Likewise.
23320 * math/w_hypot_compat.c: Likewise.
23321 * math/w_hypotf_compat.c: Likewise.
23322 * math/w_hypotl_compat.c: Likewise.
23323 * math/w_j0_compat.c: Likewise.
23324 * math/w_j0f_compat.c: Likewise.
23325 * math/w_j0l_compat.c: Likewise.
23326 * math/w_j1_compat.c: Likewise.
23327 * math/w_j1f_compat.c: Likewise.
23328 * math/w_j1l_compat.c: Likewise.
23329 * math/w_jn_compat.c: Likewise.
23330 * math/w_jnf_compat.c: Likewise.
23331 * math/w_jnl_compat.c: Likewise.
23332 * math/w_lgamma_main.c: Likewise.
23333 * math/w_lgamma_r_compat.c: Likewise.
23334 * math/w_lgammaf_main.c: Likewise.
23335 * math/w_lgammaf_r_compat.c: Likewise.
23336 * math/w_lgammal_main.c: Likewise.
23337 * math/w_lgammal_r_compat.c: Likewise.
23338 * math/w_log10_compat.c: Likewise.
23339 * math/w_log10f_compat.c: Likewise.
23340 * math/w_log10l_compat.c: Likewise.
23341 * math/w_log2_compat.c: Likewise.
23342 * math/w_log2f_compat.c: Likewise.
23343 * math/w_log2l_compat.c: Likewise.
23344 * math/w_log_compat.c: Likewise.
23345 * math/w_logf_compat.c: Likewise.
23346 * math/w_logl_compat.c: Likewise.
23347 * math/w_pow_compat.c: Likewise.
23348 * math/w_powf_compat.c: Likewise.
23349 * math/w_powl_compat.c: Likewise.
23350 * math/w_remainder_compat.c: Likewise.
23351 * math/w_remainderf_compat.c: Likewise.
23352 * math/w_remainderl_compat.c: Likewise.
23353 * math/w_scalb_compat.c: Likewise.
23354 * math/w_scalbf_compat.c: Likewise.
23355 * math/w_scalbl_compat.c: Likewise.
23356 * math/w_sinh_compat.c: Likewise.
23357 * math/w_sinhf_compat.c: Likewise.
23358 * math/w_sinhl_compat.c: Likewise.
23359 * math/w_sqrt_compat.c: Likewise.
23360 * math/w_sqrtf_compat.c: Likewise.
23361 * math/w_sqrtl_compat.c: Likewise.
23362 * math/w_tgamma_compat.c: Likewise.
23363 * math/w_tgammaf_compat.c: Likewise.
23364 * math/w_tgammal_compat.c: Likewise.
23365 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
23366 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
23367 * sysdeps/ieee754/k_standard.c: Likewise.
23368 * sysdeps/ieee754/k_standardf.c: Likewise.
23369 * sysdeps/ieee754/k_standardl.c: Likewise.
23370 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
23371 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
23372 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
23373 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
23374 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
23375 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
23376 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
23377 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
23378 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
23379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
23381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
23383 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
23384 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
23385 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
23386 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
23388 2017-08-21 Florian Weimer <fweimer@redhat.com>
23391 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
23392 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
23393 Move before inclusion of ../Rules.
23395 2017-08-21 Florian Weimer <fweimer@redhat.com>
23398 * assert/assert.h (assert): Use static_cast (bool) for C++.
23399 Use the ternary operator in the warning branch for GNU C.
23400 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
23401 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
23402 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
23403 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
23404 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
23406 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
23409 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23410 (__syscall_clock_gettime): Add attribute_hidden.
23411 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
23412 (__start_context): Likewise.
23414 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
23416 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
23418 (hidden_proto): Likewise.
23419 (hidden_tls_proto): Likewise.
23420 (__hidden_proto): Likewise.
23422 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
23424 * include/libc-symbols.h (attribute_hidden): Enable hidden
23425 visibility in libc.a compiled with PIE.
23427 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
23430 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
23431 Add attribute_hidden.
23433 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
23436 * Makerules (all-nonlib): Add $(others-extras).
23437 * catgets/Makefile (others-extras): New.
23438 * elf/Makefile (others-extras): Likewise.
23439 * nss/Makefile (others-extras): Likewise.
23441 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
23444 * csu/libc-start.c (__libc_multiple_libcs): Removed.
23445 * elf/dl-open.c: Include <libc-internal.h>.
23446 (__libc_multiple_libcs): Removed.
23447 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
23449 * include/libc-internal.h (__libc_multiple_libcs): New.
23450 * misc/sbrk.c: Include <libc-internal.h>.
23451 (__libc_multiple_libcs): Removed.
23453 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
23456 * grp/initgroups.c (__nss_group_database): Removed.
23457 (__nss_initgroups_database): Likewise.
23458 * nscd/gai.c (__nss_hosts_database): Likewise.
23459 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
23460 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
23461 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
23462 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
23463 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
23464 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
23466 * nss/nsswitch.c (__nss_database_custom): Define only if
23467 USE_NSCD is defined.
23468 (__nss_configure_lookup): Use __nss_database_custom only if
23469 USE_NSCD is defined.
23470 * nss/nsswitch.h (__nss_database_custom): Declare only if
23471 USE_NSCD is defined. Add attribute_hidden.
23472 (__nss_setent): Add attribute_hidden.
23473 (__nss_endent): Likewise.
23474 (__nss_getent_r): Likewise.
23475 (__nss_getent): Likewise.
23476 (DEFINE_DATABASE): Declare __nss_##arg##_database.
23478 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
23481 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
23482 libc_hidden_proto and libc_hidden_def.
23484 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
23487 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
23488 Add libc_hidden_proto.
23489 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
23490 Add libc_hidden_def.
23492 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
23495 * gmon/Makefile (routines): Remove bb_init_func and
23497 (elide-routines.os): Removed.
23498 * gmon/bb_exit_func.c: Likewise.
23499 * gmon/bb_init_func.c: Likewise.
23500 * include/sys/gmon.h (__bb): Likewise.
23501 (__bb_init_func): Likewise.
23502 (__bb_exit_func): Likewise.
23503 * sysdeps/alpha/bb_init_func.S: Likewise.
23505 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
23507 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
23508 * include/setjmp.h (____longjmp_chk): Here. Add
23511 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
23514 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
23516 (__strspn_sse2): Likewise.
23518 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23520 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
23521 (close_not_cancel_no_status): Likewise.
23522 (__close_nocancel): New macro.
23523 (__close_nocancel_nostatus): Likewise.
23524 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
23526 (close_not_cancel): Likewise.
23527 (close_not_cancel_no_status): Likewise.
23528 (__close_nocancel): New prototype.
23529 (__close_nocancel_nostatus): New function.
23530 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
23531 * catgets/open_catalog.c (__open_catalog): Replace
23532 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
23533 * gmon/gmon.c (write_gmon): Likewise.
23534 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
23535 * intl/loadmsgcat.c (close): Likewise.
23536 * io/ftw.c (open_dir_stream): Likewise.
23537 (ftw_startup): Likewise.
23538 * libio/fileops.c (_IO_file_open): Likewise.
23539 (_IO_file_close_mmap): Likewise.
23540 (_IO_file_close): Likewise.
23541 * libio/iopopen.c (_IO_dup2): Likewise.
23542 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
23543 * locale/loadlocale.c (_nl_load_locale): Likewise.
23544 * login/utmp_file.c (pututline_file): Likewise.
23545 (endutent_file): Likewise.
23546 * misc/daemon.c (daemon): Likewise.
23547 * nscd/nscd_getai.c (__nscd_getai): Likewise.
23548 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23549 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
23550 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
23551 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23552 * nscd/nscd_helper.c (open_socket): Likewise.
23553 (__nscd_open_socket): Likewise.
23554 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
23555 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
23556 (__nscd_innetgr): Likewise.
23557 * nss/nss_db/db-open.c (internal_setent): Likewise.
23558 * resolv/res-close.c (__res_iclose): Likewise.
23559 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
23560 * sysdeps/posix/closedir.c (__closedir): Likewise.
23561 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
23562 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
23563 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
23564 (opendir_tail): Likewise.
23565 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
23566 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
23567 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23568 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23569 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
23570 (gethostid): Likewise.
23571 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
23572 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23574 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23575 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
23576 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
23577 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
23579 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
23580 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
23581 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
23583 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
23584 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
23586 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
23588 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
23589 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
23590 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
23593 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
23594 (openat_not_cancel_3): Likewise.
23595 (openat64_not_cancel_3): Likewise).
23596 (openat_not_cancel_3): Likewise).
23597 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
23599 (openat_not_cancel_3): Likewise.
23600 (openat64_not_cancel): Likewise.
23601 (openat64_not_cancel_3): Likewise.
23602 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
23603 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
23604 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
23605 __open{64}_nocancel.
23606 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
23607 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
23608 * sysdeps/posix/opendir.c (__opendirat): Likewise.
23610 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
23613 * include/argz.h (__argz_create_sep): New function prototype.
23614 (__argz_append): Likewise.
23615 (__argz_add): Likewise.
23616 (__argz_add_sep): Likewise.
23617 (__argz_delete): Likewise.
23618 (__argz_insert): Likewise.
23619 (__argz_replace): Likewise.
23620 * string/argz.h (__argz_create_sep): Removed.
23621 (__argz_append): Likewise.
23622 (__argz_add): Likewise.
23623 (__argz_add_sep): Likewise.
23624 (__argz_delete): Likewise.
23625 (__argz_insert): Likewise.
23626 (__argz_replace): Likewise.
23628 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
23630 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
23631 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
23632 (GNU_PROPERTY_STACK_SIZE): Likewie.
23633 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
23634 (GNU_PROPERTY_LOPROC): Likewise.
23635 (GNU_PROPERTY_HIPROC): Likewise.
23636 (GNU_PROPERTY_LOUSER): Likewise.
23637 (GNU_PROPERTY_HIUSER): Likewise.
23638 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
23639 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
23640 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
23641 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
23642 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
23643 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
23644 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
23645 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
23646 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
23647 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
23648 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
23649 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
23650 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
23651 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
23652 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
23653 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
23654 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
23655 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
23656 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
23657 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
23658 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
23659 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
23660 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
23662 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
23664 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
23667 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
23670 * math/math.h (isinf): Check if in C or C++ mode before using
23671 __builtin_types_compatible_p, since this is a C mode feature.
23673 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23675 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
23676 (__write_nocancel): New macro.
23677 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
23678 Rewrite as a function prototype.
23679 (write_not_cancel): Remove macro.
23680 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
23681 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
23682 (write_gmon): Likewise.
23683 * libio/fileops.c (_IO_new_file_write): Likewise.
23684 * login/utmp_file.c (pututline_file): Likewise.
23685 (updwtmp_file): Likewise.
23686 * stdio-common/psiginfo.c (psiginfo): Likewise.
23687 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
23688 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
23689 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
23691 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
23694 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
23695 (__read_nocancel): New macro.
23696 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
23698 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
23700 (__read_nocancel): New prototype.
23701 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
23702 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
23703 with __read_nocancel.
23704 * intl/loadmsgcat.c (read): Likewise.
23705 * libio/fileops.c (_IO_file_read): Likewise.
23706 * locale/loadlocale.c (_nl_load_locale): Likewise.
23707 * login/utmp_file.c (getutent_r_file): Likewise.
23708 (internal_getut_r): Likewise.
23709 (getutline_r_file): Likewise.
23710 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
23711 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23712 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
23713 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23715 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
23716 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
23717 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
23719 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
23721 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
23723 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
23725 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
23727 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
23730 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
23731 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
23734 2017-08-17 DJ Delorie <dj@redhat.com>
23736 * bug17079.c: Update to new test harness.
23737 * test-digits-dots.c: Likewise.
23738 * test-netdb.c: Likewise.
23739 * tst-field.c: Likewise.
23740 * tst-nss-getpwent.c: Likewise.
23741 * tst-nss-static.c: Likewise.
23742 * tst-nss-test1.c: Likewise.
23743 * tst-nss-test2.c: Likewise.
23744 * tst-nss-test3.c: Likewise.
23745 * tst-nss-test4.c: Likewise.
23746 * tst-nss-test5.c: Likewise.
23748 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23750 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
23751 (open_not_cancel_2): Likewise.
23752 (open_nocancel): New macro.
23753 (open64_nocancel): Likewise.
23754 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
23755 (open_not_cancel_2): Likewise.
23756 (__open_nocancel): New prototype.
23757 (__open64_nocancel): Likewise.
23758 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
23760 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
23761 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
23762 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
23763 with __open_nocancel.
23764 * csu/check_fds.c (check_one_fd): Likewise.
23765 * gmon/gmon.c (write_gmon): Likewise.
23766 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
23767 * intl/loadmsgcat.c (open): Likewise.
23768 * libio/fileops.c (_IO_file_open): Likewise.
23769 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
23770 * locale/loadlocale.c (_nl_load_locale): Likewise.
23771 * login/utmp_file.c (setutent_file): Likewise.
23772 * misc/daemon.c (daemon): Likewise.
23773 * nss/nss_db/db-open.c (internal_setent): Likewise.
23774 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
23775 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
23776 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
23777 (__opendir): Likewise.
23778 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
23779 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
23780 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
23781 (gethostid): Likewise.
23782 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
23783 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23785 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23786 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
23787 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
23788 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
23790 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
23792 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
23794 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
23796 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
23798 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
23800 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
23801 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
23803 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
23805 * benchtests/bench-skeleton.c (main): Add support for
23806 latency benchmarking.
23807 * benchtests/scripts/bench.py: Add support for latency benchmarking.
23809 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
23811 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
23812 the startup object.
23814 2017-08-17 Florian Weimer <fweimer@redhat.com>
23816 * include/sys/socket.h (__opensock): Remove internal_function.
23817 * socket/opensock.c (__opensock): Likewise.
23818 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
23820 2017-08-16 Joseph Myers <joseph@codesourcery.com>
23823 * signal/bits/types/__sigval_t.h: New file.
23824 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
23825 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
23826 and define sigval_t using __sigval_t.
23827 * include/bits/types/__sigval_t.h: New file.
23828 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
23829 instead of <bits/types/__sigval_t.h>.
23830 (struct sigevent): Use __sigval_t instead of sigval_t.
23831 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
23832 instead of <bits/types/__sigval_t.h>.
23833 (siginfo_t): Use __sigval_t instead of sigval_t.
23834 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
23835 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
23836 (struct sigevent): Use __sigval_t instead of sigval_t.
23837 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
23838 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
23839 (siginfo_t): Use __sigval_t instead of sigval_t.
23840 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
23842 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
23844 * NEWS: Remove "[Add new features here]" for 2.27.
23846 2017-08-16 Joseph Myers <joseph@codesourcery.com>
23848 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
23851 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
23853 * NEWS: Mention x86-64 FMA optimization.
23855 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
23858 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23860 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
23861 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
23862 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
23864 2017-08-16 Andreas Schwab <schwab@suse.de>
23868 * elf/ldd.bash.in: Never run file directly.
23870 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
23873 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
23874 (L(SP_INF_0)): Likewise.
23876 2017-08-15 Florian Weimer <fweimer@redhat.com>
23878 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
23881 2017-08-15 Florian Weimer <fweimer@redhat.com>
23883 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
23884 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
23885 BROKEN_THREAD_SIGNALS code.
23886 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
23887 request_list): Remove caller_pid member used for
23888 BROKEN_THREAD_SIGNALS.
23889 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
23890 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
23891 Remove BROKEN_THREAD_SIGNALS support.
23892 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
23893 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
23895 2017-08-15 Florian Weimer <fweimer@redhat.com>
23897 * gmon/Makefile (tests): Add tst-gmon.
23898 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
23900 (tests-special): Add tst-gmon-prof.out.
23901 (tst-gmon.out): Depend on clean-tst-gmon-data.
23902 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
23903 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
23904 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
23906 * aclocal.m4 (GPROF): Set and substitute.
23907 * config.amke.in (GPROF): Set.
23908 * configure: Regenerate.
23910 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
23912 * elf/elf.h A (NT_PPC_TAR): New macro.
23913 (NT_PPC_PPR): Likewise.
23914 (NT_PPC_DSCR): Likewise.
23915 (NT_PPC_EBB): Likewise.
23916 (NT_PPC_PMU): Likewise.
23917 (NT_PPC_TM_CGPR): Likewise.
23918 (NT_PPC_TM_CFPR): Likewise.
23919 (NT_PPC_TM_CVMX): Likewise.
23920 (NT_PPC_TM_CVSX): Likewise.
23921 (NT_PPC_TM_SPR): Likewise.
23922 (NT_PPC_TM_CTAR): Likewise.
23923 (NT_PPC_TM_CPPR): Likewise.
23924 (NT_PPC_TM_CDSCR): Likewise.
23926 2017-08-15 Florian Weimer <fweimer@redhat.com>
23928 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
23929 regparm (2) instead of internal_function.
23930 (_MCOUNT_DECL): Adjust.
23932 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
23934 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
23935 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
23937 2017-08-14 Joseph Myers <joseph@codesourcery.com>
23939 * conform/data/sys/wait.h-data (si_value): Do not expect for
23942 2017-08-14 Florian Weimer <fweimer@redhat.com>
23945 NSS: Create stubs for accidentally exported lookup functions.
23946 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
23947 Remove declaration.
23948 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
23949 (ether_hostton): Call __nss_ethers_lookup2 instead.
23950 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
23951 (ether_ntohost): Call __nss_ethers_lookup2 instead.
23952 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
23953 (setup): Call __nss_netgroup_lookup2 instead.
23954 * nss/Makefile (routines): Add compat-lookup.
23955 * nss/Versions (GLIBC_2.27): Add symbol version.
23956 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
23957 (DB_COMPAT_FCT): Remove.
23958 * nss/compat-lookup.c: New file.
23959 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
23960 from databases.def.
23961 * nss/service-lookup.c (NO_COMPAT): Remove definition.
23962 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
23963 (netname2user): Call __nss_publickey_lookup2 instead.
23964 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
23965 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
23968 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23969 Sergei Trofimovich <slyfox@inbox.ru>
23972 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
23973 Rename to MMAP2_PAGE_UNIT.
23974 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
23975 __OFF_T_MATCHES_OFF64_T is not defined.
23976 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
23978 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
23979 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
23981 2017-08-14 Florian Weimer <fweimer@redhat.com>
23983 i386: Do not set internal_function.
23984 * config.h.in (USE_REGPARMS, internal_function): Remove.
23985 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
23986 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
23988 2017-08-14 Florian Weimer <fweimer@redhat.com>
23990 * elf/dl-init.c (_dl_init): Remove internal_function.
23991 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
23992 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
23994 2017-08-14 Florian Weimer <fweimer@redhat.com>
23996 * elf/rtld.c (_dl_start): Remove internal_function.
23997 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
24000 2017-08-14 Florian Weimer <fweimer@redhat.com>
24002 * elf/dl-fini.c (_dl_fini): Remove internal_function
24003 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
24005 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
24007 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
24008 (bit_cpu_SHSTK): Likewise.
24009 (index_cpu_IBT): Likewise.
24010 (index_cpu_SHSTK): Likewise.
24011 (reg_IBT): Likewise.
24012 (reg_SHSTK): Likewise.
24013 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
24014 Handle index_cpu_IBT and index_cpu_SHSTK.
24016 2017-08-14 Mike FABIAN <mfabian@redhat.com>
24019 * po/fr.po: Fix spelling mistake.
24021 2017-08-13 Florian Weimer <fweimer@redhat.com>
24023 * elf/dl-addr.c (_dl_addr): Remove internal_function.
24024 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
24025 (_dl_catch_error, _dl_receive_error): Likewise.
24026 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
24027 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
24028 (_dl_deallocate_tls): Likewise.
24029 * include/dlfcn.h (_dl_addr): Likewise.
24030 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
24031 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
24032 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
24035 2017-08-13 Florian Weimer <fweimer@redhat.com>
24037 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
24038 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
24040 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
24042 2017-08-13 Florian Weimer <fweimer@redhat.com>
24044 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
24046 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
24047 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
24048 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
24049 internal_function from _dl_make_stack_executable_hook member.
24050 (_dl_make_stack_executable): Remove internal_function.
24051 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
24053 * sysdeps/unix/sysv/linux/dl-execstack.c
24054 (_dl_make_stack_executable): Likewise.
24056 2017-08-13 Florian Weimer <fweimer@redhat.com>
24058 * sysdeps/unix/sysv/linux/netlinkaccess.h
24059 (__netlink_assert_response): Remove internal_function.
24060 * sysdeps/unix/sysv/linux/netlink_assert_response.c
24061 (__netlink_assert_response): Likewise.
24063 2017-08-13 Florian Weimer <fweimer@redhat.com>
24065 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
24067 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
24069 2017-08-13 Florian Weimer <fweimer@redhat.com>
24071 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
24073 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
24074 * inet/netgroup.h (__internal_setnetgrent)
24075 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
24076 * inet/getnetgrent_r.c (__internal_setnetgrent)
24077 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
24078 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
24079 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
24080 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
24081 * nss/nsswitch.h (db_lookup_function): Likewise.
24083 2017-08-13 Florian Weimer <fweimer@redhat.com>
24085 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
24086 Remove internal_function.
24087 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
24088 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
24089 message argument on the stack.
24090 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
24093 2017-08-12 Mike FABIAN <mfabian@redhat.com>
24095 Adapt test case data to the changes in the thousands
24099 * localedata/tst-langinfo.sh: Adapt test case data.
24100 * stdlib/tst-strfmon_l.c: Likewise.
24101 * stdlib/tst-strtod4.c: Likewise.
24102 * stdlib/tst-strtod5i.c: Likewise.
24104 2017-08-11 Florian Weimer <fweimer@redhat.com>
24107 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
24108 Suppress pedantic warning resulting from statement expression.
24109 (__ASSERT_FUNCTION): Add missing __extension__.
24111 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
24113 * benchtests/bench-memmove-large.c: Print output in JSON
24115 * benchtests/bench-memmove.c: Likewise.
24117 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
24118 * benchtests/bench-memchr.c (do_one_test): Likewise.
24119 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
24120 * benchtests/bench-memcpy.c (do_one_test): Likewise.
24121 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
24122 * benchtests/bench-memmove.c (do_one_test): Likewise.
24123 * benchtests/bench-memset-large.c (do_one_test): Likewise.
24124 * benchtests/bench-memset.c (do_one_test): Likewise.
24125 * benchtests/bench-string.h (test_init): Remove memsets.
24127 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
24130 (Computing the Width of an Integer Data Type): Rename section to
24131 "Width of an Integer Type". Remove inaccurate statement regarding
24132 lack of C language facilities for determining width of integer
24133 types, and reorder content to improve flow and context of
24136 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
24138 * lang.texi (va_copy): Change standard from ISO to C99.
24139 (__va_copy): Add standard and header annotation.
24140 Update description for clarity of origins and current use.
24142 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
24145 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
24146 xssqrtqp requires operands to be in Vector Registers
24147 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
24148 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
24149 (__ieee754_sqrtf128): Likewise.
24151 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
24153 * sysdeps/aarch64/memcmp.S (memcmp):
24154 Rewrite of optimized memcmp.
24156 2017-08-10 Florian Weimer <fweimer@redhat.com>
24158 Introduce ld.so exceptions.
24159 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
24160 (_dl_exception_create, _dl_exception_create_format)
24161 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
24162 (_dl_catch_exception): Declare.
24163 (_dl_catch_error): Update comment.
24164 * elf/dl-error-skeleton.c (struct catch): Replace objname,
24165 errstring, malloced members with exception member.
24166 (_dl_out_of_memory): Remove.
24167 (fatal_error): New function, extracted from _dl_signal_error.
24168 (_dl_signal_exception, _dl_signal_cexception): New functions.
24169 (_dl_signal_error): Call _dl_exception_create to allocate an
24171 (_dl_catch_exception): New function, based on _dl_catch_error.
24172 (_dl_catch_error): Implement using _dl_catch_exception.
24173 * elf/dl-exception.c: New file.
24174 * elf/Makefile (dl-routines): Add dl-exception.
24175 (elide-routines.os): Likewise.
24176 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
24177 _dl_exception_create_format, _dl_exception_free.
24178 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
24179 _dl_signal_exception.
24180 * elf/dl-lookup.c (make_string): Remove.
24181 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
24182 _dl_signal_cexception, _dl_exception_free.
24183 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
24184 _dl_signal_exception.
24185 * elf/dl-sym.c (do_sym): Likewise.
24186 * elf/dl-version.c (make_string): Remove.
24187 (match_symbol): Use _dl_exception_create_format,
24188 _dl_signal_cexception, _dl_exception_free.
24189 (_dl_check_map_versions): Likewise.
24190 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
24191 _dl_catch_exception.
24192 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
24193 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
24194 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
24195 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
24196 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
24197 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
24198 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
24199 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
24201 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
24202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
24204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
24206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
24208 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
24209 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
24210 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
24212 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
24214 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
24216 2017-08-10 Florian Weimer <fweimer@redhat.com>
24218 * inet/net-internal.h (__inet6_scopeid_pton): Remove
24219 attribute_hidden, internal_function.
24220 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
24223 2017-08-10 Florian Weimer <fweimer@redhat.com>
24225 * malloc/malloc.c (get_max_fast): Reimplement as an inline
24226 function which calls __builtin_unreachable.
24228 2017-08-10 Mike FABIAN <mfabian@redhat.com>
24230 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
24231 Indian monetary formatting
24232 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
24235 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
24237 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
24238 Fix typo in comment.
24241 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
24242 PTRACE_SEIZE_DEVEL): Remove.
24243 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
24244 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24245 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24246 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24247 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24249 2017-08-09 Joseph Myers <joseph@codesourcery.com>
24251 * posix/bits/types.h (__qaddr_t): Remove.
24254 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
24255 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
24257 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
24258 (ucontext_t): Use __ctx with uc_flags.
24259 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
24260 (__ctxt): Likewise.
24261 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
24263 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
24264 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
24266 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
24267 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
24269 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
24271 (ucontext_t): Use __ctx with uc_flags.
24272 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
24273 (ucontext_t): Use __ctx with uc_flags.
24274 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
24275 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
24276 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
24277 (ucontext_t): Use __ctx with uc_flags.
24278 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
24279 undefine further down.
24280 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
24282 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
24283 undefine further down.
24284 (ucontext_t): Use __ctx with uc_flags.
24285 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
24286 undefine further down.
24287 (ucontext_t): Use __ctx with uc_flags.
24288 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
24289 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
24290 Rename uc_pad to __glibc_reserved1.
24291 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
24292 undefine further down.
24293 (ucontext_t): Use __ctx with uc_flags.
24294 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
24296 (ucontext_t): Use __ctx with uc_flags.
24297 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
24298 __ctx with uc_flags.
24299 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
24300 (ucontext_t): Use __ctx with uc_flags.
24301 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
24302 __ctx with uc_flags.
24304 2017-08-09 Florian Weimer <fweimer@redhat.com>
24307 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
24308 before early return.
24310 2017-08-09 Andreas Schwab <schwab@suse.de>
24313 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
24317 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
24318 tst-compat-forwarder.
24319 (modules-names): Add tst-compat-forwarder-mod.
24320 ($(objpfx)tst-compat-forwarder): Depend on
24321 $(objpfx)tst-compat-forwarder-mod.so.
24322 * nptl/tst-compat-forwarder.c: New file.
24323 * nptl/tst-compat-forwarder-mod.c: New file.
24325 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
24327 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
24330 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
24331 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
24333 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
24335 (__libc_ifunc_impl_list): Add __memcpy_falkor.
24336 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
24337 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
24338 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
24340 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
24343 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24346 * manual/setjmp.texi (getcontex): Document uc_stack value
24347 compatibility differences.
24349 2017-08-08 Joseph Myers <joseph@codesourcery.com>
24351 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
24352 (old_malloc_hook): Likewise.
24353 (old_memalign_hook): Likewise.
24354 (old_realloc_hook): Likewise.
24355 (struct hdr): Likewise.
24357 (freehook): Likewise.
24358 (mallochook): Likewise.
24359 (memalignhook): Likewise.
24360 (reallochook): Likewise.
24361 (mprobe): Likewise.
24362 * malloc/mtrace.c (mallwatch): Likewise.
24363 (tr_old_free_hook): Likewise.
24364 (tr_old_malloc_hook): Likewise.
24365 (tr_old_realloc_hook): Likewise.
24366 (tr_old_memalign_hook): Likewise.
24367 (tr_where): Likewise.
24368 (lock_and_info): Likewise.
24369 (tr_freehook): Likewise.
24370 (tr_mallochook): Likewise.
24371 (tr_reallochook): Likewise.
24372 (tr_memalignhook): Likewise.
24373 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
24374 * misc/mmap.c (__mmap): Likewise.
24375 * misc/mmap64.c (__mmap64): Likewise.
24376 * misc/mprotect.c (__mprotect): Likewise.
24377 * misc/msync.c (msync): Likewise.
24378 * misc/munmap.c (__munmap): Likewise.
24379 * posix/posix_madvise.c (posix_madvise): Likewise.
24380 * socket/send.c (__send): Likewise.
24381 * socket/sendto.c (__sendto): Likewise.
24382 * socket/setsockopt.c (__setsockopt): Likewise.
24383 * string/memcmp.c (__ptr_t): Remove macro.
24384 (MEMCMP): Use void * instead of ptr_t.
24385 * string/memrchr.c (__ptr_t): Remove macro.
24386 (__memrchr): Use void * instead of ptr_t.
24387 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
24388 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
24389 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
24390 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
24391 * sysdeps/mach/msync.c (msync): Likewise.
24392 * sysdeps/mach/munmap.c (__munmap): Likewise.
24393 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
24395 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
24396 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
24397 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
24398 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
24399 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
24400 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
24401 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
24402 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
24404 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
24405 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
24406 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
24407 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
24408 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
24409 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
24410 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
24411 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
24412 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
24414 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
24415 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
24416 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
24417 (MEMCMP): Use void * instead of ptr_t.
24418 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
24419 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
24421 2017-08-08 Florian Weimer <fweimer@redhat.com>
24423 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
24426 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
24429 * csu/libc-tls.c: Include <startup.h> first.
24430 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
24431 * elf/dl-tunables.c: Include <startup.h> first.
24432 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
24433 * sysdeps/generic/startup.h: New file.
24434 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
24435 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
24436 (I386_USE_SYSENTER): New. Defined to 0.
24438 2017-08-08 Andreas Schwab <schwab@suse.de>
24441 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
24442 * nptl/pt-system.c (system): Likewise.
24444 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24447 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
24449 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
24450 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
24451 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
24452 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
24453 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
24454 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
24455 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
24457 2017-08-07 Joseph Myers <joseph@codesourcery.com>
24460 * bits/sigaction.h (struct sigaction): Define sa_handler and
24461 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
24462 (SA_ONSTACK): Change [__USE_UNIX98] condition to
24463 [__USE_XOPEN_EXTENDED].
24464 (SA_RESTART): Likewise.
24465 (SA_NODEFER): Likewise.
24466 (SA_RESETHAND): Likewise.
24467 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
24468 (struct sigaction): Define sa_handler and sa_sigaction using union
24469 also for [__USE_XOPEN_EXTENDED].
24470 (SA_ONSTACK): Change [__USE_UNIX98] condition to
24471 [__USE_XOPEN_EXTENDED].
24472 (SA_RESTART): Likewise.
24473 (SA_NODEFER): Likewise.
24474 (SA_RESETHAND): Likewise.
24475 * sysdeps/unix/sysv/linux/bits/sigaction.h
24476 (struct sigaction): Define sa_handler and sa_sigaction using union
24477 also for [__USE_XOPEN_EXTENDED].
24478 (SA_ONSTACK): Change [__USE_UNIX98] condition to
24479 [__USE_XOPEN_EXTENDED].
24480 (SA_RESTART): Likewise.
24481 (SA_NODEFER): Likewise.
24482 (SA_RESETHAND): Likewise.
24483 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
24484 (struct sigaction): Define sa_handler and sa_sigaction using union
24485 also for [__USE_XOPEN_EXTENDED].
24486 (SA_ONSTACK): Change [__USE_UNIX98] condition to
24487 [__USE_XOPEN_EXTENDED].
24488 (SA_RESTART): Likewise.
24489 (SA_NODEFER): Likewise.
24490 (SA_RESETHAND): Likewise.
24491 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
24492 (struct sigaction): Define sa_handler and sa_sigaction using union
24493 also for [__USE_XOPEN_EXTENDED].
24494 (SA_ONSTACK): Change [__USE_UNIX98] condition to
24495 [__USE_XOPEN_EXTENDED].
24496 (SA_RESTART): Likewise.
24497 (SA_NODEFER): Likewise.
24498 (SA_RESETHAND): Likewise.
24499 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
24500 (struct sigaction): Define sa_handler and sa_sigaction using union
24501 also for [__USE_XOPEN_EXTENDED].
24502 (SA_ONSTACK): Change [__USE_UNIX98] condition to
24503 [__USE_XOPEN_EXTENDED].
24504 (SA_RESTART): Likewise.
24505 (SA_NODEFER): Likewise.
24506 (SA_RESETHAND): Likewise.
24507 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
24508 (struct sigaction): Define sa_handler and sa_sigaction using union
24509 also for [__USE_XOPEN_EXTENDED].
24510 (SA_ONSTACK): Change [__USE_UNIX98] condition to
24511 [__USE_XOPEN_EXTENDED].
24512 (SA_RESTART): Likewise.
24513 (SA_NODEFER): Likewise.
24514 (SA_RESETHAND): Likewise.
24515 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
24516 (struct sigaction): Define sa_handler and sa_sigaction using union
24517 also for [__USE_XOPEN_EXTENDED].
24518 (SA_ONSTACK): Change [__USE_UNIX98] condition to
24519 [__USE_XOPEN_EXTENDED].
24520 (SA_RESTART): Likewise.
24521 (SA_NODEFER): Likewise. Define directly rather than as alias.
24522 (SA_RESETHAND): Likewise.
24523 (SA_INTERRUPT): Define only for [__USE_MISC].
24524 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
24525 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
24527 (SA_STACK): Define only for [__USE_MISC].
24528 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
24529 (struct sigaction): Define sa_handler and sa_sigaction using union
24530 also for [__USE_XOPEN_EXTENDED].
24531 (SA_ONSTACK): Change [__USE_UNIX98] condition to
24532 [__USE_XOPEN_EXTENDED].
24533 (SA_RESTART): Likewise.
24534 (SA_NODEFER): Likewise.
24535 (SA_RESETHAND): Likewise.
24536 (SA_NOPTRACE): Define only for [__USE_MISC].
24538 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
24539 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
24540 (struct catalog_info): Likewise.
24541 * inet/htontest.c (lo): Likewise.
24543 * inet/inet_lnaof.c (inet_lnaof): Likewise.
24544 * inet/inet_net.c (inet_network): Likewise.
24545 * inet/inet_netof.c (inet_netof): Likewise.
24546 * inet/rcmd.c (__ivaliduser): Likewise.
24547 (iruserok): Likewise.
24548 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
24549 * locale/programs/locale-spec.c (locale_special): Likewise.
24550 * nis/nis_findserv.c (struct findserv_req): Likewise.
24551 (__nis_findfastest_with_timeout): Likewise.
24552 * nss/test-netdb.c (test_network): Likewise.
24553 * resolv/inet_neta.c (inet_neta): Likewise.
24554 * resolv/ns_date.c (ns_datetosecs): Likewise.
24555 (SECS_PER_DAY): Likewise.
24556 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
24558 * resolv/res_comp.c (__putlong): Likewise.
24559 (__putshort): Likewise.
24560 (_getlong): Likewise.
24561 (_getshort): Likewise.
24562 * resolv/res_debug.c (p_time): Likewise.
24563 (precsize_ntoa): Likewise.
24564 (precsize_aton): Likewise.
24565 (latlon2ul): Likewise.
24566 (loc_aton): Likewise.
24567 (loc_ntoa): Likewise.
24568 * resolv/res_hconf.c (struct netaddr): Likewise.
24569 (_res_hconf_reorder_addrs): Likewise.
24570 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
24571 (clnttcp_control): Likewise.
24572 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24573 (clntudp_control): Likewise.
24574 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
24575 (clntunix_control): Likewise.
24576 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
24577 * sunrpc/rpc/auth.h (union des_block): Likewise.
24578 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
24579 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
24580 (xdrrec_create): Likewise.
24581 (xdrrec_endofrecord): Likewise.
24582 (flush_out): Likewise.
24583 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
24584 (xdrstdio_putlong): Likewise.
24585 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
24588 * misc/sys/cdefs.h (__long_double_t): Remove.
24589 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
24590 instead of __long_double_t,
24591 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
24593 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
24595 * benchtests/scripts/compare_strings.py: Avoid display error when
24596 running on a text terminal.
24598 * benchtests/scripts/compare_strings.py (main): Add an
24599 optional -base option.
24600 (process_results): New argument base_func.
24602 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
24604 * benchtests/bench-memcpy-large.c (test_name): Likewise.
24605 * benchtests/bench-memcpy-random.c (test_name): Likewise.
24607 2017-08-07 Andreas Schwab <schwab@suse.de>
24609 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
24610 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
24611 * intl/Makefile ($(objpfx)tst-gettext.out)
24612 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
24613 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
24614 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
24615 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
24616 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
24617 * posix/Makefile ($(objpfx)globtest.out)
24618 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
24619 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
24620 ($(objpfx)tst-printf.out): Likewise.
24621 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
24622 ($(objpfx)tst-setcontext3.out): Likewise.
24624 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
24626 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24627 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
24628 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
24629 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
24630 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
24632 (CFLAGS-doasin-fma.c): New.
24633 (CFLAGS-dosincos-fma.c): Likewise.
24634 (CFLAGS-e_asin-fma.c): Likewise.
24635 (CFLAGS-e_atan2-fma.c): Likewise.
24636 (CFLAGS-e_exp-fma.c): Likewise.
24637 (CFLAGS-e_log-fma.c): Likewise.
24638 (CFLAGS-e_pow-fma.c): Likewise.
24639 (CFLAGS-halfulp-fma.c): Likewise.
24640 (CFLAGS-mpa-fma.c): Likewise.
24641 (CFLAGS-mpatan-fma.c): Likewise.
24642 (CFLAGS-mpatan2-fma.c): Likewise.
24643 (CFLAGS-mpexp-fma.c): Likewise.
24644 (CFLAGS-mplog-fma.c): Likewise.
24645 (CFLAGS-mpsqrt-fma.c): Likewise.
24646 (CFLAGS-mptan-fma.c): Likewise.
24647 (CFLAGS-s_atan-fma.c): Likewise.
24648 (CFLAGS-sincos32-fma.c): Likewise.
24649 (CFLAGS-slowexp-fma.c): Likewise.
24650 (CFLAGS-slowpow-fma.c): Likewise.
24651 (CFLAGS-s_sin-fma.c): Likewise.
24652 (CFLAGS-s_tan-fma.c): Likewise.
24653 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
24654 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
24655 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
24656 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
24657 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
24658 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
24659 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
24660 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
24661 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
24662 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
24663 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
24664 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
24665 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
24666 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
24667 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
24668 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
24669 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
24670 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
24671 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
24672 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
24673 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
24674 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
24675 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
24676 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
24677 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
24678 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24679 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24680 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
24681 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24682 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24683 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24685 2017-08-04 Joseph Myers <joseph@codesourcery.com>
24687 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
24688 (min_of_type_f): New macro.
24689 (min_of_type_): Likewise.
24690 (min_of_type_l): Likewise.
24691 (min_of_type_f128): Likewise.
24692 (min_of_type): Define using __MATH_TG and taking an expression
24694 (math_check_force_underflow): Pass expression instead of type to
24696 (math_check_force_underflow_nonneg): Likewise.
24698 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
24700 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
24701 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
24702 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
24704 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
24706 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24707 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
24708 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
24709 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
24710 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
24711 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
24712 memcpy_chk-nonshared, mempcpy_chk-nonshared,
24713 memmove_chk-nonshared and memset_chk-nonshared
24714 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
24715 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
24716 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
24717 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
24718 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
24719 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
24720 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
24721 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
24722 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
24723 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
24724 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
24725 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
24726 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
24727 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
24728 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
24729 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
24730 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
24731 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
24732 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
24733 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
24734 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
24735 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
24736 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
24737 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
24738 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
24739 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
24740 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
24741 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
24742 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
24743 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
24744 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
24745 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
24746 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
24747 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
24748 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
24749 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
24750 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
24751 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
24752 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
24753 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
24754 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
24755 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
24756 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
24757 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
24758 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
24759 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
24760 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
24761 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
24762 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
24763 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
24764 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
24765 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
24766 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
24767 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
24768 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
24769 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
24770 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
24771 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
24772 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
24773 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
24774 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
24775 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
24776 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
24777 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
24778 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
24779 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
24780 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
24781 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
24782 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
24783 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
24784 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
24785 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24786 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24787 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24788 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24789 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24790 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24791 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24792 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24793 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24794 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24795 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24796 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24797 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24798 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24799 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24800 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24801 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24802 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24803 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24804 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24805 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24806 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24807 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24808 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24809 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24810 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24811 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24812 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24813 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24814 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24815 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24816 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24817 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24818 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24819 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24820 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24821 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24823 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
24825 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
24826 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
24827 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
24828 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
24829 svml_d_log2_core-sse2, svml_d_log4_core-sse,
24830 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
24831 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
24832 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
24833 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
24834 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
24835 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
24836 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
24837 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
24838 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
24839 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
24840 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
24841 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
24842 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
24843 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
24844 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
24845 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
24846 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
24847 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
24848 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
24849 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
24850 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
24851 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
24852 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
24853 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
24854 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
24855 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
24856 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
24857 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
24858 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
24859 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
24860 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
24861 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
24862 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
24863 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
24864 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
24865 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
24866 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
24867 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
24868 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
24869 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
24870 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
24871 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
24872 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
24873 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
24874 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
24875 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
24876 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
24877 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
24878 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
24879 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
24880 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
24881 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
24882 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
24883 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
24885 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
24886 Don't include <sysdep.h> nor <init-arch.h>.
24887 (_ZGVbN2v_cos): Removed.
24888 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
24890 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
24891 Don't include <sysdep.h> nor <init-arch.h>.
24892 (_ZGVdN4v_cos): Removed.
24893 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
24895 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
24896 Don't include <sysdep.h> nor <init-arch.h>.
24897 (_ZGVeN8v_cos): Removed.
24898 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
24900 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
24901 Don't include <sysdep.h> nor <init-arch.h>.
24902 (_ZGVbN2v_exp): Removed.
24903 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
24905 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
24906 Don't include <sysdep.h> nor <init-arch.h>.
24907 (_ZGVdN4v_exp): Removed.
24908 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
24910 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
24911 Don't include <sysdep.h> nor <init-arch.h>.
24912 (_ZGVeN8v_exp): Removed.
24913 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
24915 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
24916 Don't include <sysdep.h> nor <init-arch.h>.
24917 (_ZGVbN2v_log): Removed.
24918 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
24920 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
24921 Don't include <sysdep.h> nor <init-arch.h>.
24922 (_ZGVdN4v_log): Removed.
24923 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
24925 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
24926 Don't include <sysdep.h> nor <init-arch.h>.
24927 (_ZGVeN8v_log): Removed.
24928 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
24930 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
24931 Don't include <sysdep.h> nor <init-arch.h>.
24932 (_ZGVbN2vv_pow): Removed.
24933 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
24935 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
24936 Don't include <sysdep.h> nor <init-arch.h>.
24937 (_ZGVdN4vv_pow): Removed.
24938 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
24940 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
24941 Don't include <sysdep.h> nor <init-arch.h>.
24942 (_ZGVeN8vv_pow): Removed.
24943 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
24945 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
24946 Don't include <sysdep.h> nor <init-arch.h>.
24947 (_ZGVbN2v_sin): Removed.
24948 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
24950 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
24951 Don't include <sysdep.h> nor <init-arch.h>.
24952 (_ZGVbN4v_sin): Removed.
24953 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
24955 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
24956 Don't include <sysdep.h> nor <init-arch.h>.
24957 (_ZGVbN8v_sin): Removed.
24958 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
24960 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
24961 Don't include <sysdep.h> nor <init-arch.h>.
24962 (_ZGVbN2vvv_sincos): Removed.
24963 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
24965 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
24966 Don't include <sysdep.h> nor <init-arch.h>.
24967 (_ZGVdN4vvv_sincos): Removed.
24968 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
24970 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
24971 Don't include <sysdep.h> nor <init-arch.h>.
24972 (_ZGVeN8vvv_sincos): Removed.
24973 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
24975 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
24976 Don't include <sysdep.h> nor <init-arch.h>.
24977 (_ZGVeN16v_cosf): Removed.
24978 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
24980 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
24981 Don't include <sysdep.h> nor <init-arch.h>.
24982 (_ZGVbN4v_cosf): Removed.
24983 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
24985 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
24986 Don't include <sysdep.h> nor <init-arch.h>.
24987 (_ZGVdN8v_cosf): Removed.
24988 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
24990 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
24991 Don't include <sysdep.h> nor <init-arch.h>.
24992 (_ZGVeN16v_expf): Removed.
24993 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
24995 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
24996 Don't include <sysdep.h> nor <init-arch.h>.
24997 (_ZGVbN4v_expf): Removed.
24998 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
25000 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
25001 Don't include <sysdep.h> nor <init-arch.h>.
25002 (_ZGVdN8v_expf): Removed.
25003 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
25005 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
25006 Don't include <sysdep.h> nor <init-arch.h>.
25007 (_ZGVeN16v_logf): Removed.
25008 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
25010 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
25011 Don't include <sysdep.h> nor <init-arch.h>.
25012 (_ZGVbN4v_logf): Removed.
25013 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
25015 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
25016 Don't include <sysdep.h> nor <init-arch.h>.
25017 (_ZGVdN8v_logf): Removed.
25018 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
25020 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
25021 Don't include <sysdep.h> nor <init-arch.h>.
25022 (_ZGVeN16vv_powf): Removed.
25023 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
25025 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
25026 Don't include <sysdep.h> nor <init-arch.h>.
25027 (_ZGVbN4vv_powf): Removed.
25028 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
25030 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
25031 Don't include <sysdep.h> nor <init-arch.h>.
25032 (_ZGVdN8vv_powf): Removed.
25033 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
25035 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
25036 Don't include <sysdep.h> nor <init-arch.h>.
25037 (_ZGVeN16vvv_sincosf): Removed.
25038 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
25040 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
25041 Don't include <sysdep.h> nor <init-arch.h>.
25042 (_ZGVbN4vvv_sincosf): Removed.
25043 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
25045 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
25046 Don't include <sysdep.h> nor <init-arch.h>.
25047 (_ZGVdN8vvv_sincosf): Removed.
25048 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
25050 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
25051 Don't include <sysdep.h> nor <init-arch.h>.
25052 (_ZGVeN16v_sinf): Removed.
25053 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
25055 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
25056 Don't include <sysdep.h> nor <init-arch.h>.
25057 (_ZGVbN4v_sinf): Removed.
25058 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
25060 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
25061 Don't include <sysdep.h> nor <init-arch.h>.
25062 (_ZGVdN8v_sinf): Removed.
25064 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
25066 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25067 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
25068 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
25069 s_rint-sse4_1 and s_rintf-sse4_1.
25070 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
25071 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
25072 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
25073 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
25074 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
25075 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
25076 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
25077 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
25078 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
25079 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
25080 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
25081 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
25083 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
25084 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
25085 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
25086 (__ceilf): Removed.
25087 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
25088 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
25089 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
25090 (__floor): Removed.
25091 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
25092 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
25093 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
25094 (__floorf): Removed.
25095 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
25096 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
25097 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
25098 (__nearbyint): Removed.
25099 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
25100 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
25101 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
25102 (__nearbyintf): Removed.
25103 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
25104 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
25105 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
25107 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
25108 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
25109 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
25110 (__rintf): Removed.
25112 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
25114 * sysdeps/i386/start.S (_start): Check Check PIC instead of
25115 SHARED. Avoid dynamic relocation against main in static PIE.
25117 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
25120 * elf/Makefile (CFLAGS-tst-prelink.c): New.
25121 (LDFLAGS-tst-prelink): Likewise.
25123 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
25125 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
25126 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
25127 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
25128 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
25129 (INTERNAL_SYSCALL_NCS): Likewise.
25130 (LOADARGS_1): Likewise.
25131 (LOADARGS_5): Likewise.
25132 (RESTOREARGS_1): Likewise.
25133 (RESTOREARGS_5): Likewise.
25135 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
25137 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
25138 (MEMPCPY_SYMBOL): Likewise.
25139 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25140 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
25141 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
25143 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25144 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
25146 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
25147 (__hidden_ver1): Don't use in libc.a.
25148 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
25149 (__mempcpy): Don't create a weak alias in libc.a.
25150 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
25152 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
25153 (__hidden_ver1): Don't use in libc.a.
25155 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
25157 * config.make.in (have-insert): New.
25158 * configure.ac (libc_cv_insert): New. Set to yes if linker
25159 supports INSERT in linker script.
25160 (AC_SUBST(libc_cv_insert): New.
25161 * configure: Regenerated.
25162 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
25163 if $(have-insert) == yes.
25165 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
25167 * elf/Makefile (tests): Add vismain only if
25168 $(have-protected-data) == yes.
25169 (tests-pie): Likewise.
25171 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
25174 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
25175 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
25177 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
25180 * sysdeps/i386/i586/memset.S
25181 (__memset_zero_constant_len_parameter): Removed.
25182 * sysdeps/i386/i686/memset.S
25183 (__memset_zero_constant_len_parameter): Likewise.
25184 * sysdeps/i386/i686/multiarch/memset_chk.S
25185 (__memset_zero_constant_len_parameter): Likewise.
25186 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
25189 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
25191 * stdlib/getentropy.c (getentropy): Change return type to int.
25193 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
25195 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
25197 2017-08-03 Joseph Myers <joseph@codesourcery.com>
25199 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
25201 * math/s_nexttowardf.c (__nexttowardf): Likewise.
25202 * sysdeps/generic/math_private.h (ieee_double_shape_type):
25204 (ieee_float_shape_type): Likewise.
25205 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
25206 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
25207 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
25208 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25209 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
25210 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
25211 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
25212 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
25213 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
25215 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
25216 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
25217 (__ieee754_yn): Likewise.
25218 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25219 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25220 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
25222 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25223 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
25224 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
25225 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
25226 (__erfc): Likewise.
25227 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
25228 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
25229 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
25230 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
25231 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
25232 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
25234 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
25235 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
25236 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
25237 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
25238 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
25239 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
25240 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
25241 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
25242 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
25243 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
25244 (__issignaling): Likewise.
25245 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
25246 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
25247 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
25249 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25250 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
25251 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
25252 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
25254 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
25256 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
25257 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
25258 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
25259 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
25260 (__erfcf): Likewise.
25261 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
25262 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
25263 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
25264 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
25266 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
25267 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
25269 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
25270 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
25271 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
25272 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
25273 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
25274 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
25275 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
25276 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
25278 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
25280 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
25282 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
25283 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
25285 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
25287 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
25288 (__ieee754_ynl): Likewise.
25289 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
25290 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
25292 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
25294 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
25295 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
25296 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25298 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
25299 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
25300 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
25301 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
25302 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
25303 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
25304 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
25305 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
25307 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
25308 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
25309 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
25311 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
25312 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
25313 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
25314 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
25315 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
25316 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25318 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
25320 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25322 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25324 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
25325 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
25326 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25327 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
25328 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
25329 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
25330 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
25332 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25334 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
25335 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25337 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
25338 (__ieee754_remainderl): Likewise.
25339 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25340 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25341 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
25342 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
25344 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
25345 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25347 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25348 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
25349 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
25350 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
25351 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
25352 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25354 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
25355 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
25356 (__ieee754_y0l): Likewise.
25359 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25360 (__ieee754_y1l): Likewise.
25363 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25364 (__ieee754_ynl): Likewise.
25365 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
25366 (__ieee754_lgammal_r): Likewise.
25367 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
25369 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
25370 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
25371 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
25372 (__erfcl): Likewise.
25373 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
25374 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
25376 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
25377 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
25378 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
25379 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
25380 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
25381 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25382 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25384 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
25385 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
25386 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
25387 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
25388 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25390 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
25391 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
25393 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
25394 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
25395 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
25396 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
25397 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
25399 2017-08-03 Florian Weimer <fweimer@redhat.com>
25402 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
25403 on memory allocation failure.
25405 2017-08-03 Alan Modra <amodra@gmail.com>
25407 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
25408 tst-tlsopt-powerpc.c with function name change and no test harness.
25409 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
25410 Call tls_get_addr_opt_test.
25411 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
25412 (modules-names): Add mod-tlsopt-powerpc.
25413 (mod-tlsopt-powerpc.so-no-z-defs): Define.
25414 (tst-tlsopt-powerpc): Depend on .so.
25415 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
25416 define. Expand use in TLS_GD and TLS_LD.
25418 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25420 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
25422 * sysdeps/posix/shm_open.c: Include <pthread.h>.
25424 2017-08-02 Joseph Myers <joseph@codesourcery.com>
25427 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
25428 comparing size with that of double.
25429 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
25430 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
25431 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
25432 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
25433 (__TGMATH_BINARY_REAL_IMAG): Likewise.
25434 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
25435 unsigned __int128 types.
25437 2017-08-02 Steve Ellcey <sellcey@cavium.com>
25439 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
25440 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
25441 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
25442 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
25443 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
25445 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
25447 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
25449 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
25451 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
25453 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
25454 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25455 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25456 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25457 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25458 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25459 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25461 2017-08-02 Joseph Myers <joseph@codesourcery.com>
25464 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
25465 bit-field expressions passed to sizeof or typeof.
25466 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25467 (__TGMATH_F128): Likewise.
25468 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25469 (__TGMATH_CF128): Likewise.
25470 (__TGMATH_UNARY_REAL_ONLY): Likewise.
25471 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
25472 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
25473 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
25474 (__TGMATH_BINARY_REAL_ONLY): Likewise.
25475 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
25476 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
25477 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
25478 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
25479 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
25480 (__TGMATH_UNARY_REAL_IMAG): Likewise.
25481 (__TGMATH_UNARY_IMAG): Likewise.
25482 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
25483 (__TGMATH_BINARY_REAL_IMAG): Likewise.
25484 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
25486 (define_vars_for_type): Handle bit_field type specially.
25487 (Tests.__init__): Declare structure with bit-field element.
25489 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
25492 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
25493 (MEMCPY_CHK): Define only if SHARED is defined.
25494 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
25496 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
25499 See ChangeLog.18 for earlier changes.