1 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
4 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
7 2017-12-19 Joseph Myers <joseph@codesourcery.com>
11 2017-12-19 Joseph Myers <joseph@codesourcery.com>
13 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18 <errno.h>. Include "eexp.tbl".
21 (__ieee754_exp): Rewrite.
22 (__slowexp): Remove prototype.
23 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
24 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
25 * sysdeps/i386/fpu/slowexp.c: Likewise.
26 * sysdeps/ia64/fpu/slowexp.c: Likewise.
27 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
28 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
29 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
30 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
32 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
34 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
35 (CPPFLAGS-slowexp.c): Remove variable.
36 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
38 (CFLAGS-slowexp-fma.c): Remove variable.
39 (CFLAGS-slowexp-fma4.c): Likewise.
40 (CFLAGS-slowexp-avx.c): Likewise.
41 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
43 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
44 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
45 * math/Makefile (type-double-routines): Remove slowexp.
46 * manual/probes.texi (slowexp_p6): Remove.
47 (slowexp_p32): Likewise.
49 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
51 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
54 * lib/glob.c (glob): Do not pass NULL to mempcpy.
56 2017-12-19 Joseph Myers <joseph@codesourcery.com>
58 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
62 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
63 <errno.h>. Include "eexp.tbl".
66 (__ieee754_exp): Rewrite.
67 (__slowexp): Remove prototype.
68 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
69 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
70 * sysdeps/i386/fpu/slowexp.c: Likewise.
71 * sysdeps/ia64/fpu/slowexp.c: Likewise.
72 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
73 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
74 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
75 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
76 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
77 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
79 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
80 (CPPFLAGS-slowexp.c): Remove variable.
81 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
82 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
83 (CFLAGS-slowexp-fma.c): Remove variable.
84 (CFLAGS-slowexp-fma4.c): Likewise.
85 (CFLAGS-slowexp-avx.c): Likewise.
86 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
88 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
89 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
90 * math/Makefile (type-double-routines): Remove slowexp.
91 * manual/probes.texi (slowexp_p6): Remove.
92 (slowexp_p32): Likewise.
94 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
95 James Clarke <jrtc27@jrtc27.com>
98 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
101 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
104 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
107 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
110 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
111 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
112 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
113 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
116 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
119 * bits/types/__cancel_jmp_buf_tag.h: New file.
120 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
121 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
122 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
123 * nptl/Makefile (headers): Add
124 bits/types/__cancel_jmp_buf_tag.h.
125 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
126 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
127 * sysdeps/nptl/pthread.h: Include
128 <bits/types/__cancel_jmp_buf_tag.h>.
129 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
131 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
133 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
135 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
136 --enable-static-pie variants to x86_64, x32 and i686.
138 2017-12-19 Joseph Myers <joseph@codesourcery.com>
141 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
142 argument for attrubutes. All callers changed.
143 (__inline_mathop1): Likewise. All callers changed.
144 (__inline_mathop): Likewise. All callers changed.
145 [__USE_MISC] (scalbn): Use __inline_forward instead of
147 [__USE_ISOC99] (scalbln): Likewise.
148 [__USE_ISOC99] (nearbyint): Likewise.
149 [__USE_ISOC99] (lrint): Likewise.
150 [__USE_MISC] (scalbnf): Likewise.
151 [__USE_ISOC99] (scalblnf): Likewise.
152 [__USE_ISOC99] (nearbyintf): Likewise.
153 [__USE_ISOC99] (lrintf): Likewise.
154 [__USE_MISC] (scalbnl): Likewise.
155 [__USE_ISOC99] (scalblnl): Likewise.
156 [__USE_ISOC99] (nearbyintl): Likewise.
157 [__USE_ISOC99] (lrintl): Likewise.
158 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
159 __inline_mathop and __m81_defun changed.
161 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
162 CPU or FPU for ARM hard-float configurations.
164 2017-12-18 Joseph Myers <joseph@codesourcery.com>
166 * nptl/tst-attr3.c: Include <libc-diag.h>.
167 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
169 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
171 * string/tester.c (test_strncat): Also disable -Warray-bounds
172 warnings for two tests.
174 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
177 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
178 $(cc-pie-default) == yes.
179 * config.make.in (cc-pie-default): New.
180 * configure.ac (libc_cv_pie_default): Renamed to ...
181 (libc_cv_cc_pie_default): This.
182 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
183 * configure: Regenerated.
185 2017-12-18 Florian Weimer <fweimer@redhat.com>
188 ld.so: Harden dl-libc/libdl hooks.
189 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
190 (rtld_active): New function.
191 * dlfcn/dladdr.c (__dladdr): Call it.
192 * dlfcn/dladdr1.c (__dladdr1): Likewise.
193 * dlfcn/dlclose.c (__dlcose): Likewise.
194 * dlfcn/dlerror.c (__dlerror): Likewise.
195 * dlfcn/dlinfo.c (__dlinfo): Likewise.
196 * dlfcn/dlmopen.c (__dlmopen): Likewise.
197 * dlfcn/dlopen.c (__dlopen): Likewise.
198 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
199 * dlfcn/dlsym.c (__dlsym): Likewise.
200 * dlfcn/dlvsym.c (__dlvsym): Likewise.
201 * libio/vtables.c (_IO_vtable_check): Likewise.
202 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
203 (__libc_dlclose): Likewise.
204 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
207 2017-12-18 Joseph Myers <joseph@codesourcery.com>
210 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
211 buffers for readlink input and output.
213 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
216 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
217 inhibit_stack_protector.
220 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
221 inhibit_stack_protector.
223 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
226 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
229 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
231 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
233 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
236 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
238 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
240 * sysdeps/s390/fpu/libm-test-ulps: Update.
242 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
246 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
248 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
249 constants to s_sincosf.h file.
250 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
251 * sysdeps/ieee754/flt-32/s_sincosf.c: New
253 * sysdeps/ieee754/flt-32/s_sincosf.h:
256 2017-12-12 Carlos O'Donell <carlos@redhat.com>
259 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
262 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
265 * INSTALL: Regenerated.
266 * Makeconfig (real-static-start-installed-name): New.
267 (pic-default): Updated for --enable-static-pie.
268 (pie-default): New for --enable-static-pie.
269 (default-pie-ldflag): Likewise.
270 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
271 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
272 Replace $(static-start-installed-name) with
273 $(real-static-start-installed-name).
274 (+prectorT): Updated for --enable-static-pie.
275 (+postctorT): Likewise.
276 (CFLAGS-.o): Add $(pie-default).
277 (CFLAGS-.op): Likewise.
278 * NEWS: Mention --enable-static-pie.
279 * config.h.in (ENABLE_STATIC_PIE): New.
280 * configure.ac (--enable-static-pie): New configure option.
281 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
282 (have-static-pie): Likewise.
283 Enable static PIE if linker supports --no-dynamic-linker.
284 (ENABLE_STATIC_PIE): New AC_DEFINE.
285 (enable-static-pie): New LIBC_CONFIG_VAR.
286 * configure: Regenerated.
287 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
288 gr$(start-installed-name) for --enable-static-pie.
289 (extra-objs): Likewise.
290 (install-lib): Likewise.
291 (extra-objs): Add static-reloc.o and static-reloc.os
292 ($(objpfx)$(start-installed-name)): Also depend on
293 $(objpfx)static-reloc.o.
294 ($(objpfx)r$(start-installed-name)): New.
295 ($(objpfx)g$(start-installed-name)): Also depend on
296 $(objpfx)static-reloc.os.
297 ($(objpfx)gr$(start-installed-name)): New.
298 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
300 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
302 * csu/static-reloc.c: New file.
303 * elf/Makefile (routines): Add dl-reloc-static-pie.
304 (elide-routines.os): Likewise.
305 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
306 (tst-tls1-static-non-pie-no-pie): New.
307 * elf/dl-reloc-static-pie.c: New file.
308 * elf/dl-support.c (_dl_get_dl_main_map): New function.
309 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
310 STATIC_PIE_BOOTSTRAP.
311 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
312 * gmon/Makefile (tests): Add tst-gmon-static-pie.
313 (tests-static): Likewise.
314 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
315 (tst-gmon-static-no-pie): New.
316 (CFLAGS-tst-gmon-static-pie.c): Likewise.
317 (CRT-tst-gmon-static-pie): Likewise.
318 (tst-gmon-static-pie-ENV): Likewise.
319 (tests-special): Likewise.
320 ($(objpfx)tst-gmon-static-pie.out): Likewise.
321 (clean-tst-gmon-static-pie-data): Likewise.
322 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
323 * gmon/tst-gmon-static-pie.c: New file.
324 * manual/install.texi: Document --enable-static-pie.
325 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
326 (_dl_get_dl_main_map): Likewise.
327 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
328 * sysdeps/x86_64/configure.ac: Likewise.
329 * sysdeps/i386/configure: Regenerated.
330 * sysdeps/x86_64/configure: Likewise.
331 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
332 (ASFLAGS-.op): Likewise.
334 2017-12-15 Joseph Myers <joseph@codesourcery.com>
336 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
337 * posix/tst-mmap-offset.c (fname): Use /tmp.
338 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
340 2017-12-15 Steve Ellcey <sellcey@cavium.com>
342 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
344 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
346 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
349 2017-12-15 Joseph Myers <joseph@codesourcery.com>
351 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
352 --with-float=hard for arm-linux-gnueabihf configurations.
355 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
356 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
357 ($(mo-installed)): Use $(objpfx)%.mo.
358 (realclean): Remove rule.
360 * po/Makefile (linguas): Remove rule and dependencies.
361 (linguas.mo): Likewise.
362 (.PHONY): Do not depend on linguas and linguas.mo.
363 (podir): Remove variable.
365 [$(pofiles)] (%.po): Remove rule.
367 * sysdeps/sparc/sparc32/Makefile
368 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
369 start-of-line whitespace in argument of echo.
370 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
371 with whitespace. Generate __wrap_.udiv alias.
372 * sysdeps/sparc/sparc32/rem.S: Regenerated.
373 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
374 * sysdeps/sparc/sparc32/udiv.S: Likewise.
375 * sysdeps/sparc/sparc32/urem.S: Likewise.
377 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
379 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
382 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
384 * benchtests/bench-strcmp.c: Print output in JSON format.
386 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
388 2017-12-14 Florian Weimer <fweimer@redhat.com>
392 * elf/dl-load.c (_dl_init_paths): Compute number of components in
393 the expanded path string.
395 2017-12-14 Florian Weimer <fweimer@redhat.com>
399 * elf/dl-load.c (system_dirs): Update comment.
400 (nsystem_dirs_len): Use array_length.
401 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
403 2017-12-14 Florian Weimer <fweimer@redhat.com>
405 Simplify compiling most of support/ outside of glibc.
406 * support/check_addrinfo.c: Include <string.h>.
407 * support/check_dns_packet.c: Likewise.
408 * support/check_hostent.c: Likewise.
409 * support/support_can_chroot.c: Include <support/xunistd.h>.
410 * support/support_format_addrinfo.c: Include <stdlib.h>
411 * support/support_format_dns_packet.c: Include <stdbool.h>.
412 * support/support_format_hostent.c: Include <stdlib.h>.
413 * support/support_format_netent.c: Likewise.
414 * support/support_write_string.c: Include <support/xunistd.h>.
415 * support/xdlfcn.c: Include <stddef.h>.
417 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
419 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
421 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
422 Adhemerval Zanella <adhemerval.zanella@linaro.org>
424 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
425 (sysdeps_routines): Add memset-niagara7.
426 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
428 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
430 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
431 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
432 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
433 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
435 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
438 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
439 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
440 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
442 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
444 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
445 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
446 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
447 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
448 and __memmove_niagara7.
449 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
451 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
452 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
453 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
454 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
455 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
457 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
459 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
460 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
461 * sysdeps/sparc/sparc64/memmove.S: Likewise.
462 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
464 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
465 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
466 _dl_sparc_cap_flags array.
467 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
469 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
471 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
472 time whenever possible.
474 2017-12-12 Carlos O'Donell <carlos@redhat.com>
476 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
477 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
479 2017-12-12 Joseph Myers <joseph@codesourcery.com>
481 * soft-fp/fmadf4.c: Move to ....
482 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
483 * soft-fp/fmasf4.c: Move to ....
484 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
485 * soft-fp/fmatf4.c: Move to ....
486 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
487 * sysdeps/ieee754/soft-fp/Makefile: New file.
488 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
489 * sysdeps/arm/preconfigure: Regenerated.
490 * sysdeps/arm/nofpu/Implies: New file.
491 * sysdeps/arm/s_fma.c: Remove file.
492 * sysdeps/arm/s_fmaf.c: Likewise.
493 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
494 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
495 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
496 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
497 * sysdeps/microblaze/s_fma.c: Remove file.
498 * sysdeps/microblaze/s_fmaf.c: Likewise.
499 * sysdeps/mips/mips32/nofpu/Implies: New file.
500 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
501 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
502 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
503 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
504 * sysdeps/mips/ieee754/s_fma.c: Remove file.
505 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
506 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
508 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
509 * sysdeps/nios2/s_fma.c: Remove file.
510 * sysdeps/nios2/s_fmaf.c: Likewise.
511 * sysdeps/sh/nofpu/Implies: New file.
512 * sysdeps/sh/s_fma.c: Remove file.
513 * sysdeps/sh/s_fmaf.c: Likewise.
514 * sysdeps/tile/Implies: Add ieee754/soft-fp.
515 * sysdeps/tile/s_fma.c: Remove file.
516 * sysdeps/tile/s_fmaf.c: Likewise.
518 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
520 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
521 Add s_cosf-sse2 and s_cosf-fma.
522 (CFLAGS-s_cosf-fma.c): New.
523 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
524 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
525 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
527 2017-12-12 Steve Ellcey <sellcey@cavium.com>
529 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
531 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
533 * libio/Makefile (tests): Add tst-bz22415.
534 (tst-bz22415-ENV): New rule.
535 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
536 (tests-special): Add tst-bz22415-mem.out.
537 ($(objpfx)tst-bz22415-mem.out): New rule.
538 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
539 in case of a successful seek operation.
540 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
541 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
543 * libio/tst-bz22415.c: New test.
545 * sysdeps/ia64/fpu/libm-test-ulps: Update.
547 2017-12-12 James Clarke <jrtc27@jrtc27.com>
549 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
550 __IPC_64 to 0 to avoid IPC_64 being set.
552 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
555 * math/bits/mathcalls.h (nextafter): Remove const.
556 (nexttoward): Likewise.
558 2017-12-12 Joseph Myers <joseph@codesourcery.com>
560 * configure.ac (--with-fp): Remove configure option.
561 (with_fp_cond): New variable.
562 (libc_cv_with_fp): New configure test. Use this variable instead
564 * configure: Regenerated.
565 * config.make.in (with-fp): Use @libc_cv_with_fp@.
566 * manual/install.texi (Configuring and compiling): Remove
568 * INSTALL: Regenerated.
569 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
570 * sysdeps/mips/preconfigure (with_fp_cond): Define.
571 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
572 * sysdeps/sh/preconfigure (with_fp_cond): Define.
573 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
574 use --without-fp to configure glibc.
576 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
578 * manual/locale.texi (nl_langinfo): Fix a typo.
580 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
583 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
585 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
587 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
588 (CFLAGS-argp-parse.c): Likewise.
589 (CFLAGS-argp-fmtstream.c): Likewise.
590 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
591 (CPPFLAGS-sha512-crypt.c): Likewise.
592 (CPPFLAGS-md5-crypt.c): Likewise.
593 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
594 (CFLAGS-stack_chk_fail_local.c): Likewise.
595 (CFLAGS-backtrace.c): Likewise.
596 (CFLAGS-sprintf_chk.c): Likewise.
597 (CFLAGS-snprintf_chk.c): Likewise.
598 (CFLAGS-vsprintf_chk.c): Likewise.
599 (CFLAGS-vsnprintf_chk.c): Likewise.
600 (CFLAGS-asprintf_chk.c): Likewise.
601 (CFLAGS-vasprintf_chk.c): Likewise.
602 (CFLAGS-obprintf_chk.c): Likewise.
603 (CFLAGS-dprintf_chk.c): Likewise.
604 (CFLAGS-vdprintf_chk.c): Likewise.
605 (CFLAGS-printf_chk.c): Likewise.
606 (CFLAGS-fprintf_chk.c): Likewise.
607 (CFLAGS-vprintf_chk.c): Likewise.
608 (CFLAGS-vfprintf_chk.c): Likewise.
609 (CFLAGS-gets_chk.c): Likewise.
610 (CFLAGS-fgets_chk.c): Likewise.
611 (CFLAGS-fgets_u_chk.c): Likewise.
612 (CFLAGS-fread_chk.c): Likewise.
613 (CFLAGS-fread_u_chk.c): Likewise.
614 (CFLAGS-swprintf_chk.c): Likewise.
615 (CFLAGS-vswprintf_chk.c): Likewise.
616 (CFLAGS-wprintf_chk.c): Likewise.
617 (CFLAGS-fwprintf_chk.c): Likewise.
618 (CFLAGS-vwprintf_chk.c): Likewise.
619 (CFLAGS-vfwprintf_chk.c): Likewise.
620 (CFLAGS-fgetws_chk.c): Likewise.
621 (CFLAGS-fgetws_u_chk.c): Likewise.
622 (CFLAGS-read_chk.c): Likewise.
623 (CFLAGS-pread_chk.c): Likewise.
624 (CFLAGS-pread64_chk.c): Likewise.
625 (CFLAGS-recv_chk.c): Likewise.
626 (CFLAGS-recvfrom_chk.c): Likewise.
627 (CFLAGS-tst-longjmp_chk.c): Likewise.
628 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
629 (CFLAGS-tst-longjmp_chk2.c): Likewise.
630 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
631 (CFLAGS-tst-longjmp_chk3.c): Likewise.
632 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
633 (CFLAGS-tst-chk1.c): Likewise.
634 (CFLAGS-tst-chk2.c): Likewise.
635 (CFLAGS-tst-chk3.c): Likewise.
636 (CFLAGS-tst-chk4.cc): Likewise.
637 (CFLAGS-tst-chk5.cc): Likewise.
638 (CFLAGS-tst-chk6.cc): Likewise.
639 (CFLAGS-tst-lfschk1.c): Likewise.
640 (CFLAGS-tst-lfschk2.c): Likewise.
641 (CFLAGS-tst-lfschk3.c): Likewise.
642 (CFLAGS-tst-lfschk4.cc): Likewise.
643 (CFLAGS-tst-lfschk5.cc): Likewise.
644 (CFLAGS-tst-lfschk6.cc): Likewise.
645 (CFLAGS-tst-ssp-1.c): Likewise.
646 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
647 (CFLAGS-scandir64.c): Likewise.
648 (CFLAGS-scandir-tail.c): Likewise.
649 (CFLAGS-scandir64-tail.c): Likewise.
650 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
651 (CFLAGS-dl-tunables.c): Likewise.
652 (CFLAGS-dl-runtime.c): Likewise.
653 (CFLAGS-dl-lookup.c): Likewise.
654 (CFLAGS-dl-iterate-phdr.c): Likewise.
655 (CFLAGS-vismain.c): Likewise.
656 (CFLAGS-tst-linkall-static.c): Likewise.
657 (CFLAGS-tst-linkall-static.c): Likewise.
658 (CPPFLAGS-dl-load.c): Likewise.
659 (CFLAGS-ldconfig.c): Likewise.
660 (CFLAGS-dl-cache.c): Likewise.
661 (CFLAGS-cache.c): Likewise.
662 (CFLAGS-rtld.c): Likewise.
663 (CFLAGS-multiload.c): Likewise.
664 (CFLAGS-filtmod1.c): Likewise.
665 (CFLAGS-tst-align.c): Likewise.
666 (CFLAGS-tst-align2.c): Likewise.
667 (CFLAGS-tst-alignmod.c): Likewise.
668 (CFLAGS-tst-alignmod2.c): Likewise.
669 (CPPFLAGS-tst-execstack.c): Likewise.
670 (CFLAGS-tst-ptrguard1-static.c): Likewise.
671 (CFLAGS-tst-latepthreadmod.c): Likewise.
672 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
673 (CFLAGS-getgrnam_r.c): Likewise.
674 (CFLAGS-getgrent_r.c): Likewise.
675 (CFLAGS-getgrent.c): Likewise.
676 (CFLAGS-fgetgrent.c): Likewise.
677 (CFLAGS-fgetgrent_r.c): Likewise.
678 (CFLAGS-putgrent.c): Likewise.
679 (CFLAGS-initgroups.c): Likewise.
680 (CFLAGS-getgrgid.c): Likewise.
681 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
682 (CFLAGS-getsgent.c): Likewise.
683 (CFLAGS-fgetsgent.c): Likewise.
684 (CFLAGS-fgetsgent_r.c): Likewise.
685 (CFLAGS-putsgent.c): Likewise.
686 (CFLAGS-getsgnam.c): Likewise.
687 (CFLAGS-getsgnam_r.c): Likewise.
688 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
689 (CFLAGS-iconv_charmap.c): Likewise.
690 (CFLAGS-dummy-repertoire.c): Likewise.
691 (CFLAGS-charmap.c): Likewise.
692 (CFLAGS-linereader.c): Likewise.
693 (CFLAGS-simple-hash.c): Likewise.
694 (CFLAGS-gconv_conf.c): Likewise.
695 (CFLAGS-iconvconfig.c): Likewise.
696 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
697 (CFLAGS-gethstbyad.c): Likewise.
698 (CFLAGS-gethstbynm_r.c): Likewise.
699 (CFLAGS-gethstbynm.c): Likewise.
700 (CFLAGS-gethstbynm2_r.c): Likewise.
701 (CFLAGS-gethstbynm2.c): Likewise.
702 (CFLAGS-gethstent_r.c): Likewise.
703 (CFLAGS-gethstent.c): Likewise.
704 (CFLAGS-rcmd.c): Likewise.
705 (CFLAGS-getnetbynm_r.c): Likewise.
706 (CFLAGS-getnetbynm.c): Likewise.
707 (CFLAGS-getnetbyad_r.c): Likewise.
708 (CFLAGS-getnetbyad.c): Likewise.
709 (CFLAGS-getnetent_r.c): Likewise.
710 (CFLAGS-getnetent.c): Likewise.
711 (CFLAGS-getaliasent_r.c): Likewise.
712 (CFLAGS-getaliasent.c): Likewise.
713 (CFLAGS-getrpcent_r.c): Likewise.
714 (CFLAGS-getrpcent.c): Likewise.
715 (CFLAGS-getservent_r.c): Likewise.
716 (CFLAGS-getservent.c): Likewise.
717 (CFLAGS-getprtent_r.c): Likewise.
718 (CFLAGS-getprtent.c): Likewise.
719 (CFLAGS-either_ntoh.c): Likewise.
720 (CFLAGS-either_hton.c): Likewise.
721 (CFLAGS-getnetgrent.c): Likewise.
722 (CFLAGS-getnetgrent_r.c): Likewise.
723 (CFLAGS-tst-checks-posix.c): Likewise.
724 (CFLAGS-tst-sockaddr.c): Likewise.
725 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
726 (CFLAGS-tst-translit.c): Likewise.
727 (CFLAGS-tst-gettext2.c): Likewise.
728 (CFLAGS-tst-codeset.c): Likewise.
729 (CFLAGS-tst-gettext3.c): Likewise.
730 (CFLAGS-tst-gettext4.c): Likewise.
731 (CFLAGS-tst-gettext5.c): Likewise.
732 (CFLAGS-tst-gettext6.c): Likewise.
733 * io/Makefile (CFLAGS-open.c): Likewise.
734 (CFLAGS-open64.c): Likewise.
735 (CFLAGS-creat.c): Likewise.
736 (CFLAGS-creat64.c): Likewise.
737 (CFLAGS-fcntl.c): Likewise.
738 (CFLAGS-poll.c): Likewise.
739 (CFLAGS-ppoll.c): Likewise.
740 (CFLAGS-lockf.c): Likewise.
741 (CFLAGS-statfs.c): Likewise.
742 (CFLAGS-fstatfs.c): Likewise.
743 (CFLAGS-statvfs.c): Likewise.
744 (CFLAGS-fstatvfs.c): Likewise.
745 (CFLAGS-fts.c): Likewise.
746 (CFLAGS-fts64.c): Likewise.
747 (CFLAGS-ftw.c): Likewise.
748 (CFLAGS-ftw64.c): Likewise.
749 (CFLAGS-lockf.c): Likewise.
750 (CFLAGS-posix_fallocate.c): Likewise.
751 (CFLAGS-posix_fallocate64.c): Likewise.
752 (CFLAGS-fallocate.c): Likewise.
753 (CFLAGS-fallocate64.c): Likewise.
754 (CFLAGS-read.c): Likewise.
755 (CFLAGS-write.c): Likewise.
756 (CFLAGS-test-stat.c): Likewise.
757 (CFLAGS-test-lfs.c): Likewise.
758 * libio/Makefile (CFLAGS-fileops.c): Likewise.
759 (CFLAGS-fputc.c): Likewise.
760 (CFLAGS-fputwc.c): Likewise.
761 (CFLAGS-freopen64.c): Likewise.
762 (CFLAGS-freopen.c): Likewise.
763 (CFLAGS-fseek.c): Likewise.
764 (CFLAGS-fseeko64.c): Likewise.
765 (CFLAGS-fseeko.c): Likewise.
766 (CFLAGS-ftello64.c): Likewise.
767 (CFLAGS-ftello.c): Likewise.
768 (CFLAGS-fwide.c): Likewise.
769 (CFLAGS-genops.c): Likewise.
770 (CFLAGS-getc.c): Likewise.
771 (CFLAGS-getchar.c): Likewise.
772 (CFLAGS-getwc.c): Likewise.
773 (CFLAGS-getwchar.c): Likewise.
774 (CFLAGS-iofclose.c): Likewise.
775 (CFLAGS-iofflush.c): Likewise.
776 (CFLAGS-iofgetpos64.c): Likewise.
777 (CFLAGS-iofgetpos.c): Likewise.
778 (CFLAGS-iofgets.c): Likewise.
779 (CFLAGS-iofgetws.c): Likewise.
780 (CFLAGS-iofputs.c): Likewise.
781 (CFLAGS-iofputws.c): Likewise.
782 (CFLAGS-iofread.c): Likewise.
783 (CFLAGS-iofsetpos64.c): Likewise.
784 (CFLAGS-iofsetpos.c): Likewise.
785 (CFLAGS-ioftell.c): Likewise.
786 (CFLAGS-iofwrite.c): Likewise.
787 (CFLAGS-iogetdelim.c): Likewise.
788 (CFLAGS-iogetline.c): Likewise.
789 (CFLAGS-iogets.c): Likewise.
790 (CFLAGS-iogetwline.c): Likewise.
791 (CFLAGS-ioputs.c): Likewise.
792 (CFLAGS-ioseekoff.c): Likewise.
793 (CFLAGS-ioseekpos.c): Likewise.
794 (CFLAGS-iosetbuffer.c): Likewise.
795 (CFLAGS-iosetvbuf.c): Likewise.
796 (CFLAGS-ioungetc.c): Likewise.
797 (CFLAGS-ioungetwc.c): Likewise.
798 (CFLAGS-oldfileops.c): Likewise.
799 (CFLAGS-oldiofclose.c): Likewise.
800 (CFLAGS-oldiofgetpos64.c): Likewise.
801 (CFLAGS-oldiofgetpos.c): Likewise.
802 (CFLAGS-oldiofsetpos64.c): Likewise.
803 (CFLAGS-oldiofsetpos.c): Likewise.
804 (CFLAGS-peekc.c): Likewise.
805 (CFLAGS-putc.c): Likewise.
806 (CFLAGS-putchar.c): Likewise.
807 (CFLAGS-putwc.c): Likewise.
808 (CFLAGS-putwchar.c): Likewise.
809 (CFLAGS-rewind.c): Likewise.
810 (CFLAGS-wfileops.c): Likewise.
811 (CFLAGS-wgenops.c): Likewise.
812 (CFLAGS-oldiofopen.c): Likewise.
813 (CFLAGS-iofopen.c): Likewise.
814 (CFLAGS-iofopen64.c): Likewise.
815 (CFLAGS-oldtmpfile.c): Likewise.
816 (CFLAGS-tst_putwc.c): Likewise.
817 * locale/Makefile (CFLAGS-md5.c): Likewise.
818 (CFLAGS-charmap.c): Likewise.
819 (CFLAGS-locfile.c): Likewise.
820 (CFLAGS-charmap-dir.c): Likewise.
821 * login/Makefile (CFLAGS-grantpt.c): Likewise.
822 (CFLAGS-getpt.c): Likewise.
823 (CFLAGS-pt_chown.c): Likewise.
824 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
825 (CFLAGS-obstack.c): Likewise.
826 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
827 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
828 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
829 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
830 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
831 (CFLAGS-test-tgmath.c): Likewise.
832 (CFLAGS-test-tgmath2.c): Likewise.
833 (CFLAGS-test-tgmath-ret.c): Likewise.
834 (CFLAGS-test-powl.c): Likewise.
835 (CFLAGS-test-snan.c): Likewise.
836 (CFLAGS-test-signgam-finite.c): Likewise.
837 (CFLAGS-test-signgam-finite-c99.c): Likewise.
838 (CFLAGS-test-signgam-finite-c11.c): Likewise.
839 (CFLAGS-test-signgam-uchar.c): Likewise.
840 (CFLAGS-test-signgam-uchar-init.c): Likewise.
841 (CFLAGS-test-signgam-uchar-static.c): Likewise.
842 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
843 (CFLAGS-test-signgam-uint.c): Likewise.
844 (CFLAGS-test-signgam-uint-init.c): Likewise.
845 (CFLAGS-test-signgam-uint-static.c): Likewise.
846 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
847 (CFLAGS-test-signgam-ullong.c): Likewise.
848 (CFLAGS-test-signgam-ullong-init.c): Likewise.
849 (CFLAGS-test-signgam-ullong-static.c): Likewise.
850 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
851 (CFLAGS-test-math-cxx11.cc): Likewise.
852 (CFLAGS-test-math-isinff.cc): Likewise.
853 (CFLAGS-test-math-iszero.cc): Likewise.
854 (CFLAGS-test-math-issignaling.cc): Likewise.
855 (CFLAGS-test-math-iscanonical.cc): Likewise.
856 (CFLAGS-test-iszero-excess-precision.c): Likewise.
857 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
858 (CFLAGS-test-flt-eval-method.c): Likewise.
859 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
860 (CFLAGS-test-finite-macros.c): Likewise.
861 * misc/Makefile (CFLAGS-select.c): Likewise.
862 (CFLAGS-tsearch.c): Likewise.
863 (CFLAGS-lsearch.c): Likewise.
864 (CFLAGS-pselect.c): Likewise.
865 (CFLAGS-readv.c): Likewise.
866 (CFLAGS-writev.c): Likewise.
867 (CFLAGS-preadv.c): Likewise.
868 (CFLAGS-preadv64.c): Likewise.
869 (CFLAGS-pwritev.c): Likewise.
870 (CFLAGS-pwritev64.c): Likewise.
871 (CFLAGS-preadv2.c): Likewise.
872 (CFLAGS-preadv64v2.c): Likewise.
873 (CFLAGS-pwritev2.c): Likewise.
874 (CFLAGS-pwritev64v2.c): Likewise.
875 (CFLAGS-usleep.c): Likewise.
876 (CFLAGS-syslog.c): Likewise.
877 (CFLAGS-error.c): Likewise.
878 (CFLAGS-getpass.c): Likewise.
879 (CFLAGS-mkstemp.c): Likewise.
880 (CFLAGS-mkstemp64.c): Likewise.
881 (CFLAGS-getsysstats.c): Likewise.
882 (CFLAGS-getusershell.c): Likewise.
883 (CFLAGS-err.c): Likewise.
884 (CFLAGS-tst-tsearch.c): Likewise.
885 (CFLAGS-msync.c): Likewise.
886 (CFLAGS-fdatasync.c): Likewise.
887 (CFLAGS-fsync.c): Likewise.
888 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
889 (CFLAGS-unwind.c): Likewise.
890 (CFLAGS-unwind-forcedunwind.c): Likewise.
891 (CFLAGS-pthread_cancel.c): Likewise.
892 (CFLAGS-pthread_setcancelstate.c): Likewise.
893 (CFLAGS-pthread_setcanceltype.c): Likewise.
894 (CFLAGS-cancellation.c): Likewise.
895 (CFLAGS-libc-cancellation.c): Likewise.
896 (CFLAGS-pthread_exit.c): Likewise.
897 (CFLAGS-forward.c): Likewise.
898 (CFLAGS-pthread_testcancel.c): Likewise.
899 (CFLAGS-pthread_join.c): Likewise.
900 (CFLAGS-pthread_timedjoin.c): Likewise.
901 (CFLAGS-pthread_once.c): Likewise.
902 (CFLAGS-pthread_cond_wait.c): Likewise.
903 (CFLAGS-sem_wait.c): Likewise.
904 (CFLAGS-sem_timedwait.c): Likewise.
905 (CFLAGS-fcntl.c): Likewise.
906 (CFLAGS-lockf.c): Likewise.
907 (CFLAGS-pread.c): Likewise.
908 (CFLAGS-pread64.c): Likewise.
909 (CFLAGS-pwrite.c): Likewise.
910 (CFLAGS-pwrite64.c): Likewise.
911 (CFLAGS-wait.c): Likewise.
912 (CFLAGS-waitpid.c): Likewise.
913 (CFLAGS-sigwait.c): Likewise.
914 (CFLAGS-msgrcv.c): Likewise.
915 (CFLAGS-msgsnd.c): Likewise.
916 (CFLAGS-tcdrain.c): Likewise.
917 (CFLAGS-open.c): Likewise.
918 (CFLAGS-open64.c): Likewise.
919 (CFLAGS-pause.c): Likewise.
920 (CFLAGS-recv.c): Likewise.
921 (CFLAGS-send.c): Likewise.
922 (CFLAGS-accept.c): Likewise.
923 (CFLAGS-sendto.c): Likewise.
924 (CFLAGS-connect.c): Likewise.
925 (CFLAGS-recvfrom.c): Likewise.
926 (CFLAGS-recvmsg.c): Likewise.
927 (CFLAGS-sendmsg.c): Likewise.
928 (CFLAGS-close.c): Likewise.
929 (CFLAGS-read.c): Likewise.
930 (CFLAGS-write.c): Likewise.
931 (CFLAGS-nanosleep.c): Likewise.
932 (CFLAGS-sigsuspend.c): Likewise.
933 (CFLAGS-msync.c): Likewise.
934 (CFLAGS-fdatasync.c): Likewise.
935 (CFLAGS-fsync.c): Likewise.
936 (CFLAGS-pt-system.c): Likewise.
937 (CFLAGS-tst-cleanup2.c): Likewise.
938 (CFLAGS-tst-cleanupx2.c): Likewise.
939 (CFLAGS-flockfile.c): Likewise.
940 (CFLAGS-ftrylockfile.c): Likewise.
941 (CFLAGS-funlockfile.c): Likewise.
942 (CFLAGS-tst-initializers1.c): Likewise.
943 (CFLAGS-tst-initializers1-c89.c): Likewise.
944 (CFLAGS-tst-initializers1-c99.c): Likewise.
945 (CFLAGS-tst-initializers1-c11.c): Likewise.
946 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
947 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
948 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
949 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
950 (CFLAGS-nscd_getgr_r.c): Likewise.
951 (CFLAGS-nscd_gethst_r.c): Likewise.
952 (CFLAGS-nscd_getai.c): Likewise.
953 (CFLAGS-nscd_initgroups.c): Likewise.
954 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
955 (CFLAGS-pause.c): Likewise.
956 (CFLAGS-pread.c): Likewise.
957 (CFLAGS-pread64.c): Likewise.
958 (CFLAGS-pwrite.c): Likewise.
959 (CFLAGS-pwrite64.c): Likewise.
960 (CFLAGS-sleep.c): Likewise.
961 (CFLAGS-wait.c): Likewise.
962 (CFLAGS-waitid.c): Likewise.
963 (CFLAGS-waitpid.c): Likewise.
964 (CFLAGS-getopt.c): Likewise.
965 (CFLAGS-wordexp.c): Likewise.
966 (CFLAGS-sysconf.c): Likewise.
967 (CFLAGS-pathconf.c): Likewise.
968 (CFLAGS-fpathconf.c): Likewise.
969 (CFLAGS-spawn.c): Likewise.
970 (CFLAGS-spawnp.c): Likewise.
971 (CFLAGS-spawni.c): Likewise.
972 (CFLAGS-glob.c): Likewise.
973 (CFLAGS-glob64.c): Likewise.
974 (CFLAGS-getconf.c): Likewise.
975 (CFLAGS-nanosleep.c): Likewise.
976 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
977 (CFLAGS-getpwent.c): Likewise.
978 (CFLAGS-getpw.c): Likewise.
979 (CFLAGS-fgetpwent_r.c): Likewise.
980 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
981 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
982 (CFLAGS-mq_timedreceive.c): Likewise.
983 (CFLAGS-mq_timedsend.c): Likewise.
984 (CFLAGS-clock_nanosleep.c): Likewise.
985 (CFLAGS-librt-cancellation.c): Likewise.
986 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
987 (CFLAGS-getspent.c): Likewise.
988 (CFLAGS-fgetspent.c): Likewise.
989 (CFLAGS-fgetspent_r.c): Likewise.
990 (CFLAGS-putspent.c): Likewise.
991 (CFLAGS-getspnam.c): Likewise.
992 (CFLAGS-getspnam_r.c): Likewise.
993 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
994 (CFLAGS-sigsuspend.c): Likewise.
995 (CFLAGS-sigtimedwait.c): Likewise.
996 (CFLAGS-sigwait.c): Likewise.
997 (CFLAGS-sigwaitinfo.c): Likewise.
998 (CFLAGS-sigreturn.c): Likewise.
999 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
1000 (CFLAGS-vfwprintf.c): Likewise.
1001 (CFLAGS-tmpfile.c): Likewise.
1002 (CFLAGS-tmpfile64.c): Likewise.
1003 (CFLAGS-tempname.c): Likewise.
1004 (CFLAGS-psignal.c): Likewise.
1005 (CFLAGS-vprintf.c): Likewise.
1006 (CFLAGS-cuserid.c): Likewise.
1007 (CFLAGS-errlist.c): Likewise.
1008 (CFLAGS-siglist.c): Likewise.
1009 (CFLAGS-scanf15.c): Likewise.
1010 (CFLAGS-scanf17.c): Likewise.
1011 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
1012 (CFLAGS-msort.c): Likewise.
1013 (CFLAGS-qsort.c): Likewise.
1014 (CFLAGS-system.c): Likewise.
1015 (CFLAGS-fmtmsg.c): Likewise.
1016 (CFLAGS-strfmon.c): Likewise.
1017 (CFLAGS-strfmon_l.c): Likewise.
1018 (CFLAGS-strfromd.c): Likewise.
1019 (CFLAGS-strfromf.c): Likewise.
1020 (CFLAGS-strfroml.c): Likewise.
1021 (CFLAGS-tst-bsearch.c): Likewise.
1022 (CFLAGS-tst-qsort.c): Likewise.
1023 (CFLAGS-tst-makecontext2.c): Likewise.
1024 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
1025 (CFLAGS-xnlm_prot.c): Likewise.
1026 (CFLAGS-xrstat.c): Likewise.
1027 (CFLAGS-xyppasswd.c): Likewise.
1028 (CFLAGS-xklm_prot.c): Likewise.
1029 (CFLAGS-xrex.c): Likewise.
1030 (CFLAGS-xsm_inter.c): Likewise.
1031 (CFLAGS-xmount.c): Likewise.
1032 (CFLAGS-xrusers.c): Likewise.
1033 (CFLAGS-xspray.c): Likewise.
1034 (CFLAGS-xnfs_prot.c): Likewise.
1035 (CFLAGS-xrquota.c): Likewise.
1036 (CFLAGS-xkey_prot.c): Likewise.
1037 (CFLAGS-auth_unix.c): Likewise.
1038 (CFLAGS-key_call.c): Likewise.
1039 (CFLAGS-pmap_rmt.c): Likewise.
1040 (CFLAGS-clnt_perr.c): Likewise.
1041 (CFLAGS-openchild.c): Likewise.
1042 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
1043 (CFLAGS-msgsnd.c): Likewise.
1044 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
1045 * time/Makefile (CFLAGS-tzfile.c): Likewise.
1046 (CFLAGS-tzset.c): Likewise.
1047 (CFLAGS-getdate.c): Likewise.
1048 (CFLAGS-test_time.c): Likewise.
1049 (CPPFLAGS-tst-tzname.c): Likewise.
1050 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
1051 (CFLAGS-zic.c): Likewise.
1052 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
1053 (CFLAGS-wcswidth.c): Likewise.
1054 (CFLAGS-wcstol.c): Likewise.
1055 (CFLAGS-wcstoul.c): Likewise.
1056 (CFLAGS-wcstoll.c): Likewise.
1057 (CFLAGS-wcstoull.c): Likewise.
1058 (CFLAGS-wcstod.c): Likewise.
1059 (CFLAGS-wcstold.c): Likewise.
1060 (CFLAGS-wcstof128.c): Likewise.
1061 (CFLAGS-wcstof.c): Likewise.
1062 (CFLAGS-wcstol_l.c): Likewise.
1063 (CFLAGS-wcstoul_l.c): Likewise.
1064 (CFLAGS-wcstoll_l.c): Likewise.
1065 (CFLAGS-wcstoull_l.c): Likewise.
1066 (CFLAGS-wcstod_l.c): Likewise.
1067 (CFLAGS-wcstold_l.c): Likewise.
1068 (CFLAGS-wcstof128_l.c): Likewise.
1069 (CFLAGS-wcstof_l.c): Likewise.
1070 (CPPFLAGS-tst-wchar-h.c): Likewise.
1071 (CPPFLAGS-wcstold_l.c): Likewise.
1073 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
1075 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
1077 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1078 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1080 * manual/tunables.texi (Hardware Capability Tunables): Document
1081 glibc.tune.cached_memopt.
1082 * sysdeps/powerpc/cpu-features.c: New file.
1083 * sysdeps/powerpc/cpu-features.h: New file.
1084 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
1085 _dl_powerpc_cpu_features.
1086 * sysdeps/powerpc/dl-tunables.list: New file.
1087 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
1088 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
1089 (INIT_ARCH): Initialize use_aligned_memopt.
1090 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
1091 IS_IN(rtld))]: Restrict dl_platform_init availability and
1092 initialize CPU features used by tunables.
1093 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
1094 Add memcpy-power8-cached.
1095 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
1096 __memcpy_power8_cached.
1097 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1098 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
1101 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
1103 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
1104 (CFLAGS-noinl-tester.c): Likewise.
1105 (CFLAGS-tst-strlen.c): Likewise.
1106 (CFLAGS-stratcliff.c): Likewise.
1107 (CFLAGS-test-ffs.c): Likewise.
1108 (CFLAGS-tst-inlcall.c): Likewise.
1109 (CFLAGS-tst-xbzero-opt.c): Likewise.
1110 (CFLAGS-memcpy.c): Likewise.
1111 (CFLAGS-wordcopy.c): Likewise.
1113 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1115 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
1116 Store r15 on stack and add cfi rule.
1117 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
1120 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
1123 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
1126 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
1128 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1129 Add s_sinf-sse2 and s_sinf-fma.
1130 (CFLAGS-s_sinf-fma.c): New.
1131 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
1132 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
1133 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
1135 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
1137 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
1139 2017-12-07 Joseph Myers <joseph@codesourcery.com>
1142 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
1143 part of result to imaginary part of argument if it is zero and the
1144 real part of the argument is not finite.
1145 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
1146 of result to real part of argument if it is zero and the imaginary
1147 part of the argument is not finite.
1149 2017-12-07 Mike FABIAN <mfabian@redhat.com>
1152 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
1153 and to the list of locales to be built for testing.
1154 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
1155 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
1156 and build the collation rules upon that.
1158 2017-12-07 Joseph Myers <joseph@codesourcery.com>
1160 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
1161 * manual/math.texi (Mathematics): Document support for _Float32.
1162 * math/Makefile (test-types): Add float32.
1163 * math/Versions (GLIBC_2.27): Add _Float32 functions.
1164 * stdlib/Versions (GLIBC_2.27): Likewise.
1165 * wcsmbs/Versions (GLIBC_2.27): Likewise.
1166 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
1167 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1168 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1169 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1170 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1171 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1172 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1173 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1174 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1175 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1176 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1177 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1178 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1179 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1180 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1181 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1182 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1183 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1184 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1185 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1186 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
1188 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1189 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1190 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1191 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1192 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1210 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1211 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1212 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1213 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1214 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1215 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1216 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1217 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1218 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1219 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1220 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
1222 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1224 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1226 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1228 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1229 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1230 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1231 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1232 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1233 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1234 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1235 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1237 2017-12-06 Joseph Myers <joseph@codesourcery.com>
1239 * stdlib/strtof.c: Include <bits/floatn.h>
1240 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
1241 and later undefine as macro. Define as weak alias if
1243 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
1244 and later undefine as macro. Define as weak alias if
1246 * stdlib/strtof_l.c: Include <bits/floatn.h>
1247 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
1248 and later undefine as macro. Define as weak alias if
1250 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
1251 and later undefine as macro. Define as weak alias if
1254 * stdlib/strfromf.c: Include <bits/floatn.h>.
1255 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
1256 and later undefine as macro and define as weak alias.
1258 * math/test-float32.h: New file.
1260 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
1261 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
1262 (libm_alias_float_other_r): Create f32 alias.
1263 (libm_alias_float_r): Use semicolon before call to
1264 libm_alias_float_other_r.
1266 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
1267 second argument to libm_alias_float_other.
1268 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
1269 second argument to libm_alias_float_other.
1270 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
1271 argument to libm_alias_float_other.
1274 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
1275 real part of result for argument 0 + i * NaN.
1276 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
1277 results for tests of 0 + i * NaN.
1279 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1281 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1283 2017-12-06 David S. Miller <davem@davemloft.net>
1285 * sysdeps/sparc/fpu/libm-test-ulps: Update
1286 exp_{downward,towardzero,upward} ulps.
1288 2017-12-06 Joseph Myers <joseph@codesourcery.com>
1290 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
1293 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
1295 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
1297 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
1299 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
1302 2017-12-06 Mike FABIAN <mfabian@redhat.com>
1305 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
1306 and to the list of locales to be built for testing.
1307 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
1308 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
1309 and build the collation rules upon that.
1311 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1313 * NEWS: Add sinf to list of optimized functions.
1315 2017-12-06 Joseph Myers <joseph@codesourcery.com>
1317 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
1318 (__HAVE_FLOAT32X): Likewise.
1319 * manual/math.texi (Mathematics): Document support for _Float64
1321 * math/Makefile (test-types): Add float64 and float32x.
1322 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
1324 * stdlib/Versions (GLIBC_2.27): Likewise.
1325 * wcsmbs/Versions (GLIBC_2.27): Likewise.
1326 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
1327 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1328 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1329 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1330 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1331 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1332 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1333 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1334 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1335 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1336 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1337 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1338 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1339 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1340 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1341 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1342 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1343 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1344 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1345 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1346 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
1348 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1349 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1350 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1351 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1352 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1369 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1370 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1371 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1372 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1373 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1374 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1375 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1376 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1377 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1378 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
1381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1383 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1385 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1387 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1388 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1389 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1390 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1391 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1392 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1393 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1394 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1396 2017-12-05 Joseph Myers <joseph@codesourcery.com>
1398 * bits/floatn-common.h: Include <bits/long-double.h>.
1399 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
1400 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
1401 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
1402 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
1403 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
1404 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
1405 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
1406 (__builtin_huge_valf64): Use __builtin_huge_vall.
1407 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
1408 (__builtin_inff64): Use __builtin_infl.
1409 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
1410 (__builtin_nanf64): Use __builtin_nanl.
1411 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
1412 (__builtin_nansf64): Use __builtin_nansl.
1414 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>,
1415 Paul E. Murphy <murphyp@linux.vnet.ibm.com>,
1416 Carlos O'Donnell <carlos@redhat.com>
1418 * elf/dl-tunables.list: Add elision parameters.
1419 * manual/tunables.texi: Add entries about elision tunable.
1420 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
1421 Add callback functions to dynamically enable/disable elision.
1422 Add multiple callbacks functions to set elision parameters.
1423 Deleted __libc_enable_secure check.
1424 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
1425 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
1426 * configure: Regenerated.
1427 * configure.ac: Option enable_lock_elision was deleted.
1428 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
1429 * config.make.in: Remove references to enable_lock_elision.
1430 * manual/install.texi: Elision configure option was removed.
1431 * INSTALL: Regenerated to remove enable_lock_elision.
1433 Disable elision so it can verify error case for destroying a mutex.
1434 * sysdeps/powerpc/nptl/elide.h:
1435 Cleanup ENABLE_LOCK_ELISION check.
1436 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
1437 * sysdeps/s390/configure: Regenerated.
1438 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
1439 * nptl/tst-mutex8.c:
1440 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
1441 * sysdeps/powerpc/powerpc32/sysdep.h:
1442 Deleted all ENABLE_LOCK_ELISION checks.
1443 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
1444 * sysdeps/powerpc/sysdep.h: Likewise.
1445 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
1446 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
1447 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1448 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1449 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1450 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
1451 enable-lock-elision.
1453 2017-12-05 Joseph Myers <joseph@codesourcery.com>
1455 * stdlib/strtod.c: Include <bits/floatn.h>.
1456 (BUILD_DOUBLE): New macro.
1457 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
1458 (strtof64): Define and later undefine as macro. Define as weak
1459 alias if [!USE_WIDE_CHAR].
1460 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
1461 (wcstof64): Define and later undefine as macro. Define as weak
1462 alias if [USE_WIDE_CHAR].
1463 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
1464 (strtof32x): Define and later undefine as macro. Define as weak
1465 alias if [!USE_WIDE_CHAR].
1466 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
1467 (wcstof32x): Define and later undefine as macro. Define as weak
1468 alias if [USE_WIDE_CHAR].
1469 * stdlib/strtod_l.c: Include <bits/floatn.h>.
1470 (BUILD_DOUBLE): New macro.
1471 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
1472 (strtof64_l): Define and later undefine as macro. Define as weak
1473 alias if [!USE_WIDE_CHAR].
1474 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
1475 (wcstof64_l): Define and later undefine as macro. Define as weak
1476 alias if [USE_WIDE_CHAR].
1477 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
1478 (strtof32x_l): Define and later undefine as macro. Define as weak
1479 alias if [!USE_WIDE_CHAR].
1480 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
1481 (wcstof32x_l): Define and later undefine as macro. Define as weak
1482 alias if [USE_WIDE_CHAR].
1484 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1486 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
1487 (reduced): Use ones as double instead of integer.
1489 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
1491 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
1493 2017-12-05 Joseph Myers <joseph@codesourcery.com>
1495 * stdlib/strfromd.c: Include <bits/floatn.h>.
1496 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
1497 and later undefine as macro and define as weak alias.
1498 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
1501 * math/test-float32x.h: New file.
1502 * math/test-float64.h: Likewise.
1504 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
1505 (libm_alias_double_other_r_f64): New macro.
1506 (libm_alias_double_other_r_f32x): Likewise.
1507 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
1508 libm_alias_double_other_r_f32x.
1509 (libm_alias_double_r): Use semicolon before call to
1510 libm_alias_double_other_r.
1511 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
1513 (libm_alias_double_other_r_f64): New macro.
1514 (libm_alias_double_other_r_f32x): Likewise.
1515 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
1516 libm_alias_double_other_r_f32x.
1518 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
1520 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
1522 (SINF_FUNC): Likewise. Replace floor with simple casts.
1524 2017-12-05 Mike FABIAN <mfabian@redhat.com>
1527 * localedata/Makefile: Add et_EE.UTF-8 to test-input
1528 and to the list of locales to be built for testing.
1529 * localedata/et_EE.UTF-8.in: New file for testing the collation.
1530 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
1531 and build the collation rules upon that.
1533 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
1535 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
1536 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
1537 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
1538 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
1539 instead of __insn__xxx.
1540 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
1541 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
1542 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
1543 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
1544 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
1545 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
1547 2017-12-05 Florian Weimer <fweimer@redhat.com>
1549 Linux: Implement interfaces for memory protection keys
1550 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
1552 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
1553 * support/xunistd.h (xsysconf): Declare.
1554 * support/xraise.c: New file.
1555 * support/xsigaction.c: Likewise.
1556 * support/xsignal.c: Likewise.
1557 * support/xsysconf.c: Likewise.
1558 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
1559 pkey_set, pkey_get, pkey_mprotect.
1560 [misc] (tests): Add tst-pkey.
1561 (tst-pkey): Link with -lpthread.
1562 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
1563 pkey_free, pkey_set, pkey_get, pkey_mprotect.
1564 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
1565 (PKEY_DISABLE_WRITE): Define.
1566 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
1568 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
1570 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
1571 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
1572 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
1573 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
1575 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
1576 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
1577 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
1578 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
1579 * sysdeps/unix/sysv/linux/**.abilist: Update.
1581 2017-12-05 Florian Weimer <fweimer@redhat.com>
1583 * support/tst-test_compare.c (subprocess): Use long long instead
1584 of long argument for consistent type width across 32-bit and
1585 64-bit architectures.
1586 (do_test): Adjust expected output.
1588 2017-12-05 Joseph Myers <joseph@codesourcery.com>
1590 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
1591 (cosf): Define using libm_alias_float.
1592 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
1593 (fabsf): Define using libm_alias_float.
1594 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
1595 (fmaf): Define using libm_alias_float.
1596 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
1597 (rintf): Define using libm_alias_float.
1598 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
1599 (sinf): Define using libm_alias_float.
1600 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
1601 <libm-alias-float.h>.
1602 (modff): Define using libm_alias_float.
1603 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
1604 <libm-alias-float.h>.
1605 (logbf): Define using libm_alias_float.
1606 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
1607 <libm-alias-float.h>.
1608 (ceilf): Define using libm_alias_float.
1609 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
1610 <libm-alias-float.h>.
1611 (copysignf): Define using libm_alias_float.
1612 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
1613 <libm-alias-float.h>.
1614 (floorf): Define using libm_alias_float.
1615 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
1616 <libm-alias-float.h>.
1617 (llrintf): Define using libm_alias_float.
1618 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
1619 <libm-alias-float.h>.
1620 (llroundf): Define using libm_alias_float.
1621 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
1622 <libm-alias-float.h>.
1623 (lrintf): Define using libm_alias_float.
1624 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
1625 <libm-alias-float.h>.
1626 (lroundf): Define using libm_alias_float.
1627 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
1628 <libm-alias-float.h>.
1629 (nearbyintf): Define using libm_alias_float.
1630 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
1631 <libm-alias-float.h>.
1632 (rintf): Define using libm_alias_float.
1633 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
1634 <libm-alias-float.h>.
1635 (roundf): Define using libm_alias_float.
1636 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
1637 <libm-alias-float.h>.
1638 (truncf): Define using libm_alias_float.
1639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
1640 Include <libm-alias-float.h>.
1641 (ceilf): Define using libm_alias_float.
1642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
1643 Include <libm-alias-float.h>.
1644 (copysignf): Define using libm_alias_float.
1645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
1646 Include <libm-alias-float.h>.
1647 (floorf): Define using libm_alias_float.
1648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
1649 Include <libm-alias-float.h>.
1650 (llrintf): Define using libm_alias_float.
1651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
1652 Include <libm-alias-float.h>.
1653 (llroundf): Define using libm_alias_float.
1654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
1655 Include <libm-alias-float.h>.
1656 (logbf): Define using libm_alias_float.
1657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
1658 Include <libm-alias-float.h>.
1659 (lrintf): Define using libm_alias_float.
1660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
1661 Include <libm-alias-float.h>.
1662 (lroundf): Define using libm_alias_float.
1663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
1664 Include <libm-alias-float.h>.
1665 (modff): Define using libm_alias_float.
1666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
1667 Include <libm-alias-float.h>.
1668 (roundf): Define using libm_alias_float.
1669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
1670 Include <libm-alias-float.h>.
1671 (truncf): Define using libm_alias_float.
1672 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
1673 <libm-alias-float.h>.
1674 (llrintf): Define using libm_alias_float.
1675 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
1676 <libm-alias-float.h>.
1677 (llroundf): Define using libm_alias_float.
1678 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
1679 <libm-alias-float.h>.
1680 (ceilf): Define using libm_alias_float.
1681 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
1682 <libm-alias-float.h>.
1683 (floorf): Define using libm_alias_float.
1684 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
1685 <libm-alias-float.h>.
1686 (llroundf): Define using libm_alias_float.
1687 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
1688 <libm-alias-float.h>.
1689 (lroundf): Define using libm_alias_float.
1690 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
1691 <libm-alias-float.h>.
1692 (roundf): Define using libm_alias_float.
1693 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
1694 <libm-alias-float.h>.
1695 (truncf): Define using libm_alias_float.
1696 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
1697 <libm-alias-float.h>.
1698 (copysignf): Define using libm_alias_float.
1699 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
1700 <libm-alias-float.h>.
1701 (llrintf): Define using libm_alias_float.
1702 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
1703 <libm-alias-float.h>.
1704 (llroundf): Define using libm_alias_float.
1705 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
1706 <libm-alias-float.h>.
1707 (lrintf): Define using libm_alias_float.
1708 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
1709 <libm-alias-float.h>.
1710 (lroundf): Define using libm_alias_float.
1711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
1712 <libm-alias-float.h>.
1713 (ceilf): Define using libm_alias_float.
1714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
1715 <libm-alias-float.h>.
1716 (copysignf): Define using libm_alias_float.
1717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
1718 <libm-alias-float.h>.
1719 (cosf): Define using libm_alias_float.
1720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
1721 <libm-alias-float.h>.
1722 (floorf): Define using libm_alias_float.
1723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
1724 <libm-alias-float.h>.
1725 (llrintf): Define using libm_alias_float.
1726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
1727 <libm-alias-float.h>.
1728 (llroundf): Define using libm_alias_float.
1729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
1730 <libm-alias-float.h>.
1731 (logbf): Define using libm_alias_float.
1732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
1733 <libm-alias-float.h>.
1734 (modff): Define using libm_alias_float.
1735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
1736 <libm-alias-float.h>.
1737 (roundf): Define using libm_alias_float.
1738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
1739 <libm-alias-float.h>.
1740 (sinf): Define using libm_alias_float.
1741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
1742 <libm-alias-float.h>.
1743 (truncf): Define using libm_alias_float.
1744 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
1745 <libm-alias-float.h>.
1746 (ceilf): Define using libm_alias_float.
1747 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
1748 <libm-alias-float.h>.
1749 (copysignf): Define using libm_alias_float.
1750 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
1751 <libm-alias-float.h>.
1752 (floorf): Define using libm_alias_float.
1753 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
1754 <libm-alias-float.h>.
1755 (llrintf): Define using libm_alias_float.
1756 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
1757 <libm-alias-float.h>.
1758 (llroundf): Define using libm_alias_float.
1759 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
1760 <libm-alias-float.h>.
1761 (nearbyintf): Define using libm_alias_float.
1762 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
1763 <libm-alias-float.h>.
1764 (rintf): Define using libm_alias_float.
1765 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
1766 <libm-alias-float.h>.
1767 (roundf): Define using libm_alias_float.
1768 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
1769 <libm-alias-float.h>.
1770 (truncf): Define using libm_alias_float.
1771 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
1772 <libm-alias-float.h>.
1773 (ceilf): Define using libm_alias_float.
1774 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
1775 <libm-alias-float.h>.
1776 (floorf): Define using libm_alias_float.
1777 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
1778 <libm-alias-float.h>.
1779 (llroundf): Define using libm_alias_float.
1780 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
1781 <libm-alias-float.h>.
1782 (roundf): Define using libm_alias_float.
1783 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
1784 <libm-alias-float.h>.
1785 (truncf): Define using libm_alias_float.
1786 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
1787 <libm-alias-float.h>.
1788 (copysignf): Define using libm_alias_float.
1789 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
1790 <libm-alias-float.h>.
1791 (llrintf): Define using libm_alias_float.
1792 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
1793 <libm-alias-float.h>.
1794 (llroundf): Define using libm_alias_float.
1795 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
1796 <libm-alias-float.h>.
1797 (cosf): Define using libm_alias_float.
1798 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
1799 <libm-alias-float.h>.
1800 (llrintf): Define using libm_alias_float.
1801 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
1802 <libm-alias-float.h>.
1803 (llroundf): Define using libm_alias_float.
1804 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
1805 <libm-alias-float.h>.
1806 (sinf): Define using libm_alias_float.
1808 2017-12-04 Florian Weimer <fweimer@redhat.com>
1810 * support/check.h (TEST_COMPARE): Define.
1811 (support_test_compare_failure): Declare.
1812 * support/Makefile (libsupport-routines): Add
1813 support_test_compare_failure.
1814 (tests): Add tst-test_compare.
1815 * support /support_test_compare_failure.c: New file.
1816 * support/tst-test_compare.c: Likewise.
1818 2017-12-04 Mike FABIAN <mfabian@redhat.com>
1821 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
1822 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
1823 available, this rewrite of the collation rules does reproduce
1824 the test file in the same order.
1826 2017-12-04 Mike FABIAN <mfabian@redhat.com>
1829 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
1830 digraphs in the month and day names. Using single code points for
1831 digraphs is deprecated. While there are dedicated Unicode
1832 codepoints, for the digraphs, these are included for backwards
1833 compatibility and modern texts use a sequence of Basic Latin
1834 characters. See: https://www.unicode.org/faq/ligature_digraph.html
1835 This makes the month and day names agree exactly with CLDR now,
1836 CLDR does not use the single code points for the digraphs either.
1838 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
1840 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
1842 2017-12-04 Joseph Myers <joseph@codesourcery.com>
1844 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
1847 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
1849 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
1850 Define only for libc.so.
1852 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
1854 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1855 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
1856 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
1857 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
1858 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1860 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1863 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
1865 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
1868 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
1869 PREINIT_FUNCTION_WEAK is nonzero.
1870 (gmon_initializer): New function. Put procedure label for it in
1871 .init_array section.
1872 (_init): Don't call PREINIT_FUNCTION.
1873 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
1874 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
1875 value when map argument is null.
1877 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
1878 depi instruction from PIC pc-relative sequence.
1879 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
1880 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
1881 (elf_machine_load_address): Likewise.
1882 (elf_machine_runtime_setup): Likewise.
1884 2017-12-02 Joseph Myers <joseph@codesourcery.com>
1886 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
1887 <libm-alias-double.h>.
1888 (logb): Define using libm_alias_double.
1889 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
1890 <libm-alias-double.h>.
1891 (copysign): Define using libm_alias_double.
1892 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
1893 <libm-alias-double.h>.
1894 (llrint): Define using libm_alias_double.
1895 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
1896 <libm-alias-double.h>.
1897 (llround): Define using libm_alias_double.
1898 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
1899 <libm-alias-double.h>.
1900 (lrint): Define using libm_alias_double.
1901 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
1902 <libm-alias-double.h>.
1903 (lround): Define using libm_alias_double.
1904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1905 Include <libm-alias-double.h>.
1906 (copysign): Define using libm_alias_double.
1907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
1908 Include <libm-alias-double.h>.
1909 (llrint): Define using libm_alias_double.
1910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
1911 Include <libm-alias-double.h>.
1912 (llround): Define using libm_alias_double.
1913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
1914 <libm-alias-double.h>.
1915 (logb): Define using libm_alias_double.
1916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
1917 Include <libm-alias-double.h>.
1918 (lrint): Define using libm_alias_double.
1919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
1920 Include <libm-alias-double.h>.
1921 (lround): Define using libm_alias_double.
1922 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
1923 <libm-alias-double.h>.
1924 (llrint): Define using libm_alias_double.
1925 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
1926 <libm-alias-double.h>.
1927 (llround): Define using libm_alias_double.
1928 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
1929 <libm-alias-double.h>.
1930 (llround): Define using libm_alias_double.
1931 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
1932 <libm-alias-double.h>.
1933 (lround): Define using libm_alias_double.
1934 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
1935 <libm-alias-double.h>.
1936 (copysign): Define using libm_alias_double.
1937 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
1938 <libm-alias-double.h>.
1939 (llrint): Define using libm_alias_double.
1940 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
1941 <libm-alias-double.h>.
1942 (llround): Define using libm_alias_double.
1943 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
1944 <libm-alias-double.h>.
1945 (lrint): Define using libm_alias_double.
1946 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
1947 <libm-alias-double.h>.
1948 (lround): Define using libm_alias_double.
1949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
1950 <libm-alias-double.h>.
1951 (copysign): Define using libm_alias_double.
1952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
1953 <libm-alias-double.h>.
1954 (llrint): Define using libm_alias_double.
1956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
1957 <libm-alias-double.h>.
1958 (llround): Define using libm_alias_double.
1960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
1961 <libm-alias-double.h>.
1962 (logb): Define using libm_alias_double.
1963 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
1964 <libm-alias-double.h>.
1965 (copysign): Define using libm_alias_double.
1966 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
1967 <libm-alias-double.h>.
1968 (llrint): Define using libm_alias_double.
1970 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
1971 <libm-alias-double.h>.
1972 (llround): Define using libm_alias_double.
1974 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
1975 <libm-alias-double.h>.
1976 (llround): Define using libm_alias_double.
1978 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
1979 <libm-alias-double.h>.
1980 (copysign): Define using libm_alias_double.
1981 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
1982 <libm-alias-double.h>.
1983 (llrint): Define using libm_alias_double.
1985 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
1986 <libm-alias-double.h>.
1987 (llround): Define using libm_alias_double.
1989 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
1990 <libm-alias-double.h>.
1991 (llrint): Define using libm_alias_double.
1993 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
1994 <libm-alias-double.h>.
1995 (llround): Define using libm_alias_double.
1998 2017-12-01 Joseph Myers <joseph@codesourcery.com>
2000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
2001 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
2002 compat symbol based on llround.
2004 * sysdeps/powerpc/power7/fpu/s_logb.c
2005 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
2006 symbol based on __logb, not on logb.
2007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
2008 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
2009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
2010 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
2012 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
2013 (rint): Define using libm_alias_double.
2014 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
2015 <libm-alias-double.h>.
2016 (modf): Define using libm_alias_double.
2017 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
2018 <libm-alias-double.h>.
2019 (ceil): Define using libm_alias_double.
2020 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
2021 <libm-alias-double.h>.
2022 (floor): Define using libm_alias_double.
2023 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
2024 <libm-alias-double.h>.
2025 (nearbyint): Define using libm_alias_double.
2026 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
2027 <libm-alias-double.h>.
2028 (rint): Define using libm_alias_double.
2029 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
2030 <libm-alias-double.h>.
2031 (round): Define using libm_alias_double.
2032 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
2033 <libm-alias-double.h>.
2034 (trunc): Define using libm_alias_double.
2035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
2036 <libm-alias-double.h>.
2037 (ceil): Define using libm_alias_double.
2038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
2039 Include <libm-alias-double.h>.
2040 (floor): Define using libm_alias_double.
2041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
2042 <libm-alias-double.h>.
2043 (modf): Define using libm_alias_double.
2044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
2045 Include <libm-alias-double.h>.
2046 (round): Define using libm_alias_double.
2047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
2048 Include <libm-alias-double.h>.
2049 (trunc): Define using libm_alias_double.
2050 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
2051 <libm-alias-double.h>.
2052 (ceil): Define using libm_alias_double.
2053 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
2054 <libm-alias-double.h>.
2055 (floor): Define using libm_alias_double.
2056 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
2057 <libm-alias-double.h>.
2058 (round): Define using libm_alias_double.
2059 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
2060 <libm-alias-double.h>.
2061 (trunc): Define using libm_alias_double.
2062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
2063 <libm-alias-double.h>.
2064 (ceil): Define using libm_alias_double.
2065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
2066 <libm-alias-double.h>.
2067 (floor): Define using libm_alias_double.
2068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
2069 <libm-alias-double.h>.
2070 (modf): Define using libm_alias_double.
2071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
2072 <libm-alias-double.h>.
2073 (round): Define using libm_alias_double.
2074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
2075 <libm-alias-double.h>.
2076 (trunc): Define using libm_alias_double.
2077 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
2078 <libm-alias-double.h>.
2079 (ceil): Define using libm_alias_double.
2080 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
2081 <libm-alias-double.h>.
2082 (floor): Define using libm_alias_double.
2083 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
2084 <libm-alias-double.h>.
2085 (nearbyint): Define using libm_alias_double.
2086 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
2087 <libm-alias-double.h>.
2088 (rint): Define using libm_alias_double.
2089 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
2090 <libm-alias-double.h>.
2091 (round): Define using libm_alias_double.
2092 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
2093 <libm-alias-double.h>.
2094 (trunc): Define using libm_alias_double.
2095 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
2096 <libm-alias-double.h>.
2097 (ceil): Define using libm_alias_double.
2098 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
2099 <libm-alias-double.h>.
2100 (floor): Define using libm_alias_double.
2101 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
2102 <libm-alias-double.h>.
2103 (round): Define using libm_alias_double.
2104 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
2105 <libm-alias-double.h>.
2106 (trunc): Define using libm_alias_double.
2108 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
2109 (fabs): Define using libm_alias_double.
2110 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
2111 (fma): Define using libm_alias_double.
2112 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
2113 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
2114 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
2115 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
2117 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2119 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
2121 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
2122 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
2123 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
2125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
2128 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
2130 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
2132 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2134 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
2135 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
2136 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
2137 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
2139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2140 (libm-sysdep_routines): Add s_nearbyintf-generic and
2141 s_nearbyint-generic.
2142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
2144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
2145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
2147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
2149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
2151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
2154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2155 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
2156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
2158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
2159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
2161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
2162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
2163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2166 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
2167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
2169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
2170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
2172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
2173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
2174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
2176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2177 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
2178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
2180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
2181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
2183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
2184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
2185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2188 (sysdep_calls): New rule.
2189 (sysdep_routines): Use sysdep_calls as base.
2190 (libm-sysdep_routines): Add generic rule for symbols shared with
2191 libc. Add s_copysign-generic and s_copysign-generic objects.
2192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
2194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
2195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
2197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
2198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
2199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
2201 2017-12-01 Mike FABIAN <mfabian@redhat.com>
2204 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
2205 the list of locales to be built for testing.
2206 * localedata/is_IS.UTF-8.in: New file.
2207 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
2210 2017-12-01 Joseph Myers <joseph@codesourcery.com>
2212 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
2213 <libm-alias-float.h>.
2214 (fabsf): Define using libm_alias_float.
2216 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
2218 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
2220 2017-11-30 Joseph Myers <joseph@codesourcery.com>
2222 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
2223 <libm-alias-float.h>.
2224 (fabsf): Define using libm_alias_float.
2225 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
2226 <libm-alias-float.h>.
2227 (lrintf): Define using libm_alias_float.
2228 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
2229 <libm-alias-float.h>.
2230 (rintf): Define using libm_alias_float.
2232 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
2233 <libm-alias-double.h>.
2234 (fabs): Define using libm_alias_double.
2235 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
2236 <libm-alias-double.h>.
2237 (lrint): Define using libm_alias_double.
2238 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
2239 <libm-alias-double.h>.
2240 (rint): Define using libm_alias_double.
2242 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
2243 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
2244 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
2245 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
2246 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
2247 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
2248 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
2249 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
2250 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
2251 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
2252 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
2253 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
2254 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
2255 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
2256 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
2257 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
2258 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
2259 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
2261 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
2262 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
2263 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
2265 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
2266 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
2267 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
2269 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
2270 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
2271 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
2273 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
2274 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
2275 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
2277 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
2278 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
2279 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
2281 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
2282 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
2283 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
2285 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
2286 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
2288 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
2289 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
2290 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
2292 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
2293 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
2294 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
2295 s_nearbyint_template.c.
2296 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
2297 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
2298 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
2299 s_remquo_template.c.
2300 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
2301 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
2302 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
2304 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
2305 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
2306 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
2308 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
2309 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
2310 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
2311 s_sincos_template.c.
2312 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
2313 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
2314 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
2316 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
2317 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
2318 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
2320 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
2321 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
2322 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
2324 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
2325 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
2326 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
2327 s_atan.c instead of including s_atan.c.
2328 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
2329 s_atanf.c instead of including s_atanf.c.
2330 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
2331 s_atanl.c instead of including s_atanl.c.
2332 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
2333 instead of s_atan.c.
2334 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
2335 instead of s_atanf.c.
2336 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
2337 instead of s_atanl.c.
2339 * scripts/update-copyrights: Do not handle intl/plural.c
2342 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
2345 * configure.ac (BISON): Require to be present.
2346 * configure: Regenerated.
2347 * intl/Makefile (generated): Add plural.c.
2348 [$(BISON) != no]: Make code unconditional.
2349 (plural.c): Change rule to $(objpfx)plural.c.
2350 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
2351 * intl/plural.c: Remove.
2352 * manual/install.texi (Tools for Compilation): Document bison as
2354 * INSTALL: Regenerated.
2356 2017-11-30 Joseph Myers <joseph@codesourcery.com>
2358 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
2359 <libm-alias-double.h>.
2360 (llrint): Define using libm_alias_double.
2361 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
2362 <libm-alias-float.h>.
2363 (llrintf): Define using libm_alias_float.
2364 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
2365 <libm-alias-ldouble.h>.
2366 (llrintl): Define using libm_alias_ldouble.
2368 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
2369 declare_mgen_alias instead of weak_alias.
2370 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
2371 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
2372 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
2374 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2376 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
2378 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
2379 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
2380 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
2382 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
2383 Add submul_1-generic.
2384 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
2385 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
2386 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
2388 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
2389 Add addmul_1-generic.
2390 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
2391 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
2392 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
2394 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
2396 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
2397 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
2398 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
2400 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
2402 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
2403 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
2404 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
2406 2017-11-30 Mike FABIAN <mfabian@redhat.com>
2408 According to CLDR, collation rules for Serbian and Bosnian
2409 should be the same as for Croatian.
2412 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
2413 and to the list of locales to be built for testing.
2414 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
2415 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
2416 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
2417 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
2419 2017-11-30 Mike FABIAN <mfabian@redhat.com>
2421 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
2422 to make test case pass.
2423 * localedata/hr_HR.UTF-8.in: Add more test strings.
2425 2017-11-30 Mike FABIAN <mfabian@redhat.com>
2427 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
2429 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
2431 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
2432 the list of locales to built for testing.
2433 * localedata/hr_HR.UTF-8.in: New file.
2435 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
2438 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
2440 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
2441 CLDR (except use ligatures for the digraphs, CLDR does not use
2442 the ligatures), add first_workday, some fixes in the date and time
2444 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
2446 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
2447 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
2448 Add int_p_cs_precedes and int_n_cs_precedes.
2449 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
2450 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
2452 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
2453 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
2455 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
2456 and lang_lib. Change postal_fmt.
2458 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
2460 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
2462 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
2463 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
2464 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
2465 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
2466 * sysdeps/generic/setjmpP.h: New file.
2467 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
2468 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
2469 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
2470 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
2471 Add jmp_buf-ssp.sym.
2472 (tests): Add tst-saved_mask-1.
2474 2017-11-30 Arjun Shankar <arjun@redhat.com>
2478 * malloc/malloc.c (__libc_malloc): Use checked_request2size
2479 instead of request2size.
2481 2017-11-30 Joseph Myers <joseph@codesourcery.com>
2483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
2484 (__lllrint): Remove alias.
2485 (lllrint): Likewise.
2486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
2487 (__lllrintf): Likewise.
2488 (lllrintf): Likewise.
2490 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
2491 <libm-alias-float.h>.
2492 (copysignf): Define using libm_alias_float.
2493 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
2494 <libm-alias-float.h>.
2495 (fabsf): Define using libm_alias_float.
2496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2497 Include <libm-alias-float.h>.
2498 (copysignf): Define using libm_alias_float.
2499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
2500 <libm-alias-float.h>.
2501 (fabsf): Define using libm_alias_float.
2502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
2503 <libm-alias-float.h>.
2504 (fdimf): Define using libm_alias_float.
2505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
2506 <libm-alias-float.h>.
2507 (fmaf): Define using libm_alias_float.
2508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
2509 <libm-alias-float.h>.
2510 (llrintf): Define using libm_alias_float.
2511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
2512 Include <libm-alias-float.h>.
2513 (nearbyintf): Define using libm_alias_float.
2514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
2515 <libm-alias-float.h>.
2516 (rintf): Define using libm_alias_float.
2517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
2518 <libm-alias-float.h>.
2519 (llrintf): Define using libm_alias_float.
2520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
2521 <libm-alias-float.h>.
2522 (lrintf): Define using libm_alias_float.
2523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
2524 <libm-alias-float.h>.
2525 (nearbyintf): Define using libm_alias_float.
2526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
2527 <libm-alias-float.h>.
2528 (rintf): Define using libm_alias_float.
2529 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
2530 <libm-alias-float.h>.
2531 (ceilf): Define using libm_alias_float.
2532 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
2533 <libm-alias-float.h>.
2534 (floorf): Define using libm_alias_float.
2535 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
2536 <libm-alias-float.h>.
2537 (fmaf): Define using libm_alias_float.
2538 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
2539 <libm-alias-float.h>.
2540 (lrintf): Define using libm_alias_float.
2541 (llrintf): Likewise.
2542 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
2543 <libm-alias-float.h>.
2544 (nearbyintf): Define using libm_alias_float.
2545 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
2546 <libm-alias-float.h>.
2547 (rintf): Define using libm_alias_float.
2548 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
2549 <libm-alias-float.h>.
2550 (truncf): Define using libm_alias_float.
2551 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
2552 <libm-alias-float.h>.
2553 (copysignf): Define using libm_alias_float.
2554 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
2555 <libm-alias-float.h>.
2556 (fabsf): Define using libm_alias_float.
2557 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
2558 <libm-alias-float.h>.
2559 (lrintf): Define using libm_alias_float.
2560 (llrintf): Likewise.
2561 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
2562 <libm-alias-float.h>.
2563 (nearbyintf): Define using libm_alias_float.
2564 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
2565 <libm-alias-float.h>.
2566 (rintf): Define using libm_alias_float.
2568 2017-11-29 Joseph Myers <joseph@codesourcery.com>
2570 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
2571 <libm-alias-double.h>.
2572 (copysign): Define using libm_alias_double.
2573 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
2574 <libm-alias-double.h>.
2575 (fabs): Define using libm_alias_double.
2576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2577 Include <libm-alias-double.h>.
2578 (copysign): Define using libm_alias_double.
2579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
2580 <libm-alias-double.h>.
2581 (fabs): Define using libm_alias_double.
2582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
2583 <libm-alias-double.h>.
2584 (fdim): Define using libm_alias_double.
2585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
2586 <libm-alias-double.h>.
2587 (fma): Define using libm_alias_double.
2588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
2589 <libm-alias-double.h>.
2590 (llrint): Define using libm_alias_double.
2591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
2592 Include <libm-alias-double.h>.
2593 (nearbyint): Define using libm_alias_double.
2594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
2595 <libm-alias-double.h>.
2596 (rint): Define using libm_alias_double.
2597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
2598 <libm-alias-double.h>.
2599 (fabs): Define using libm_alias_double.
2600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
2601 <libm-alias-double.h>.
2602 (llrint): Define using libm_alias_double.
2603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
2604 <libm-alias-double.h>.
2605 (nearbyint): Define using libm_alias_double.
2606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
2607 <libm-alias-double.h>.
2608 (rint): Define using libm_alias_double.
2609 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
2610 <libm-alias-double.h>.
2611 (ceil): Define using libm_alias_double.
2612 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
2613 <libm-alias-double.h>.
2614 (floor): Define using libm_alias_double.
2615 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
2616 <libm-alias-double.h>.
2617 (fma): Define using libm_alias_double.
2618 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
2619 <libm-alias-double.h>.
2620 (lrint): Define using libm_alias_double.
2622 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
2623 <libm-alias-double.h>.
2624 (nearbyint): Define using libm_alias_double.
2625 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
2626 <libm-alias-double.h>.
2627 (rint): Define using libm_alias_double.
2628 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
2629 <libm-alias-double.h>.
2630 (trunc): Define using libm_alias_double.
2631 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
2632 <libm-alias-double.h>.
2633 (copysign): Define using libm_alias_double.
2634 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
2635 <libm-alias-double.h>.
2636 (fabs): Define using libm_alias_double.
2637 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
2638 <libm-alias-double.h>.
2639 (lrint): Define using libm_alias_double.
2641 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
2642 <libm-alias-double.h>.
2643 (nearbyint): Define using libm_alias_double.
2644 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
2645 <libm-alias-double.h>.
2646 (rint): Define using libm_alias_double.
2649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
2651 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
2653 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
2654 SPARC --disable-multi-arch glibc variants.
2656 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
2657 <libm-alias-float.h>.
2658 (exp2f): Define using libm_alias_float, or libm_alias_float_other
2660 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
2661 <libm-alias-float.h>.
2662 (exp2f): Define using libm_alias_float, or libm_alias_float_other
2664 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
2665 <libm-alias-float.h>.
2666 (exp2f): Define using libm_alias_float, or libm_alias_float_other
2668 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
2669 <libm-alias-float.h>.
2670 (exp2f): Define using libm_alias_float, or libm_alias_float_other
2672 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
2673 <libm-alias-float.h>.
2674 (exp2f): Define using libm_alias_float, or libm_alias_float_other
2676 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
2677 <libm-alias-float.h>.
2678 (ceilf): Define using libm_alias_float.
2679 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
2680 <libm-alias-float.h>.
2681 (floorf): Define using libm_alias_float.
2682 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
2683 <libm-alias-float.h>.
2684 (fmaf): Define using libm_alias_float.
2685 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
2686 <libm-alias-float.h>.
2687 (nearbyintf): Define using libm_alias_float.
2688 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
2689 <libm-alias-float.h>.
2690 (rintf): Define using libm_alias_float.
2691 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
2692 <libm-alias-float.h>.
2693 (truncf): Define using libm_alias_float.
2694 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
2695 (copysignf): Define using libm_alias_float.
2696 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
2697 (cosf): Define using libm_alias_float.
2698 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
2699 (fabsf): Define using libm_alias_float.
2700 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
2701 (fmaxf): Define using libm_alias_float.
2702 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
2703 (fminf): Define using libm_alias_float.
2704 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
2705 (llrintf): Define using libm_alias_float.
2706 [!__ILP32__] (lrintf): Likewise.
2707 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
2708 (sincosf): Define using libm_alias_float.
2709 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
2710 (sinf): Define using libm_alias_float.
2711 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
2712 (lrintf): Define using libm_alias_float.
2714 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
2715 <libm-alias-double.h>.
2716 (atan): Define using libm_alias_double.
2717 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
2718 <libm-alias-double.h>.
2719 (ceil): Define using libm_alias_double.
2720 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
2721 <libm-alias-double.h>.
2722 (floor): Define using libm_alias_double.
2723 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
2724 <libm-alias-double.h>.
2725 (fma): Define using libm_alias_double.
2726 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
2727 <libm-alias-double.h>.
2728 (nearbyint): Define using libm_alias_double.
2729 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
2730 <libm-alias-double.h>.
2731 (rint): Define using libm_alias_double.
2732 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
2733 <libm-alias-double.h>.
2734 (sin): Define using libm_alias_double.
2736 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
2737 <libm-alias-double.h>.
2738 (tan): Define using libm_alias_double.
2739 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
2740 <libm-alias-double.h>.
2741 (trunc): Define using libm_alias_double.
2742 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
2743 (copysign): Define using libm_alias_double.
2744 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
2745 (fabs): Define using libm_alias_double.
2746 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
2747 (fmax): Define using libm_alias_double.
2748 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
2749 (fmin): Define using libm_alias_double.
2750 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
2751 (llrint): Define using libm_alias_double.
2752 [!__ILP32__] (lrint): Likewise.
2753 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
2754 (lrint): Define using libm_alias_double.
2756 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2758 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2759 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
2761 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
2762 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
2763 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
2764 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
2765 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
2766 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2768 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2769 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
2771 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
2772 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
2773 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
2774 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
2775 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
2776 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2778 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2779 (libm-sysdep_routines): Add s_nearbyint-generic and
2780 s_nearbyintf-generic objects.
2781 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
2782 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
2783 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
2784 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
2785 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
2786 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
2788 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
2789 Add s_finitef-generic and s_finite-generic objects.
2790 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
2791 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
2792 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
2793 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
2794 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
2795 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
2797 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
2798 Add s_isinff-generic and s_isinf-generic objects.
2799 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
2800 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
2801 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
2802 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
2803 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
2804 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2806 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
2807 Add s_isnanf-generic and s_isnan-generic objects.
2808 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
2809 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
2810 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
2811 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
2812 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
2813 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2815 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
2817 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
2819 (sysdep_routines): Use sysdep_calls as base.
2820 (libm-sysdep_routines): Add generic rule for symbols shared with
2821 libc. Add s_signbit-generic and s_signbitf-generic objects.
2822 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
2823 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
2824 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
2825 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
2826 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
2827 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2829 2017-11-29 Joseph Myers <joseph@codesourcery.com>
2831 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
2832 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
2833 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
2834 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
2835 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
2836 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
2837 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
2838 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
2839 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
2840 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
2841 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
2842 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
2843 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
2845 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
2846 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
2848 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
2849 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
2850 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
2851 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
2852 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
2853 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
2854 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
2855 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
2856 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
2857 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
2859 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
2861 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
2862 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
2863 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
2864 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
2865 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
2866 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
2867 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
2868 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
2869 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
2870 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
2871 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
2872 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
2873 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
2874 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
2875 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
2876 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
2877 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
2878 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
2879 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
2881 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
2882 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
2883 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
2884 * sysdeps/ia64/fpu/w_lgammaf_main.c
2885 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
2886 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
2888 2017-11-28 Mike FABIAN <mfabian@redhat.com>, Alexandre Oliva <aoliva@redhat.com>
2891 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
2892 * localedata/fr_CA.UTF-8.in: New file with test data for backward
2894 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
2896 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
2897 * localedata/locales/de_DE (LC_COLLATE): Likewise.
2898 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
2899 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
2900 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
2901 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
2902 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
2903 instead of “ifdef DIACRIT_BACKWARD”.
2905 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2907 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
2908 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
2909 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
2910 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
2911 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
2912 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
2913 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
2914 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
2915 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
2916 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
2917 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
2918 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
2919 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
2920 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
2921 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
2922 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
2923 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
2924 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
2925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2926 ($(have-as-vis3) == yes): Remove conditional.
2927 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
2929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
2931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
2933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
2935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
2937 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
2938 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
2939 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
2940 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
2941 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
2942 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
2943 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
2944 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
2946 2017-11-29 Joseph Myers <joseph@codesourcery.com>
2948 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
2949 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
2950 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
2951 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
2952 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
2953 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
2954 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
2955 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
2956 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
2957 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
2958 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
2959 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
2960 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
2961 libm_alias_double_r.
2962 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
2964 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
2965 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
2966 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
2967 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
2968 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
2969 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
2970 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
2971 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
2972 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
2973 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
2974 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
2976 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
2978 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
2979 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
2980 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
2981 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
2982 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
2983 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
2984 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
2985 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
2986 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
2987 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
2988 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
2989 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
2990 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
2991 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
2992 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
2993 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
2994 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
2995 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
2997 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
2998 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
2999 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
3000 * sysdeps/ia64/fpu/w_lgamma_main.c
3001 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
3002 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
3004 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
3006 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
3007 address of $global$ into %dp register earlier. Use pc-relative
3008 instruction sequence for PIC case.
3010 2017-11-28 Joseph Myers <joseph@codesourcery.com>
3012 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
3013 (asinhf): Define using libm_alias_float.
3014 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
3015 (atanf): Define using libm_alias_float.
3016 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
3017 (cbrtf): Define using libm_alias_float.
3018 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
3019 (ceilf): Define using libm_alias_float.
3020 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
3021 (copysignf): Define using libm_alias_float.
3022 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
3023 (expm1f): Define using libm_alias_float.
3024 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
3025 (fabsf): Define using libm_alias_float.
3026 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
3027 (floorf): Define using libm_alias_float.
3028 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
3029 (fmaxf): Define using libm_alias_float.
3030 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
3031 (fminf): Define using libm_alias_float.
3032 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
3033 (frexpf): Define using libm_alias_float.
3034 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
3035 (llrintf): Define using libm_alias_float.
3036 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
3037 (logbf): Define using libm_alias_float.
3038 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
3039 (lrintf): Define using libm_alias_float.
3040 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
3041 (nearbyintf): Define using libm_alias_float.
3042 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
3043 (remquof): Define using libm_alias_float.
3044 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
3045 (rintf): Define using libm_alias_float.
3046 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
3047 (truncf): Define using libm_alias_float.
3048 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
3049 <libm-alias-float.h>.
3050 (exp2f): Define using libm_alias_float, or libm_alias_float_other
3052 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
3053 <libm-alias-float.h>.
3054 (expf): Define using libm_alias_float, or libm_alias_float_other
3056 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
3057 <libm-alias-float.h>.
3058 (log2f): Define using libm_alias_float, or libm_alias_float_other
3060 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
3061 <libm-alias-float.h>.
3062 (logf): Define using libm_alias_float, or libm_alias_float_other
3064 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
3065 <libm-alias-float.h>.
3066 (powf): Define using libm_alias_float, or libm_alias_float_other
3068 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
3069 <libm-alias-float.h>.
3070 (cosf): Define using libm_alias_float.
3071 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
3072 <libm-alias-float.h>.
3073 (sincosf): Define using libm_alias_float.
3074 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
3075 <libm-alias-float.h>.
3076 (sinf): Define using libm_alias_float.
3077 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
3078 (fmaxf): Define using libm_alias_float.
3079 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
3080 (fminf): Define using libm_alias_float.
3081 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
3082 <libm-alias-float.h>.
3083 (fmaf): Define using libm_alias_float.
3085 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
3086 (asinh): Define using libm_alias_double.
3087 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
3088 (atan): Define using libm_alias_double.
3089 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
3090 (cbrt): Define using libm_alias_double.
3091 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
3092 (ceil): Define using libm_alias_double.
3093 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
3094 (copysign): Define using libm_alias_double.
3095 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
3096 (expm1): Define using libm_alias_double.
3097 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
3098 (fabs): Define using libm_alias_double.
3099 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
3100 (fdim): Define using libm_alias_double.
3101 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
3102 (floor): Define using libm_alias_double.
3103 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
3104 (fmax): Define using libm_alias_double.
3105 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
3106 (fmin): Define using libm_alias_double.
3107 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
3108 (frexp): Define using libm_alias_double.
3109 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
3110 (llrint): Define using libm_alias_double.
3111 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
3112 (logb): Define using libm_alias_double.
3113 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
3114 (lrint): Define using libm_alias_double.
3115 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
3116 (nearbyint): Define using libm_alias_double.
3117 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
3118 (remquo): Define using libm_alias_double.
3119 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
3120 (rint): Define using libm_alias_double.
3121 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
3122 (trunc): Define using libm_alias_double.
3123 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
3124 (fmax): Define using libm_alias_double.
3125 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
3126 (fmin): Define using libm_alias_double.
3127 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
3128 (fma): Define using libm_alias_double.
3130 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
3133 * elf/dl-hwcaps.c (ROUND): Removed.
3134 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
3135 and ELF_NOTE_NEXT_OFFSET.
3136 * elf/dl-load.c (ROUND): Removed.
3137 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
3138 * elf/readelflib.c (ROUND): Removed.
3139 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
3140 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
3141 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
3142 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
3144 2017-11-28 Joseph Myers <joseph@codesourcery.com>
3146 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
3147 [!__fmaf] (fmaf): Define using libm_alias_float.
3149 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
3150 [!__fma] (fma): Define using libm_alias_double.
3151 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
3153 2017-11-28 Mike FABIAN <mfabian@redhat.com>
3156 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
3157 and implement the collation rules for cs from CLDR on top of that.
3158 * Makefile: Add cs_CZ.UTF-8 to test-input.
3159 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
3161 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
3163 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
3165 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
3166 Icarus Sparry <icarus.w.sparry@intel.com>
3168 * benchtests/Makefile:Add BENCHSET to allow subsets of
3169 benchmarks to be run.
3170 * benchtests/README: Add documentation for: Running subsets of
3173 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
3175 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
3176 range of tests names.
3178 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
3179 result from property and remove "max", min" and "mean" from
3180 required properties based on benchtests/bench-skeleton.c.
3182 2017-11-28 Florian Weimer <fweimer@redhat.com>
3185 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
3186 due to Internet requirement.
3187 * posix/Makefile (tests): Remove tst-getaddrinfo4,
3189 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
3191 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3193 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
3194 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
3195 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
3196 (sysdep_routines): Add memset-ultra1.
3197 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
3199 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
3200 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
3201 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
3202 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
3203 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
3204 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
3205 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
3206 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3208 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
3210 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
3211 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
3212 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
3213 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
3214 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
3215 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
3216 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
3218 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
3219 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
3220 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
3221 (sysdep_routines): Add memcpy-ultra1.
3222 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
3223 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
3225 2017-11-28 Joseph Myers <joseph@codesourcery.com>
3227 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
3228 (cfloat_versions): Take function argument without trailing 'f'.
3229 Call libm_alias_float_other.
3230 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
3231 * sysdeps/alpha/fpu/cargf.c: Likewise.
3232 * sysdeps/alpha/fpu/cimagf.c: Likewise.
3233 * sysdeps/alpha/fpu/conjf.c: Likewise.
3234 * sysdeps/alpha/fpu/crealf.c: Likewise.
3235 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
3236 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
3237 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
3238 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
3239 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
3240 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
3241 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
3242 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
3243 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
3244 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
3245 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
3246 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
3247 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
3248 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
3249 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
3250 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
3251 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
3252 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
3253 (clog10f): Use libm_alias_float_other.
3254 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
3255 (ceilf): Define using libm_alias_float.
3256 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
3257 (copysignf): Define using libm_alias_float.
3258 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
3259 (fabsf): Define using libm_alias_float.
3260 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
3261 (floorf): Define using libm_alias_float.
3262 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
3263 (fmaxf): Define using libm_alias_float.
3264 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
3265 (fminf): Define using libm_alias_float.
3266 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
3267 (lrintf): Define using libm_alias_float.
3268 (llrintf): Likewise.
3269 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
3270 (lroundf): Define using libm_alias_float.
3271 (llroundf): Likewise.
3272 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
3273 (rintf): Define using libm_alias_float.
3274 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
3275 (truncf): Define using libm_alias_float.
3277 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
3278 (ceilf): Define using libm_alias_float.
3279 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
3280 (floorf): Define using libm_alias_float.
3281 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
3282 (fmaf): Define using libm_alias_float.
3283 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
3284 (fmaxf): Define using libm_alias_float.
3285 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
3286 (fminf): Define using libm_alias_float.
3287 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
3288 (llrintf): Define using libm_alias_float.
3289 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
3290 (llroundf): Define using libm_alias_float.
3291 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
3292 (lrintf): Define using libm_alias_float.
3293 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
3294 (lroundf): Define using libm_alias_float.
3295 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
3296 <libm-alias-float.h>.
3297 (nearbyintf): Define using libm_alias_float.
3298 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
3299 (rintf): Define using libm_alias_float.
3300 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
3301 (roundf): Define using libm_alias_float.
3302 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
3303 (truncf): Define using libm_alias_float.
3305 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
3306 (ceil): Define using libm_alias_double.
3307 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
3308 (copysign): Define using libm_alias_double.
3309 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
3310 (fabs): Define using libm_alias_double.
3311 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
3312 (floor): Define using libm_alias_double.
3313 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
3314 (fmax): Define using libm_alias_double.
3315 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
3316 (fmin): Define using libm_alias_double.
3317 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
3318 (lrint): Define using libm_alias_double.
3320 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
3321 (lround): Define using libm_alias_double.
3322 (llround): Likewise.
3323 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
3324 (rint): Define using libm_alias_double.
3325 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
3326 (trunc): Define using libm_alias_double.
3328 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
3329 (libm_alias_double_r): Add semicolon after weak_alias call.
3331 2017-11-27 Joseph Myers <joseph@codesourcery.com>
3333 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
3334 (ceil): Define using libm_alias_double.
3335 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
3336 (floor): Define using libm_alias_double.
3337 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
3338 (fma): Define using libm_alias_double.
3339 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
3340 (fmax): Define using libm_alias_double.
3341 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
3342 (fmin): Define using libm_alias_double.
3343 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
3344 (llrint): Define using libm_alias_double.
3345 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
3346 (llround): Define using libm_alias_double.
3347 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
3348 (lrint): Define using libm_alias_double.
3349 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
3350 (lround): Define using libm_alias_double.
3351 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
3352 (nearbyint): Define using libm_alias_double.
3353 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
3354 (rint): Define using libm_alias_double.
3355 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
3356 (round): Define using libm_alias_double.
3357 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
3358 (trunc): Define using libm_alias_double.
3360 2017-11-27 Florian Weimer <fweimer@redhat.com>
3362 * sysdeps/unix/sysv/linux/mlock2.c: New file.
3363 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
3364 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
3365 (tests): Add tst-mlock2.
3366 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
3367 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
3368 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
3369 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
3370 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
3371 for mlock. Document mlock2.
3373 2017-11-27 Joseph Myers <joseph@codesourcery.com>
3375 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
3376 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
3378 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
3380 * sysdeps/x86/Makeconfig: New file.
3381 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
3382 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
3383 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
3384 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
3385 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
3386 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
3387 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
3389 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
3390 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
3391 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
3392 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
3393 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
3394 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
3395 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
3396 * manual/math.texi (Mathematics): Document support for _Float64x.
3397 * math/Versions (GLIBC_2.27): Add _Float64x functions.
3398 * stdlib/Versions (GLIBC_2.27): Likewise.
3399 * wcsmbs/Versions (GLIBC_2.27): Likewise.
3400 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
3401 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3402 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3403 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3404 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3405 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3406 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3407 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3408 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3409 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3410 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3415 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3416 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3417 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3418 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3419 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3420 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3421 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3422 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3423 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3424 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3425 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3426 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3427 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3428 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3430 2017-11-27 Andreas Schwab <schwab@suse.de>
3432 * elf/Makefile (dl-routines): Add dl-sort-maps.
3433 * elf/dl-sort-maps.c: New file.
3434 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
3435 (_dl_sort_maps): Declare.
3436 * elf/dl-fini.c (_dl_sort_fini): Remove.
3437 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
3438 * elf/dl-close.c (_dl_close_worker): Likewise.
3439 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
3441 * elf/dl-open.c (dl_open_worker): Likewise.
3443 2017-11-24 Joseph Myers <joseph@codesourcery.com>
3445 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
3446 using libm_alias_float128.
3447 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
3449 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
3451 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
3452 (setpayloadsigf128): Likewise.
3453 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
3455 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
3458 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
3459 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
3460 -mfloat128 to CFLAGS.
3462 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
3464 (CFLAGS-libm-test-support-float64x.c): New variable.
3465 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
3466 $(f128-loader-link) to gnulib-tests.
3468 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
3469 (libm_alias_float128_other_r): If
3470 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
3472 (libm_alias_float128_r): Add semicolon after weak_alias call.
3473 * sysdeps/generic/libm-alias-ldouble.h
3474 (libm_alias_ldouble_other_r_f128): New macro.
3475 (libm_alias_ldouble_other_r_f64x): Likewise.
3476 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
3477 and libm_alias_ldouble_other_r_f64x.
3478 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
3479 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
3480 (libm_alias_ldouble_other_r_f128): New macro.
3481 (libm_alias_ldouble_other_r_f64x): Likewise.
3482 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
3483 and libm_alias_ldouble_other_r_f64x.
3485 * stdlib/strfroml.c: Always include <stdlib.h>.
3486 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
3487 undefine as macro and define as weak alias.
3488 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
3489 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
3491 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
3492 Define and later undefine as macro and define as weak alias.
3494 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
3495 Define and later undefine as macro. Define as weak alias if
3497 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
3498 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
3499 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
3500 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
3501 Define and later undefine as macro. Define as weak alias if
3503 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
3504 Define and later undefine as macro. Define as weak alias if
3506 * sysdeps/ieee754/float128/strtof128_l.c
3507 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
3508 Define and later undefine as macro. Define as weak alias if
3510 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
3511 Define and later undefine as macro. Define as weak alias if
3513 * sysdeps/ieee754/ldbl-128/strtold_l.c
3514 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
3515 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
3516 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
3517 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
3518 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
3519 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
3520 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
3521 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
3522 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
3523 * sysdeps/ieee754/ldbl-96/strtold_l.c
3524 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
3525 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
3526 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
3527 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
3529 * math/test-float64x.h: New file.
3530 * math/Makefile (type-float64x-yes): New variable.
3531 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
3533 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
3534 function-like macro.
3535 (min_of_type_): Likewise.
3536 (min_of_type_l): Likewise.
3537 (min_of_type_f128): Likewise.
3538 (min_of_type): Pass () as last argument of __MATH_TG.
3540 * stdlib/tst-strtod-round-skeleton.c
3541 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
3544 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
3545 for combinations of long double with _Float64 and _Float64x.
3547 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
3548 (__DECL_SIMD_cosf32): Likewise.
3549 (__DECL_SIMD_cosf64): Likewise.
3550 (__DECL_SIMD_cosf32x): Likewise.
3551 (__DECL_SIMD_cosf64x): Likewise.
3552 (__DECL_SIMD_cosf128x): Likewise.
3553 (__DECL_SIMD_sinf16): Likewise.
3554 (__DECL_SIMD_sinf32): Likewise.
3555 (__DECL_SIMD_sinf64): Likewise.
3556 (__DECL_SIMD_sinf32x): Likewise.
3557 (__DECL_SIMD_sinf64x): Likewise.
3558 (__DECL_SIMD_sinf128x): Likewise.
3559 (__DECL_SIMD_sincosf16): Likewise.
3560 (__DECL_SIMD_sincosf32): Likewise.
3561 (__DECL_SIMD_sincosf64): Likewise.
3562 (__DECL_SIMD_sincosf32x): Likewise.
3563 (__DECL_SIMD_sincosf64x): Likewise.
3564 (__DECL_SIMD_sincosf128x): Likewise.
3565 (__DECL_SIMD_logf16): Likewise.
3566 (__DECL_SIMD_logf32): Likewise.
3567 (__DECL_SIMD_logf64): Likewise.
3568 (__DECL_SIMD_logf32x): Likewise.
3569 (__DECL_SIMD_logf64x): Likewise.
3570 (__DECL_SIMD_logf128x): Likewise.
3571 (__DECL_SIMD_expf16): Likewise.
3572 (__DECL_SIMD_expf32): Likewise.
3573 (__DECL_SIMD_expf64): Likewise.
3574 (__DECL_SIMD_expf32x): Likewise.
3575 (__DECL_SIMD_expf64x): Likewise.
3576 (__DECL_SIMD_expf128x): Likewise.
3577 (__DECL_SIMD_powf16): Likewise.
3578 (__DECL_SIMD_powf32): Likewise.
3579 (__DECL_SIMD_powf64): Likewise.
3580 (__DECL_SIMD_powf32x): Likewise.
3581 (__DECL_SIMD_powf64x): Likewise.
3582 (__DECL_SIMD_powf128x): Likewise.
3584 * stdlib/Versions (libc): Move entries for wcstof128 and
3586 * wcsmbs/Versions (libc): ... here.
3587 Include <float128-abi.h>.
3589 2017-11-24 Florian Weimer <fweimer@redhat.com>
3591 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3593 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
3594 <bits/mman-shared.h>.
3595 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
3597 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
3598 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
3599 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
3600 <bits/mman-shared.h>.
3602 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3605 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
3606 posix_memalign/free.
3607 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
3609 2017-11-22 Mike FABIAN <mfabian@redhat.com>
3612 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
3613 and implement the collation rules for pl from CLDR on top of that.
3614 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
3615 of locales to be built for testing.
3616 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
3618 2017-11-23 Joseph Myers <joseph@codesourcery.com>
3620 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
3621 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
3622 libm_alias_ldouble_other.
3623 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
3624 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
3625 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
3626 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
3627 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
3628 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
3629 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
3630 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
3631 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
3632 libm_alias_ldouble_r.
3633 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
3634 libm_alias_ldouble_other.
3635 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
3637 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
3638 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
3639 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
3640 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
3641 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
3642 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
3643 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
3645 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
3646 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
3647 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
3649 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
3651 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
3652 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
3653 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
3655 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
3656 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
3657 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
3658 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
3659 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
3660 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
3661 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
3662 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
3663 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
3664 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
3665 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
3667 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
3668 libm_alias_ldouble_other.
3669 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
3670 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
3671 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
3673 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
3674 libm_alias_ldouble_other.
3675 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
3676 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
3677 * sysdeps/ia64/fpu/w_lgammal_main.c
3678 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
3679 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
3681 2017-11-23 Florian Weimer <fweimer@redhat.com>
3683 * malloc/malloc.c (tcache_thread_shutdown): Rename from
3684 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
3685 alike. Remove freeres marker.
3686 * malloc/arena.c (arena_thread_freeres): Call
3687 tcache_thread_shutdown.
3689 2017-11-23 Florian Weimer <fweimer@redhat.com>
3692 Export nscd hash function as __nss_hash.
3693 * include/nss.h (__nss_hash): Declare.
3694 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
3696 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
3697 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
3699 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
3700 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
3701 * nss/Makefiles (routines): Add nss_hash.
3702 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
3703 * nss/nss_hash.c: Rename from nis/nis_hash.c.
3704 (__nss_hash): Rename from __nis_hash. Define hidden alias.
3705 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
3707 2017-11-23 Florian Weimer <fweimer@redhat.com>
3710 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
3711 Return error code, not -1.
3712 * signal/tst-sigwait-eintr.c: New file.
3713 * signal/Makefile (tests): Add tst-sigwait-eintr.
3715 2017-11-23 Florian Weimer <fweimer@redhat.com>
3717 Linux: Add memfd_create system call wrapper
3718 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
3720 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
3721 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
3722 [__USE_GNU] (memfd_create): Declare.
3723 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
3724 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
3725 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
3726 * sysdeps/unix/sysv/linux/**.abilist: Update.
3727 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
3729 2017-11-22 Joseph Myers <joseph@codesourcery.com>
3731 * localedata/gen-locale.sh: Fix typo in variable name.
3733 * resolv/res_debug.c (p_secstodate): Condition definition on
3734 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
3735 directly as __p_secstodate, and as a compat symbol. Do not use
3736 libresolv_hidden_def.
3737 * resolv/resolv.h (p_secstodate): Remove macro and function
3739 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
3741 * include/resolv.h (__p_secstodate): Do not use
3742 libresolv_hidden_proto.
3743 * resolv/Makefile (tests): Move tst-p_secstodate to ....
3744 (tests-internal): ... here.
3745 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
3746 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
3747 and declare and use __p_secstodate and use compat_symbol_reference
3749 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
3750 implementation returning 77.
3753 * resolv/res_debug.c: Include <libc-diag.h>.
3754 (p_secstodate): Assert time_t at least as wide as u_long. On
3755 overflow, use integer seconds since the epoch as output, or use
3756 "<overflow>" as output and set errno to EOVERFLOW if integer
3757 seconds since the epoch would be 14 or more characters.
3758 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
3760 * resolv/tst-p_secstodate.c: New file.
3761 * resolv/Makefile (tests): Add tst-p_secstodate.
3762 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
3764 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
3765 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3766 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
3768 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
3770 * posix/regcomp.c (init_word_char): Add comments.
3772 2017-11-22 Joseph Myers <joseph@codesourcery.com>
3775 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
3776 strlen to compute length of ut_user and set trailing NUL byte of
3779 2017-11-21 Mike FABIAN <mfabian@redhat.com>
3782 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
3783 using “copy "iso14651_t1"” and then implementing the
3784 collation rules for lv from CLDR on top of that.
3785 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
3786 of locales to be built for testing.
3787 * lv_LV.UTF-8.in: New file with test data to test the Latvian
3790 2017-11-21 Joseph Myers <joseph@codesourcery.com>
3792 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
3793 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
3794 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
3795 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
3796 [__USE_MISC] (MADV_HWPOISON): New macro.
3797 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
3799 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3801 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
3802 -Wmissing-braces on GCC 4.9.
3804 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
3806 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
3807 * sysdeps/s390/s390-32/start.S (_start): Likewise
3808 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
3809 (thread_start): Likewise.
3810 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
3811 (thread_start): Likewise.
3812 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
3813 (__makecontext_ret): Likewise.
3814 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
3815 (__makecontext_ret): Likewise.
3817 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
3819 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
3820 __wcschrnul): Remove attribute_hidden.
3822 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
3824 regex: don't assume uint64_t or uint32_t
3825 This avoids -Werror=overflow errors for 32-bit systems in
3826 the 64-bit case. Problem reported by Joseph Myers in:
3827 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
3828 Also, when this code is used in Gnulib it ports to platforms
3829 that lack uint64_t and uint32_t. The C standard doesn't guarantee
3830 them, and on some 32-bit compilers there is no uint64_t.
3831 Problem reported by Gianluigi Tiesi in:
3832 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
3833 * posix/regcomp.c (init_word_char): Don't assume that the types
3834 uint64_t and uint32_t exist. Adapted from Gnulib patch
3835 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
3836 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
3838 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
3840 * sysdeps/aarch64/memset-reg.h: New file.
3841 * sysdeps/aarch64/memset.S: Use it.
3842 (__memset): Rename to MEMSET macro.
3843 [ZVA_MACRO]: Use zva_macro.
3844 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3845 Add memset_generic and memset_falkor.
3846 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3847 (__libc_ifunc_impl_list): Add memset ifuncs.
3848 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
3849 local variable zva_size.
3850 * sysdeps/aarch64/multiarch/memset.c: New file.
3851 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
3852 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
3853 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
3854 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
3855 (DCZID_DZP_MASK): New macro.
3856 (DCZID_BS_MASK): Likewise.
3857 (init_cpu_features): Read and set zva_size.
3858 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
3859 (struct cpu_features): New member zva_size.
3861 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
3862 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
3863 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
3865 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
3866 backwards. Fix timing computation.
3867 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
3868 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
3869 on memset by N at a time. Fix timing computation.
3871 2017-11-20 Florian Weimer <fweimer@redhat.com>
3873 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
3874 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
3876 2017-11-19 Florian Weimer <fweimer@redhat.com>
3878 manual: Document mprotect
3879 * manual/memory.texi (Memory Protection): New section.
3880 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
3881 documentation of PROT_* flags and reference the Memory Protection
3884 2017-11-19 Florian Weimer <fweimer@redhat.com>
3886 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
3887 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
3888 (Scatter-Gather): ... to here. Remove misleading comment.
3890 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
3892 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
3895 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
3896 when /proc/<pid>/setgroups does not exist.
3898 2017-11-18 Florian Weimer <fweimer@redhat.com>
3900 * sysdeps/unix/sysv/linux/tst-ttyname.c
3901 (become_root_in_mount_ns): Remove.
3902 (do_in_chroot_1): Call support_enter_mount_namespace.
3903 (do_in_chroot_2): Likewise.
3904 (do_test): Call support_become_root early.
3906 2017-11-18 Florian Weimer <fweimer@redhat.com>
3908 * support/namespace.h (support_enter_mount_namespace): Declare.
3909 * support/support_enter_mount_namespace.c: New file.
3910 * support/Makefile (libsupport-routines): Add
3911 support_enter_mount_namespace.
3913 2017-11-18 Florian Weimer <fweimer@redhat.com>
3915 * support/temp_file.c (support_create_temp_directory): Use
3916 test_dir and do not rely on the presence of the XXXXXX suffix.
3917 * support/temp_file.h (support_create_temp_directory): Update
3919 * support/tst-xreadlink.c (do_test): Adjust.
3920 * support/support_chroot.c (support_chroot_create): Likewise.
3922 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3924 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
3926 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
3929 2017-11-17 Joseph Myers <joseph@codesourcery.com>
3931 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
3932 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
3933 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
3934 (ceill): Define using libm_alias_ldouble.
3935 * sysdeps/x86_64/fpu/s_copysignl.S: Include
3936 <libm-alias-ldouble.h>.
3937 (copysignl): Define using libm_alias_ldouble.
3938 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
3939 (fabsl): Define using libm_alias_ldouble.
3940 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
3941 (floorl): Define using libm_alias_ldouble.
3942 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
3943 (fmaxl): Define using libm_alias_ldouble.
3944 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
3945 (fminl): Define using libm_alias_ldouble.
3946 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
3947 (llrintl): Define using libm_alias_ldouble.
3949 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
3950 <libm-alias-ldouble.h>.
3951 (nearbyintl): Define using libm_alias_ldouble.
3952 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
3953 (truncl): Define using libm_alias_ldouble.
3954 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
3955 <libm-alias-ldouble.h>.
3956 (lrintl): Define using libm_alias_ldouble.
3958 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
3959 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
3960 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
3961 (asinhl): Define using libm_alias_ldouble.
3962 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
3963 (atanl): Define using libm_alias_ldouble.
3964 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
3965 (cbrtl): Define using libm_alias_ldouble.
3966 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
3967 (ceill): Define using libm_alias_ldouble.
3968 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
3969 (copysignl): Define using libm_alias_ldouble.
3970 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
3971 (fabsl): Define using libm_alias_ldouble.
3972 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
3973 (floorl): Define using libm_alias_ldouble.
3974 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
3975 (fmaxl): Define using libm_alias_ldouble.
3976 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
3977 (fminl): Define using libm_alias_ldouble.
3978 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
3979 (frexpl): Define using libm_alias_ldouble.
3980 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
3981 (llrintl): Define using libm_alias_ldouble.
3982 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
3983 (logbl): Define using libm_alias_ldouble.
3984 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
3985 (lrintl): Define using libm_alias_ldouble.
3986 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
3987 (nearbyintl): Define using libm_alias_ldouble.
3988 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
3989 (nextafterl): Define using libm_alias_ldouble.
3990 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
3991 (remquol): Define using libm_alias_ldouble.
3992 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
3993 (rintl): Define using libm_alias_ldouble.
3994 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
3995 (truncl): Define using libm_alias_ldouble.
3996 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
3997 (fmaxl): Define using libm_alias_ldouble.
3998 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
3999 (fminl): Define using libm_alias_ldouble.
4001 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
4002 to C syntax instead of availability and properties of types.
4003 * bits/floatn.h [!__ASSEMBLER]: Likewise.
4004 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
4005 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
4006 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
4007 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
4008 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
4010 2017-11-17 Florian Weimer <fweimer@redhat.com>
4012 support_become_root: Enable file creation in namespaces.
4013 * support/support_become_root.c (setup_mapping): New function.
4014 (support_become_root): Call it.
4016 2017-11-17 Joseph Myers <joseph@codesourcery.com>
4018 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
4021 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4023 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
4024 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
4026 2017-11-16 Joseph Myers <joseph@codesourcery.com>
4028 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
4030 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4033 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
4035 * INSTALL: Fix botched up regeneration.
4037 * NEWS: Update sourceare link to https.
4038 * configure.ac: Likewise.
4039 * crypt/md5test-giant.c: Likewise.
4040 * dlfcn/bug-atexit1.c: Likewise.
4041 * dlfcn/bug-atexit2.c: Likewise.
4042 * localedata/README: Likewise.
4043 * malloc/tst-mallocfork.c: Likewise.
4044 * manual/install.texi: Likewise.
4045 * nptl/tst-pthread-getattr.c: Likewise.
4046 * stdio-common/tst-fgets.c: Likewise.
4047 * stdio-common/tst-fwrite.c: Likewise.
4048 * sunrpc/Makefile: Likewise.
4049 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
4050 * wcsmbs/tst-mbrtowc2.c: Likewise.
4051 * configure: Regenerate.
4052 * INSTALL: Regenerate.
4054 2017-11-15 Martin Sebor <msebor@redhat.com>
4056 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
4057 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
4058 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
4060 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
4063 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
4064 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
4067 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
4068 Defer is_pty check until end of the function.
4069 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4072 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
4073 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
4074 (ttyname): Likewise.
4075 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
4076 (__ttyname_r): Likewise.
4078 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
4081 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
4083 * manual/terminal.texi (Is It a Terminal):
4084 Mention ENODEV for ttyname and ttyname_r.
4086 2017-11-15 Joseph Myers <joseph@codesourcery.com>
4088 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
4091 * sysdeps/unix/sysv/linux/bits/mman-linux.h
4092 [__USE_MISC] (MADV_WIPEONFORK): New macro.
4093 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
4094 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
4095 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
4096 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
4098 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4100 * signal/sigrelse.c (sigrelse): Optimize implementation.
4102 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
4103 (__sigpause): Rely on __sigsuspend to implement single thread
4104 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
4106 2017-11-15 Joseph Myers <joseph@codesourcery.com>
4108 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4109 kernel version to 4.14.
4111 2017-11-15 Steve Ellcey <sellcey@cavium.com>
4114 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
4115 Check if ifname is too long.
4117 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
4119 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
4121 2017-11-15 Mike FABIAN <mfabian@redhat.com>
4123 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
4124 was accidentally lost.
4126 2017-11-15 Mike FABIAN <mfabian@redhat.com>
4128 * localedata/locales/az_IR: Add standard copyright header.
4130 2017-11-15 Florian Weimer <fweimer@redhat.com>
4133 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
4134 not just the top one. Output a new "subheaps" statistic.
4136 2017-11-15 Florian Weimer <fweimer@redhat.com>
4139 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
4140 under the per-arena lock.
4141 * malloc/Makefile (tests): Add tst-malloc_info.
4142 (tst-malloc_info): Link with libpthread.
4143 * malloc/tst-malloc_info.c: New file.
4145 2017-11-15 Joseph Myers <joseph@codesourcery.com>
4148 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
4149 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
4150 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
4151 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
4152 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
4153 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
4154 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
4155 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
4156 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
4157 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
4158 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
4159 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
4160 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
4161 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
4162 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
4163 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
4164 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
4165 (__floating_type): Likewise.
4166 (__real_integer_type): Likewise.
4167 (__complex_integer_type): Likewise.
4168 (__expr_is_real): Likewise.
4169 (__tgmath_real_type_sub): Likewise.
4170 (__tgmath_real_type): Likewise.
4171 (__tgmath_complex_type_sub): Likewise.
4172 (__tgmath_complex_type): Likewise.
4173 (__TGMATH_F128): Likewise.
4174 (__TGMATH_CF128): Likewise.
4175 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
4177 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
4178 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
4180 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
4182 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
4183 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
4184 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
4185 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
4187 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
4188 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
4190 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
4191 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
4192 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
4194 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
4195 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
4196 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
4200 2017-11-14 Joseph Myers <joseph@codesourcery.com>
4202 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
4203 for stpncpy calls for GCC 8.
4204 (test_strncat): Disable -Wstringop-truncation warning for strncat
4205 calls for GCC 8. Disable -Wstringop-overflow= warning for one
4206 strncat call for GCC 7.
4207 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
4209 (test_memcmp): Use memcpy instead of strncpy for calls not copying
4212 * string/bug-strncat1.c: Include <libc-diag.h>.
4213 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
4215 2017-11-13 Claude Paroz <claude@2xlibre.net>
4218 * localedata/locales/aa_DJ: Improved readibility by replacing
4219 <Uxxxx> sequences in the ASCII printable range by their ASCII
4220 character equivalents.
4221 * localedata/locales/aa_ER: Likewise.
4222 * localedata/locales/aa_ER@saaho: Likewise.
4223 * localedata/locales/aa_ET: Likewise.
4224 * localedata/locales/af_ZA: Likewise.
4225 * localedata/locales/agr_PE: Likewise.
4226 * localedata/locales/ak_GH: Likewise.
4227 * localedata/locales/am_ET: Likewise.
4228 * localedata/locales/anp_IN: Likewise.
4229 * localedata/locales/ar_AE: Likewise.
4230 * localedata/locales/ar_BH: Likewise.
4231 * localedata/locales/ar_DZ: Likewise.
4232 * localedata/locales/ar_EG: Likewise.
4233 * localedata/locales/ar_IN: Likewise.
4234 * localedata/locales/ar_IQ: Likewise.
4235 * localedata/locales/ar_JO: Likewise.
4236 * localedata/locales/ar_KW: Likewise.
4237 * localedata/locales/ar_LB: Likewise.
4238 * localedata/locales/ar_LY: Likewise.
4239 * localedata/locales/ar_MA: Likewise.
4240 * localedata/locales/ar_OM: Likewise.
4241 * localedata/locales/ar_QA: Likewise.
4242 * localedata/locales/ar_SA: Likewise.
4243 * localedata/locales/ar_SD: Likewise.
4244 * localedata/locales/ar_SS: Likewise.
4245 * localedata/locales/ar_SY: Likewise.
4246 * localedata/locales/ar_TN: Likewise.
4247 * localedata/locales/ar_YE: Likewise.
4248 * localedata/locales/as_IN: Likewise.
4249 * localedata/locales/ast_ES: Likewise.
4250 * localedata/locales/ayc_PE: Likewise.
4251 * localedata/locales/az_AZ: Likewise.
4252 * localedata/locales/az_IR: Likewise.
4253 * localedata/locales/be_BY: Likewise.
4254 * localedata/locales/be_BY@latin: Likewise.
4255 * localedata/locales/bem_ZM: Likewise.
4256 * localedata/locales/ber_DZ: Likewise.
4257 * localedata/locales/ber_MA: Likewise.
4258 * localedata/locales/bg_BG: Likewise.
4259 * localedata/locales/bhb_IN: Likewise.
4260 * localedata/locales/bho_IN: Likewise.
4261 * localedata/locales/bi_VU: Likewise.
4262 * localedata/locales/bn_BD: Likewise.
4263 * localedata/locales/bn_IN: Likewise.
4264 * localedata/locales/bo_CN: Likewise.
4265 * localedata/locales/bo_IN: Likewise.
4266 * localedata/locales/br_FR: Likewise.
4267 * localedata/locales/brx_IN: Likewise.
4268 * localedata/locales/bs_BA: Likewise.
4269 * localedata/locales/byn_ER: Likewise.
4270 * localedata/locales/ca_AD: Likewise.
4271 * localedata/locales/ca_ES: Likewise.
4272 * localedata/locales/ca_FR: Likewise.
4273 * localedata/locales/ca_IT: Likewise.
4274 * localedata/locales/ce_RU: Likewise.
4275 * localedata/locales/chr_US: Likewise.
4276 * localedata/locales/cmn_TW: Likewise.
4277 * localedata/locales/crh_UA: Likewise.
4278 * localedata/locales/cs_CZ: Likewise.
4279 * localedata/locales/csb_PL: Likewise.
4280 * localedata/locales/cv_RU: Likewise.
4281 * localedata/locales/cy_GB: Likewise.
4282 * localedata/locales/da_DK: Likewise.
4283 * localedata/locales/de_AT: Likewise.
4284 * localedata/locales/de_BE: Likewise.
4285 * localedata/locales/de_CH: Likewise.
4286 * localedata/locales/de_DE: Likewise.
4287 * localedata/locales/de_IT: Likewise.
4288 * localedata/locales/de_LI: Likewise.
4289 * localedata/locales/de_LU: Likewise.
4290 * localedata/locales/doi_IN: Likewise.
4291 * localedata/locales/dv_MV: Likewise.
4292 * localedata/locales/dz_BT: Likewise.
4293 * localedata/locales/el_CY: Likewise.
4294 * localedata/locales/el_GR: Likewise.
4295 * localedata/locales/en_AG: Likewise.
4296 * localedata/locales/en_AU: Likewise.
4297 * localedata/locales/en_BW: Likewise.
4298 * localedata/locales/en_CA: Likewise.
4299 * localedata/locales/en_DK: Likewise.
4300 * localedata/locales/en_GB: Likewise.
4301 * localedata/locales/en_HK: Likewise.
4302 * localedata/locales/en_IE: Likewise.
4303 * localedata/locales/en_IL: Likewise.
4304 * localedata/locales/en_IN: Likewise.
4305 * localedata/locales/en_NG: Likewise.
4306 * localedata/locales/en_NZ: Likewise.
4307 * localedata/locales/en_PH: Likewise.
4308 * localedata/locales/en_SG: Likewise.
4309 * localedata/locales/en_US: Likewise.
4310 * localedata/locales/en_ZA: Likewise.
4311 * localedata/locales/en_ZM: Likewise.
4312 * localedata/locales/en_ZW: Likewise.
4313 * localedata/locales/eo: Likewise.
4314 * localedata/locales/es_AR: Likewise.
4315 * localedata/locales/es_BO: Likewise.
4316 * localedata/locales/es_CL: Likewise.
4317 * localedata/locales/es_CO: Likewise.
4318 * localedata/locales/es_CR: Likewise.
4319 * localedata/locales/es_CU: Likewise.
4320 * localedata/locales/es_DO: Likewise.
4321 * localedata/locales/es_EC: Likewise.
4322 * localedata/locales/es_ES: Likewise.
4323 * localedata/locales/es_GT: Likewise.
4324 * localedata/locales/es_HN: Likewise.
4325 * localedata/locales/es_MX: Likewise.
4326 * localedata/locales/es_NI: Likewise.
4327 * localedata/locales/es_PA: Likewise.
4328 * localedata/locales/es_PE: Likewise.
4329 * localedata/locales/es_PR: Likewise.
4330 * localedata/locales/es_PY: Likewise.
4331 * localedata/locales/es_SV: Likewise.
4332 * localedata/locales/es_US: Likewise.
4333 * localedata/locales/es_UY: Likewise.
4334 * localedata/locales/es_VE: Likewise.
4335 * localedata/locales/et_EE: Likewise.
4336 * localedata/locales/eu_ES: Likewise.
4337 * localedata/locales/eu_ES@euro: Likewise.
4338 * localedata/locales/fa_IR: Likewise.
4339 * localedata/locales/ff_SN: Likewise.
4340 * localedata/locales/fi_FI: Likewise.
4341 * localedata/locales/fil_PH: Likewise.
4342 * localedata/locales/fo_FO: Likewise.
4343 * localedata/locales/fr_BE: Likewise.
4344 * localedata/locales/fr_CA: Likewise.
4345 * localedata/locales/fr_CH: Likewise.
4346 * localedata/locales/fr_FR: Likewise.
4347 * localedata/locales/fr_LU: Likewise.
4348 * localedata/locales/fur_IT: Likewise.
4349 * localedata/locales/fy_DE: Likewise.
4350 * localedata/locales/fy_NL: Likewise.
4351 * localedata/locales/ga_IE: Likewise.
4352 * localedata/locales/gd_GB: Likewise.
4353 * localedata/locales/gez_ER: Likewise.
4354 * localedata/locales/gez_ET: Likewise.
4355 * localedata/locales/gl_ES: Likewise.
4356 * localedata/locales/gu_IN: Likewise.
4357 * localedata/locales/gv_GB: Likewise.
4358 * localedata/locales/ha_NG: Likewise.
4359 * localedata/locales/hak_TW: Likewise.
4360 * localedata/locales/he_IL: Likewise.
4361 * localedata/locales/hi_IN: Likewise.
4362 * localedata/locales/hif_FJ: Likewise.
4363 * localedata/locales/hne_IN: Likewise.
4364 * localedata/locales/hr_HR: Likewise.
4365 * localedata/locales/hsb_DE: Likewise.
4366 * localedata/locales/ht_HT: Likewise.
4367 * localedata/locales/hu_HU: Likewise.
4368 * localedata/locales/hy_AM: Likewise.
4369 * localedata/locales/i18n: Likewise.
4370 * localedata/locales/ia_FR: Likewise.
4371 * localedata/locales/id_ID: Likewise.
4372 * localedata/locales/ig_NG: Likewise.
4373 * localedata/locales/ik_CA: Likewise.
4374 * localedata/locales/is_IS: Likewise.
4375 * localedata/locales/it_CH: Likewise.
4376 * localedata/locales/it_IT: Likewise.
4377 * localedata/locales/iu_CA: Likewise.
4378 * localedata/locales/ja_JP: Likewise.
4379 * localedata/locales/ka_GE: Likewise.
4380 * localedata/locales/kk_KZ: Likewise.
4381 * localedata/locales/kl_GL: Likewise.
4382 * localedata/locales/kn_IN: Likewise.
4383 * localedata/locales/ko_KR: Likewise.
4384 * localedata/locales/kok_IN: Likewise.
4385 * localedata/locales/ks_IN: Likewise.
4386 * localedata/locales/ks_IN@devanagari: Likewise.
4387 * localedata/locales/ku_TR: Likewise.
4388 * localedata/locales/kw_GB: Likewise.
4389 * localedata/locales/ky_KG: Likewise.
4390 * localedata/locales/lb_LU: Likewise.
4391 * localedata/locales/lg_UG: Likewise.
4392 * localedata/locales/li_BE: Likewise.
4393 * localedata/locales/li_NL: Likewise.
4394 * localedata/locales/lij_IT: Likewise.
4395 * localedata/locales/ln_CD: Likewise.
4396 * localedata/locales/lo_LA: Likewise.
4397 * localedata/locales/lt_LT: Likewise.
4398 * localedata/locales/lv_LV: Likewise.
4399 * localedata/locales/lzh_TW: Likewise.
4400 * localedata/locales/mag_IN: Likewise.
4401 * localedata/locales/mai_IN: Likewise.
4402 * localedata/locales/mg_MG: Likewise.
4403 * localedata/locales/mhr_RU: Likewise.
4404 * localedata/locales/mi_NZ: Likewise.
4405 * localedata/locales/mk_MK: Likewise.
4406 * localedata/locales/ml_IN: Likewise.
4407 * localedata/locales/mn_MN: Likewise.
4408 * localedata/locales/mni_IN: Likewise.
4409 * localedata/locales/mr_IN: Likewise.
4410 * localedata/locales/ms_MY: Likewise.
4411 * localedata/locales/mt_MT: Likewise.
4412 * localedata/locales/my_MM: Likewise.
4413 * localedata/locales/nan_TW: Likewise.
4414 * localedata/locales/nan_TW@latin: Likewise.
4415 * localedata/locales/nb_NO: Likewise.
4416 * localedata/locales/nds_DE: Likewise.
4417 * localedata/locales/nds_NL: Likewise.
4418 * localedata/locales/ne_NP: Likewise.
4419 * localedata/locales/nhn_MX: Likewise.
4420 * localedata/locales/niu_NU: Likewise.
4421 * localedata/locales/niu_NZ: Likewise.
4422 * localedata/locales/nl_AW: Likewise.
4423 * localedata/locales/nl_BE: Likewise.
4424 * localedata/locales/nl_NL: Likewise.
4425 * localedata/locales/nn_NO: Likewise.
4426 * localedata/locales/nr_ZA: Likewise.
4427 * localedata/locales/nso_ZA: Likewise.
4428 * localedata/locales/oc_FR: Likewise.
4429 * localedata/locales/om_ET: Likewise.
4430 * localedata/locales/om_KE: Likewise.
4431 * localedata/locales/or_IN: Likewise.
4432 * localedata/locales/os_RU: Likewise.
4433 * localedata/locales/pa_IN: Likewise.
4434 * localedata/locales/pa_PK: Likewise.
4435 * localedata/locales/pap_AW: Likewise.
4436 * localedata/locales/pap_CW: Likewise.
4437 * localedata/locales/pl_PL: Likewise.
4438 * localedata/locales/ps_AF: Likewise.
4439 * localedata/locales/pt_BR: Likewise.
4440 * localedata/locales/pt_PT: Likewise.
4441 * localedata/locales/quz_PE: Likewise.
4442 * localedata/locales/raj_IN: Likewise.
4443 * localedata/locales/ro_RO: Likewise.
4444 * localedata/locales/ru_RU: Likewise.
4445 * localedata/locales/ru_UA: Likewise.
4446 * localedata/locales/rw_RW: Likewise.
4447 * localedata/locales/sa_IN: Likewise.
4448 * localedata/locales/sat_IN: Likewise.
4449 * localedata/locales/sc_IT: Likewise.
4450 * localedata/locales/sd_IN: Likewise.
4451 * localedata/locales/sd_IN@devanagari: Likewise.
4452 * localedata/locales/se_NO: Likewise.
4453 * localedata/locales/sgs_LT: Likewise.
4454 * localedata/locales/shs_CA: Likewise.
4455 * localedata/locales/si_LK: Likewise.
4456 * localedata/locales/sid_ET: Likewise.
4457 * localedata/locales/sk_SK: Likewise.
4458 * localedata/locales/sl_SI: Likewise.
4459 * localedata/locales/sm_WS: Likewise.
4460 * localedata/locales/so_DJ: Likewise.
4461 * localedata/locales/so_ET: Likewise.
4462 * localedata/locales/so_KE: Likewise.
4463 * localedata/locales/so_SO: Likewise.
4464 * localedata/locales/sq_AL: Likewise.
4465 * localedata/locales/sq_MK: Likewise.
4466 * localedata/locales/sr_ME: Likewise.
4467 * localedata/locales/sr_RS: Likewise.
4468 * localedata/locales/sr_RS@latin: Likewise.
4469 * localedata/locales/ss_ZA: Likewise.
4470 * localedata/locales/st_ZA: Likewise.
4471 * localedata/locales/sv_FI: Likewise.
4472 * localedata/locales/sv_SE: Likewise.
4473 * localedata/locales/sw_KE: Likewise.
4474 * localedata/locales/sw_TZ: Likewise.
4475 * localedata/locales/szl_PL: Likewise.
4476 * localedata/locales/ta_IN: Likewise.
4477 * localedata/locales/ta_LK: Likewise.
4478 * localedata/locales/tcy_IN: Likewise.
4479 * localedata/locales/te_IN: Likewise.
4480 * localedata/locales/tg_TJ: Likewise.
4481 * localedata/locales/th_TH: Likewise.
4482 * localedata/locales/the_NP: Likewise.
4483 * localedata/locales/ti_ER: Likewise.
4484 * localedata/locales/ti_ET: Likewise.
4485 * localedata/locales/tig_ER: Likewise.
4486 * localedata/locales/tk_TM: Likewise.
4487 * localedata/locales/tl_PH: Likewise.
4488 * localedata/locales/tn_ZA: Likewise.
4489 * localedata/locales/to_TO: Likewise.
4490 * localedata/locales/tpi_PG: Likewise.
4491 * localedata/locales/tr_CY: Likewise.
4492 * localedata/locales/tr_TR: Likewise.
4493 * localedata/locales/ts_ZA: Likewise.
4494 * localedata/locales/tt_RU: Likewise.
4495 * localedata/locales/tt_RU@iqtelif: Likewise.
4496 * localedata/locales/ug_CN: Likewise.
4497 * localedata/locales/uk_UA: Likewise.
4498 * localedata/locales/unm_US: Likewise.
4499 * localedata/locales/ur_IN: Likewise.
4500 * localedata/locales/ur_PK: Likewise.
4501 * localedata/locales/uz_UZ: Likewise.
4502 * localedata/locales/uz_UZ@cyrillic: Likewise.
4503 * localedata/locales/ve_ZA: Likewise.
4504 * localedata/locales/vi_VN: Likewise.
4505 * localedata/locales/wa_BE: Likewise.
4506 * localedata/locales/wae_CH: Likewise.
4507 * localedata/locales/wal_ET: Likewise.
4508 * localedata/locales/wo_SN: Likewise.
4509 * localedata/locales/xh_ZA: Likewise.
4510 * localedata/locales/yi_US: Likewise.
4511 * localedata/locales/yo_NG: Likewise.
4512 * localedata/locales/yue_HK: Likewise.
4513 * localedata/locales/yuw_PG: Likewise.
4514 * localedata/locales/zh_CN: Likewise.
4515 * localedata/locales/zh_HK: Likewise.
4516 * localedata/locales/zh_SG: Likewise.
4517 * localedata/locales/zh_TW: Likewise.
4518 * localedata/locales/zu_ZA: Likewise.
4520 2017-11-13 Florian Weimer <fweimer@redhat.com>
4522 * support/next_to_fault.h, support/next_to_fault.c: New files.
4523 * support/Makefile (libsupport-routines): Add next_to_fault.
4524 * resolv/tst-inet_pton.c (struct next_to_fault)
4525 (next_to_fault_allocate, next_to_fault_free): Remove.
4526 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
4528 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
4530 * elf/dl-support.c: Include <dl-procruntime.c>.
4531 * include/link.h: Include <link_map.h>.
4532 * sysdeps/generic/dl-procruntime.c: New file.
4533 * sysdeps/generic/link_map.h: Likewise.
4534 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
4535 the writable ld.so namespace.
4537 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
4539 timezone: pacify GCC -Wstringop-truncation
4540 Problem reported by Martin Sebor in:
4541 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
4542 * timezone/zic.c (writezone): Use memcpy, not strncpy.
4544 2017-11-12 Florian Weimer <fweimer@redhat.com>
4546 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
4548 (tests): Add tst-xreadlink.
4549 * support/support.h (xstrndup): Declare.
4550 * support/xunistd.h (xunlink, xreadlink): Declare.
4551 * support/temp_file.h (support_create_temp_directory): Declare.
4552 * support/temp_file.c (support_create_temp_directory): New function.
4553 * support/support_chroot.c (support_chroot_create): Use it.
4554 * support/xreadlink.c: New file.
4555 * support/xstrndup.c: Likewise.
4556 * support/xunlink.c: Likewise.
4557 * support/tst-xreadlink.c: Likewise.
4559 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
4561 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
4563 2017-11-11 Florian Weimer <fweimer@redhat.com>
4567 * resolv/res_comp.c (printable_string, binary_hnok)
4568 (binary_leading_dash): New functions.
4569 (res_hnok): Reimplement using these functions and ns_name_pton.
4570 (res_ownok): Likewise.
4571 (res_mailok): Reimplement using printable_string, ns_name_pton and
4573 (res_dnok): Reimplement using printable_string and ns_name_pton.
4574 * resolv/tst-res_hnok.c (tests): Add additional tests.
4575 (LETTERDIGITS, PRINTABLE): Define.
4576 (do_test): Adjust one_char results.
4578 2017-11-11 Florian Weimer <fweimer@redhat.com>
4581 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
4582 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
4584 2017-11-11 Florian Weimer <fweimer@redhat.com>
4586 * resolv/tst-ns_name_pton.c: New file.
4587 * resolv/Makefile (tests): Add tst-ns_name_pton.
4588 (tst-ns_name_pton): Link against libresolv.
4590 2017-11-11 Florian Weimer <fweimer@redhat.com>
4592 * resolv/tst-res_hnok.c: New file.
4593 * resolv/Makefile (tests): Add tst-res_hnok.
4594 (tst-res_hnok): Link against libresolv.
4596 2017-11-11 Florian Weimer <fweimer@redhat.com>
4598 * resolv/tst-resolv-network.c: Use test framework instead explicit
4601 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
4603 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
4605 [!_ISOMAC] (STR_HELPER): New.
4606 [!_ISOMAC] (STR): Likewise.
4607 [!_ISOMAC] (TEST_SIZE): Likewise.
4608 [!_ISOMAC] (TEST_ALIGN): Likewise.
4609 [!_ISOMAC] (TEST_OFFSET): Likewise.
4610 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
4611 field offsets of jmp_buf as well as sigjmp_buf.
4612 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
4613 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
4614 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
4615 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
4616 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
4617 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
4618 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
4619 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
4620 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
4621 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
4623 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
4625 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
4626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
4628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
4630 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
4631 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
4632 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
4633 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
4634 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
4635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
4637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
4639 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
4640 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
4641 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
4643 2017-11-07 Joseph Myers <joseph@codesourcery.com>
4646 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4647 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
4648 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4649 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
4650 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4651 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
4652 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4653 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
4654 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4655 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
4656 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4657 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
4658 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4659 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
4660 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4661 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
4662 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4663 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
4664 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4665 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
4666 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4667 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
4668 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4669 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
4670 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4671 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
4672 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4673 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
4674 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4675 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
4676 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4677 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
4678 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4679 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
4680 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4681 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
4682 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4683 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
4684 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4685 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
4686 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4687 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
4688 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4689 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
4690 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4691 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
4692 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4693 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
4694 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4695 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
4696 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4697 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
4698 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4699 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
4700 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4701 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
4702 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4703 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
4704 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4705 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
4706 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4707 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
4708 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4709 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
4710 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4711 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
4712 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4713 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
4714 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4715 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
4716 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4717 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
4718 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4719 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
4720 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4721 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
4722 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4723 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
4724 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4725 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
4726 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4727 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
4728 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4729 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
4730 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4731 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
4732 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4733 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
4735 * stdlib/tst-strtod.h (F16): New macro.
4741 (IF_FLOAT16): Likewise.
4742 (IF_FLOAT32): Likewise.
4743 (IF_FLOAT64): Likewise.
4744 (IF_FLOAT32X): Likewise.
4745 (IF_FLOAT64X): Likewise.
4746 (IF_FLOAT128X): Likewise.
4747 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
4748 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
4749 (STRTOD_TEST_FOREACH): Likewise.
4750 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
4751 (CHOOSE_f64): Likewise.
4752 (CHOOSE_f32x): Likewise.
4753 (CHOOSE_f64x): Likewise.
4755 2017-11-07 Andreas Schwab <schwab@suse.de>
4757 * nptl/Makefile (tests-internal): Remove tst-typesizes.
4759 2017-11-07 Mike FABIAN <mfabian@redhat.com>
4762 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
4764 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
4767 2017-11-07 Claude Paroz <claude@2xlibre.net>
4770 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
4772 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
4774 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
4777 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4780 * nptl/allocatestack.c (allocate_stack): Check if
4781 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
4782 __PTHREAD_MUTEX_HAVE_PREV is defined.
4783 * nptl/descr.h (pthread): Likewise.
4784 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4786 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4787 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4788 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
4789 * sysdeps/nptl/bits/thread-shared-types.h
4790 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
4792 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
4793 of __WORDSIZE for internal layout.
4794 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
4795 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
4796 instead of __WORDSIZE whether to use an union for __spins and __list
4798 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
4800 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
4801 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
4803 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
4804 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4806 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
4807 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4809 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
4810 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4812 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
4813 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4815 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
4816 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4818 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
4819 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4821 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
4822 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4824 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
4825 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4827 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
4828 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4830 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
4831 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4833 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
4834 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4836 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
4837 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4839 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
4840 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4842 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
4843 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4846 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
4848 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
4849 checks for expected input type size.
4850 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
4851 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
4853 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
4854 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
4855 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4856 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
4857 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
4858 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
4859 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
4860 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
4861 superflous runtime assert check.
4862 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
4864 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
4866 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
4868 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
4870 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
4872 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
4874 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
4875 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
4876 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
4878 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
4880 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
4882 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
4884 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
4886 * nptl/pthread_attr_setinheritsched.c
4887 (__pthread_attr_setinheritsched): Likewise.
4888 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
4890 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
4892 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
4893 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
4894 __old_pthread_attr_setstack): Likewise.
4895 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
4897 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
4899 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
4901 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
4902 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
4904 * nptl/tst-typesizes.c: Remove file.
4906 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
4907 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
4908 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
4909 checks for internal pthread_mutex_t offsets.
4910 * sysdeps/aarch64/nptl/pthread-offsets.h
4911 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
4912 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
4913 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
4914 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
4915 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
4916 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
4917 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
4918 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
4919 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
4920 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
4921 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
4922 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
4923 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
4924 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
4925 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
4926 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
4927 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
4928 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
4930 2017-11-07 Florian Weimer <fweimer@redhat.com>
4932 * bits/mman-linux.h: Move ...
4933 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
4935 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
4938 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4940 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
4941 Redefine STRNLEN as __strnlen_power8.
4943 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4945 * signal/sighold.c (sighold): Optimize implementation.
4947 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
4948 __NR_rt_sigqueueinfo.
4950 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
4952 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
4953 assume __NR_rt_sigtimedwait.
4954 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
4955 and add LIBC_CANCEL_HANDLED for cancellation marking.
4956 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4958 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
4959 (sysdeps_routines): Add memchr_noneon.
4960 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
4961 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
4962 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
4963 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
4964 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
4965 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
4966 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
4968 * sysdeps/arm/arm-ifunc.h: New file.
4969 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
4970 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
4971 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
4972 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
4973 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
4974 (__memcpy_neon): Avoid create hidden alias.
4975 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
4976 (__memcpy_vfp): Likewise.
4977 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
4978 (sysdep_routines): Add memcpy_arm.
4979 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
4981 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
4984 * Makerules (make-link-multidir): New.
4985 * config.make.in (multidir): New.
4986 * configure.ac (libc_cv_multidir): New. AC_SUBST.
4987 * configure: Regenerated.
4988 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
4989 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
4990 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
4993 2017-11-06 Joseph Myers <joseph@codesourcery.com>
4996 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
4997 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
4999 2017-11-04 Mike FABIAN <mfabian@redhat.com>
5001 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
5004 2017-11-04 Florian Weimer <fweimer@redhat.com>
5006 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
5008 2017-11-03 Joseph Myers <joseph@codesourcery.com>
5010 * math/math.h [__HAVE_DISTINCT_FLOAT16
5011 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
5012 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
5013 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
5014 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
5015 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
5016 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
5017 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
5018 (__MATH_TG_F32): New macro.
5019 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
5020 (__MATH_TG_F64X): Likewise.
5021 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
5022 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
5024 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
5026 * po/de.po: Update translations.
5027 * po/ru.po: Likewise.
5029 2017-11-03 Florian Weimer <fweimer@redhat.com>
5031 * manual/filesys.texi (Hard Links): Document linkat.
5033 2017-11-03 Joseph Myers <joseph@codesourcery.com>
5035 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
5036 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
5037 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
5038 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
5039 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
5040 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
5041 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
5042 the same as _Float128.
5043 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
5044 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
5045 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
5048 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
5050 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
5052 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
5054 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5055 (strtof32x): Likewise.
5056 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5057 (strtof64x): Likewise.
5058 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5059 (strtof128x): Likewise.
5060 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5061 (strfromf16): Likewise.
5062 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5063 (strfromf32): Likewise.
5064 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5065 (strfromf64): Likewise.
5066 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5067 (strfromf32x): Likewise.
5068 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5069 (strfromf64x): Likewise.
5070 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5071 (strfromf128x): Likewise.
5072 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
5073 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
5074 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
5075 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
5076 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
5077 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
5079 2017-11-03 Richard Henderson <rth@twiddle.net>
5081 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
5083 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5085 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
5087 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5089 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
5090 DT_TLSDESC_GOT initialization.
5091 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
5092 (_dl_tlsdesc_resolve_hold): Likewise.
5093 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
5094 (_dl_tlsdesc_resolve_hold): Likewise.
5095 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
5096 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
5098 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5100 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
5102 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5105 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
5106 non-lazily for R_ARM_TLS_DESC.
5108 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5111 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
5112 R_ARM_TLS_DESC case.
5113 (elf_machine_lazy_rel): Remove the prelink check.
5115 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5117 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
5118 DT_TLSDESC_GOT initialization.
5119 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
5120 (_dl_tlsdesc_resolve_rela): Likewise.
5121 (_dl_tlsdesc_resolve_hold): Likewise.
5122 (_dl_tlsdesc_undefweak): Remove ldar.
5123 (_dl_tlsdesc_dynamic): Likewise.
5124 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
5125 (_dl_tlsdesc_resolve_rela): Likewise.
5126 (_dl_tlsdesc_resolve_hold): Likewise.
5127 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
5128 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
5129 (_dl_tlsdesc_resolve_rela): Likewise.
5130 (_dl_tlsdesc_resolve_hold): Likewise.
5132 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5134 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
5135 binding and initialization non-lazily for R_AARCH64_TLSDESC.
5137 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5139 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
5140 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
5142 2017-11-02 Joseph Myers <joseph@codesourcery.com>
5144 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
5146 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
5147 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
5148 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
5149 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
5150 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
5151 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
5152 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
5153 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
5154 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
5155 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
5156 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
5158 2017-11-02 Mike FABIAN <mfabian@redhat.com>
5161 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
5162 * localedata/locales/tpi_PG: Add standard header.
5164 2017-11-02 Florian Weimer <fweimer@redhat.com>
5166 test-errno-linux: quotactl can fail with EPERM in containers.
5167 * sysdeps/unix/sysv/linux/test-errno-linux.c
5168 (LIST, LIST_FORWARD): New macros.
5169 (check_error_in_list): New function.
5170 (test_wrp_rv): Accept list of permitted error codes.
5171 (test_wrp_rv2): Remove.
5172 (test_wrp): Call test_wrp_rv with list of error codes.
5173 (test_wrp2): Accept list of error codes.
5174 (do_test): Adjust. Allow EPERM for quotactl.
5176 2017-11-02 Florian Weimer <fweimer@redhat.com>
5178 * stdio-common/bug16.c (do_test): Use array_length.
5179 * stdio-common/errlist.c (_sys_nerr): Likewise.
5180 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
5181 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
5182 * stdio-common/psiginfo.c (psiginfo): Use array_length.
5183 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
5184 (do_test): Use array_length.
5185 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
5186 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
5187 * stdio-common/tst-printf-round.c (do_test): Likewise.
5188 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
5189 (CHECK): Use array_length.
5190 * stdio-common/tstdiomisc.c (t3, F): Likewise.
5191 * stdio-common/tstscanf.c (main): Likewise.
5192 * stdio-common/vfprintf.c (process_string_arg): Likewise.
5194 2017-11-02 Florian Weimer <fweimer@redhat.com>
5196 Add array_length and array_end macros.
5197 * include/array_length.h: New file.
5199 2017-11-02 Florian Weimer <fweimer@redhat.com>
5202 * posix/tst-glob-tilde.c (do_noescape): New variable.
5203 (one_test): Process it.
5204 (do_test): Set do_noescape. Add unescaping test case.
5206 2017-11-01 Joseph Myers <joseph@codesourcery.com>
5209 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
5210 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
5211 with appropriate macros defined and undefined.
5212 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
5213 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
5214 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
5215 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
5216 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
5217 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
5218 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
5219 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
5220 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
5221 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
5224 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
5225 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
5226 that for long double. Do not condition define and undefine of
5227 _Mdouble_complex_ on [__CFLOAT128].
5229 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
5231 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
5232 of <sysdeps/generic/sysdep.h>.
5233 (ALIGNARG): Removed.
5234 (ASM_SIZE_DIRECTIVE): Likewise.
5237 (ENTRY_CHK): Likewise.
5238 (END_CHK): Likewise.
5239 (syscall_error): Likewise.
5241 (PSEUDO_END): Likewise.
5243 (atom_text_section): Likewise.
5244 * sysdeps/x86/sysdep.h: New file.
5245 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
5246 of <sysdeps/generic/sysdep.h>.
5247 (ALIGNARG): Removed.
5248 (ASM_SIZE_DIRECTIVE): Likewise.
5251 (ENTRY_CHK): Likewise.
5252 (END_CHK): Likewise.
5253 (syscall_error): Likewise.
5255 (PSEUDO_END): Likewise.
5257 (atom_text_section): Likewise.
5259 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
5261 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
5262 category of LC_CTYPE set to "i18n:2012".
5263 * localedata/locales/i18n_ctype: Regenerate.
5265 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
5267 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
5268 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
5269 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5270 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5272 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
5273 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
5274 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
5275 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
5277 2017-10-31 Joseph Myers <joseph@codesourcery.com>
5280 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
5282 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
5284 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
5286 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5287 (CMPLXF32X): Likewise.
5288 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5289 (CMPLXF64X): Likewise.
5290 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5291 (CMPLXF128X): Likewise.
5294 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
5295 (__MATH_EVAL_FMT2): Define to add 0.0f.
5297 2017-10-31 Alan Modra <amodra@gmail.com>
5299 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
5301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
5302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
5303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
5304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
5305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
5306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
5307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
5308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
5309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
5310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
5311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
5312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
5313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
5314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
5315 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
5316 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
5317 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
5318 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
5319 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
5320 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
5321 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
5322 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
5323 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
5324 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
5325 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5326 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
5327 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
5328 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
5329 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
5330 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
5331 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5332 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5333 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
5334 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
5335 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
5336 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
5337 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
5338 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
5339 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
5340 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5341 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
5342 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
5343 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
5344 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
5345 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
5346 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
5347 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
5348 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
5349 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
5350 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5351 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
5352 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
5353 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
5354 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
5355 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5356 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
5357 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
5358 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
5359 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
5360 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
5361 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5362 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
5363 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
5364 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5365 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
5366 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
5367 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
5368 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
5369 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
5371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
5372 include sysdep.h and math_ldbl_opt.h.
5374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
5375 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
5376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
5377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
5378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
5379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
5380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
5381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
5382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
5383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
5384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
5385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
5386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
5387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
5388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
5389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
5390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
5391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
5392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
5393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
5394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
5395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
5396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
5397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
5398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
5399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
5401 2017-10-31 Alan Modra <amodra@gmail.com>
5403 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
5404 string/strncase_l.c, not string/strncase.c.
5405 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
5406 (libc_hidden_def): Redefine.
5408 2017-10-31 Alan Modra <amodra@gmail.com>
5410 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
5411 (__STRCMP, STRCMP, __strcasecmp_l): Define.
5412 (__strcasecmp): Don't define.
5414 2017-10-31 Alan Modra <amodra@gmail.com>
5416 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
5418 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
5419 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
5420 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
5422 2017-10-31 Alan Modra <amodra@gmail.com>
5424 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
5427 2017-10-31 Alan Modra <amodra@gmail.com>
5429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
5430 Redefine only when SHARED.
5432 2017-10-30 Joseph Myers <joseph@codesourcery.com>
5434 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
5435 Include <bits/math-finite.h> with appropriate macros defined and
5437 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
5438 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
5439 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
5440 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
5441 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
5443 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
5444 [!_Mlong_double_] (_Mlong_double_): Likewise.
5445 [!_Mfloat16_] (_Mfloat16_): Likewise.
5446 [!_Mfloat32_] (_Mfloat32_): Likewise.
5447 [!_Mfloat64_] (_Mfloat64_): Likewise.
5448 [!_Mfloat128_] (_Mfloat128_): Likewise.
5449 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
5450 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
5451 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
5452 (_Mdouble_): Define without indirection through those macros.
5453 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
5454 [!_Mfloat128_] (_Mfloat128_): Likewise.
5455 [_Mlong_double_] (_Mlong_double_): Likewise.
5456 (_Mdouble_): Define without indirection through those macros.
5457 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
5458 not add -D_Mlong_double_=double.
5459 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
5460 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
5462 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
5464 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
5466 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
5468 * sysdeps/x86/libc-start.c: Reformat.
5470 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
5473 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
5477 (L(Src2)): Likewise.
5478 (L(1)): Renamed to ...
5481 2017-10-30 Joseph Myers <joseph@codesourcery.com>
5483 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
5484 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
5485 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
5486 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
5487 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
5488 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
5489 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
5490 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
5491 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
5492 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
5493 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
5494 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
5495 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
5496 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
5497 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
5498 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
5499 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
5500 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
5501 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
5502 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
5503 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
5504 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
5505 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
5506 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
5507 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
5508 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
5509 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
5510 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
5511 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
5512 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
5513 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
5514 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
5515 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
5516 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
5517 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
5518 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
5519 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
5520 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
5521 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
5522 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
5523 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
5524 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
5525 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
5526 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
5527 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
5528 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
5529 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
5530 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
5531 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
5532 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
5533 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
5534 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
5535 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
5536 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
5537 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
5538 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
5539 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
5540 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
5541 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
5542 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
5543 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
5544 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
5545 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
5546 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
5547 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
5548 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
5550 2017-10-30 Florian Weimer <fweimer@redhat.com>
5552 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
5554 * io/tst-mkdirat.c (do_test): Likewise.
5555 * io/tst-mkfifoat.c (do_test): Likewise.
5556 * io/tst-mknodat.c (do_test): Likewise.
5557 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
5558 * locale/programs/locale.c (select_dirs): Likewise.
5559 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
5560 * posix/bug-glob2.c (my_readdir): Likewise.
5561 * posix/tst-dir.c (main): Likewise.
5562 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
5563 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
5565 2017-10-30 Florian Weimer <fweimer@redhat.com>
5567 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
5570 2017-10-30 Florian Weimer <fweimer@redhat.com>
5572 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
5573 Convert to support/test-driver.c.
5574 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
5575 New macro parameters.
5576 (PRINTF): Remove macro. Use test_verbose conditionals instead.
5577 * posix/tst-gnuglob.c: New file.
5578 * posix/tst-gnuglob64.c: Likewise.
5579 * posix/Makefile (tests): Add tst-gnuglob64.
5581 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
5584 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
5585 and use a better translation for March in “mon”.
5586 * localedata/locales/csb_PL: Use more ASCII to improve the
5587 readability of the source.
5589 2017-10-30 Mike FABIAN <mfabian@redhat.com>
5592 * localedata/locales/km_KH: Use ASCII as much
5593 as possible for better readability of the source and
5594 remove useless comments.
5595 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
5596 was commented out and apparently wrong anyway because it was
5597 using Lao characters. If Buddhist era should be used
5598 for km_KH, a native speaker should write the correct formaat
5600 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
5601 (According to CLDR, the first weekday for Cambodia is Sunday).
5602 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
5603 (These were using Lao characters which must be wrong. If we get
5604 the correct data from a native speaker, we could add it back, until
5605 then it is better not to have name_mr and name_mrs at all than
5608 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
5610 * locale/loadlocale.c: Correct size of
5611 _nl_value_type_LC_<category> arrays.
5613 2017-10-27 Joseph Myers <joseph@codesourcery.com>
5615 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
5616 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
5617 with appropriate macros defined and undefined.
5618 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
5619 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
5620 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
5621 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
5622 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
5624 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
5626 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
5629 2017-10-27 Mike FABIAN <mfabian@redhat.com>
5631 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
5632 with lowercase letters to make it agree with CLDR.
5634 2017-10-27 Mike FABIAN <mfabian@redhat.com>
5637 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
5638 first letters of yesstr and nostr in yesexpr and noexpr,
5639 not for the full words.
5640 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
5641 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
5642 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
5643 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
5644 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
5645 first letters of yesstr and nostr in yesexpr and noexpr,
5646 until now only English was matched in yesexpr and noexpr.
5647 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
5648 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
5649 fil but not for tl. As tl and fil are very similar, using fil
5650 is probably better than using English.
5652 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
5655 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
5656 in yesstr and nostr.
5658 2017-10-26 Joseph Myers <joseph@codesourcery.com>
5660 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
5661 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
5662 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
5664 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
5666 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
5668 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
5670 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5671 (SNANF128X): Likewise.
5673 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
5674 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
5675 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5676 (HUGE_VAL_F32): Likewise.
5677 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5678 (HUGE_VAL_F64): Likewise.
5679 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5680 (HUGE_VAL_F32X): Likewise.
5681 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5682 (HUGE_VAL_F64X): Likewise.
5683 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5684 (HUGE_VAL_F128X): Likewise.
5686 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
5688 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
5689 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
5690 for the br_FR locale.
5692 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
5695 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
5697 2017-10-25 Carlos O'Donell <carlos@redhat.com>
5699 * locale/programs/record-status.h: Define globals, and function
5700 prototypes. Move function bodies...
5701 * locale/programs/record-status.c: ... to here. New file.
5702 * iconv/Makefile (iconv_prog-modules): Add record-status.
5703 * locale/Makefile (lib-modules): Likewise.
5704 * iconv/iconv_prog.c: Remove verbose.
5705 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
5706 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
5707 record a warning about ASCII compatibility.
5708 * locale/programs/ld-monetary.c (monetary_finish): If
5709 warn_int_curr_symbol is true then record a warning about the symbol
5710 not being in our ISO 4217 list.
5711 * locale/programs/locale.c: Include record-status.h. Remove verbose.
5712 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
5713 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
5714 (OPT_NO_WARN): Define.
5716 (options): Add entry for --no-warnings, and --warnings.
5717 (set_warnings): New function to enable/disable warnings.
5718 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
5719 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
5720 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
5721 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
5722 Pass flags to generate_locale.
5723 (generate_locale): Accept new flag argument and pass it to localedef
5725 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
5726 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
5728 * localedata/Makefile (test-input-data): Use full file name.
5729 * localedata/da_DK.in: Rename to...
5730 * localedata/da_DK.ISO-8859-1.in: ...this.
5731 * localedata/de_DE.in: Rename to...
5732 * localedata/de_DE.ISO-8859-1.in: ...this.
5733 * localedata/en_US.in: Rename to...
5734 * localedata/en_US.ISO-8859-1.in: ...this.
5735 * localedata/fr_FR.in: Rename to...
5736 * localedata/fr_FR.UTF-8.in: ... this.
5737 * localedata/hr_HR.in: Rename to...
5738 * localedata/hr_HR.ISO-8859-2.in: ...this.
5739 * localedata/hu_HU.in: Rename to...
5740 * localedata/hu_HU.UTF-8.in: ...this.
5741 * localedata/si_LK.in: Rename to...
5742 * localedata/si_LK.UTF-8.in: ...this.
5743 * localedata/sv_SE.in: Rename to...
5744 * localedata/sv_SE.ISO-8859-1.in: ...this.
5745 * localedata/tr_TR.in: Rename to...
5746 * localedata/tr_TR.UTF-8.in: ...this.
5747 * localedata/uk_UA.in: Rename to...
5748 * localedata/uk_UA.UTF-8.in: ...this.
5749 * localedata/sort-test.sh: Test file is locale name with the
5752 * localedata/unicode-gen/Makefile (check_i18n): Rename to
5753 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
5755 * localedata/locales/i18n_ctype: Regenerate.
5756 * localedata/locales/tr_TR: Likewise.
5757 * localedata/locales/translit_circle: Likewise.
5758 * localedata/locales/translit_cjk_compat: Likewise.
5759 * localedata/locales/translit_combining: Likewise.
5760 * localedata/locales/translit_compat: Likewise.
5761 * localedata/locales/translit_font: Likewise.
5762 * localedata/locales/translit_fraction: Likewise.
5764 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5766 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
5767 lxvd2x/stxvd2x with lvx/stvx.
5768 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
5770 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
5772 * include/alloc_buffer.h: Replace "if if " with "if " in
5774 * sysdeps/mips/memcpy.S: Likkewise.
5775 * sysdeps/mips/memset.S: Likewise.
5776 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
5778 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
5780 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
5783 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5786 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
5788 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
5789 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
5790 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
5791 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
5792 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
5793 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
5794 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
5796 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5798 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
5799 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
5800 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
5801 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
5802 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
5803 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
5804 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
5805 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
5806 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
5807 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
5808 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
5809 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
5811 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5813 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
5814 as possible for better readability of the source.
5815 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
5816 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
5817 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
5818 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
5819 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
5820 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
5821 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
5822 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
5823 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
5824 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
5825 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
5826 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
5827 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
5828 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
5829 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
5830 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
5831 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
5832 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
5833 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
5834 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
5835 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
5836 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
5837 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
5838 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
5839 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
5840 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
5841 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
5842 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
5843 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
5844 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
5845 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
5846 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
5847 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
5848 * localedata/locales/en_US (LC_MESSAGES): Likewise.
5849 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
5850 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
5851 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
5852 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
5853 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
5854 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
5855 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
5856 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
5857 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
5858 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
5859 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
5860 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
5861 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
5862 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
5863 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
5864 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
5865 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
5866 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
5867 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
5868 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
5869 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
5870 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
5871 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
5872 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
5873 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
5874 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
5875 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
5876 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
5877 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
5878 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
5879 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
5880 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
5881 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
5882 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
5883 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
5884 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
5885 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
5886 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
5887 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
5888 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
5889 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
5890 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
5891 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
5892 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
5893 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
5894 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
5895 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
5896 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
5897 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
5898 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
5899 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
5900 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
5901 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
5902 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
5903 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
5904 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
5905 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
5906 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
5907 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
5908 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
5909 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
5910 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
5911 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
5912 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
5913 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
5914 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
5915 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
5916 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
5917 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
5918 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
5919 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
5920 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
5921 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
5922 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
5923 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
5924 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
5925 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
5926 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
5927 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
5928 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
5929 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
5930 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
5931 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
5932 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
5933 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
5934 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
5935 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
5936 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
5937 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
5938 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
5939 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
5940 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
5941 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
5942 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
5943 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
5944 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
5945 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
5946 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
5947 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
5948 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
5949 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
5950 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
5951 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
5952 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
5953 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
5954 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
5955 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
5956 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
5957 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
5958 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
5959 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
5960 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
5961 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
5962 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
5963 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
5964 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
5965 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
5966 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
5967 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
5968 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
5969 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
5970 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
5971 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
5972 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
5973 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
5974 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
5975 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
5976 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
5977 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
5978 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
5979 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
5980 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
5981 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
5982 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
5983 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
5984 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
5985 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
5986 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
5987 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
5988 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
5990 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5992 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
5993 (Use first letters of yesstr and nostr correctly instead of using
5996 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5998 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
5999 (Use first letters of yesstr and nostr correctly).
6001 2017-10-25 Mike FABIAN <mfabian@redhat.com>
6003 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
6004 also check for the first characters of yesstr and nostr.
6005 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
6006 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
6008 2017-10-25 Mike FABIAN <mfabian@redhat.com>
6010 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
6011 also check for Chinese characters.
6013 2017-10-25 Mike FABIAN <mfabian@redhat.com>
6015 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
6016 match also for the contents of yesstr and nostr. As the first letter
6017 of yesstr and nostr is equal, checking only for the first letter
6020 2017-10-25 Mike FABIAN <mfabian@redhat.com>
6022 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
6023 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
6025 2017-10-25 Mike FABIAN <mfabian@redhat.com>
6027 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
6028 of main contributor.
6030 2017-10-25 Mike FABIAN <mfabian@redhat.com>
6032 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
6033 instead of using English.
6035 2017-10-25 Mike FABIAN <mfabian@redhat.com>
6037 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
6038 by including the first letters of nostr and yesexpr in the regexp.
6039 Also make it more readable by using ASCII where possible.
6041 2017-10-25 Mike FABIAN <mfabian@redhat.com>
6043 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
6044 the first letter of nostr in the regexp. It agrees with CLDR now.
6045 Also make it more readable by using ASCII where possible.
6047 2017-10-24 Mike FABIAN <mfabian@redhat.com>
6049 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
6050 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
6051 these strings contain a U+17D6 (which somewhat looks like a colon)
6052 instead of a real colon to separate the full words for “yes”
6053 and “no” from the single letter responses.
6055 2017-10-24 Mike FABIAN <mfabian@redhat.com>
6057 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
6058 it agree with CLDR (include the first letter of yesstr).
6059 Also make it more readable by using ASCII where possible.
6061 2017-10-24 Mike FABIAN <mfabian@redhat.com>
6063 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
6064 and improve yesexpr and noexpr. The yesstr and nostr apparently
6065 came from CLDR. And CLDR has a bug there: these strings contain
6066 a U+0903 (which looks like a colon) instead of a real colon
6067 to separate the full words for “yes” and “no” from the single
6070 2017-10-24 Mike FABIAN <mfabian@redhat.com>
6072 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
6073 letters of the full yesstr and nostr in yesexpr and noexpr.
6075 2017-10-24 Mike FABIAN <mfabian@redhat.com>
6077 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
6078 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
6079 * localedata/locales/an_ES: Make source more readable by using ASCII
6082 2017-10-24 Mike FABIAN <mfabian@redhat.com>
6085 * localedata/locales/yuw_PG: New file.
6086 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
6087 * locale/iso-639.def: Add Yau (Uruwa).
6089 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6091 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
6093 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6095 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
6096 (__libc_realloc): Likewise.
6097 (_mid_memalign): Likewise.
6098 (__libc_calloc): Likewise.
6100 2017-10-23 Mike FABIAN <mfabian@redhat.com>
6102 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
6103 by adding the generic +1 and -0 as in all other locales.
6104 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
6105 day names and make it more readable by using ASCII where possible.
6107 2017-10-24 Joseph Myers <joseph@codesourcery.com>
6109 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
6110 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
6112 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6114 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
6115 WNOHANG in waitpid call.
6117 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
6119 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
6120 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
6122 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
6123 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
6124 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
6125 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
6126 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
6127 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
6128 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
6129 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
6132 2017-10-23 Michael Collison <michael.collison@arm.com>
6134 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
6135 with __builtin_sqrt.
6136 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
6137 with __builtin_sqrtf.
6138 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
6139 with __builtin_ceil.
6140 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
6141 with __builtin_ceilf.
6142 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
6143 with __builtin_floor.
6144 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
6145 with __builtin_floorf.
6146 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
6148 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
6149 with __builtin_fmaf.
6150 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
6151 with __builtin_fmax.
6152 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
6153 with __builtin_fmaxf.
6154 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
6155 with __builtin_fmin.
6156 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
6157 with __builtin_fminf.
6158 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
6159 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
6160 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
6161 with builtin_rint and conversion to int.
6162 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
6163 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
6164 with builtin_llround.
6165 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
6166 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
6167 with builtin_rint and conversion to long int.
6168 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
6169 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
6170 with builtin_lround.
6171 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
6172 with builtin_lroundf.
6173 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
6174 statements with __builtin_nearbyint.
6175 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
6176 statements with __builtin_nearbyintf.
6177 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
6178 with __builtin_rint.
6179 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
6180 with __builtin_rintf.
6181 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
6182 with __builtin_round.
6183 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
6184 with __builtin_roundf.
6185 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
6186 with __builtin_trunc.
6187 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
6188 with __builtin_truncf.
6189 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
6190 and s_l[l]round[f].c too.
6192 2017-10-23 Alan Modra <amodra@gmail.com>
6194 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
6195 Adjust stack after restoring regs. Add missing LR cfi_restore.
6197 2017-10-23 Alan Modra <amodra@gmail.com>
6199 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
6200 Move LR save and frame setup/teardown and LR restore to
6201 immediately around memset call. Provide cfi.
6203 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6205 * sysdeps/i386/fpu/e_powf.S: Removed.
6206 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
6207 * sysdeps/i386/fpu/w_powf.c: Likewise.
6208 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
6209 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6210 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
6212 (CFLAGS-e_powf-sse2.c): New.
6213 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
6214 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
6216 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6218 * sysdeps/i386/fpu/e_log2f.S: Removed.
6219 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
6220 * sysdeps/i386/fpu/w_log2f.c: Likewise.
6221 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
6222 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6223 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
6225 (CFLAGS-e_log2f-sse2.c): New.
6226 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
6227 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
6229 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6231 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6233 (CFLAGS-e_powf-fma.c): New.
6234 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
6235 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
6237 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6239 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6241 (CFLAGS-e_log2f-fma.c): New.
6242 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
6243 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
6245 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6247 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6249 (CFLAGS-e_logf-fma.c): New.
6250 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
6251 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
6253 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6255 * sysdeps/i386/fpu/e_logf.S: Removed.
6256 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
6257 * sysdeps/i386/fpu/w_logf.c: Likewise.
6258 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
6259 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
6260 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6261 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
6263 (CFLAGS-e_logf-sse2.c): New.
6264 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
6265 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
6267 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6269 * sysdeps/i386/fpu/e_exp2f.S: Removed.
6270 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
6271 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
6272 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6273 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
6275 (CFLAGS-e_exp2f-sse2.c): New.
6276 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
6277 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
6279 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6281 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6283 (CFLAGS-e_exp2f-fma.c): New.
6284 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
6285 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
6287 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6289 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
6290 * sysdeps/i386/fpu/e_expf.S: Likewise.
6291 * sysdeps/i386/fpu/math_errf.c: Likewise.
6292 * sysdeps/i386/fpu/w_expf.c: Likewise.
6293 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
6294 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6295 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
6296 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
6297 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6298 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
6300 (CFLAGS-e_expf-sse2.c): New.
6301 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
6302 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
6304 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6306 * sysdeps/x86_64/fpu/e_expf.S: Removed.
6307 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
6308 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
6309 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
6311 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
6313 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
6314 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
6316 (__redirect_expf): This.
6317 (SYMBOL_NAME): Changed to expf.
6318 (__ieee754_expf): Renamed to ...
6320 (__GI___expf): This.
6321 (__ieee754_expf): Add strong_alias.
6322 (__expf_finite): Likewise.
6324 Include <sysdeps/ieee754/flt-32/e_expf.c>.
6326 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
6329 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
6332 2017-10-21 Florian Weimer <fweimer@redhat.com>
6334 * posix/Makefile (tests): Add tst-glob-tilde.
6335 (tests-special): Add tst-glob-tilde-mem.out
6336 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
6337 (tst-glob-tilde-mem.out): Add mtrace check.
6338 * posix/tst-glob-tilde.c: New file.
6340 2017-10-20 Joseph Myers <joseph@codesourcery.com>
6342 * bits/floatn-common.h: New file.
6343 * math/Makefile (headers): Add bits/floatn-common.h.
6344 * bits/floatn.h: Include <bits/floatn-common.h>.
6345 * sysdeps/ia64/bits/floatn.h: Likewise.
6346 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
6347 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
6348 * sysdeps/powerpc/bits/floatn.h: Likewise.
6349 * sysdeps/x86/bits/floatn.h: Likewise.
6351 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6353 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
6354 indicates whether compiler emits an warning for alias for
6355 functions with incompatible types.
6358 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
6359 the auxiliary process is terminated by a signal before calling _exit
6362 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
6365 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
6367 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
6368 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
6369 and bit_arch_XSAVEC_Usable if needed.
6370 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
6371 and bit_arch_Use_dl_runtime_resolve_opt.
6372 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
6374 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
6375 (bit_arch_Prefer_No_AVX512): Updated.
6376 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
6377 (bit_arch_XSAVEC_Usable): New.
6378 (STATE_SAVE_OFFSET): Likewise.
6379 (STATE_SAVE_MASK): Likewise.
6380 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
6381 (cpu_features): Add xsave_state_size and xsave_state_full_size.
6382 (index_arch_Use_dl_runtime_resolve_opt): Removed.
6383 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
6384 (index_arch_XSAVEC_Usable): New.
6385 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
6386 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
6387 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
6389 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
6390 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
6391 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
6392 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
6393 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
6394 _dl_runtime_resolve_xsavec.
6395 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
6397 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
6398 instead of VEC_SIZE.
6399 (REGISTER_SAVE_BND0): Removed.
6400 (REGISTER_SAVE_BND1): Likewise.
6401 (REGISTER_SAVE_BND3): Likewise.
6402 (REGISTER_SAVE_RAX): Always defined to 0.
6404 (_dl_runtime_resolve_avx): Likewise.
6405 (_dl_runtime_resolve_avx_slow): Likewise.
6406 (_dl_runtime_resolve_avx_opt): Likewise.
6407 (_dl_runtime_resolve_avx512): Likewise.
6408 (_dl_runtime_resolve_avx512_opt): Likewise.
6409 (_dl_runtime_resolve_sse): Likewise.
6410 (_dl_runtime_resolve_sse_vex): Likewise.
6412 (_dl_runtime_resolve_fxsave): Likewise.
6413 (USE_XSAVE): Likewise.
6414 (_dl_runtime_resolve_xsave): Likewise.
6415 (USE_XSAVEC): Likewise.
6416 (_dl_runtime_resolve_xsavec): Likewise.
6417 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
6419 (_dl_runtime_resolve_avx512_opt): Likewise.
6420 (_dl_runtime_resolve_avx): Likewise.
6421 (_dl_runtime_resolve_avx_opt): Likewise.
6422 (_dl_runtime_resolve_sse): Likewise.
6423 (_dl_runtime_resolve_sse_vex): Likewise.
6424 (_dl_runtime_resolve_fxsave): New.
6425 (_dl_runtime_resolve_xsave): Likewise.
6426 (_dl_runtime_resolve_xsavec): Likewise.
6428 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
6432 * posix/glob.c (__glob): Fix one-byte overflow.
6434 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
6436 * malloc/malloc.c (sysdep-cancel.h): Add include.
6438 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
6440 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
6442 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
6444 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
6445 (tests): Remove $(objpfx)ga_test depdendency.
6446 * resolv/ga_test.c: Remove file.
6448 2017-10-20 Mike FABIAN <mfabian@redhat.com>
6451 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
6452 * localedata/locales/kab_DZ: New file.
6454 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
6456 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
6457 _dl_relocate_static_pie instead of _dl_start to compute load
6458 address in static PIE.
6460 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
6462 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
6464 2017-10-20 Mike FABIAN <mfabian@redhat.com>
6467 * localedata/SUPPORTED: Add shn_MM/UTF-8.
6468 * localedata/locales/shn_MM: New file.
6470 2017-10-20 Florian Weimer <fweimer@redhat.com>
6473 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
6474 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
6475 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
6476 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
6477 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
6478 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
6480 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
6482 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6484 2017-10-19 Joseph Myers <joseph@codesourcery.com>
6486 * sysdeps/mips/ieee754/bits/floatn.h: New file.
6489 * sysdeps/mips/bits/long-double.h: Move to ....
6490 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
6492 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
6494 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
6496 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
6497 H.J. Lu <hongjiu.lu@intel.com>
6500 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
6501 GLRO(dl_platform) to NULL.
6502 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
6503 (modules-names): Add tst-platformmod-1 and
6504 x86_64/tst-platformmod-2.
6505 (CFLAGS-tst-platform-1.c): New.
6506 (CFLAGS-tst-platformmod-1.c): Likewise.
6507 (CFLAGS-tst-platformmod-2.c): Likewise.
6508 (LDFLAGS-tst-platformmod-2.so): Likewise.
6509 ($(objpfx)tst-platform-1): Likewise.
6510 ($(objpfx)tst-platform-1.out): Likewise.
6511 (tst-platform-1-ENV): Likewise.
6512 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
6513 * sysdeps/x86_64/tst-platform-1.c: New file.
6514 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
6515 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
6517 2017-10-19 Mike FABIAN <mfabian@redhat.com>
6520 * locale/iso-639.def: Add Karbi.
6521 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
6522 * localedata/locales/mjw_IN: New file.
6524 2017-10-18 Joseph Myers <joseph@codesourcery.com>
6526 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
6527 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
6528 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
6529 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
6530 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
6531 (libm_alias_ldouble_other_r): Also create _Float128 alias.
6532 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
6534 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
6535 (libm_alias_ldouble_other_r): Also create _Float128 alias.
6536 * manual/math.texi (Mathematics): Document additional architecture
6537 support for _Float128.
6538 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
6539 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6540 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6541 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6542 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6543 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6544 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6545 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6546 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6547 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6548 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6549 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6550 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6551 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6552 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6554 2017-10-18 Renlin Li <renlin.li@arm.com>
6556 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
6557 _DYNAMIC symbol to calculate load address.
6559 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
6561 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
6562 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
6564 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
6565 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
6567 2017-10-18 Mike FABIAN <mfabian@redhat.com>
6570 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
6571 and improve readability by using more ASCII.
6572 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
6573 and improve readability by using more ASCII.
6575 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
6577 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
6578 not all targets support atomics on bool.
6580 2017-10-17 Joseph Myers <joseph@codesourcery.com>
6582 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
6583 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
6585 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
6586 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
6587 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
6588 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
6589 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
6590 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
6592 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6594 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
6597 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
6600 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
6601 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
6602 (do_check_remalloced_chunk): Fix build bug.
6603 (do_check_malloc_state): Add assert that checks arena->top.
6604 (malloc_consolidate): Remove initialization.
6605 (int_mallinfo): Remove call to malloc_consolidate.
6606 (__libc_mallopt): Clarify why malloc_consolidate is needed.
6608 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
6610 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
6611 (have_fastchunks): Remove.
6612 (clear_fastchunks): Remove.
6613 (set_fastchunks): Remove.
6614 (malloc_state): Add have_fastchunks.
6615 (malloc_init_state): Use have_fastchunks.
6616 (do_check_malloc_state): Remove incorrect invariant checks.
6617 (_int_malloc): Use have_fastchunks.
6618 (_int_free): Likewise.
6619 (malloc_consolidate): Likewise.
6621 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
6623 * malloc/malloc.c (tcache_put): Inline.
6624 (tcache_get): Inline.
6626 2017-10-17 Jordi Mallach <jordi@gnu.org>
6628 Aurelien Jarno <aurelien@aurel32.net>
6630 * localedata/locales/ca_ES@valencia: New file.
6631 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
6633 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
6636 * math/math.h: Let signbit use the builtin in C++ mode with gcc
6639 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6641 * scripts/build-many-glibcs.py (Context.add_all_configs):
6642 Add arm-linux-gnueabihf multiarch extra_glibcs.
6644 * sysdeps/generic/ifunc-init.h: New file.
6645 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
6647 2017-10-17 Mike FABIAN <mfabian@redhat.com>
6650 * localedata/locales/el_GR: Set n_cs_precedes to 0.
6651 * localedata/locales/el_CY: copy "el_GR" because it is identical.
6652 * stdlib/tst-strfmon_l.c: adapt test case.
6654 2017-10-16 Joseph Myers <joseph@codesourcery.com>
6656 * sysdeps/generic/float128-abi.h: New file.
6657 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
6658 non-__prefixed symbols to ....
6659 * math/Versions: ... here. Include <float128-abi.h>.
6660 * stdlib/Versions ... and here. Include <float128-abi.h>
6662 2017-10-16 Florian Weimer <fweimer@redhat.com>
6664 * version.h (VERSION): Switch to ".9000" as the development
6667 2017-10-16 Florian Weimer <fweimer@redhat.com>
6670 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
6671 compat_symbol_reference to access non-default version.
6673 2017-10-16 Florian Weimer <fweimer@redhat.com>
6675 * malloc/Makefile (others-extras): Set to mcheck-init.o.
6677 2017-10-16 Carlos O'Donell <carlos@redhat.com>
6679 * include/shlib-compat.h (compat_symbol_reference): Update
6682 2017-10-16 Joseph Myers <joseph@codesourcery.com>
6684 * math/Makefile (test-types): Add
6685 $(type-float128-$(float128-alias-fcts)).
6686 * math/test-float128.h (TYPE_STR): Define conditional on
6687 [FLT128_MANT_DIG == LDBL_MANT_DIG].
6688 (ULP_IDX): Likewise.
6689 (ULP_I_IDX): Likewise.
6691 * stdlib/strtold.c: Include <bits/floatn.h>
6692 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
6693 and later undefine as macro. Define as weak alias if
6695 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
6696 and later undefine as macro. Define as weak alias if
6698 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
6699 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
6700 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
6701 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
6702 Define and later undefine as macro. Define as weak alias if
6704 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
6706 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
6707 Define and later undefine as macro. Define as weak alias if
6709 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
6710 Define and later undefine as macro. Define as weak alias if
6713 2017-10-15 Carlos O'Donell <carlos@redhat.com>
6715 * localedata/collate-test.c (allocate_arrays): Don't use \n in
6716 record_verbose messages.
6718 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
6721 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
6722 to silence -O3 -Wall warning with GCC 7.
6724 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
6726 * Makeconfig (+link-static-before-libc): Use the first of
6727 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
6728 * gmon/Makefile (tests): Add tst-gmon-static.
6729 (tests-static): Likewise.
6730 (CFLAGS-tst-gmon-static.c): New.
6731 (CRT-tst-gmon-static): Likewise.
6732 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
6733 (tst-gmon-static-ENV): Likewise.
6734 (tests-special): Likewise.
6735 ($(objpfx)tst-gmon-static.out): Likewise.
6736 (clean-tst-gmon-static-data): Likewise.
6737 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
6738 * gmon/tst-gmon-static-gprof.sh: New file.
6739 * gmon/tst-gmon-static.c: Likewise.
6741 2017-10-13 Carlos O'Donell <carlos@redhat.com>
6744 * locale/programs/linereader.c (get_string): Don't warn on
6745 non-symbolic character.
6748 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
6752 * locale/programs/record-status.h: New file
6753 * locale/programs/locale.c: Add comment.
6754 * locale/programs/charmap-dir.c: Don't include error.h.
6755 (charmap_opendir): Use record_error.
6756 * locale/programs/charmap.c: Don't include error.h.
6757 (charmap_read): Use record_error, and record_warning.
6758 (parse_charmap): Likewise.
6759 * locale/programs/ld-address.c: Don't include error.h.
6760 (address_finish): Use record_error, and record_warning.
6761 * locale/programs/ld-collate.c: Don't include error.h.
6762 (collate_finish): Use record_error, and record_error_at_line.
6763 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
6764 (ctype_class_new): Likewise.
6765 (ctype_map_new): Likewise.
6766 (set_one_default): Likewise.
6767 (set_class_defaults): Likewise.
6768 (translit_flatten): Likewise.
6769 (allocate_arrays): Use record_error, and record_verbose.
6770 * locale/programs/ld-identification.c: Don't include error.h.
6771 (indentation_finish): Use record_error and record_warning.
6772 * locale/programs/ld-measurement.c: Don't include error.h.
6773 (measurement_finish): Use record_error.
6774 * locale/programs/ld-messages.c
6775 (message_finish): Likewise.
6776 * locale/programs/ld-monetary.c
6777 (monetary_finish): Likewise.
6778 * locale/programs/ld-name.c (name_finish): Use record_error
6780 * locale/programs/ld-numeric.c
6781 (numeric_finish): Use record_error.
6782 * locale/programs/ld-paper.c: Don't include error.h.
6783 (paper_finish): Use record_error.
6784 * locale/programs/ld-telephone.c: Don't include error.h.
6785 (telephone_finish): Use record_error.
6786 * locale/programs/ld-time.c (time_finish): Likewise.
6787 * locale/programs/linereader.h (lr_error): Make inline func.
6788 * locale/programs/localedef.c: Define recorded_warning_count,
6789 and recorded_error_count.
6790 (main): Use record_error. Use recorded_error_count and
6791 recorded_warning_count to issue correct error returns.
6792 (add_to_readlist): Use record_error.
6793 (find_locale): Likewise.
6794 (load_locale): Likewise.
6795 * locale/programs/localedef.h: Remove be_quiet
6796 and WITH_CUR_LOCALE.
6797 * locale/programs/locarchive.c (compare_from_file): Use
6799 * locale/programs/locfile.c (write_locale_data): Use
6801 * locale/programs/repertoire.c: Dont include error.h.
6802 (repertoire_complain): Use record_error.
6803 * localedata/tst-fmon.sh: Expect failures from localedef.
6804 * localedata/tst-locale.sh: Likewise.
6805 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
6807 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
6808 (REPORTS): Likewise.
6810 (i18n): Rename to...
6811 (i18n_ctype): ...this.
6812 (i18n-report): Rename to...
6813 (i18n_ctype-report): ...this.
6814 * localedata/locales/i18n_ctype: Regenerate.
6815 * localedata/locales/i18n: copy i18n_ctype.
6817 2017-10-13 Joseph Myers <joseph@codesourcery.com>
6819 * stdlib/strfroml.c: Include <bits/floatn.h>.
6820 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
6821 Define before include of <stdlib.h> and undefine afterwards, then
6822 define as weak alias.
6824 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
6825 Undefine and restore default definition. Use
6826 libm_alias_ldouble_other.
6828 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
6831 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
6834 2017-10-13 James Clarke <jrtc27@jrtc27.com>
6836 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6837 Assign sym_map to be map for local symbols, as TLS relocations
6838 use sym_map to determine whether the symbol is defined and to
6839 extract the TLS information.
6840 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6841 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6843 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6846 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
6847 (math_force_eval): Add powerpc version.
6850 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
6852 (do_test): Likewise.
6853 * stdio-common/tst-printf.sh: Likewise.
6854 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
6855 ifdef clause in order to set the carry bit right. Replace r0 by
6856 0 without changing the behavior.
6858 2017-10-13 Joseph Myers <joseph@codesourcery.com>
6860 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
6861 <libm-alias-ldouble.h>.
6862 (fabsl): Define using libm_alias_ldouble.
6863 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
6864 <libm-alias-ldouble.h>.
6865 (fabsl): Define using libm_alias_ldouble.
6867 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
6868 Remove conditional code.
6870 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
6871 Rename to __clog10_internal_l.
6872 (__clog10_internal_l): Define aliases using
6873 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
6876 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6878 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
6879 * benchtests/sincosf-inputs: New file.
6880 * benchtests/cosf-inputs: New file.
6881 * benchtests/sinf-inputs: New file.
6883 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6885 * posix/tst-spawn.c (do_test): Wait for both children.
6887 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
6890 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
6891 tests-pie): Add tst-gmon-pie.
6892 (CFLAGS-tst-gmon-pie.c): New.
6893 (CRT-tst-gmon-pie): Likewise.
6894 (tst-gmon-pie-ENV): Likewise.
6895 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
6896 ($(objpfx)tst-gmon-pie.out): Likewise.
6897 (clean-tst-gmon-pie-data): Likewise.
6898 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
6899 * gmon/gmon.c [PIC]: Include <link.h>.
6900 [PIC] (callback): New function.
6901 (write_hist): Add an argument for load address. Subtract load
6903 (write_call_graph): Likewise.
6904 (write_gmon): Call __dl_iterate_phdr to get load address, pass
6905 it to write_hist and write_call_graph.
6906 * gmon/tst-gmon-pie.c: New file.
6908 2017-10-11 Joseph Myers <joseph@codesourcery.com>
6910 * math/Makefile (test-types-basic): New variable.
6911 (test-types): Likewise.
6912 (libm-test-support): Use $(test-types) instead of $(types).
6913 (libm-tests-base-normal): Likewise.
6914 (libm-tests-base-finite): Likewise.
6915 (libm-tests-base-inline): Likewise.
6916 (generated): Likewise.
6917 ($(objpfx)libm-test-support-$(t).c): Likewise.
6918 (libm-tests-for-type iterator): Likewise.
6919 (libm-test-support iterator): Likewise.
6920 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
6921 (ulp_idx): Use ULP_IDX.
6922 * math/test-ldouble.h: Include <float.h>.
6923 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
6924 (ULP_IDX): New macro.
6925 (ULP_I_IDX): Likewise.
6926 * math/test-double.h (ULP_IDX): Likewise.
6927 (ULP_I_IDX): Likewise.
6928 * math/test-float.h (ULP_IDX): Likewise.
6929 (ULP_I_IDX): Likewise.
6930 * math/test-float128.h (ULP_IDX): Likewise.
6931 (ULP_I_IDX): Likewise.
6933 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6935 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
6936 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6937 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6938 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
6939 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6940 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
6941 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
6942 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6943 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6944 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6945 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
6946 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6947 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6948 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6949 (SINGLE_THREAD_BY_GLOBAL): Define.
6950 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
6952 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
6954 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
6956 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
6958 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
6959 (SINGLE_THREAD_BY_GLOBAL): Likewise.
6960 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
6963 2017-10-11 Andreas Schwab <schwab@suse.de>
6965 * nis/Makefile (aux): Remove.
6966 * nscd/Makefile (aux): Add nscd_hash.
6967 (nscd-modules): Likewise.
6968 ($(objpfx)nscd): Don't depend on libnsl.
6969 * nscd/nscd_hash.c: New file.
6970 * nscd/nscd_hash.h: Likewise.
6971 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
6972 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
6973 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
6974 instead of <nis/rpcsvc/nis.h>.
6975 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
6977 2017-10-11 Florian Weimer <fweimer@redhat.com>
6980 Avoid large NSS buffers with many addresses, aliases.
6981 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
6982 using dynarrays and struct alloc_buffer.
6983 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
6984 (tst-nss-files-hosts-multi): Link with -ldl.
6985 * nss/tst-nss-files-hosts-multi.c: New file.
6987 2017-10-11 Florian Weimer <fweimer@redhat.com>
6990 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
6991 scratch_buffer. Eliminate gotos.
6993 2017-10-11 Joseph Myers <joseph@codesourcery.com>
6995 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
6996 libm_alias_ldouble_other.
6997 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
6998 undefine and redefine.
6999 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
7000 (exp10l): Do not define here.
7001 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
7002 (weak_alias): Undefine and redefine.
7003 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
7004 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
7005 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
7006 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
7008 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
7009 [!__fma] (fma): Define using libm_alias_double.
7010 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
7011 [!__fmaf] (fmaf): Define using libm_alias_float.
7012 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
7013 (fmal): Define using libm_alias_ldouble.
7015 2017-10-10 Joseph Myers <joseph@codesourcery.com>
7017 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
7019 (libm_alias_double_other): Likewise.
7020 (libm_alias_double_r): Use libm_alias_double_other_r.
7021 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
7023 (libm_alias_float_other): Likewise.
7024 (libm_alias_float_r): Use libm_alias_float_other_r.
7025 * sysdeps/generic/libm-alias-float128.h
7026 (libm_alias_float128_other_r): New macro.
7027 (libm_alias_float128_other): Likewise.
7028 (libm_alias_float128_r): Use libm_alias_float128_other_r.
7029 * sysdeps/generic/libm-alias-ldouble.h
7030 (libm_alias_ldouble_other_r): New macro.
7031 (libm_alias_ldouble_other): Likewise.
7032 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
7033 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
7034 (libm_alias_double_other_r): New macro.
7035 (libm_alias_double_other): Likewise.
7036 (libm_alias_double_r): Use libm_alias_double_other_r.
7037 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
7038 (libm_alias_ldouble_other_r): New macro.
7039 (libm_alias_ldouble_other): Likewise.
7040 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
7041 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
7042 [!USE_AS_COMPAT]: Use libm_alias_double_other.
7043 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
7044 [!USE_AS_COMPAT]: Use libm_alias_float_other.
7045 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
7046 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
7047 * math/w_exp2f.c: Use libm_alias_float_other.
7048 * math/w_expf.c: Likewise.
7049 * math/w_log2f.c: Likewise.
7050 * math/w_logf.c: Likewise.
7051 * math/w_powf.c: Likewise.
7052 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
7053 [!__exp2f]: Use libm_alias_float_other.
7054 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
7055 [!__expf]: Use libm_alias_float_other.
7056 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
7057 [!__log2f]: Use libm_alias_float_other.
7058 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
7059 [!__logf]: Use libm_alias_float_other.
7060 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
7061 [!__powf]: Use libm_alias_float_other.
7063 2017-10-10 Florian Weimer <fweimer@redhat.com>
7065 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
7067 (_nss_files_gethostbyname3_r): Call it.
7069 2017-10-09 Joseph Myers <joseph@codesourcery.com>
7071 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
7072 error. Remove default definition of declare_mgen_alias.
7073 [!declare_mgen_alias_r]: Likewise.
7074 * sysdeps/generic/math-type-macros-double.h
7075 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
7076 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
7077 (declare_mgen_alias_r): Likewise.
7078 * sysdeps/generic/math-type-macros-float128.h
7079 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
7080 * sysdeps/generic/math-type-macros-ldouble.h
7081 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
7082 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
7084 (declare_mgen_alias_r_s): Likewise.
7085 (declare_mgen_alias_r): Likewise.
7086 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
7087 (lgamma_r): Define using libm_alias_double_r.
7088 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
7089 (lgammaf_r): Define using libm_alias_float_r.
7090 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
7091 (lgammal_r): Define using libm_alias_ldouble_r.
7092 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
7093 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
7095 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7097 * lib/glob.c (__glob_pattern_type): Remove now-spurious
7100 2017-10-09 Joseph Myers <joseph@codesourcery.com>
7102 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
7104 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
7107 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
7108 [__cplusplus >= 201103] (__USE_ISOC99): Define.
7109 * math/Makefile (test-math-cxx11): New test.
7110 * math/test-math-cxx11.cc: New file.
7112 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
7114 * login/openpty.c (openpty): Close slave pty file descriptor on error.
7116 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
7117 call to allocate the slave pty file descriptor.
7119 2017-10-06 Joseph Myers <joseph@codesourcery.com>
7121 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
7122 [!__fma] (fma): Define using libm_alias_double.
7123 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
7124 [!__fma] (fma): Define using libm_alias_double.
7126 * sysdeps/ieee754/float128/float128_private.h: Include
7127 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
7128 (libm_alias_ldouble_r): Undefine and redefine.
7129 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
7130 <libm-alias-ldouble.h>.
7131 (asinhl): Define using libm_alias_ldouble.
7132 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
7133 <libm-alias-ldouble.h>.
7134 (atanl): Define using libm_alias_ldouble.
7135 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
7136 <libm-alias-ldouble.h>.
7137 (cbrtl): Define using libm_alias_ldouble.
7138 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
7139 <libm-alias-ldouble.h>.
7140 (ceill): Define using libm_alias_ldouble.
7141 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
7142 <libm-alias-ldouble.h>.
7143 (copysignl): Define using libm_alias_ldouble.
7144 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
7145 <libm-alias-ldouble.h>.
7146 (cosl): Define using libm_alias_ldouble.
7147 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
7148 <libm-alias-ldouble.h>.
7149 (erfl): Define using libm_alias_ldouble.
7151 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
7152 <libm-alias-ldouble.h>.
7153 (expm1l): Define using libm_alias_ldouble.
7154 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
7155 <libm-alias-ldouble.h>.
7156 (fabsl): Define using libm_alias_ldouble.
7157 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
7158 <libm-alias-ldouble.h>.
7159 (floorl): Define using libm_alias_ldouble.
7160 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
7161 <libm-alias-ldouble.h>.
7162 (fmal): Define using libm_alias_ldouble.
7163 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
7164 <libm-alias-ldouble.h>.
7165 (frexpl): Define using libm_alias_ldouble.
7166 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
7168 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
7169 <libm-alias-ldouble.h>.
7170 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
7172 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
7173 <libm-alias-ldouble.h>.
7174 (getpayloadl): Define using libm_alias_ldouble.
7175 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
7176 <libm-alias-ldouble.h>.
7177 (llrintl): Define using libm_alias_ldouble.
7178 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
7179 <libm-alias-ldouble.h>.
7180 (llroundl): Define using libm_alias_ldouble.
7181 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
7182 <libm-alias-ldouble.h>.
7183 (logbl): Define using libm_alias_ldouble.
7184 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
7185 <libm-alias-ldouble.h>.
7186 (lrintl): Define using libm_alias_ldouble.
7187 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
7188 <libm-alias-ldouble.h>.
7189 (lroundl): Define using libm_alias_ldouble.
7190 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
7191 <libm-alias-ldouble.h>.
7192 (modfl): Define using libm_alias_ldouble.
7193 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
7194 <libm-alias-ldouble.h>.
7195 (nearbyintl): Define using libm_alias_ldouble.
7196 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
7197 <libm-alias-ldouble.h>.
7198 (nextafterl): Define using libm_alias_ldouble.
7199 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
7200 <libm-alias-ldouble.h>.
7201 (nextupl): Define using libm_alias_ldouble.
7202 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
7203 <libm-alias-ldouble.h>.
7204 (remquol): Define using libm_alias_ldouble.
7205 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
7206 <libm-alias-ldouble.h>.
7207 (rintl): Define using libm_alias_ldouble.
7208 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
7209 <libm-alias-ldouble.h>.
7210 (roundevenl): Define using libm_alias_ldouble.
7211 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
7212 <libm-alias-ldouble.h>.
7213 (roundl): Define using libm_alias_ldouble.
7214 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
7215 using libm_alias_ldouble.
7216 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
7217 <libm-alias-ldouble.h>.
7218 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
7219 Define using libm_alias_ldouble.
7220 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
7221 <libm-alias-ldouble.h>.
7222 (sincosl): Define using libm_alias_ldouble.
7223 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
7224 <libm-alias-ldouble.h>.
7225 (sinl): Define using libm_alias_ldouble.
7226 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
7227 <libm-alias-ldouble.h>.
7228 (tanhl): Define using libm_alias_ldouble.
7229 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
7230 <libm-alias-ldouble.h>.
7231 (tanl): Define using libm_alias_ldouble.
7232 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
7233 <libm-alias-ldouble.h>.
7234 (totalorderl): Define using libm_alias_ldouble.
7235 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
7236 <libm-alias-ldouble.h>.
7237 (totalordermagl): Define using libm_alias_ldouble.
7238 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
7239 <libm-alias-ldouble.h>.
7240 (truncl): Define using libm_alias_ldouble.
7241 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
7243 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
7245 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
7246 <libm-alias-ldouble.h>.
7247 (weak_alias): Do not undefine and redefine.
7248 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
7249 (copysignl): Define with long_double_symbol only if [IS_IN
7251 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
7252 <libm-alias-ldouble.h>.
7253 (weak_alias): Do not undefine and redefine.
7254 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
7255 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
7256 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
7257 <libm-alias-ldouble.h>.
7258 (weak_alias): Do not undefine and redefine.
7259 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
7260 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
7261 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
7262 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
7263 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
7264 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
7265 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
7266 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
7267 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
7268 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
7269 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
7270 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
7271 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
7272 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
7273 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
7274 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
7275 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
7276 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
7277 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
7278 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
7279 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
7280 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
7281 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
7282 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
7283 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
7284 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
7286 2017-10-06 Carlos O'Donell <carlos@redhat.com>
7289 * malloc/malloc.c (tcache_shutting_down): Use bool type.
7290 (tcache_thread_freeres): Set tcache_shutting_down before
7292 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
7293 * malloc/tst-malloc-tcache-leak.c: New file.
7295 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7297 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
7298 back to powerpc32 file.
7299 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
7300 (memrchr): Add __memrchr_power8 to ifunc list.
7301 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
7302 extra bytes for unaligned inputs.
7304 2017-10-06 Joseph Myers <joseph@codesourcery.com>
7306 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
7307 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
7308 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
7309 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
7310 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
7312 2017-10-05 Joseph Myers <joseph@codesourcery.com>
7314 * sysdeps/arm/libm-test-ulps: Update.
7316 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
7317 <libm-alias-ldouble.h>.
7318 (asinhl): Define using libm_alias_ldouble.
7319 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
7320 <libm-alias-ldouble.h>.
7321 (cbrtl): Define using libm_alias_ldouble.
7322 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
7323 <libm-alias-ldouble.h>.
7324 (copysignl): Define using libm_alias_ldouble.
7325 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
7326 <libm-alias-ldouble.h>.
7327 (cosl): Define using libm_alias_ldouble.
7328 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
7329 <libm-alias-ldouble.h>.
7330 (erfl): Define using libm_alias_ldouble.
7332 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
7333 <libm-alias-ldouble.h>.
7334 (fmal): Define using libm_alias_ldouble.
7335 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
7336 <libm-alias-ldouble.h>.
7337 (frexpl): Define using libm_alias_ldouble.
7338 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
7340 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
7341 <libm-alias-ldouble.h>.
7342 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
7344 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
7345 <libm-alias-ldouble.h>.
7346 (getpayloadl): Define using libm_alias_ldouble.
7347 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
7348 <libm-alias-ldouble.h>.
7349 (llrintl): Define using libm_alias_ldouble.
7350 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
7351 <libm-alias-ldouble.h>.
7352 (llroundl): Define using libm_alias_ldouble.
7353 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
7354 <libm-alias-ldouble.h>.
7355 (lrintl): Define using libm_alias_ldouble.
7356 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
7357 <libm-alias-ldouble.h>.
7358 (lroundl): Define using libm_alias_ldouble.
7359 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
7360 <libm-alias-ldouble.h>.
7361 (modfl): Define using libm_alias_ldouble.
7362 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
7363 <libm-alias-ldouble.h>.
7364 (nextupl): Define using libm_alias_ldouble.
7365 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
7366 <libm-alias-ldouble.h>.
7367 (remquol): Define using libm_alias_ldouble.
7368 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
7369 <libm-alias-ldouble.h>.
7370 (roundevenl): Define using libm_alias_ldouble.
7371 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
7372 <libm-alias-ldouble.h>.
7373 (roundl): Define using libm_alias_ldouble.
7374 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
7375 using libm_alias_ldouble.
7376 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
7377 <libm-alias-ldouble.h>.
7378 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
7379 <libm-alias-ldouble.h>.
7380 (setpayloadsigl): Define using libm_alias_ldouble.
7381 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
7382 <libm-alias-ldouble.h>.
7383 (sincosl): Define using libm_alias_ldouble.
7384 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
7385 <libm-alias-ldouble.h>.
7386 (sinl): Define using libm_alias_ldouble.
7387 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
7388 <libm-alias-ldouble.h>.
7389 (tanhl): Define using libm_alias_ldouble.
7390 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
7391 <libm-alias-ldouble.h>.
7392 (tanl): Define using libm_alias_ldouble.
7393 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
7394 <libm-alias-ldouble.h>.
7395 (totalorderl): Define using libm_alias_ldouble.
7396 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
7397 <libm-alias-ldouble.h>.
7398 (totalordermagl): Define using libm_alias_ldouble.
7399 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
7401 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
7404 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
7406 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7408 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7409 (__libc_ifunc_impl_list): Likewise.
7410 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
7411 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
7413 * benchtests/bench-memmove-walk.c: New file.
7414 * benchtests/Makefile (string-benchset): Add it.
7416 * benchtests/bench-memset-walk.c: New file.
7417 * benchtests/Makefile (string-benchset): Add it.
7419 * benchtests/bench-memcpy-walk.c: New file.
7420 * benchtests/Makefile (string-benchset): Add it.
7422 2017-10-05 Florian Weimer <fweimer@redhat.com>
7424 nscd: Eliminate compilation time dependency in the build output.
7425 * nscd/nscd_stat.c (STATDATA_VERSION)
7426 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
7427 (STATDATA_VERSION_FULL): New macro definitions.
7428 (compilation): Remove.
7429 (struct statdata): Adjust version member.
7430 (send_stats): Set version from STATDATA_VERSION_FULL.
7431 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
7433 2017-10-05 Joseph Myers <joseph@codesourcery.com>
7435 * configure.ac (--enable-add-ons): Remove option.
7436 (machine): Do not mention add-ons in comment.
7437 (LIBC_PRECONFIGURE): Likewise.
7438 (add_ons): Remove variable and sanity checks and logic to locate
7440 (add_ons_automatic): Remove variable.
7441 (configured_add_ons): Likewise.
7442 (add_ons_sfx): Likewise.
7443 (add_ons_pfx): Likewise.
7444 (add_on_subdirs): Likewise.
7445 (sysnames_add_ons): Likewise. Remove loop over add-ons and
7446 consideration of add-ons in Implies handling.
7447 (sysdeps_add_ons): Likewise.
7448 * configure: Regenerated.
7449 * libidn/configure.ac: Remove.
7450 * libidn/configure: Likewise.
7451 * sysdeps/unix/inet/configure.ac: New file.
7452 * sysdeps/unix/inet/configure: New generated file.
7453 * sysdeps/unix/inet/Subdirs: Add libidn.
7454 * Makeconfig (sysdeps-srcdirs): Remove variable.
7455 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
7456 ($(common-objpfx)config.status): Do not depend on add-on files.
7457 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
7459 (all-subdirs): Do not include $(add-on-subdirs).
7460 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
7461 * config.make.in (add-ons): Remove variable.
7462 (add-on-subdirs): Likewise.
7463 (sysdeps-add-ons): Likewise.
7464 * manual/Makefile (add-chapters): Remove.
7465 ($(objpfx)texis): Do not depend on $(add-chapters).
7466 (nonexamples): Do not handle $(add-chapters).
7467 (examples): Do not handle $(add-ons).
7468 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
7470 * manual/install.texi (Installation): Do not mention add-ons.
7471 (--enable-add-ons): Do not document configure option.
7472 * INSTALL: Regenerated.
7473 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
7474 * manual/maint.texi (Hierarchy Conventions): Do not mention
7476 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
7478 * scripts/gen-sorted.awk: Do not handle Subdirs files from
7480 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
7481 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
7483 2017-10-05 Andreas Schwab <schwab@suse.de>
7486 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
7487 (_IO_flush_all_lockp): Always lock list_all_lock.
7488 (_IO_flush_all_linebuffered): Likewise.
7489 (_IO_unbuffer_all): Likewise.
7491 2017-10-05 Florian Weimer <fweimer@redhat.com>
7494 Do not flush stdio streams on abort.
7495 * stdlib/abort.c (fflush): Remove macro definition.
7496 (abort): Remove stages related to stdio flushing.
7498 2017-10-05 Florian Weimer <fweimer@redhat.com>
7500 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
7502 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
7504 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7506 2017-10-05 Florian Weimer <fweimer@redhat.com>
7508 * support/support_format_hostent.c (support_format_hostent): Add
7509 more error information for NETDB_INTERNAL.
7511 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
7513 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
7514 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
7515 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
7516 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
7517 AC_DEFINE if multi-arch is enabled.
7518 * sysdeps/i386/configure: Regenerated.
7520 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
7522 * Makeconfig (+link-static-before-libc): Use
7523 $(DEFAULT-LDFLAGS-$(@F)).
7524 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
7525 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
7526 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
7528 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
7530 * elf/Makefile (tests): Add tst-main1.
7531 (modules-names): Add tst-main1mod.
7532 ($(objpfx)tst-main1): New.
7533 (CRT-tst-main1): Likewise.
7534 (LDFLAGS-tst-main1): Likewise.
7535 (LDLIBS-tst-main1): Likewise.
7536 (tst-main1mod.so-no-z-defs): Likewise.
7537 * elf/tst-main1.c: New file.
7538 * elf/tst-main1mod.c: Likewise.
7540 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
7542 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
7544 2017-10-04 Joseph Myers <joseph@codesourcery.com>
7546 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
7547 (fma): Define using libm_alias_double.
7548 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
7549 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
7551 (fmal): Do not define as compat symbol here.
7552 * sysdeps/alpha/fpu/s_fma.c: New file.
7554 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7556 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
7558 2017-10-04 Joseph Myers <joseph@codesourcery.com>
7561 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
7563 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
7565 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
7566 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
7567 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
7568 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
7569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7570 Include <math_ldbl_opt.h>
7571 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
7573 (compat_symbol): Undefine and redefine.
7574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
7576 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
7577 (compat_symbol): Undefine and redefine.
7578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
7579 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
7580 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
7582 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
7583 GLIBC_2.0 copysignl symbol.
7584 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
7585 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
7587 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
7589 2017-10-04 Florian Weimer <fweimer@redhat.com>
7591 * scripts/check-local-headers.sh: Ignore nspr4 header file
7592 directory in addition to nspr.
7594 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
7597 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
7598 * configure: Regenerate.
7599 * crypt/Makefile (nss-cpp-flags): New variable.
7600 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
7601 (CPPFLAGS-md5-crypt.c): Use it.
7602 * scripts/check-local-headers.sh: Ignore nspr header file
7605 2017-10-04 Andreas Schwab <schwab@suse.de>
7607 * nis/Makefile (services): Remove compat.
7608 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
7609 ($(objpfx)libnss_compat.so): Remove rule.
7610 * nis/Versions (libnss_compat): Remove.
7611 * nss/Makefile (services): Add compat.
7612 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
7613 * nss/Versions (libnss_compat): Define.
7614 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
7615 Don't include <rpc/types.h>. Replace bool_t by bool.
7616 * nss/nss_compat/compat-initgroups.c: Likewise.
7617 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
7618 instead of <rpcsrv/ypclnt.h>.
7619 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
7620 yp_get_default_domain.
7621 * nss/nss_compat/compat-pwd.c: Likewise.
7622 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
7623 yp_get_default_domain.
7624 * nss/nss_compat/nisdomain.c: New file.
7625 * nss/nss_compat/nisdomain.h: Likewise.
7627 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7630 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
7631 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7633 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7636 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
7637 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
7639 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
7641 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
7642 "movl main@GOTOFF(%ebx), %eax".
7644 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
7646 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
7647 allow undefined _DYNAMIC in PIE libc.a.
7648 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
7651 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
7653 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
7656 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
7658 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
7661 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
7663 * math/test-math-iscanonical.cc (error): Replace bool with int.
7665 2017-10-03 Joseph Myers <joseph@codesourcery.com>
7667 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
7668 (modf): Define using libm_alias_double, only if [!__modf].
7669 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
7670 <libm-alias-double.h>.
7671 (modf): Define using libm_alias_double, only if [!__modf].
7672 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
7674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
7675 (weak_alias): Do not undefine and redefine.
7676 (strong_alias): Likewise.
7677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
7678 (weak_alias): Likewise.
7679 (strong_alias): Likewise.
7681 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
7682 (logb): Define using libm_alias_double, only if [!__logb].
7683 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
7684 <libm-alias-double.h>.
7685 (logb): Define using libm_alias_double, only if [!__logb].
7686 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
7687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
7688 (weak_alias): Do not undefine and redefine.
7689 (strong_alias): Likewise.
7690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
7691 (weak_alias): Likewise.
7692 (strong_alias): Likewise.
7694 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
7696 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
7697 Check SHARED instead PIC.
7699 2017-10-03 Joseph Myers <joseph@codesourcery.com>
7701 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
7702 [!__fmaf] (fmaf): Define using libm_alias_float.
7704 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
7705 (frexp): Define using libm_alias_double.
7706 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
7707 <libm-alias-double.h>.
7708 (frexp): Define using libm_alias_double.
7709 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
7712 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7715 * math/math.h: Trivial fix for unbalanced parentheses in comment.
7716 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
7717 (CFLAGS-test-math-iscanonical.cc): New variable.
7718 * math/test-math-iscanonical.cc: New file.
7719 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
7720 Provide a C++ implementation based on function overloading,
7721 rather than using __MATH_TG, which uses C-only builtins.
7722 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
7724 * sysdeps/powerpc/powerpc64le/Makefile
7725 (CFLAGS-test-math-iscanonical.cc): New variable.
7727 2017-10-03 Joseph Myers <joseph@codesourcery.com>
7729 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
7730 (ceil): Define using libm_alias_double.
7731 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
7732 (floor): Define using libm_alias_double.
7733 * sysdeps/ieee754/dbl-64/s_llround.c: Include
7734 <libm-alias-double.h>.
7735 (llround): Define using libm_alias_double.
7736 * sysdeps/ieee754/dbl-64/s_lround.c: Include
7737 <libm-alias-double.h>.
7738 (lround): Define using libm_alias_double.
7739 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
7740 <libm-alias-double.h>.
7741 (nearbyint): Define using libm_alias_double.
7742 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
7743 <libm-alias-double.h>.
7744 (remquo): Define using libm_alias_double.
7745 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
7746 (rint): Define using libm_alias_double.
7747 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
7748 (round): Define using libm_alias_double.
7749 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
7750 (trunc): Define using libm_alias_double.
7751 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
7752 <libm-alias-double.h>.
7753 (ceil): Define using libm_alias_double.
7754 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
7755 <libm-alias-double.h>.
7756 (floor): Define using libm_alias_double.
7757 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
7758 <libm-alias-double.h>.
7759 (llround): Define using libm_alias_double.
7760 [_LP64] (lround): Likewise.
7761 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
7762 <libm-alias-double.h>.
7763 [!_LP64] (lround): Define using libm_alias_double.
7764 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
7765 <libm-alias-double.h>.
7766 (nearbyint): Define using libm_alias_double.
7767 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
7768 <libm-alias-double.h>.
7769 (remquo): Define using libm_alias_double.
7770 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
7771 <libm-alias-double.h>.
7772 (rint): Define using libm_alias_double.
7773 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
7774 <libm-alias-double.h>.
7775 (round): Define using libm_alias_double.
7776 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
7777 <libm-alias-double.h>.
7778 (trunc): Define using libm_alias_double.
7779 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
7780 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
7781 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
7782 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
7783 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
7784 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
7785 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
7786 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
7787 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
7789 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
7791 * math/w_remainder.c: New file.
7792 * math/w_remainderf.c: New file.
7793 * math/w_remainderl.c: New file.
7795 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
7797 * elf/rtld.c (BOOTSTRAP_MAP): New.
7798 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
7799 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
7801 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
7803 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
7806 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7808 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
7809 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
7810 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
7811 rtld_hidden_data_ver): Define to empty.
7812 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
7813 __assert_perror_fail): Likewise.
7814 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
7815 (__rewinddir): Likewise.
7816 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
7817 (__profile_frequency): Likewise.
7818 * include/setjmp.h (__sigsetjmp): Likewise.
7819 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
7820 __libc_sigaction): Likewise.
7821 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
7822 not set hidden attribute.
7823 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
7824 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
7825 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
7826 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
7827 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
7828 __fxstatat64): Likewise.
7829 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
7830 (__uname): Likewise.
7831 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
7832 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
7833 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
7834 (NO_RTLD_HIDDEN): Set.
7835 * sysdeps/mach/hurd/configure: Refresh.
7836 * config.h.in: Refresh.
7838 2017-10-02 Joseph Myers <joseph@codesourcery.com>
7840 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
7841 (atan): Define using libm_alias_double.
7842 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
7843 (tan): Define using libm_alias_double.
7844 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
7845 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
7847 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
7848 define as weak alias of __atan. Do not define any aliases if
7850 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
7851 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
7852 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
7853 as weak alias of __tan. Do not define any aliases if [__tan].
7854 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
7855 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
7856 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
7858 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
7859 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
7860 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
7861 and define as weak alias of __atan.
7862 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
7864 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
7865 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
7866 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
7867 define as weak alias of __tan.
7869 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
7871 * math/w_lgamma.c: New file.
7872 * math/w_lgammaf.c: New file.
7873 * math/w_lgammal.c: New file.
7875 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
7877 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
7878 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
7879 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
7880 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
7881 * sysdeps/ieee754/flt-32/w_logf.c: New file.
7882 * sysdeps/ieee754/flt-32/w_powf.c: New file.
7883 * sysdeps/i386/fpu/w_log2f.c: New file.
7884 * sysdeps/i386/fpu/w_logf.c: New file.
7885 * sysdeps/i386/fpu/w_powf.c: New file.
7886 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
7887 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
7888 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
7890 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
7891 H.J. Lu <hongjiu.lu@intel.com>
7893 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
7894 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
7895 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
7896 * sysdeps/ieee754/flt-32/w_expf.c: New file.
7897 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
7899 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
7900 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
7901 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
7902 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
7903 * sysdeps/i386/fpu/w_exp2f.c: New file.
7904 * sysdeps/i386/fpu/w_expf.c: New file.
7905 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
7906 * sysdeps/x86_64/fpu/w_expf.c: New file.
7908 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
7910 * math/Versions (logf): New libm symbol at GLIBC_2.27.
7913 * math/w_log2f.c: New file.
7914 * math/w_logf.c: New file.
7915 * math/w_powf.c: New file.
7916 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
7917 * math/w_logf_compat.c (__logf_compat): Likewise.
7918 * math/w_powf_compat.c (__powf_compat): Likewise.
7919 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
7920 * sysdeps/ia64/fpu/e_logf.S: Likewise.
7921 * sysdeps/ia64/fpu/e_powf.S: Likewise.
7922 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7923 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7924 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7925 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7926 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7927 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7928 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7929 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7930 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7931 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7932 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7933 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7942 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7943 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7944 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7945 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7946 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7951 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7952 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7953 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7955 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7957 * sysdeps/powerpc/powerpc64/multiarch/Makefile
7958 (sysdep_routines): Add memrchr_power8.
7959 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7960 (memrchr): Add __memrchr_power8 to list of memrchr functions.
7961 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
7963 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
7964 (memrchr): Add __memrchr_power8 to ifunc list.
7965 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
7967 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7970 * sysdeps/unix/sysv/linux/posix_fadvise64.c
7971 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
7973 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7974 (__posix_fallocate64_l64): Likewise.
7976 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7979 * sysdeps/unix/sysv/linux/sched_setaffinity.c
7980 (__sched_setaffinity_new): Add libc_hidden_proto and
7983 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7986 * include/glob.h (__glob64): Add libc_hidden_proto.
7987 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
7990 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7993 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
7996 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7999 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
8001 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8004 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
8007 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8010 * csu/version.c (__libc_print_version): Add attribute_hidden.
8012 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8015 * include/libc-internal.h (__init_misc): Add attribute_hidden.
8017 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8020 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
8022 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8025 * nscd/nscd_helper.c (__nis_hash): New prototype.
8027 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8030 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
8031 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
8033 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8034 * termios/tcgetattr.c (__tcgetattr): Likewise.
8036 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8039 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
8040 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
8041 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
8042 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
8043 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
8045 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8048 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
8050 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8053 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
8054 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
8056 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8059 * intl/hash-string.h (__hash_string): Add attribute_hidden.
8061 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8064 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
8065 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
8067 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8070 * include/ifreq.h: New file.
8071 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
8072 (__ifreq): Likewise.
8073 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
8074 (__ifreq): Likewise.
8076 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8079 * include/idna.h: New file.
8080 * inet/getnameinfo.c: Include <idna.h> instead of
8082 (__idna_to_unicode_lzlz): Removed.
8083 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
8085 (__idna_to_ascii_lz): Removed.
8086 (__idna_to_unicode_lzlz): Likewise.
8088 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8091 * include/plural-exp.h: New file.
8092 * intl/plural-exp.c: Include <plural-exp.h> instead of
8095 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8098 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
8099 "getsourcefilter.h".
8100 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
8101 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
8102 "getsourcefilter.h".
8103 (__get_sol): Removed.
8105 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8108 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
8110 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
8112 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8115 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
8118 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8121 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
8123 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8126 * include/search.h (__tdestroy): Add libc_hidden_proto.
8127 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
8129 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8132 * include/assert.h (__assert_fail_base): Add attribute_hidden.
8134 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8137 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
8140 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8143 * include/signal.h (__kill): Add libc_hidden_proto.
8144 (__sigblock): Likewise.
8145 (__sigprocmask): Likewise.
8146 (__sigaltstack): Likewise.
8147 * signal/kill.c (__kill): Add libc_hidden_def.
8148 * signal/sigblock.c (__sigblock): Likewise.
8149 * signal/sigprocmask.c (__sigprocmask): Likewise.
8150 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
8151 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
8152 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
8153 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
8154 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
8156 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
8158 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
8159 (__sigprocmask): Likewise.
8160 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
8162 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
8163 (__sigprocmask): Likewise.
8164 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
8167 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8170 * include/string.h (__strsep): Add libc_hidden_proto.
8171 * string/strsep.c (__strsep): Add libc_hidden_def.
8173 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8176 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
8178 (__spawni): Likewise.
8180 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8183 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
8184 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
8187 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8190 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
8192 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8195 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
8196 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
8197 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
8198 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
8199 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
8201 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
8202 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
8204 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8207 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
8208 (__dcigettext): Likewise.
8210 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8213 * include/sys/sysinfo.h (__get_nprocs_conf): Add
8215 (__get_nprocs): Likewise.
8216 (__get_phys_pages): Likewise.
8217 (__get_avphys_pages): Likewise.
8218 (__get_child_max): Add attribute_hidden.
8219 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
8220 (__get_nprocs): Likewise.
8221 (__get_phys_pages): Likewise.
8222 (__get_avphys_pages): Likewise.
8223 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
8225 (__get_nprocs): Likewise.
8226 (__get_phys_pages): Likewise.
8227 (__get_avphys_pages): Likewise.
8228 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
8230 (__get_nprocs_conf): Likewise.
8231 (__get_phys_pages): Likewise.
8232 (__get_avphys_pages): Likewise.
8234 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8237 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
8239 (__netlink_close): Likewise.
8240 (__netlink_free_handle): Likewise.
8241 (__netlink_request): Likewise.
8243 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8246 * include/rpc/rpc.h (__rpc_thread_variables): Add
8248 (__rpc_thread_svc_cleanup): Likewise.
8249 (__rpc_thread_clnt_cleanup): Likewise.
8250 (__rpc_thread_key_cleanup): Likewise.
8252 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8255 * include/sys/uio.h (__readv): Add libc_hidden_proto.
8256 (__writev): Likewise.
8257 * misc/readv.c (__readv): Add libc_hidden_def.
8258 * misc/writev.c (__writev): Likewise.
8259 * sysdeps/posix/readv.c (__readv): Likewise.
8260 * sysdeps/posix/writev.c (__writev): Likewise.
8261 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
8262 (__readv): Likewise.
8263 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
8264 (__writev): Likewise.
8266 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8269 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
8270 (__regcomp): Add libc_hidden_proto.
8271 (__regexec): Likewise.
8272 (__regfree): Likewise.
8273 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
8274 (__regfree): Likewise.
8275 * posix/regexec.c (__regexec): Likewise.
8277 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8280 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
8281 (__getutent): Likewise.
8282 (__getutid): Likewise.
8283 (__getutline): Likewise.
8284 (__pututline): Likewise.
8285 (__getutent_r): Likewise.
8286 (__getutid_r): Likewise.
8287 (__getutline_r): Likewise.
8288 (__utmpname): Add attribute_hidden.
8289 (__setutent): Likewise.
8290 (__endutent): Likewise.
8291 * login/getutent.c (__getutent): Add libc_hidden_def.
8292 * login/getutent_r.c (__getutent_r): Likewise.
8293 (__pututline): Likewise.
8294 * login/getutid.c (__getutid): Likewise.
8295 * login/getutid_r.c (__getutid_r): Likewise.
8296 * login/getutline.c (__getutline): Likewise.
8297 * login/getutline_r.c (__getutline_r): Likewise.
8298 * login/updwtmp.c (__updwtmp): Likewise.
8300 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8303 * include/dirent.h (__opendir): Always add attribute_hidden.
8304 (__fdopendir): Likewise.
8305 (__closedir): Likewise.
8306 (__readdir): Likewise.
8307 (__readdir64): Add libc_hidden_proto.
8308 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
8309 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
8310 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
8311 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
8314 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8317 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
8318 * include/netdb.h (__gethostbyaddr_r): Likewise.
8319 (__gethostbyname_r): Likewise.
8320 (__gethostbyname2_r): Likewise.
8321 (__getnetbyaddr_r): Likewise.
8322 (__getnetbyname_r): Likewise.
8323 (__getservbyname_r): Likewise.
8324 (__getservbyport_r): Likewise.
8325 (__getprotobyname_r): Likewise.
8326 (__getprotobynumber_r): Likewise.
8327 (__getnetgrent_r): Likewise.
8328 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
8329 (__getrpcbynumber_r): Likewise.
8330 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
8332 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8335 * include/stdio.h (__fcloseall): Add attribute_hidden.
8336 (__getline): Likewise.
8337 (__path_search): Likewise.
8338 (__gen_tempname): Likewise.
8339 (__libc_message): Likewise.
8340 (__flockfile): Likewise.
8341 (__funlockfile): Likewise.
8342 (__fxprintf): Likewise.
8343 (__fxprintf_nocancel): Likewise.
8345 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8348 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
8349 (__sgetsgent_r): Likewise.
8351 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8354 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
8355 (__statfs64): Likewise.
8356 (__fstatfs64): Likewise.
8357 * include/sys/statvfs.h (__statvfs64): Likewise.
8358 (__fstatvfs64): Likewise.
8359 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
8360 (__statfs_filesize_max): Likewise.
8361 (__statfs_symlinks): Likewise.
8362 (__statfs_chown_restricted): Likewise.
8364 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8367 * include/time.h (__tzstring): Add attribute_hidden.
8368 (__tzfile_read): Likewise.
8369 (__tzfile_compute): Likewise.
8370 (__tzfile_default): Likewise.
8371 (__tzset_parse_tz): Likewise.
8372 (__offtime): Likewise.
8373 (__asctime_r): Likewise.
8374 (__tzset): Likewise.
8375 (__tz_convert): Likewise.
8376 (__getdate_r): Likewise.
8377 (__getclktck): Likewise.
8379 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8382 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
8383 (__nscd_unmap): Likewise.
8384 (__nscd_cache_search): Likewise.
8385 (__nscd_get_nl_timestamp): Likewise.
8386 (__nscd_getpwnam_r): Likewise.
8387 (__nscd_getpwuid_r): Likewise.
8388 (__nscd_getgrnam_r): Likewise.
8389 (__nscd_getgrgid_r): Likewise.
8390 (__nscd_gethostbyname_r): Likewise.
8391 (__nscd_gethostbyname2_r): Likewise.
8392 (__nscd_gethostbyaddr_r): Likewise.
8393 (__nscd_getai): Likewise.
8394 (__nscd_getgrouplist): Likewise.
8395 (__nscd_getservbyname_r): Likewise.
8396 (__nscd_getservbyport_r): Likewise.
8397 (__nscd_innetgr): Likewise.
8398 (__nscd_setnetgrent): Likewise.
8400 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8403 * include/gmp.h: Declare internal functions only if _ISOMAC is
8405 (__mpn_extract_double): Add attribute_hidden.
8406 (__mpn_extract_long_double): Likewise.
8407 (__mpn_extract_float128): Likewise.
8408 (__mpn_construct_float): Likewise.
8409 (__mpn_construct_double): Likewise.
8410 (__mpn_construct_long_double): Likewise.
8411 (__mpn_construct_float128): Likewise.
8412 (mpn_add_1): Likewise.
8413 (mpn_addmul_1): Likewise.
8414 (mpn_add_n): Likewise.
8415 (mpn_cmp): Likewise.
8416 (mpn_divrem): Likewise.
8417 (mpn_lshift): Likewise.
8418 (mpn_mul): Likewise.
8419 (mpn_mul_1): Likewise.
8420 (mpn_rshift): Likewise.
8421 (mpn_sub_1): Likewise.
8422 (mpn_submul_1): Likewise.
8423 (mpn_sub_n): Likewise.
8425 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8428 * include/wchar.h (__wcsnlen): Add attribute_hidden.
8429 (__wcscat): Likewise.
8430 (__btowc): Likewise.
8431 (__wcrtomb): Likewise.
8432 (__mbsrtowcs): Likewise.
8433 (__wcsrtombs): Likewise.
8434 (__mbsnrtowcs): Likewise.
8435 (__wcsnrtombs): Likewise.
8436 (__wcsncpy): Likewise.
8437 (__wcpncpy): Likewise.
8438 (__wmemcpy): Likewise.
8439 (__wmempcpy): Likewise.
8440 (__wmemmove): Likewise.
8441 (__wcschrnul): Likewise.
8442 (__vfwscanf): Likewise.
8443 (__vswprintf): Likewise.
8444 (__fwprintf): Likewise.
8445 (__vfwprintf): Likewise.
8447 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8450 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
8451 (__getgrgid_r): Likewise.
8452 (__getgrnam_r): Likewise.
8453 * include/pwd.h (__getpwuid_r): Likewise.
8454 (__getpwnam_r): Likewise.
8455 (__fgetpwent_r): Likewise.
8456 * include/shadow.h (__getspnam_r): Likewise.
8457 (__sgetspent_r): Likewise.
8458 (__fgetspent_r): Likewise.
8460 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8463 * include/unistd.h (__access): Add attribute_hidden.
8464 (__lseek64): Likewise.
8465 (__libc_pread64): Likewise.
8466 (__pipe2): Likewise.
8467 (__sleep): Likewise.
8468 (__chdir): Likewise.
8469 (__fchdir): Likewise.
8470 (__getcwd): Likewise.
8471 (__rmdir): Likewise.
8472 (__execvpe): Likewise.
8473 (__execve): Likewise.
8474 (__setsid): Likewise.
8475 (__getuid): Likewise.
8476 (__geteuid): Likewise.
8477 (__getgid): Likewise.
8478 (__getegid): Likewise.
8479 (__getgroups): Likewise.
8480 (__group_member): Likewise.
8481 (__ttyname_r): Likewise.
8482 (__isatty): Likewise.
8483 (__readlink): Likewise.
8484 (__unlink): Likewise.
8485 (__gethostname): Likewise.
8486 (__profil): Likewise.
8487 (__getdtablesize): Likewise.
8489 (__ftruncate): Likewise.
8490 (__ftruncate64): Likewise.
8492 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8495 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
8496 * argp/argp-fs-xinl.c: Likewise.
8497 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
8498 * argp/argp-parse.c: Include <argp.h>.
8499 * argp/argp-xinl.c: Likewise.
8500 * include/argp-fmtstream.h: New file.
8501 * include/argp.h (__argp_error): Add attribute_hidden.
8502 (__argp_failure): Likewise.
8503 (__argp_input): Likewise.
8504 (__argp_state_help): Likewise.
8506 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8509 * include/wchar.h (____wcstof_l_internal): New prototype.
8510 (____wcstod_l_internal): Likewise.
8511 (____wcstold_l_internal): Likewise.
8512 (____wcstol_l_internal): Likewise.
8513 (____wcstoul_l_internal): Likewise.
8514 (____wcstoll_l_internal): Likewise.
8515 (____wcstoull_l_internal): Likewise.
8516 (____wcstof128_l_internal): Likewise.
8517 * sysdeps/ieee754/float128/wcstof128.c
8518 (____wcstof128_l_internal): Removed.
8519 * sysdeps/ieee754/float128/wcstof128_l.c
8520 (____wcstof128_l_internal): Likewise.
8521 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
8522 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
8523 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
8524 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
8525 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
8526 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
8527 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
8528 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
8529 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
8530 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
8532 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8535 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
8536 instead of <sys/statvfs.h>.
8537 (__internal_statvfs): Removed.
8538 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
8539 instead of <sys/statvfs.h>.
8540 (__internal_statvfs64): Removed.
8541 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
8542 "internal_statvfs.h" instead of <sys/statvfs.h>.
8543 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
8544 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
8545 instead of <sys/statvfs.h>.
8546 (__internal_statvfs): Removed.
8547 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
8548 instead of <sys/statvfs.h>.
8549 (__internal_statvfs64): Removed.
8551 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8554 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
8555 (__gconv_close): Likewise.
8556 (__gconv): Likewise.
8557 (__gconv_find_transform): Likewise.
8558 (__gconv_lookup_cache): Likewise.
8559 (__gconv_compare_alias_cache): Likewise.
8560 (__gconv_load_cache): Likewise.
8561 (__gconv_get_path): Likewise.
8562 (__gconv_close_transform): Likewise.
8563 (__gconv_release_cache): Likewise.
8564 (__gconv_find_shlib): Likewise.
8565 (__gconv_release_shlib): Likewise.
8566 (__gconv_get_builtin_trans): Likewise.
8567 (__gconv_compare_alias): Likewise.
8568 * include/dlfcn.h (_dlerror_run): Likewise.
8569 * include/stdio.h (__fortify_fail_abort): Likewise.
8570 * include/time.h (__tz_compute): Likewise.
8571 (__strptime_internal): Likewise.
8572 * intl/gettextP.h (_nl_find_domain): Likewise.
8573 (_nl_load_domain): Likewise.
8574 (_nl_find_msg): Likewise.
8575 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
8576 (EXTRACT_PLURAL_EXPRESSION): Likewise.
8577 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
8578 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
8579 (__gai_find_request): Likewise.
8580 (__gai_remove_request): Likewise.
8581 (__gai_notify): Likewise.
8582 (__gai_notify_only): Likewise.
8583 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
8584 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
8585 (_dl_non_dynamic_init): Likewise.
8586 (_dl_aux_init): Likewise.
8587 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
8588 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
8590 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
8591 (__wcsmbs_clone_conv): Likewise.
8592 (__wcsmbs_named_conv): Likewise.
8594 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8597 * include/stdlib.h (__random): Add attribute_hidden.
8598 (__random_r): Likewise.
8599 (__srandom_r): Likewise.
8600 (__initstate_r): Likewise.
8601 (__setstate_r): Likewise.
8602 (__erand48_r): Likewise.
8603 (__nrand48_r): Likewise.
8604 (__jrand48_r): Likewise.
8605 (__srand48_r): Likewise.
8606 (__seed48_r): Likewise.
8607 (__lcong48_r): Likewise.
8608 (__drand48_iterate): Likewise.
8609 (__setenv): Likewise.
8610 (__unsetenv): Likewise.
8611 (__clearenv): Likewise.
8612 (__ptsname_r): Likewise.
8613 (__posix_openpt): Likewise.
8614 (__add_to_environ): Likewise.
8615 (__realpath): Add libc_hidden_proto.
8616 (__ecvt_r): Likewise.
8617 (__fcvt_r): Likewise.
8618 (__qecvt_r): Likewise.
8619 (__qfcvt_r): Likewise.
8620 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
8621 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
8623 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8626 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
8627 * include/time.h (__mktime_internal): Likewise.
8628 * libio/iolibio.h (__fopen_internal): Likewise.
8630 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
8632 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
8634 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
8635 Correct offset used to restore PIC register.
8637 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
8640 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
8641 code to load address of __getcontext_ret when generating PIC code.
8643 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
8645 * elf/Makefile (tests-static-internal): Add
8646 tst-tls1-static-non-pie.
8647 (LDFLAGS-tst-tls1-static-non-pie): New.
8648 * elf/tst-tls1-static-non-pie.c: New file.
8650 2017-09-29 Joseph Myers <joseph@codesourcery.com>
8652 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
8653 (asinh): Define using libm_alias_double.
8654 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
8655 (cbrt): Define using libm_alias_double.
8656 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
8657 <libm-alias-double.h>.
8658 (copysign): Define using libm_alias_double.
8659 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
8660 (erf): Define using libm_alias_double.
8662 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
8663 (expm1): Define using libm_alias_double.
8664 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
8665 (fabs): Define using libm_alias_double.
8666 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
8668 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
8669 <libm-alias-double.h>.
8670 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
8672 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
8673 <libm-alias-double.h>.
8674 (getpayload): Define using libm_alias_double.
8675 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
8676 <libm-alias-double.h>.
8677 (llrint): Define using libm_alias_double.
8678 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
8679 (lrint): Define using libm_alias_double.
8680 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
8681 <libm-alias-double.h>.
8682 (nextup): Define using libm_alias_double.
8683 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
8684 <libm-alias-double.h>.
8685 (roundeven): Define using libm_alias_double.
8686 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
8688 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
8689 <libm-alias-double.h>.
8690 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
8691 using libm_alias_double.
8692 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
8693 (cos): Define using libm_alias_double.
8695 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
8696 <libm-alias-double.h>.
8697 (sincos): Define using libm_alias_double.
8698 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
8699 (tanh): Define using libm_alias_double.
8700 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
8701 <libm-alias-double.h>.
8702 (totalorder): Define using libm_alias_double.
8703 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
8704 <libm-alias-double.h>.
8705 (totalordermag): Define using libm_alias_double.
8706 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
8708 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
8710 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
8711 <libm-alias-double.h>.
8712 (getpayload): Define using libm_alias_double.
8713 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
8714 <libm-alias-double.h>.
8715 (roundeven): Define using libm_alias_double.
8716 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
8717 <libm-alias-double.h>.
8718 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
8719 <libm-alias-double.h>.
8720 (totalorder): Define using libm_alias_double.
8721 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
8722 <libm-alias-double.h>.
8723 (totalordermag): Define using libm_alias_double.
8724 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
8725 libc compat symbol here.
8726 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
8727 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
8728 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
8729 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
8730 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
8731 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
8732 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
8733 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
8734 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
8735 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
8737 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
8739 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
8740 _dl_relocate_static_pie instead of _dl_start to compute load
8741 address in static PIE. Return 0 if _DYNAMIC is undefined for
8744 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
8746 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
8747 _DYNAMIC is undefined for static executable.
8749 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
8751 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
8753 2017-09-29 Joseph Myers <joseph@codesourcery.com>
8755 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8757 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
8759 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8760 (__ieee754_lgamma_r): Use fabs rather than __fabs.
8761 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8762 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8763 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8764 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
8765 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8766 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
8767 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
8768 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
8769 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
8770 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8771 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
8772 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
8773 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8774 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8775 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
8777 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
8779 * math/bits/cmathcalls.h (cimag): Remove inline.
8780 (creal): Remove inline.
8781 (conj): Remove inline.
8783 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
8785 * math/Makefile (type-float-routines): Add e_powf_log2_data.
8786 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
8787 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
8788 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
8789 (issignalingf_inline): Likewise.
8790 (POWF_LOG2_TABLE_BITS): Likewise.
8791 (POWF_LOG2_POLY_ORDER): Likewise.
8792 (POWF_SCALE_BITS): Likewise.
8793 (POWF_SCALE): Likewise.
8794 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
8795 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
8796 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
8798 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
8800 * math/Makefile (type-float-routines): Add e_log2f_data.
8801 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
8802 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
8803 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
8804 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
8805 * sysdeps/i386/fpu/e_log2f_data.c: New file.
8806 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
8807 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
8809 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
8811 * math/Makefile (type-float-routines): Add e_logf_data.
8812 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
8813 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
8814 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
8815 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
8816 * sysdeps/i386/fpu/e_logf_data.c: New file.
8817 * sysdeps/ia64/fpu/e_logf_data.c: New file.
8818 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
8820 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
8822 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
8823 undefined _DYNAMIC in PIE libc.a.
8824 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
8827 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
8829 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
8830 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
8831 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
8832 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
8833 (__signbit): Remove.
8834 (__signbitl): Remove.
8835 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
8836 (__signbit): Remove.
8837 (__signbitl): Remove.
8838 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
8839 (__signbit): Remove.
8840 (__signbitl): Remove.
8841 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
8842 (__signbit): Remove.
8843 (__signbitl): Remove.
8844 * sysdeps/tile/bits/mathinline.h: Delete file.
8845 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
8846 (__signbit): Remove.
8847 (__signbitl): Remove.
8849 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
8851 * math/math.h: Improve handling of C99 isgreater macros.
8852 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
8853 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
8854 * sysdeps/powerpc/bits/mathinline.h: Likewise.
8855 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8856 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
8858 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
8860 * sysdeps/aarch64/libm-test-ulps: Update.
8862 2017-09-28 Joseph Myers <joseph@codesourcery.com>
8865 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8866 math_opt_barrier on argument when doing arithmetic on it.
8867 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8868 Likewise. Use math_force_eval not math_opt_barrier after
8870 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
8871 math_opt_barrier on argument when doing arithmetic on it.
8872 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8875 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
8877 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
8879 (__freeifaddrs): Likewise.
8881 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8883 * include/dirent.h (__dirfd): New declaration.
8884 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
8886 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
8887 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
8888 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
8889 * include/unistd.h (__revoke): New declaration.
8890 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
8892 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
8893 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
8895 * include/dirent.h (__seekdir): New declaration.
8896 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
8897 redefine as weak alias.
8898 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
8900 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
8901 and use libc_hidden_def on them.
8902 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
8904 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
8905 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
8906 instead of getifaddrs and freeifaddrs.
8908 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
8911 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
8912 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
8913 (__dso_handle): Remove declaration.
8914 * dlfcn/tstatexit.c (__dso_handle): Removed.
8915 (main): Don't check __dso_handle.
8916 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
8917 (main): Don't check __dso_handle.
8918 * include/dso_handle.h: New file.
8919 * malloc/mtrace.c: Include <dso_handle.h>.
8920 (mtrace): Pass __dso_handle directly.
8921 * nptl/pthread_atfork.c: Include <dso_handle.h>.
8922 (__dso_handle): Remove declaration.
8923 (__pthread_atfork): Pass __dso_handle directly.
8924 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
8925 (__dso_handle): Removed.
8926 * posix/wordexp-test.c: Include <dso_handle.h>.
8927 (__dso_handle): Remove declaration.
8928 (__app_register_atfork): Pass __dso_handle directly.
8929 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
8930 (__dso_handle): Remove declaration.
8931 (at_quick_exit): Pass __dso_handle directly.
8932 * stdlib/atexit.c: Include <dso_handle.h>.
8933 (__dso_handle): Remove declaration.
8934 (atexit): Pass __dso_handle directly.
8935 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
8936 (__dso_handle): Removed.
8938 2017-09-26 Joseph Myers <joseph@codesourcery.com>
8940 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
8943 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
8945 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
8946 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
8947 values to correct default value for given type.
8949 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
8952 * elf/Makefile (tests): Add tst-debug1.
8953 ($(objpfx)tst-debug1): New.
8954 ($(objpfx)tst-debug1.out): Likewise.
8955 ($(objpfx)tst-debug1mod1.so): Likewise.
8956 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
8958 * elf/tst-debug1.c: New file.
8960 2017-09-26 Joseph Myers <joseph@codesourcery.com>
8962 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
8963 Define using __ifunc.
8965 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8967 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
8970 2017-09-26 Joseph Myers <joseph@codesourcery.com>
8973 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
8975 2017-09-26 Florian Weimer <fweimer@redhat.com>
8977 * resolv/Makefile (tests-internal): Fix typo in comment.
8979 2017-09-26 Florian Weimer <fweimer@redhat.com>
8981 * resolv/nss_dns/dns-host.c: Fix typo in comment.
8983 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8985 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
8986 Use an union instead of a max_align_t array for __space,
8987 so that __space is the same size on all platforms.
8988 * malloc/scratch_buffer_grow_preserve.c
8989 (__libc_scratch_buffer_grow_preserve): Likewise.
8992 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
8994 * posix/Makefile (routines): Add glob-lstat-compat and
8995 glob64-lstat-compat.
8996 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
8997 * posix/glob-lstat-compat.c: New file.
8998 * posix/glob64-lstat-compat.c: Likewise.
8999 * posix/tst-glob_lstat_compat.c: Likewise.
9000 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
9001 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
9002 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
9003 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
9005 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
9006 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
9007 * posix/glob.c (glob_lstat): New function.
9008 (glob): Rename to __glob and add versioned symbol to 2.27.
9009 (glob_in_dir): Use glob_lstat.
9010 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
9011 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9012 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
9014 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
9015 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
9016 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
9017 gl_lstat on glob call.
9018 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
9020 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9021 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9022 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9023 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9024 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9025 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9026 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9027 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9028 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9029 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9030 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9031 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9034 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
9035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9036 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9037 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9038 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9039 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9040 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9043 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9044 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9045 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9047 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
9049 * configure.ac (AS): Require binutils 2.25 or later.
9050 * configure: Regenerated.
9052 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
9055 * stdlib/test-atexit-race-common.c (do_test): Minimize required
9058 2017-09-25 DJ Delorie <dj@redhat.com>
9061 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
9064 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9066 * sysdeps/ieee754/dbl-64/sincos32.h
9067 [SINCCOS32_H]: Remove define.
9068 [SINCOS32_H]: Define.
9070 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
9072 * math/Versions (expf): New libm symbol at GLIBC_2.27.
9074 * math/w_exp2f.c: New file.
9075 * math/w_expf.c: New file.
9076 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
9077 * math/w_expf_compat.c (__expf_compat): Likewise.
9078 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
9079 * sysdeps/ia64/fpu/e_expf.S: Likewise.
9080 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9081 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9082 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9083 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9084 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9085 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9086 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9087 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9088 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9089 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9090 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9091 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9100 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9101 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9102 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9103 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9104 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9105 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9109 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9110 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9111 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9113 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
9115 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
9116 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
9117 (roundtoint, converttoint): Likewise.
9118 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
9119 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
9120 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
9121 * sysdeps/ieee754/flt-32/math_config.h: New file.
9122 * sysdeps/ieee754/flt-32/math_errf.c: New file.
9123 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
9124 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
9125 * sysdeps/i386/fpu/math_errf.c: New file.
9126 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
9127 * sysdeps/ia64/fpu/math_errf.c: New file.
9128 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
9129 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
9131 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
9133 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
9134 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
9135 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
9136 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
9137 to make sure that these symbols are defined.
9138 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
9140 (__need_NULL): Do not define.
9141 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
9143 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
9144 CMGROUP_MAX, cmsgcred): Do not define.
9145 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
9147 * bits/socket.h: Likewise.
9148 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
9149 __gettimeofday instead of gettimeofday.
9150 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
9151 instead of settimeofday.
9153 2017-09-22 Joseph Myers <joseph@codesourcery.com>
9155 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
9156 (asinhf): Define using libm_alias_float.
9157 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
9158 (atanf): Define using libm_alias_float.
9159 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
9160 (cbrtf): Define using libm_alias_float.
9161 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
9162 (ceilf): Define using libm_alias_float.
9163 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
9164 <libm-alias-float.h>.
9165 (copysignf): Define using libm_alias_float.
9166 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
9167 (cosf): Define using libm_alias_float.
9168 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
9169 (erff): Define using libm_alias_float.
9171 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
9172 (expm1f): Define using libm_alias_float.
9173 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
9174 (fabsf): Define using libm_alias_float.
9175 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
9176 (floorf): Define using libm_alias_float.
9177 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
9178 (frexpf): Define using libm_alias_float.
9179 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
9181 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
9182 <libm-alias-float.h>.
9183 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
9185 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
9186 <libm-alias-float.h>.
9187 (getpayloadf): Define using libm_alias_float.
9188 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
9189 <libm-alias-float.h>.
9190 (llrintf): Define using libm_alias_float.
9191 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
9192 <libm-alias-float.h>.
9193 (llroundf): Define using libm_alias_float.
9194 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
9195 (logbf): Define using libm_alias_float.
9196 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
9197 (lrintf): Define using libm_alias_float.
9198 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
9199 (lroundf): Define using libm_alias_float.
9200 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
9201 (modff): Define using libm_alias_float.
9202 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
9203 <libm-alias-float.h>.
9204 (nearbyintf): Define using libm_alias_float.
9205 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
9206 <libm-alias-float.h>.
9207 (nextafterf): Define using libm_alias_float.
9208 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
9209 <libm-alias-float.h>.
9210 (nextupf): Define using libm_alias_float.
9211 * sysdeps/ieee754/flt-32/s_remquof.c: Include
9212 <libm-alias-float.h>.
9213 (remquof): Define using libm_alias_float.
9214 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
9215 (rintf): Define using libm_alias_float.
9216 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
9217 <libm-alias-float.h>.
9218 (roundevenf): Define using libm_alias_float.
9219 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
9220 (roundf): Define using libm_alias_float.
9221 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
9222 using libm_alias_float.
9223 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
9224 <libm-alias-float.h>.
9225 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
9226 Define using libm_alias_float.
9227 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
9228 <libm-alias-float.h>.
9229 (sincosf): Define using libm_alias_float.
9230 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
9231 (sinf): Define using libm_alias_float.
9232 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
9233 (tanf): Define using libm_alias_float.
9234 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
9235 (tanhf): Define using libm_alias_float.
9236 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
9237 <libm-alias-float.h>.
9238 (totalorderf): Define using libm_alias_float.
9239 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
9240 <libm-alias-float.h>.
9241 (totalordermagf): Define using libm_alias_float.
9242 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
9243 (truncf): Define using libm_alias_float.
9244 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
9246 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
9249 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9252 math/math.h: Let fpclassify use the builtin in C++ mode, even
9253 when optimazing for size.
9255 2017-09-22 Joseph Myers <joseph@codesourcery.com>
9257 * csu/Makefile (generated): Do not add version-info.h.
9258 (before-compile): Likewise.
9259 (all-Banner-files): Remove variable.
9260 ($(objpfx)version-info.h): Remove rule.
9261 * csu/version.c (banner): Do not include "version-info.h".
9262 * libidn/Banner: Remove.
9263 * manual/contrib.texi (Simon Josefsson): New entry.
9265 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9267 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9268 Remove conditionals on LDBL_MANT_DIG.
9269 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
9270 (__ieee754_lgammal_r): Likewise.
9272 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9274 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
9276 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
9277 _Float128 and L(). Replace _Float128 with long double and L(x)
9278 with xL, throughout the file.
9279 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9280 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
9281 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
9282 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
9284 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9286 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
9287 sysdeps/ieee754/ldbl-128ibm.
9288 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
9289 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
9290 of including it. Keep _Float128 and L() intact. These will be
9291 reviewed by a separate patch.
9292 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9293 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
9294 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
9295 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
9297 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
9300 (__finitef128): Define to __redirect___finitef128.
9301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
9302 (__isinff128): Define to __redirect___isinff128.
9303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
9304 (__isnanf128): Define to __redirect___isnanf128.
9306 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9308 * sysdeps/powerpc/powerpc64le/Makefile
9309 (CFLAGS-tst-strtod-nan-locale.c): New variable.
9310 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
9312 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
9313 Carlos O'Donell <carlos@redhat.com>
9316 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
9317 * stdlib/test-dlclose-exit-race.c: New file.
9318 * stdlib/test-dlclose-exit-race-helper.c: New file.
9319 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
9321 2017-09-21 Joseph Myers <joseph@codesourcery.com>
9323 * crypt/Banner: Remove file.
9324 * nptl/Banner: Likewise.
9325 * resolv/Banner: Likewise.
9326 * soft-fp/Banner: Likewise.
9327 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
9328 ($(objpfx)version.d): Remove dependency on banner.h.
9329 ($(objpfx)version.os): Likewise.
9330 * nptl/version.c (banner): Do not include banner.h.
9331 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
9332 Jelinek and BIND code.
9334 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
9335 Carlos O'Donell <carlos@redhat.com>
9337 * support/xdlfcn.h: New file.
9338 * support/xdlfcn.c: New file.
9339 * support/Makefile (libsupport-routines): Add xdlfcn.
9340 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
9342 2017-09-20 Joseph Myers <joseph@codesourcery.com>
9345 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9346 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
9347 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
9348 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
9349 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
9350 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
9351 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
9352 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
9354 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
9355 Ricky Zhou <rickyz@google.com>
9356 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
9359 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
9361 (__new_exitfn): Fail registration when we finished at_exit processing.
9362 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9363 * stdlib/on_exit.c (__on_exit): Likewise.
9364 * stdlib/exit.c (__exit_funcs_done): New variable.
9365 (__run_exit_handlers): Use __exit_funcs_lock.
9366 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
9368 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
9369 (test-cxa_atexit-race, test-on_exit-race): New tests.
9370 * stdlib/test-atexit-race-common.c: New file.
9371 * stdlib/test-atexit-race.c: New file.
9372 * stdlib/test-at_quick_exit-race.c: New file.
9373 * stdlib/test-cxa_atexit-race.c: New file.
9374 * stdlib/test-on_exit-race.c: New file.
9376 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
9378 * benchtests/Makefile: Add exp2f and log2f benchmarks.
9379 * benchtests/exp2f-inputs: Copy of expf-inputs.
9380 * benchtests/log2f-inputs: Copy of logf-inputs.
9382 2017-09-19 Joseph Myers <joseph@codesourcery.com>
9384 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
9385 Explicitly take address of first element of array arguments in
9386 call to INLINE_SYSCALL.
9388 2017-09-19 Andreas Schwab <schwab@suse.de>
9391 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
9393 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
9395 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
9396 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
9397 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9398 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
9399 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9400 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
9401 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9402 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
9403 * posix/Makefile (tests): Add tst-fexecve.
9404 * posix/tst-fexecve.c: New file.
9406 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9408 * benchtests/Makefile: Add logf benchmark.
9409 * benchtests/logf-inputs: Add reduced trace from wrf_r.
9411 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9413 * benchtests/Makefile: Add expf benchmark.
9414 * benchtests/expf-inputs: Add reduced trace from wrf_r.
9416 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9418 * csu/Makefile: Add -funwind-tables to libc-start.c.
9419 * debug/Makefile: Add -funwind-tables to backtrace.c.
9420 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
9421 * sysdeps/arm/Makefile: Likewise.
9422 * sysdeps/i386/Makefile: Likewise.
9423 * sysdeps/m68k/Makefile: Likewise.
9424 * sysdeps/mips/Makefile: Likewise.
9425 * sysdeps/nios2/Makefile: Likewise.
9426 * sysdeps/sh/Makefile: Likewise.
9427 * sysdeps/sparc/Makefile: Likewise.
9429 2017-09-19 Joseph Myers <joseph@codesourcery.com>
9431 * benchtests/Makefile (bench-math): Add trunc and truncf.
9432 (CFLAGS-bench-trunc.c): New variable.
9433 (CFLAGS-bench-truncf.c): Likewise.
9434 * benchtests/trunc-inputs: New file.
9435 * benchtests/truncf-inputs: Likewise.
9437 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9439 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
9441 2017-09-18 Joseph Myers <joseph@codesourcery.com>
9443 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
9444 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
9446 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
9447 (exp10l): Define as weak alias.
9448 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
9449 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
9451 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
9452 (remainderl): Define as weak alias.
9454 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
9455 (fmal): Define using libm_alias_ldouble.
9456 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
9457 (acoshl): Define using libm_alias_ldouble.
9458 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
9459 (acosl): Define using libm_alias_ldouble.
9460 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
9461 (asinl): Define using libm_alias_ldouble.
9462 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
9463 (atan2l): Define using libm_alias_ldouble.
9464 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
9465 (atanhl): Define using libm_alias_ldouble.
9466 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
9467 (coshl): Define using libm_alias_ldouble.
9468 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
9469 (exp10l): Define using libm_alias_ldouble.
9470 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
9471 (exp2l): Define using libm_alias_ldouble.
9472 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
9473 (expl): Define using libm_alias_ldouble.
9474 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
9475 (fmodl): Define using libm_alias_ldouble.
9476 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
9477 (hypotl): Define using libm_alias_ldouble.
9478 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
9479 (j0l): Define using libm_alias_ldouble.
9481 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
9482 (j1l): Define using libm_alias_ldouble.
9484 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
9485 (jnl): Define using libm_alias_ldouble.
9487 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
9488 (log10l): Define using libm_alias_ldouble.
9489 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
9490 (log2l): Define using libm_alias_ldouble.
9491 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
9492 (logl): Define using libm_alias_ldouble.
9493 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
9494 (powl): Define using libm_alias_ldouble.
9495 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
9496 (remainderl): Define using libm_alias_ldouble.
9497 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
9498 (sinhl): Define using libm_alias_ldouble.
9499 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
9500 (sqrtl): Define using libm_alias_ldouble.
9501 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
9502 (tgammal): Define using libm_alias_ldouble.
9503 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
9504 (exp10l): Do not use long_double_symbol here.
9505 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
9506 [LIBM_SVID_COMPAT] (remainderl): Likewise.
9507 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
9508 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
9509 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
9510 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
9511 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
9512 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
9513 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
9514 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
9515 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
9516 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
9517 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
9518 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
9519 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
9520 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
9521 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
9522 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
9523 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
9524 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
9525 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
9526 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
9528 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
9530 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
9531 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
9533 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
9535 * io/read.c (read): Add libc_hidden_weak.
9536 * sysdeps/mach/hurd/read.c (read): Likewise.
9537 * io/write.c (write): Likewise.
9538 * sysdeps/mach/hurd/write.c (write): Likewise.
9539 * io/pread64.c (__pread64): Likewise.
9540 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
9541 * posix/pread64.c (__pread64): Add libc_hidden_def.
9543 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
9545 * benchtests/scripts/compare_strings.py: New option -g.
9546 (draw_graph): Print a message that a graph is being generated.
9547 (process_results): Generate graph only if -g is passed.
9548 (main): Process option -g.
9550 * benchtests/scripts/compare_strings.py (process_results):
9551 Better spacing for output.
9553 * benchtests/scripts/compare_strings.py: Use argparse.
9554 * benchtests/README: Document existence of compare_strings.py.
9556 2017-09-15 Joseph Myers <joseph@codesourcery.com>
9558 * math/s_fma.c: Include <libm-alias-double.h>.
9559 (fma): Define using libm_alias_double.
9560 * math/s_nextafter.c: Include <libm-alias-double.h>.
9561 (nextafter): Define using libm_alias_double.
9562 * math/w_acos_compat.c: Include <libm-alias-double.h>.
9563 (acos): Define using libm_alias_double.
9564 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
9565 (aocsh): Define using libm_alias_double.
9566 * math/w_asin_compat.c: Include <libm-alias-double.h>.
9567 (asin): Define using libm_alias_double.
9568 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
9569 (atan2): Define using libm_alias_double.
9570 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
9571 (atanh): Define using libm_alias_double.
9572 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
9573 (cosh): Define using libm_alias_double.
9574 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
9575 (exp10): Define using libm_alias_double.
9576 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
9577 (exp2): Define using libm_alias_double.
9578 * math/w_exp_compat.c: Include <libm-alias-double.h>.
9579 (exp): Define using libm_alias_double.
9580 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
9581 (fmod): Define using libm_alias_double.
9582 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
9583 (hypot): Define using libm_alias_double.
9584 * math/w_j0_compat.c: Include <libm-alias-double.h>.
9585 (j0): Define using libm_alias_double.
9587 * math/w_j1_compat.c: Include <libm-alias-double.h>.
9588 (j1): Define using libm_alias_double.
9590 * math/w_jn_compat.c: Include <libm-alias-double.h>.
9591 (jn): Define using libm_alias_double.
9593 * math/w_log10_compat.c: Include <libm-alias-double.h>.
9594 (log10): Define using libm_alias_double.
9595 * math/w_log2_compat.c: Include <libm-alias-double.h>.
9596 (log2): Define using libm_alias_double.
9597 * math/w_log_compat.c: Include <libm-alias-double.h>.
9598 (log): Define using libm_alias_double.
9599 * math/w_pow_compat.c: Include <libm-alias-double.h>.
9600 (pow): Define using libm_alias_double.
9601 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
9602 (remainder): Define using libm_alias_double.
9603 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
9604 (sinh): Define using libm_alias_double.
9605 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
9606 (sqrt): Define using libm_alias_double.
9607 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
9608 (tgamma): Define using libm_alias_double.
9609 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
9610 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
9611 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
9612 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
9613 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
9614 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
9615 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
9616 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
9617 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
9618 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
9619 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
9620 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
9621 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
9622 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
9623 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
9624 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
9625 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
9626 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
9627 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
9628 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
9629 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
9630 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
9631 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
9632 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
9633 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
9635 * math/e_acoshl.c: Remove.
9636 * math/e_acosl.c: Likewise.
9637 * math/e_asinl.c: Likewise.
9638 * math/e_atan2l.c: Likewise.
9639 * math/e_atanhl.c: Likewise.
9640 * math/e_coshl.c: Likewise.
9641 * math/e_expl.c: Likewise.
9642 * math/e_fmodl.c: Likewise.
9643 * math/e_gammal_r.c: Likewise.
9644 * math/e_hypotl.c: Likewise.
9645 * math/e_j0l.c: Likewise.
9646 * math/e_j1l.c: Likewise.
9647 * math/e_jnl.c: Likewise.
9648 * math/e_lgammal_r.c: Likewise.
9649 * math/e_log10l.c: Likewise.
9650 * math/e_log2l.c: Likewise.
9651 * math/e_logl.c: Likewise.
9652 * math/e_powl.c: Likewise.
9653 * math/e_rem_pio2l.c: Likewise.
9654 * math/e_sinhl.c: Likewise.
9655 * math/e_sqrtf128.c: Likewise.
9656 * math/e_sqrtl.c: Likewise.
9657 * math/k_cosl.c: Likewise.
9658 * math/k_sinl.c: Likewise.
9659 * math/k_tanl.c: Likewise.
9660 * math/s_asinhl.c: Likewise.
9661 * math/s_atanl.c: Likewise.
9662 * math/s_cbrtl.c: Likewise.
9663 * math/s_erfl.c: Likewise.
9664 * math/s_expm1l.c: Likewise.
9665 * math/s_log1pl.c: Likewise.
9666 * math/s_tanhl.c: Likewise.
9668 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9671 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
9672 [$(subdir) = math] (sysdep_calls): New variable. Has the
9673 previous contents of sysdep_routines, but re-sorted..
9674 [$(subdir) = math] (sysdep_routines): Re-use the contents from
9676 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
9677 defined in sysdep_calls and replace by the respective m_* names.
9678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
9679 (compat_symbol): Undefine to avoid duplicated compat symbols in
9682 2017-09-15 Joseph Myers <joseph@codesourcery.com>
9684 * math/s_fmaf.c: Include <libm-alias-float.h>.
9685 (fmaf): Define using libm_alias_float.
9686 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
9687 (acosf): Define using libm_alias_float.
9688 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
9689 (acoshf): Define using libm_alias_float.
9690 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
9691 (asinf): Define using libm_alias_float.
9692 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
9693 (atan2f): Define using libm_alias_float.
9694 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
9695 (atanhf): Define using libm_alias_float.
9696 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
9697 (coshf): Define using libm_alias_float.
9698 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
9699 (exp10f): Define using libm_alias_float.
9700 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
9701 (fmodf): Define using libm_alias_float.
9702 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
9703 (hypotf): Define using libm_alias_float.
9704 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
9705 (j0f): Define using libm_alias_float.
9707 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
9708 (j1f): Define using libm_alias_float.
9710 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
9711 (jnf): Define using libm_alias_float.
9713 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
9714 (log10f): Define using libm_alias_float.
9715 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
9716 (log2f): Define using libm_alias_float.
9717 * math/w_logf_compat.c: Include <libm-alias-float.h>.
9718 (logf): Define using libm_alias_float.
9719 * math/w_powf_compat.c: Include <libm-alias-float.h>.
9720 (powf): Define using libm_alias_float.
9721 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
9722 (remainderf): Define using libm_alias_float.
9723 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
9724 (sinhf): Define using libm_alias_float.
9725 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
9726 (sqrtf): Define using libm_alias_float.
9727 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
9728 (tgammaf): Define using libm_alias_float.
9730 2017-09-14 Joseph Myers <joseph@codesourcery.com>
9732 * include/math.h (roundeven): Change hidden_proto call to
9734 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
9736 [NO_LONG_DOUBLE] (__j0l): New strong alias.
9737 (y0): Rename to __y0 and define as weak alias.
9738 [NO_LONG_DOUBLE] (__y0l): New strong alias.
9739 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
9741 (y0f): Rename to __y0f and define as weak alias.
9742 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
9744 [NO_LONG_DOUBLE] (__j1l): New strong alias.
9745 (y1): Rename to __y1 and define as weak alias.
9746 [NO_LONG_DOUBLE] (__y1l): New strong alias.
9747 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
9749 (y1f): Rename to __y1f and define as weak alias.
9750 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
9752 [NO_LONG_DOUBLE] (__jnl): New strong alias.
9753 (yn): Rename to __yn and define as weak alias.
9754 [NO_LONG_DOUBLE] (__ynl): New strong alias.
9755 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
9757 (ynf): Rename to __ynf and define as weak alias.
9758 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
9759 (fromfp): Define as weak alias.
9760 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
9761 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
9762 (fromfpx): Define as weak alias.
9763 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
9764 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
9765 __getpayload and define as weak alias.
9766 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
9767 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
9768 __roundeven and define as weak alias.
9769 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
9770 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
9772 (setpayload): Define as weak alias.
9773 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
9774 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
9776 (setpayloadsig): Define as weak alias.
9777 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
9778 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
9779 __totalorder and define as weak alias.
9780 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
9781 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
9782 to __totalordermag and define as weak alias.
9783 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
9784 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
9785 (ufromfp): Define as weak alias.
9786 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
9787 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
9789 (ufromfpx): Define as weak alias.
9790 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
9791 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
9792 Rename to __getpayload and define as weak alias.
9793 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
9794 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
9795 Rename to __roundeven and define as weak alias.
9796 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
9797 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
9798 Rename to __totalorder and define as weak alias.
9799 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
9800 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
9801 (totalordermag): Rename to __totalordermag and define as weak
9803 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
9804 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
9806 (__roundevenl): Likewise.
9807 (__totalorderl): Likewise.
9808 (__totalordermagl): Likewise
9809 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
9811 (fromfpf128): Define as weak alias.
9812 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
9814 (fromfpxf128): Define as weak alias.
9815 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
9817 (setpayloadf128): Define as weak alias.
9818 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
9819 __setpayloadsigf128.
9820 (setpayloadsigf128): Define as weak alias.
9821 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
9823 (ufromfpf128): Define as weak alias.
9824 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
9826 (ufromfpxf128): Define as weak alias.
9827 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
9828 (fromfpf): Define as weak alias.
9829 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
9831 (fromfpxf): Define as weak alias.
9832 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
9833 __getpayloadf and define as weak alias.
9834 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
9835 __roundevenf and define as weak alias.
9836 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
9838 (setpayloadf): Define as weak alias.
9839 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
9841 (setpayloadsigf): Define as weak alias.
9842 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
9843 __totalorderf and define as weak alias.
9844 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
9845 Rename to __totalordermagf and define as weak alias.
9846 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
9848 (ufromfpf): Define as weak alias.
9849 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
9851 (ufromfpxf): Define as weak alias.
9852 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
9854 (fromfpl): Define as weak alias.
9855 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
9857 (fromfpxl): Define as weak alias.
9858 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
9859 to __getpayloadl and define as weak alias.
9860 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
9861 __roundevenl and define as weak alias.
9862 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
9864 (setpayloadl): Define as weak alias.
9865 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
9867 (setpayloadsigl): Define as weak alias.
9868 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
9869 to __totalorderl and define as weak alias.
9870 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
9871 Rename to __totalordermagl and define as weak alias.
9872 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
9874 (ufromfpl): Define as weak alias.
9875 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
9877 (ufromfpxl): Define as weak alias.
9878 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
9880 (fromfpl): Define as weak alias.
9881 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
9883 (fromfpxl): Define as weak alias.
9884 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
9885 Rename to __getpayloadl and define as weak alias.
9886 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
9887 to __roundevenl and define as weak alias. Call __roundeven
9888 instead of roundeven.
9889 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
9891 (setpayloadl): Define as weak alias.
9892 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
9894 (setpayloadsigl): Define as weak alias.
9895 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
9896 Rename to __totalorderl and define as weak alias.
9897 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
9898 Rename to __totalordermagl and define as weak alias.
9899 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
9901 (ufromfpl): Define as weak alias.
9902 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
9904 (ufromfpxl): Define as weak alias.
9905 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
9907 (fromfpl): Define as weak alias.
9908 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
9910 (fromfpxl): Define as weak alias.
9911 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
9912 __getpayloadl and define as weak alias.
9913 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
9914 __roundevenl and define as weak alias.
9915 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
9917 (setpayloadl): Define as weak alias.
9918 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
9920 (setpayloadsigl): Define as weak alias.
9921 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
9922 __totalorderl and define as weak alias.
9923 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
9924 Rename to __totalordermagl and define as weak alias.
9925 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
9927 (ufromfpl): Define as weak alias.
9928 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
9930 (ufromfpxl): Define as weak alias.
9932 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
9934 * benchtests/bench-string.h (realloc_bufs): New function.
9935 (test_init): Call it.
9936 * benchtests/bench-memset-large.c (do_test): Likewise.
9937 * benchtests/bench-memset.c (do_test): Likewise.
9939 * benchtests/bench-memset-large.c: Print output in JSON
9941 * benchtests/bench-memset.c: Likewise.
9943 2017-09-14 Mike FABIAN <mfabian@redhat.com>
9946 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
9947 * iconvdata/Makefile: Add IBM858.
9948 * iconvdata/gconv-modules: Likewise.
9949 * iconvdata/tst-tables.sh: Likewise.
9950 * iconvdata/ibm858.c: New file.
9951 * localedata/charmaps/IBM858: Likewise.
9953 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
9956 * locales/niu_NZ (LC_TIME): copy "niu_NU".
9957 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
9959 2017-09-14 Mike FABIAN <mfabian@redhat.com>
9962 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
9963 and add tel_int_fmt.
9965 2017-09-14 Joseph Myers <joseph@codesourcery.com>
9967 * sysdeps/generic/libm-alias-float128.h: New file.
9968 * sysdeps/generic/math-type-macros-float128.h: Include
9969 <libm-alias-float128.h>.
9970 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
9972 2017-09-13 Joseph Myers <joseph@codesourcery.com>
9974 * sysdeps/generic/libm-alias-ldouble.h: New file.
9975 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
9976 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
9977 * sysdeps/generic/math-type-macros-ldouble.h: Include
9978 <libm-alias-ldouble.h>.
9979 [!declare_mgen_alias] (declare_mgen_alias): Define to use
9982 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
9984 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
9985 * math/w_exp_compat.c: ... here.
9986 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
9987 * math/w_expf_compat.c: ... here.
9988 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
9989 * math/w_expl_compat.c: ... here.
9990 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
9991 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
9992 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
9993 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
9995 2017-09-13 Joseph Myers <joseph@codesourcery.com>
9997 * math/w_scalbln_template.c (strong_alias): Do not undefine and
9999 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
10001 (ldexpl): Only define as compat symbol for libc, not libm.
10002 (scalbnl): Define as compat symbol for libc here.
10003 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
10004 define for [IS_IN (libc)].
10005 (__ldexpl_2): Remove alias.
10006 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
10007 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
10008 name in long_double_symbol call.
10009 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
10010 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
10011 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
10012 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
10013 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
10015 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
10016 Define as compat symbol.
10018 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10020 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
10021 * sysdeps/unix/sysv/linux/alpha/Makefile
10022 [$(subdir) = csu] (sysdep_routines): Remove rule.
10024 2017-09-13 Joseph Myers <joseph@codesourcery.com>
10026 * sysdeps/generic/libm-alias-double.h: New file.
10027 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
10028 * sysdeps/generic/math-type-macros-double.h: Include
10029 <libm-alias-double.h>.
10030 [declare_mgen_alias] (declare_mgen_alias): Define to use
10032 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
10033 (M_LIBM_NEED_COMPAT): Remove macro.
10034 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
10035 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
10036 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
10038 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10039 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10040 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10041 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10042 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10043 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10044 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10045 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10046 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10047 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10048 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10049 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10050 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10051 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10052 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10053 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10054 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10055 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10056 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10057 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10058 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10059 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10060 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10061 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10062 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10063 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10064 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10065 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
10066 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
10068 (declare_mgen_alias): New macro.
10069 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
10070 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
10071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
10072 (M_LIBM_NEED_COMPAT): Remove macro.
10073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
10074 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
10075 <first-versions.h>.
10076 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
10077 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
10079 2017-09-12 Joseph Myers <joseph@codesourcery.com>
10081 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
10082 (declare_mgen_alias_2): Remove.
10083 * sysdeps/generic/math-type-macros-double.h
10084 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
10086 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
10088 (ldexp): Define with declare_mgen_alias.
10089 (scalbn): Likewise.
10091 2017-09-12 Steve Ellcey <sellcey@cavium.com>
10093 * grp/initgroups.c: Include config.h.
10094 (DEFAULT_CONFIG): New macro.
10095 (internal_getgrouplist): Use DEFAULT_CONFIG.
10096 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10097 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
10098 (DEFAULT_DEFCONFIG): New macro.
10099 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
10100 * nss/grp-lookup.c: Include config.h
10101 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
10102 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
10103 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
10104 * manual/nss.texi: Update default values section.
10106 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
10109 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
10111 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
10112 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
10113 Handle MathVec_Prefer_No_AVX512.
10114 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
10115 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
10118 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
10120 * posix/sched_primax.c (__sched_get_priority_max): Add
10122 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
10123 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
10124 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
10125 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
10126 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
10127 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
10128 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
10129 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
10132 2017-09-11 Joseph Myers <joseph@codesourcery.com>
10134 * sysdeps/generic/libm-alias-float.h: New file.
10135 * sysdeps/generic/math-type-macros-float.h: Include
10136 <libm-alias-float.h>.
10137 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
10139 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
10142 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
10143 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
10144 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
10145 (HWCAP_IMPORTANT): Likewise.
10146 (HWCAP_X86_64): New enum.
10147 (HWCAP_X86_AVX512_1): Updated.
10148 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
10149 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
10150 (modules-names): Add x86_64/tst-x86_64mod-1.
10151 (LDFLAGS-tst-x86_64mod-1.so): New.
10152 ($(objpfx)tst-x86_64-1): Likewise.
10153 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
10154 (tst-x86_64-1-clean): Likewise.
10155 * sysdeps/x86_64/tst-x86_64-1.c: New file.
10156 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
10158 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10160 * po/sv.po: Update translations.
10161 * po/fr.po: Likewise.
10163 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10165 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
10167 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
10169 * elf/rtld-Rules: Fix $(error) use.
10171 2017-09-09 Mike FABIAN <mfabian@redhat.com>
10174 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
10175 * locale/iso-639.def: Change “Bengali” to “Bangla”.
10176 * localedata/locales/bn_BD: “Bengali” was still used in some
10177 comments. Change it to “Bangla”.
10179 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
10181 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
10183 2017-09-08 Steve Ellcey <sellcey@cavium.com>
10185 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
10186 thunderx2t99p1 to list of cpu names.
10187 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
10188 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
10190 2017-09-08 Steve Ellcey <sellcey@cavium.com>
10192 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
10193 Use strcmp instead of tunable_is_name.
10195 2017-09-08 Joseph Myers <joseph@codesourcery.com>
10197 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10198 (F_GET_RW_HINT): New macro.
10199 [__USE_GNU] (F_SET_RW_HINT): Likewise.
10200 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
10201 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
10202 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
10203 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
10204 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
10205 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
10206 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
10207 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
10209 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10210 (F_ADD_SEALS): New macro.
10211 [__USE_GNU] (F_GET_SEALS): Likewise.
10212 [__USE_GNU] (F_SEAL_SEAL): Likewise.
10213 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
10214 [__USE_GNU] (F_SEAL_GROW): Likewise.
10215 [__USE_GNU] (F_SEAL_WRITE): Likewise.
10217 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10219 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
10220 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
10221 * posix/glob_internal.h (__glob_pattern_type):
10222 * posix/glob.c (glob):
10223 * posix/glob_pattern_p.c (__glob_pattern_p):
10226 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
10227 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10228 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
10229 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
10230 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
10231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
10232 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
10233 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
10234 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
10235 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10236 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
10237 * sysdeps/wordsize-64/glob.c: Likewise.
10238 * sysdeps/wordsize-64/glob64.c: Likewise.
10239 * sysdeps/wordsize-64/globfree.c: Likewise.
10240 * sysdeps/wordsize-64/globfree64.c: Likewise.
10241 * sysdeps/unix/sysv/linux/glob.c: New file.
10242 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
10243 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
10244 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
10245 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
10246 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
10247 adds !GLOB_NO_OLD_VERSION as an extra condition.
10248 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
10249 using relative path instead of absolute one.
10250 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
10251 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10252 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10253 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
10254 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
10255 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
10258 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
10259 (glob): Use the same scratch buffer for both getlogin_r and
10260 getpwnam_r. Don’t require preallocation of the login name. This
10261 simplifies storage allocation, and corrects the handling of
10265 * posix/glob.c (glob): Port recent patches to platforms
10266 lacking getpwnam_r.
10267 (glob): Fix longstanding misuse of errno after getpwnam_r, which
10268 returns an error number rather than setting errno.
10270 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
10271 instead of GCC extension.
10272 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
10273 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
10274 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
10278 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
10279 * posix/bug-glob1.c: Remove file.
10280 * posix/tst-glob_symlinks.c: New file.
10281 * posix/glob.c (__lstat64): New macro.
10282 (is_dir): New function.
10283 (glob, glob_in_dir): Match symlinks even if they are dangling.
10284 (link_stat, link_exists_p): Remove. All uses removed.
10288 * posix/glob.c (struct readdir_result): Remove skip_entry member.
10289 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
10294 * posix/Makefile (routines): Add globfree, globfree64, and
10296 * posix/flexmember.h: New file.
10297 * posix/glob_internal.h: Likewise.
10298 * posix/glob_pattern_p.c: Likewise.
10299 * posix/globfree.c: Likewise.
10300 * posix/globfree64.c: Likewise.
10301 * sysdeps/gnu/globfree64.c: Likewise.
10302 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
10303 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
10304 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
10305 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
10306 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
10307 * sysdeps/wordsize-64/globfree.c: Likewise.
10308 * sysdeps/wordsize-64/globfree64.c: Likewise.
10309 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
10310 [NDEBUG): Remove comments.
10311 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
10312 (dirent_type): New type. Use uint_fast8_t not
10313 uint8_t, as C99 does not require uint8_t.
10314 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
10315 (struct readdir_result): Use dirent_type. Do not define skip_entry
10316 unless it is needed; this saves a byte on platforms lacking d_ino.
10317 (readdir_result_type, readdir_result_skip_entry):
10318 New functions, replacing ...
10319 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
10320 these functions, which were removed. This makes the callers
10321 easier to read. All callers changed.
10322 (D_INO_TO_RESULT): Now empty if there is no d_ino.
10323 (size_add_wrapv, glob_use_alloca): New static functions.
10324 (glob, glob_in_dir): Check for size_t overflow in several places,
10325 and fix some size_t checks that were not quite right.
10326 Remove old code using SHELL since Bash no longer
10328 (glob, prefix_array): Separate MS code better.
10329 (glob_in_dir): Remove old Amiga and VMS code.
10330 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
10332 (glob_in_dir): Do not rely on undefined behavior in accessing
10333 struct members beyond their bounds. Use a flexible array member
10335 (link_stat): Rename from link_exists2_p and return -1/0 instead of
10336 0/1. Caller changed.
10337 (glob): Fix memory leaks.
10338 * posix/glob64 (globfree64): Move to separate file.
10339 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
10340 (globfree64): Remove hidden alias.
10341 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
10343 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
10345 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
10347 Move compat code to separate file.
10348 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
10351 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
10353 * resolv/tst-resolv-qtypes.c (domain): Changed to
10354 "const char domain[] =".
10356 2017-09-07 Joseph Myers <joseph@codesourcery.com>
10358 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
10361 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
10362 (TCP_MD5SIG_EXT): Likewise.
10363 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
10364 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
10365 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
10367 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
10369 2017-09-07 Mike FABIAN <mfabian@redhat.com>
10371 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
10373 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
10376 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
10378 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
10380 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
10381 before assuming that the file is empty. Avoid testing buffer content
10384 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10387 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
10389 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
10391 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
10393 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
10395 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
10397 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
10399 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
10402 2017-09-06 Florian Weimer <fweimer@redhat.com>
10404 * malloc/dynarray_emplace_enlarge.c
10405 (__libc_dynarray_emplace_enlarge): Add missing else.
10407 2017-09-06 Florian Weimer <fweimer@redhat.com>
10410 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
10411 case of failure to obtain the global conf object.
10413 2017-09-06 Florian Weimer <fweimer@redhat.com>
10416 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
10417 dynarray allocation failure.
10419 2017-09-06 Florian Weimer <fweimer@redhat.com>
10421 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
10422 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
10423 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
10425 (response): Call them. Add 'p', '6' flag processing.
10426 (test_reverse): New function.
10427 (test_get2_any): Call it.
10428 (test_no_inet6): Add 'p' test.
10429 (test_inet6): Likewise.
10431 2017-09-06 Florian Weimer <fweimer@redhat.com>
10433 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
10434 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
10436 (test_gai): Adjust query names. Add additional tests.
10437 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
10438 test_get2. Adjust query names. Add additional tests.
10439 (test_no_inet6): New function, extracted from threadfunc.
10440 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
10441 Add additional tests.
10443 2017-09-06 Mike FABIAN <mfabian@redhat.com>
10446 * localedata/unicode-gen/utf8_gen.py: Set the width for
10447 characters with Prepended_Concatenation_Mark property to 1
10448 * localedata/charmaps/UTF-8: Updated using the improved script.
10450 2017-09-06 Mike FABIAN <mfabian@redhat.com>
10453 * localedata/unicode-gen/utf8_gen.py: Improve the script to
10454 use the range notation for all ranges of neighbouring characters
10455 with the same width.
10457 2017-09-05 Joseph Myers <joseph@codesourcery.com>
10459 * sysdeps/generic/math-type-macros-double.h: Include
10460 <math-svid-compat.h>.
10461 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
10462 * sysdeps/generic/math-type-macros-float.h: Include
10463 <math-svid-compat.h>.
10464 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
10465 * sysdeps/generic/math-type-macros-ldouble.h: Include
10466 <math-svid-compat.h>.
10467 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
10468 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
10470 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
10471 * math/w_acosf_compat.c: Likewise.
10472 * math/w_acosh_compat.c: Likewise.
10473 * math/w_acoshf_compat.c: Likewise.
10474 * math/w_acoshl_compat.c: Likewise.
10475 * math/w_acosl_compat.c: Likewise.
10476 * math/w_asin_compat.c: Likewise.
10477 * math/w_asinf_compat.c: Likewise.
10478 * math/w_asinl_compat.c: Likewise.
10479 * math/w_atan2_compat.c: Likewise.
10480 * math/w_atan2f_compat.c: Likewise.
10481 * math/w_atan2l_compat.c: Likewise.
10482 * math/w_atanh_compat.c: Likewise.
10483 * math/w_atanhf_compat.c: Likewise.
10484 * math/w_atanhl_compat.c: Likewise.
10485 * math/w_cosh_compat.c: Likewise.
10486 * math/w_coshf_compat.c: Likewise.
10487 * math/w_coshl_compat.c: Likewise.
10488 * math/w_exp10_compat.c: Likewise.
10489 * math/w_exp10f_compat.c: Likewise.
10490 * math/w_exp10l_compat.c: Likewise.
10491 * math/w_exp2_compat.c: Likewise.
10492 * math/w_exp2f_compat.c: Likewise.
10493 * math/w_exp2l_compat.c: Likewise.
10494 * math/w_fmod_compat.c: Likewise.
10495 * math/w_fmodf_compat.c: Likewise.
10496 * math/w_fmodl_compat.c: Likewise.
10497 * math/w_hypot_compat.c: Likewise.
10498 * math/w_hypotf_compat.c: Likewise.
10499 * math/w_hypotl_compat.c: Likewise.
10500 * math/w_j0_compat.c: Likewise.
10501 * math/w_j0f_compat.c: Likewise.
10502 * math/w_j0l_compat.c: Likewise.
10503 * math/w_j1_compat.c: Likewise.
10504 * math/w_j1f_compat.c: Likewise.
10505 * math/w_j1l_compat.c: Likewise.
10506 * math/w_jn_compat.c: Likewise.
10507 * math/w_jnf_compat.c: Likewise.
10508 * math/w_jnl_compat.c: Likewise.
10509 * math/w_lgamma_r_compat.c: Likewise.
10510 * math/w_lgammaf_r_compat.c: Likewise.
10511 * math/w_lgammal_r_compat.c: Likewise.
10512 * math/w_log10_compat.c: Likewise.
10513 * math/w_log10f_compat.c: Likewise.
10514 * math/w_log10l_compat.c: Likewise.
10515 * math/w_log2_compat.c: Likewise.
10516 * math/w_log2f_compat.c: Likewise.
10517 * math/w_log2l_compat.c: Likewise.
10518 * math/w_log_compat.c: Likewise.
10519 * math/w_logf_compat.c: Likewise.
10520 * math/w_logl_compat.c: Likewise.
10521 * math/w_pow_compat.c: Likewise.
10522 * math/w_powf_compat.c: Likewise.
10523 * math/w_powl_compat.c: Likewise.
10524 * math/w_remainder_compat.c: Likewise.
10525 * math/w_remainderf_compat.c: Likewise.
10526 * math/w_remainderl_compat.c: Likewise.
10527 * math/w_sinh_compat.c: Likewise.
10528 * math/w_sinhf_compat.c: Likewise.
10529 * math/w_sinhl_compat.c: Likewise.
10530 * math/w_sqrt_compat.c: Likewise.
10531 * math/w_sqrtf_compat.c: Likewise.
10532 * math/w_sqrtl_compat.c: Likewise.
10533 * math/w_tgamma_compat.c: Likewise.
10534 * math/w_tgammaf_compat.c: Likewise.
10535 * math/w_tgammal_compat.c: Likewise.
10536 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
10537 [LIBM_SVID_COMPAT].
10538 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
10539 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
10540 [LIBM_SVID_COMPAT].
10541 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
10542 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
10543 [LIBM_SVID_COMPAT].
10544 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
10545 * sysdeps/i386/fpu/w_sqrt.c: New file.
10546 * sysdeps/ia64/fpu/w_acos.c: Likewise.
10547 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
10548 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
10549 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
10550 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
10551 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
10552 * sysdeps/ia64/fpu/w_asin.c: Likewise.
10553 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
10554 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
10555 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
10556 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
10557 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
10558 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
10559 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
10560 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
10561 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
10562 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
10563 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
10564 * sysdeps/ia64/fpu/w_exp.c: Likewise.
10565 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
10566 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
10567 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
10568 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
10569 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
10570 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
10571 * sysdeps/ia64/fpu/w_expf.c: Likewise.
10572 * sysdeps/ia64/fpu/w_expl.c: Likewise.
10573 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
10574 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
10575 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
10576 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
10577 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
10578 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
10579 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
10580 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
10581 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
10582 * sysdeps/ia64/fpu/w_log.c: Likewise.
10583 * sysdeps/ia64/fpu/w_log10.c: Likewise.
10584 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
10585 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
10586 * sysdeps/ia64/fpu/w_log2.c: Likewise.
10587 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
10588 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
10589 * sysdeps/ia64/fpu/w_logf.c: Likewise.
10590 * sysdeps/ia64/fpu/w_logl.c: Likewise.
10591 * sysdeps/ia64/fpu/w_pow.c: Likewise.
10592 * sysdeps/ia64/fpu/w_powf.c: Likewise.
10593 * sysdeps/ia64/fpu/w_powl.c: Likewise.
10594 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
10595 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
10596 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
10597 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
10598 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
10599 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
10600 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
10601 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
10602 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
10603 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
10604 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
10605 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
10606 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
10607 [LIBM_SVID_COMPAT].
10608 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
10609 * sysdeps/ieee754/k_standard.c: Likewise.
10610 * sysdeps/ieee754/k_standardf.c: Likewise.
10611 * sysdeps/ieee754/k_standardl.c: Likewise.
10612 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
10613 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
10614 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
10615 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
10616 long_double_symbol call on [LIBM_SVID_COMPAT].
10617 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
10618 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
10619 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
10620 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
10621 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
10622 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
10623 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
10624 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
10625 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
10626 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
10627 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
10628 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
10629 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
10630 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
10631 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
10632 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
10633 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
10634 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
10635 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
10636 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
10637 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
10638 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
10640 2017-09-05 Steve Ellcey <sellcey@cavium.com>
10642 * include/shlib-compat.h (TEST_COMPAT): New Macro.
10643 * malloc/tst-mallocstate.c: Convert from test-skeleton
10644 to test-driver. Ifdef code using TEST_COMPAT macro.
10645 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
10646 * math/test-matherr.c: Likewise.
10648 2017-09-05 Joseph Myers <joseph@codesourcery.com>
10651 * debug/pcprofiledump.c (main): Use byte-swapped mask when
10652 comparing word with byte-swapped constant.
10654 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
10657 * locale/iso-639.def: add Miskito.
10658 * localedata/SUPPORTED: Add miq_NI/UTF-8.
10659 * localedata/locales/miq_NI: New file.
10661 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
10664 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
10665 (__mkdir): Likewise.
10666 * io/chmod.c (__chmod): Add libc_hidden_def.
10667 * io/mkdir.c (__mkdir): Likewise.
10668 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
10669 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
10670 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
10671 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
10673 2017-09-04 Joseph Myers <joseph@codesourcery.com>
10675 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10679 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
10680 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
10682 2017-09-04 Florian Weimer <fweimer@redhat.com>
10684 * math/math.h: Issue warning if log is defined.
10686 2017-09-04 Joseph Myers <joseph@codesourcery.com>
10688 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10689 kernel version to 4.13.
10691 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10693 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
10694 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
10696 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
10697 just <bits/types.h>.
10698 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
10699 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
10700 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
10701 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
10702 * misc/preadv2.c: Include <errno.h>.
10703 * misc/preadv64v2.c: Include <errno.h>.
10704 * misc/pwritev2.c: Include <errno.h>.
10705 * misc/pwritev64v2.c: Include <errno.h>.
10706 * sysdeps/posix/preadv2.c: Include <errno.h>.
10707 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
10708 Fix <unistd.h> inclusion.
10709 * sysdeps/posix/pwritev2.c: Include <errno.h>.
10710 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
10711 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
10712 __strtoul_internal): New functions.
10713 * sysdeps/posix/pause.c: Include <sigsetops.h>.
10714 * sysdeps/posix/system.c: Include <sigsetops.h>.
10715 * sysdeps/mach/hurd/i386/Makefile
10716 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
10717 [$(subdir) = csu] (sysdep-only-routines): Likewise.
10718 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
10719 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
10720 __feraiseexcept_renamed to feraiseexcept instead of
10721 __GI_feraiseexcept.
10722 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
10723 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
10724 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
10725 RWF_NOWAIT): Define to 0 if undefined already.
10726 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
10728 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
10729 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
10731 2017-09-01 Joseph Myers <joseph@codesourcery.com>
10733 * manual/math.texi (pow10): Do not document.
10734 (pow10f): Likewise.
10735 (pow10l): Likewise.
10736 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
10737 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
10738 * math/libm-test-exp10.inc (pow10_test): Remove.
10739 (do_test): Do not call pow10.
10740 * math/w_exp10_compat.c (pow10): Make into compat symbol.
10741 [NO_LONG_DOUBLE] (pow10l): Likewise.
10742 * math/w_exp10f_compat.c (pow10f): Likewise.
10743 * math/w_exp10l_compat.c (pow10l): Likewise.
10744 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
10745 (pow10): Make into compat symbol.
10746 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
10747 (pow10f): Make into compat symbol.
10748 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
10749 (pow10l): Make into compat symbol.
10750 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
10752 (CFLAGS-nldbl-pow10.c): Remove variable..
10753 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
10754 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
10755 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
10756 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
10757 Undefine and redefine.
10758 (pow10l): Make into compat symbol.
10759 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
10760 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10761 * sysdeps/arm/libm-test-ulps: Likewise.
10762 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
10763 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10764 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
10765 * sysdeps/microblaze/libm-test-ulps: Likewise.
10766 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10767 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10768 * sysdeps/nios2/libm-test-ulps: Likewise.
10769 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10770 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10771 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10772 * sysdeps/sh/libm-test-ulps: Likewise.
10773 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10774 * sysdeps/tile/libm-test-ulps: Likewise.
10775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10777 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
10779 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
10781 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
10783 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
10784 "../ChangeLog.old/ChangeLog.8".
10785 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
10786 "../ChangeLog.old/ChangeLog.14".
10788 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
10790 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
10793 2017-09-01 Joseph Myers <joseph@codesourcery.com>
10795 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
10797 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
10799 * csu/version.c (banner): Remove "by Roland McGrath et al.".
10800 * nptl/Banner: Remove "by Ulrich Drepper et al.".
10802 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
10804 * stdlib/tst-atexit-common.c (do_test): Test support for at least
10805 32 atexit handlers.
10807 2017-09-01 Zack Weinberg <zackw@panix.com>
10809 * math/math.h (HUGE_VAL): Improve commentary.
10811 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10812 Andreas Schwab <schwab@suse.de>
10815 * include/stdio.h (__gen_tempfd): New function.
10816 * stdio-common/Makefile (routines): Add gentempfd.
10817 * stdio-common/gentempfd.c: New file.
10818 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
10819 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
10820 unnamed file first.
10822 2017-09-01 Florian Weimer <fweimer@redhat.com>
10826 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
10827 result to determine success or failure, not the errno value.
10828 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
10829 (tst-nss-files-hosts-erange): Link with -ldl.
10830 * nss/tst-nss-files-hosts-erange.c: New file.
10831 * nss/tst-resolv-basic.c (response): Handle nodata.example.
10832 (do_test): Add NO_DATA tests.
10833 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
10834 (do_test): Call it.
10836 2017-09-01 Florian Weimer <fweimer@redhat.com>
10839 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
10840 coming from gethostbyname2_r.
10842 2017-09-01 Florian Weimer <fweimer@redhat.com>
10844 * support/namespace.h (struct support_chroot_configuration): Add
10846 (struct support_chroot): Add path_hosts, path_host_conf.
10847 * support/support_chroot.c (write_file): New function.
10848 (support_chroot_create): Call it to process /etc/resolv.conf,
10849 /etc/hosts, /etc/host.conf.
10850 (support_chroot_free): Update.
10852 2017-09-01 Florian Weimer <fweimer@redhat.com>
10854 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
10855 status indicates it is set.
10857 2017-09-01 Florian Weimer <fweimer@redhat.com>
10859 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
10860 function lookup failures more reliable.
10862 2017-09-01 Florian Weimer <fweimer@redhat.com>
10864 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
10865 (getcanonname): Likewise.
10866 (gaih_inet): Likewise.
10868 2017-09-01 Florian Weimer <fweimer@redhat.com>
10870 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
10871 (getcanonname): Likewise.
10872 (gaih_inet): Likewise.
10874 2017-08-31 Steve Ellcey <sellcey@cavium.com>
10875 Richard Henderson <rth@twiddle.net>
10877 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
10878 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
10879 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
10880 (IREG_SIZE, OREG_SIZE): New macros.
10881 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
10882 (IREG_SIZE, OREG_SIZE): New macros.
10883 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
10884 (IREG_SIZE): New macro.
10885 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
10886 (IREG_SIZE): New macro.
10887 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
10889 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
10890 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
10891 (__CONCATX): Handle exceptions correctly on large values that may
10893 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
10894 Initialize if not already set.
10895 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
10897 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10899 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
10900 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
10902 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
10904 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
10906 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
10908 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
10910 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
10912 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
10914 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
10915 (NO_CANCELLATION): Likewise.
10916 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
10918 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
10920 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
10922 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
10923 (NO_CANCELLATION): Likewise.
10924 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
10925 (NO_CANCELLATION): Likewise.
10926 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
10928 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
10930 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
10932 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
10934 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
10936 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
10937 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
10939 2017-08-31 Steve Ellcey <sellcey@cavium.com>
10941 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
10944 2017-08-31 Florian Weimer <fweimer@redhat.com>
10946 * include/libc-symbols.h (internal_function): Remove.
10948 2017-08-31 Florian Weimer <fweimer@redhat.com>
10950 * stdlib/fmtmsg.c (internal_addseverity): Remove
10953 2017-08-31 Florian Weimer <fweimer@redhat.com>
10955 * stdio-common/printf_fp.c (group_number): Remove
10957 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
10959 2017-08-31 Florian Weimer <fweimer@redhat.com>
10961 * posix/fnmatch.c (internal_function): Remove definition.
10962 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
10963 * posix/regcomp.c (peek_token, init_word_char)
10964 (duplicate_node_closure, fetch_token, peek_token)
10965 (peek_token_bracket, build_range_exp, build_collating_symbol):
10967 * posix/regex_internal.c (re_string_construct_common)
10968 (create_ci_newstate, create_cd_newstate, re_string_allocate)
10969 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
10970 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
10971 (re_string_translate_buffer, re_string_reconstruct)
10972 (re_string_peek_byte_case, re_string_fetch_byte_case)
10973 (re_string_destruct, re_string_context_at, re_node_set_alloc)
10974 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
10975 (re_node_set_add_intersect, re_node_set_init_union)
10976 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
10977 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
10978 (re_dfa_add_node, calc_state_hash, re_acquire_state)
10979 (re_acquire_state_context): Likewise.
10980 * posix/regex_internal.h (internal_function): Remove definition.
10981 (re_string_realloc_buffers, build_wcs_buffer)
10982 (build_wcs_upper_buffer, build_upper_buffer)
10983 (re_string_translate_buffer, re_string_context_at)
10984 (re_string_char_size_at, re_string_wchar_at)
10985 (re_string_elem_size_at): Likewise.
10986 * posix/regexec.c (match_ctx_init, match_ctx_clean)
10987 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
10988 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
10989 (re_search_internal, re_search_2_stub, re_search_stub)
10990 (re_copy_regs, prune_impossible_nodes, check_matching)
10991 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
10992 (free_fail_stack_return, sift_states_iter_mb)
10993 (sift_states_backward, build_sifted_states)
10994 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
10995 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
10996 (check_subexp_limits, sift_states_bkref, merge_state_array)
10997 (find_recover_state, transit_state, merge_state_with_log)
10998 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
10999 (transit_state_mb, transit_state_bkref, get_subexp)
11000 (get_subexp_sub, find_subexp_node, check_arrival)
11001 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
11002 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
11003 (check_node_accept_bytes, find_collation_sequence_value)
11004 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
11005 (acquire_init_state_context, check_halt_node_context)
11006 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
11007 (sub_epsilon_src_nodes): Likewise.
11008 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
11009 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
11010 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
11011 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
11012 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
11013 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
11014 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
11015 * sysdeps/posix/ttyname.c (getttyname): Likewise.
11016 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
11017 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
11018 (PREADV): Likewise.
11019 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
11020 (PREADV): Likewise.
11021 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
11022 (PWRITEV): Likewise.
11023 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
11024 (PWRITEV): Likewise.
11025 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
11026 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
11028 2017-08-31 Florian Weimer <fweimer@redhat.com>
11030 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
11031 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
11032 Remove internal_function.
11033 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
11034 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
11035 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
11036 (__deallocate_stack, __libc_pthread_init)
11037 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
11038 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
11039 (__libc_disable_asynccancel, __librt_disable_asynccancel):
11041 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
11042 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
11043 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
11045 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
11046 (__pthread_mutex_unlock_usercnt): Likewise.
11048 2017-08-31 Florian Weimer <fweimer@redhat.com>
11050 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
11051 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
11052 (fts_safe_changedir): Remove internal_function.
11053 * io/ftw.c (internal_function): Remove definition.
11054 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
11056 2017-08-31 Florian Weimer <fweimer@redhat.com>
11058 * inet/deadline.c (__deadline_current_time)
11059 (__deadline_from_timeval, __deadline_to_ms): Remove
11061 * inet/getnameinfo.c (nrl_domainname): Likewise.
11062 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
11063 * inet/inet6_option.c (add_pad): Likewise.
11064 * inet/net-internal.h (__deadline_current_time)
11065 (__deadline_from_timeval, __deadline_to_ms): Likewise.
11066 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
11067 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
11068 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
11070 2017-08-31 Joseph Myers <joseph@codesourcery.com>
11072 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
11073 include <bits/nan.h>.
11074 * math/Makefile (headers): Remove bits/nan.h.
11075 * bits/nan.h: Remove.
11076 * sysdeps/ieee754/bits/nan.h: Likewise.
11077 * sysdeps/mips/bits/nan.h: Likewise.
11079 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
11080 not include <bits/inf.h>.
11081 * math/Makefile (headers): Remove bits/inf.h.
11082 * bits/inf.h: Remove.
11083 * sysdeps/ieee754/bits/inf.h: Likewise.
11085 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
11086 bits/huge_vall.h or bits/huge_val_flt128.h.
11087 (HUGE_VAL): Define directly here.
11088 [__USE_ISOC99] (HUGE_VALF): Likewise.
11089 [__USE_ISOC99] (HUGE_VALL): Likewise.
11090 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
11091 (HUGE_VAL_F128): Likewise.
11092 * math/Makefile (headers): Remove bits/huge_val.h,
11093 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
11094 * bits/huge_val.h: Remove.
11095 * bits/huge_val_flt128.h: Likewise.
11096 * bits/huge_valf.h: Likewise.
11097 * bits/huge_vall.h: Likewise.
11098 * sysdeps/ia64/bits/huge_vall.h: Likewise.
11099 * sysdeps/ieee754/bits/huge_val.h: Likewise.
11100 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
11101 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
11102 * sysdeps/sh/bits/huge_val.h: Likewise.
11103 * sysdeps/sparc/bits/huge_vall.h: Likewise.
11104 * sysdeps/x86/bits/huge_vall.h: Likewise.
11106 2017-08-31 Florian Weimer <fweimer@redhat.com>
11108 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
11110 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
11112 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
11113 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11114 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
11115 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
11116 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11117 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11118 * elf/dl-libc.c (dlerror_run): Likewise.
11119 * elf/dl-load.c (add_name_to_object, decompose_rpath)
11120 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
11121 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
11122 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
11124 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
11125 (_dl_higher_prime_number, _dl_strtoul): Likewise.
11126 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
11127 * elf/dl-profile.c (_dl_start_profile): Likewise.
11128 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
11129 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
11131 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
11132 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
11133 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
11134 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
11135 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
11136 (_dl_allocate_tls_storage): Likewise.
11137 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
11138 (_dl_check_all_versions): Likewise.
11139 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
11140 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
11141 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
11142 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
11143 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
11144 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
11145 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
11146 internal_function from __dl_start.
11147 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
11148 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
11149 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
11150 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
11151 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
11152 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
11153 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
11154 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
11155 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
11156 (_dl_next_ld_env_entry, _dl_important_hwcaps)
11157 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
11158 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
11159 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
11160 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
11161 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
11163 (struct rtld_global_ro): Remove internal_function from the
11164 _dl_lookup_symbol_x member.
11165 (_dl_symbol_value): Remove. No longer defined anywhere.
11166 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
11168 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
11169 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
11170 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
11171 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
11172 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
11173 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
11174 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
11175 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
11176 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
11177 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
11178 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
11179 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
11181 2017-08-31 Florian Weimer <fweimer@redhat.com>
11183 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
11184 Remove internal_function.
11185 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
11187 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
11190 2017-08-31 Florian Weimer <fweimer@redhat.com>
11192 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
11193 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
11194 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
11196 2017-08-31 Florian Weimer <fweimer@redhat.com>
11198 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
11199 (__gai_enqueue_request): Remove internal_function.
11200 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
11201 (__gai_remove_request, __gai_notify, __gai_notify_only)
11202 (__gai_sigqueue): Likewise.
11203 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
11204 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
11205 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
11206 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11209 2017-08-31 Florian Weimer <fweimer@redhat.com>
11211 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
11212 * include/dirent.h (__opendirat, __getdents, __getdents64)
11213 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
11214 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
11215 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
11216 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
11218 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
11220 2017-08-31 Florian Weimer <fweimer@redhat.com>
11222 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
11224 (GETCWD_RETURN_TYPE): Likewise.
11226 2017-08-31 Florian Weimer <fweimer@redhat.com>
11228 * include/time.h (__tz_compute, __strptime_internal): Remove
11230 * time/strptime_l.c (__strptime_internal): Likewise.
11231 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
11233 2017-08-31 Florian Weimer <fweimer@redhat.com>
11235 * iconv/gconv.c (__gconv): Remove internal_function.
11236 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
11237 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
11238 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
11239 (__gconv_release_cache): Likewise.
11240 * iconv/gconv_close.c (__gconv_close): Likewise.
11241 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
11242 (read_conf_file, __gconv_get_path): Likewise.
11243 * iconv/gconv_db.c (derivation_lookup, add_derivation)
11244 (__gconv_release_step, gen_steps, increment_counter)
11245 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
11246 (__gconv_close_transform, free_modules_db): Likewise.
11247 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
11249 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
11250 (__gconv_find_transform, __gconv_lookup_cache)
11251 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
11252 (__gconv_close_transform, __gconv_release_cache)
11253 (__gconv_loaded_object, __gconv_release_shlib)
11254 (__gconv_compare_alias): Likewise.
11255 * iconv/gconv_open.c (__gconv_open): Likewise.
11256 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
11257 * iconv/iconvconfig.c (add_module): Likewise.
11258 * intl/dcigettext.c (plural_lookup, guess_category_value)
11259 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
11260 * intl/eval-plural.h (plural_eval): Likewise.
11261 * intl/finddomain.c (_nl_find_domain): Likewise.
11262 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
11263 (_nl_load_domain, _nl_find_msg): Likewise.
11264 (internal_function): Remove definition.
11265 * intl/loadinfo.h (internal_function): Likewise.
11266 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
11268 * intl/localealias.c (internal_function): Remove definition.
11269 (read_alias_file): Remove internal_function.
11270 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
11271 * intl/plural-exp.h (internal_function): Remove definition.
11272 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
11274 * intl/plural.c: Regenerate.
11275 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
11276 * locale/coll-lookup.c (__collidx_table_lookup)
11277 (__collseq_table_lookup): Likewise.
11278 * locale/coll-lookup.h (__collidx_table_lookup)
11279 (__collseq_table_lookup): Likewise.
11280 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
11281 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11282 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
11283 (_nl_unload_locale): Likewise.
11284 * locale/localeinfo.h (struct __locale_data): Remove
11285 internal_function from cleanup member.
11286 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
11287 (_nl_remove_locale, _nl_load_locale_from_archive)
11288 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
11289 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
11290 (_nl_cleanup_time): Remove internal_function.
11291 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
11292 (_nl_parse_alt_digit): Likewise.
11293 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
11294 (_nl_select_era_entry): Likewise.
11295 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
11296 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
11297 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
11298 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
11299 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
11301 2017-08-31 Florian Weimer <fweimer@redhat.com>
11303 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
11304 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
11305 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
11306 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
11308 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
11309 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
11310 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
11311 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
11313 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
11315 2017-08-31 Florian Weimer <fweimer@redhat.com>
11317 * misc/getttyent.c (skip, value): Remove internal_function.
11318 * misc/syslog.c (openlog_internal): Likewise.
11319 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
11321 2017-08-31 Florian Weimer <fweimer@redhat.com>
11323 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
11324 (__nss_rewrite_field): Remove internal_function.
11325 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11326 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
11327 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11328 * nss/nsswitch.c (nss_parse_file, nss_getline)
11329 (nss_parse_service_list, nss_new_service): Likewise.
11330 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
11331 * nss/valid_field.c (__nss_valid_field): Likewise.
11332 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
11334 2017-08-31 Florian Weimer <fweimer@redhat.com>
11336 * malloc/arena.c (__malloc_fork_lock_parent)
11337 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
11338 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
11339 internal_function from defintions.
11340 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
11341 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
11342 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
11343 internal_function from declarations.
11344 * malloc/malloc.c (internal_function): Do not define.
11345 (mem2mem_check): Remove internal_function from declaration.
11346 (munmap_chunk, mremap_chunk): Remove internal_function.
11347 * malloc/mtrace.c (tr_where): Likewise.
11349 2017-08-31 Florian Weimer <fweimer@redhat.com>
11351 * include/rpc/pmap_clnt.h (__get_socket): Remove
11353 * sunrpc/auth_des.c (synchronize): Likewise.
11354 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
11355 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
11356 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
11357 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
11358 (key_call): Likewise.
11359 * sunrpc/pm_getport.c (__get_socket): Likewise.
11360 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
11361 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
11362 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
11363 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
11364 (invalidate): Likewise.
11365 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
11366 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
11367 (set_input_fragment, get_input_bytes): Likewise.
11369 2017-08-31 Florian Weimer <fweimer@redhat.com>
11371 * malloc/malloc.c (_int_free): Remove locked variable and related
11374 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
11377 * Makerules (build-module-helper-objlist): Filter out
11378 $(elf-objpfx)sofini.os.
11379 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
11382 2017-08-31 Florian Weimer <fweimer@redhat.com>
11384 * libio/fcloseall.c: Assume weak_alias is defined.
11385 * libio/feof.c: Likewise.
11386 * libio/fileno.c: Likewise.
11387 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
11388 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
11390 (_IO_file_open): Call __open directly.
11391 (_IO_new_file_sync): Assume ESPIPE is defined.
11392 (_IO_file_seekoff_maybe_mmap): Call __read directly.
11393 (_IO_new_file_write): Call __write directly.
11394 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
11395 * libio/ftello64.c (__ftello64): Assume EIO is defined.
11396 * libio/genops.c: Assume _LIBC is defined.
11397 (save_for_backup): Remove internal_function.
11398 * libio/getc.c: Assume weak_alias is defined.
11399 * libio/getwc.c: Likewise.
11400 * libio/iofclose.c: Assume _LIBC is defined.
11401 * libio/iofdopen.c: Likewise.
11402 (_IO_fcntl): Remove macro definition.
11403 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
11404 Call __fcntl directly.
11405 * libio/iofflush.c: Assume weak_alias is defined.
11406 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
11408 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
11409 * libio/iofgets.c: Likewise.
11410 * libio/iofopen.c: Assume _LIBC is defined.
11411 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
11412 * libio/iofputs.c: Assume weak_alias is defined.
11413 * libio/iofread.c: Likewise.
11414 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
11415 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
11416 * libio/ioftell.c: Assume weak_alias is defined.
11417 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
11418 * libio/iofwide.c: Assume _LIBC is defined.
11419 (_IO_fwide): Drop SHARED conditional because it is implied by
11421 * libio/iofwrite.c: Assume weak_alias is defined.
11422 * libio/iogetdelim.c: Likewise.
11423 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
11424 * libio/iogetwline.c (wmemcpy): Remove macro definition.
11425 (_IO_getwline): Call __wmemcpy directly.
11426 * libio/iopopen.c: Assume _LIBC is defined.
11427 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
11428 (_IO_close): Remove macro definitions.
11429 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
11431 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
11433 * libio/ioputs.c: Assume weak_alias is defined.
11434 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
11435 * libio/iosetbuffer.c: Assume weak_alias is defined.
11436 * libio/iosetvbuf.c: Likewise.
11437 * libio/ioungetc.c: Likewise.
11438 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
11439 libc_hidden_def, libc_hidden_weak, NULL are defined.
11440 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
11441 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
11443 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
11445 (_IO_old_file_init_internal): Drop SHARED conditional because it
11446 is implied by SHLIB_COMPAT.
11447 (_IO_old_file_fopen): Call __open directly.
11448 (_IO_old_file_sync): Assume ESPIPE is defined.
11449 (_IO_old_file_write): Call __write directly.
11450 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
11451 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
11452 Call __fcntl directly.
11453 * libio/oldiofgetpos.c: Assume weak_alias is defined.
11454 (_IO_old_fgetpos): Assume EIO is defined.
11455 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
11456 (_IO_old_fgetpos64): Assume EIO is defined.
11457 * libio/oldiofsetpos.c: Assume weak_alias is defined.
11458 (_IO_old_fsetpos): Assume EIO is defined.
11459 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
11460 (_IO_old_fsetpos64): Assume EIO is defined.
11461 * libio/oldiopopen.c: Assume _LIBC is defined.
11462 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
11463 (_IO_close): Remove macro definitions.
11464 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
11466 (_IO_old_proc_close): Call __close, __waitpid directly.
11467 * libio/put.c: Assume weak_alias is defined.
11468 * libio/stdfiles.c: Assume _LIBC is defined.
11469 * libio/stdio.c: Likewise.
11470 * libio/wfileops.c: Likewise.
11471 (_IO_wfile_sync): Assume ESPIPE is defined.
11472 * libio/wgenops.c: Assume _LIBC is defined.
11473 (save_for_wbackup): Remove internal_function.
11475 2017-08-31 Florian Weimer <fweimer@redhat.com>
11477 * malloc/malloc.c (top_check): Change return type to void. Remove
11479 * malloc/hooks.c (top_check): Likewise.
11480 (malloc_check, realloc_check, memalign_check): Adjust.
11482 2017-08-30 Joseph Myers <joseph@codesourcery.com>
11485 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
11486 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
11487 sigcontext and namespace requirements.
11488 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
11489 * sysdeps/m68k/sys/ucontext.h: Likewise.
11490 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
11491 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
11492 <bits/sigcontext.h>.
11493 (__ctx): Define earlier.
11494 (mcontext_t): Define structure contents rather than using struct
11496 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
11497 __glibc_reserved1 instead of __reserved.
11498 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
11499 <bits/sigcontext.h>.
11500 (__ctx): Define earlier.
11501 (mcontext_t): Define structure contents rather than using struct
11503 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
11504 mcontext_t instead of struct sigcontext.
11505 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
11506 <bits/sigcontext.h>.
11507 (__ctx): Define earlier.
11508 (mcontext_t): Define structure contents rather than using struct
11510 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
11511 <bits/sigcontext.h>.
11512 (__ctx): Define earlier.
11513 (mcontext_t): Define structure contents rather than using struct
11515 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
11516 mcontext_t instead of struct sigcontext.
11517 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
11518 mcontext_t instead of struct sigcontext.
11519 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
11520 <bits/sigcontext.h>.
11521 (__ctx): New macro.
11522 (struct __ia64_fpreg_mcontext): New type.
11523 (mcontext_t): Define structure contents rather than using struct
11525 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
11526 (uc_sigmask): Define using __ctx.
11527 (uc_stack): Likewise.
11528 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
11529 <bits/sigcontext.h>.
11530 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11531 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
11532 <bits/sigcontext.h>.
11533 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
11534 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
11535 <bits/sigcontext.h>.
11536 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
11537 <bits/sigcontext.h>.
11538 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
11539 <bits/sigcontext.h>.
11540 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
11541 <bits/sigcontext.h>.
11542 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
11543 <bits/sigcontext.h>.
11544 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
11545 <bits/sigcontext.h>.
11546 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
11547 <bits/sigcontext.h>.
11548 (__ctx): Define earlier.
11549 (mcontext_t): Define structure contents rather than using struct
11551 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
11552 <bits/sigcontext.h>. Include <bits/types.h>.
11553 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
11554 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
11555 (test-xfail-XPG42/ucontext.h/conform): Likewise.
11556 (test-xfail-UNIX98/signal.h/conform): Likewise.
11557 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11558 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11559 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11560 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11561 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11562 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11563 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11564 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11565 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11567 2017-08-30 Florian Weimer <fweimer@redhat.com>
11569 * malloc/dynarray_emplace_enlarge.c
11570 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
11571 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
11572 * malloc/tst-dynarray.c (test_long_overflow): New function.
11573 (do_test): Call it.
11575 2017-08-30 Florian Weimer <fweimer@redhat.com>
11577 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
11578 (set_arena_corrupt): Remove definitions.
11579 (mtrim): Do not check for corrupt arena.
11580 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
11583 2017-08-30 Florian Weimer <fweimer@redhat.com>
11586 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
11588 (ptmalloc_init): Do not set or use check_action.
11589 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
11590 call to malloc_printerr. Remove return statement.
11591 (free_check): Likewise. Remove arena unlock.
11592 (top_check): Update comment. Adjust call to malloc_printerr.
11593 Remove heap repair code.
11594 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
11595 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
11596 (sysmalloc): Adjust call to malloc_printerr.
11597 (munmap_chunk, __libc_realloc): Likewise. Remove return
11599 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
11600 Remove errout label and corresponding gotos.
11601 (_int_free): Likewise. Remove arena unlock.
11602 (do_set_mallopt_check): Do not set check_action.
11603 (malloc_printerr): Adjust parameter list. Do not mark arena as
11605 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
11607 * manual/probes.texi (Memory Allocation Probes): Remove
11608 memory_mallopt_check_action.
11610 2017-08-30 Steve Ellcey <sellcey@cavium.com>
11612 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
11613 Use pointer to uint64_t instead of long int for sp.
11615 2017-08-30 Florian Weimer <fweimer@redhat.com>
11618 * malloc/malloc.c (malloc_printerr): Always terminate the process,
11619 without printing a backtrace. Do not leak any information in the
11621 * manual/memory.texi (Heap Consistency Checking): Update.
11622 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
11624 2017-08-30 Florian Weimer <fweimer@redhat.com>
11626 Do not scale NPTL tests with available number of CPUs.
11627 * nptl/tst-cond16.c (count): Set to constant value of 8.
11628 * nptl/tst-cond18.c (count): Likewise.
11630 2017-08-29 Joseph Myers <joseph@codesourcery.com>
11633 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
11634 Define to take a second argument that is a macro that
11635 concatentates a suffix, not the suffix itself.
11636 (__CONCAT_d): New macro.
11637 (__CONCAT_f): Likewise.
11638 (__CONCAT_l): Likewise.
11640 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
11642 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
11645 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11646 Aurelien Jarno <aurelien@aurel32.net>
11647 Maciej W. Rozycki <macro@imgtec.com>
11650 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
11651 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
11652 `mips16-syscall6' and `mips16-syscall7'.
11653 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
11654 (CFLAGS-mips16-syscall7.c): Remove.
11655 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
11656 Remove `__mips16_syscall5', `__mips16_syscall6' and
11657 `__mips16_syscall7'.
11658 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
11659 (__mips16_syscall0): Rename `__mips16_syscall_return' to
11660 `__mips_syscall_return'.
11661 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
11662 (__mips16_syscall1): Likewise.
11663 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
11664 (__mips16_syscall2): Likewise.
11665 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
11666 (__mips16_syscall3): Likewise.
11667 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
11668 (__mips16_syscall4): Likewise.
11669 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
11671 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
11673 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
11675 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
11676 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
11677 `__mips16_syscall5'. Remove prototype.
11678 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
11679 `__mips16_syscall6'. Remove prototype.
11680 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
11681 `__mips16_syscall7'. Remove prototype.
11682 (__nomips16, __mips16_syscall_return): Move to...
11683 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
11684 (__nomips16, __mips_syscall_return): ... here.
11685 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
11686 `__mips16_syscall_return' to `__mips_syscall_return'.
11687 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
11688 `internal_syscall##nr'.
11689 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
11690 `internal_syscall##nr'.
11691 (FORCE_FRAME_POINTER): Remove.
11692 (__mips_syscall5): New prototype.
11693 (internal_syscall5): Rewrite to call `__mips_syscall5'.
11694 (__mips_syscall6): New prototype.
11695 (internal_syscall6): Rewrite to call `__mips_syscall6'.
11696 (__mips_syscall7): New prototype.
11697 (internal_syscall7): Rewrite to call `__mips_syscall7'.
11698 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
11699 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
11700 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
11701 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
11702 (sysdep_routines): Add libc-do-syscall.
11703 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
11704 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
11706 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11709 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
11710 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
11711 (advise_stack_range): New function.
11712 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
11713 stack non required to advise_stack_range at allocatestack.c
11715 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
11717 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
11719 2017-08-29 Florian Weimer <fweimer@redhat.com>
11722 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
11723 __end_fct. Mangle __end_fct after setting it to NULL.
11724 * iconv/Makefile (tests): Add tst-gconv-init-failure.
11725 (modules-names, modules-names-tests): Add
11726 tst-gconv-init-failure-mod.
11727 (gconv-modules): New target.
11728 (tst-gconv-init-failure-mod.so): Link against libsupport.
11729 (tst-gconv-init-failure): Depend on gconv-modules,
11730 tst-gconv-init-failure-mod.so.
11731 * iconv/tst-gconv-init-failure-mod.c: New file.
11732 * iconv/tst-gconv-init-failure.c: Likewise.
11733 * iconv/test-gconv-modules: Likewise.
11735 2017-08-29 Florian Weimer <fweimer@redhat.com>
11738 * iconv/gconv_db.c (free_derivation): Remove redundant
11740 (gen_steps): Unconditionally mangle __btowc_fct after
11742 (increment_counter): Likewise. Do not call init_fct for internal
11745 2017-08-29 Joseph Myers <joseph@codesourcery.com>
11748 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
11749 (_MSUF_): Remove macro.
11750 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
11752 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
11753 (__REDIRFROM_X): New macro.
11754 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
11756 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
11757 (__REDIRTO_X): Likewise.
11758 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
11760 (__MATH_REDIRCALL_2): Likewise.
11761 (__MATH_REDIRCALL_INTERNAL): Likewise.
11762 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
11763 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
11764 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
11765 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
11766 * math/test-finite-macros.c: New file.
11767 * math/Makefile (tests): Add test-finite-macros.
11768 (CFLAGS-test-finite-macros.c): New variable.
11770 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
11771 Jeff Law <law@redhat.com>
11774 Mangle NULL pointers in iconv/gconv.
11775 * iconv/gconv_cache.c (find_module): Demangle init_fct before
11776 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
11777 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
11778 is non-NULL before demangling the end_fct. Check for NULL
11779 end_fct after demangling.
11780 (__gconv_release_step): Demangle the end_fct before checking
11781 it for NULL. Remove assert on __shlibc_handle != NULL.
11782 (gen_steps): Don't check btowc_fct for NULL before mangling.
11783 Demangle init_fct before checking for NULL.
11784 (increment_counter): Likewise.
11785 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
11786 end_fct for NULL before mangling.
11787 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
11790 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
11793 * locale/iso-639.def: add Morisyen.
11795 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11798 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
11799 (iszero): New C++ implementation that does not use
11800 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
11801 signaling nans are enabled, since __builtin_types_compatible_p
11802 is a C-only feature.
11803 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
11804 defined, include ieee754_float128.h for access to the union and
11805 member ieee854_float128.ieee.
11806 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
11807 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
11808 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
11809 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
11810 options of test-math-zero on powerpc64le.
11812 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
11814 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
11815 Change double to float.
11817 2017-08-28 Joseph Myers <joseph@codesourcery.com>
11819 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
11821 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
11822 conditional code; define contents only for [LIBM_SVID_COMPAT].
11824 2017-08-28 Florian Weimer <fweimer@redhat.com>
11826 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
11827 (abi-lp64_be-options): Remove.
11828 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
11829 (abi-hard-options): Likewise.
11830 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
11831 (abi-o32_hard-options, abi-o32_soft_2008-options)
11832 (abi-o32_hard_2008-options, abi-n32_soft-options)
11833 (abi-n32_hard-options, abi-n32_soft_2008-options)
11834 (abi-n32_hard_2008-options, abi-n64_soft-options)
11835 (abi-n64_hard-options, abi-n64_soft_2008-options)
11836 (abi-n64_hard_2008-options): Likewise.
11837 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
11838 (abi-64-v1-options, abi-64-v2-options): Likewise.
11839 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
11840 (abi-64-options): Likewise.
11841 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
11842 (abi-64-options): Likewise.
11843 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
11844 (abi-64-options): Likewise.
11845 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
11846 (abi-64-options, abi-x32-options): Likewise.
11848 2017-08-28 Florian Weimer <fweimer@redhat.com>
11850 Store supported list of SYS_* system calls in the source tree.
11851 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11852 (bits/syscall.h): Generate from list file.
11853 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
11854 [$(subdir) = misc] (tests): Add tst-syscall-list.
11855 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
11856 [$(subdir) = misc] (tst-syscall-list-macros.list)
11857 [$(subdir) = misc] (tst-syscall-list-nr.list)
11858 (tst-syscall-list-sys.list): Helper targets for new
11859 tst-syscall-list test.
11860 [$(subdir) = misc] (tst-syscall-list.out): Run test script
11861 tst-syscall-list.sh.
11862 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
11863 target. Do not include bits/syscall.d.
11864 [$(subdir) = misc] (generated): Do not update.
11865 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
11866 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
11867 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
11868 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
11870 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
11872 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
11873 (tst-cxa_atexit, tst-on_exit): Likewise.
11874 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
11875 tst-cxa_atexit, and tst-on_exit.
11876 * stdlib/tst-atexit-common.c: New file.
11877 * stdlib/tst-atexit.c: New file.
11878 * stdlib/tst-at_quick_exit.c: New file.
11879 * stdlib/tst-cxa_atexit.c: New file.
11880 * stdlib/tst-on_exit.c: New file.
11882 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11884 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
11885 * mach/stack_chk_fail_local.c: New file.
11886 * hurd/stack_chk_fail_local.c: New file.
11887 * mach/Machrules ($(interface-library)-routines): Add
11888 stack_chk_fail_local.
11889 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
11890 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
11891 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
11892 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
11893 * hurd/Makefile (CFLAGS-hurdstartup.o,
11894 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
11896 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
11898 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
11899 (index_cpu_*, index_arch_*): Removed.
11901 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
11903 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
11904 Use uint64_t instead of unsigned long.
11906 2017-08-25 Joseph Myers <joseph@codesourcery.com>
11908 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
11909 [__HAVE_DISTINCT_FLOAT128].
11911 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
11912 of <bits/math-finite.h>.
11913 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
11914 inclusion of <bits/math-finite.h>.
11915 * math/bits/math-finite.h (__REDIRTO_X): Do not define
11916 conditionally on [__MATH_DECLARING_LDOUBLE && defined
11917 __NO_LONG_DOUBLE_MATH].
11918 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
11919 (__MATH_REDIRCALL_2): Likewise.
11920 (__MATH_REDIRCALL_INTERNAL): Likewise.
11921 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
11922 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
11923 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
11925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
11927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
11929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
11931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
11933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
11935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
11937 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
11938 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
11939 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
11940 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
11941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
11942 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
11943 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
11944 w_sqrtf_compat-ppc32.
11946 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11948 * math/math.h [defined __cplusplus] (issignaling): In the long
11949 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
11950 is not defined. Call __issignaling, otherwise.
11952 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11954 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
11955 syscall definitions and replace __builtin_expect with __glibc_likely.
11956 * sysdeps/unix/syscall-template.S: Update comment about cancellable
11958 (SYSCALL_CANCELLABLE): Removedefinition
11959 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
11961 (PSEUDO_END): Likewise.
11962 [IS_IN (libpthread)] (CENABLE): Likewise.
11963 [IS_IN (libpthread)] (CDISABLE): Likewise.
11964 [IS_IN (libc)] (CENABLE): Likewise.
11965 [IS_IN (libc)] (CENABLE): Likewise.
11966 [IS_IN (librt)] (CDISABLE): Likewise.
11967 [IS_IN (librt)] (CDISABLE): Likewise.
11968 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11969 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
11971 (PSEUDO_END): Likewise.
11972 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
11973 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
11974 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
11975 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
11976 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
11977 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
11978 (CENABLE): Likewise.
11979 (CDISABLE): Likewise.
11980 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11981 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
11983 (PSEUDO_END): Likewise.
11984 [IS_IN (libpthread)] (CENABLE): Likewise.
11985 [IS_IN (libpthread)] (CDISABLE): Likewise.
11986 [IS_IN (libc)] (CENABLE): Likewise.
11987 [IS_IN (libc)] (CENABLE): Likewise.
11988 [IS_IN (librt)] (CDISABLE): Likewise.
11989 [IS_IN (librt)] (CDISABLE): Likewise.
11990 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11991 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
11993 (PSEUDO_END): Likewise.
11994 [IS_IN (libpthread)] (CENABLE): Likewise.
11995 [IS_IN (libpthread)] (CDISABLE): Likewise.
11996 [IS_IN (libc)] (CENABLE): Likewise.
11997 [IS_IN (libc)] (CENABLE): Likewise.
11998 [IS_IN (librt)] (CDISABLE): Likewise.
11999 [IS_IN (librt)] (CDISABLE): Likewise.
12000 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
12001 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
12003 (PSEUDO_END): Likewise.
12004 [IS_IN (libpthread)] (CENABLE): Likewise.
12005 [IS_IN (libpthread)] (CDISABLE): Likewise.
12006 [IS_IN (libc)] (CENABLE): Likewise.
12007 [IS_IN (libc)] (CENABLE): Likewise.
12008 [IS_IN (librt)] (CDISABLE): Likewise.
12009 [IS_IN (librt)] (CDISABLE): Likewise.
12010 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
12011 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
12013 (PSEUDO_END): Likewise.
12014 [IS_IN (libpthread)] (CENABLE): Likewise.
12015 [IS_IN (libpthread)] (CDISABLE): Likewise.
12016 [IS_IN (libc)] (CENABLE): Likewise.
12017 [IS_IN (libc)] (CENABLE): Likewise.
12018 [IS_IN (librt)] (CDISABLE): Likewise.
12019 [IS_IN (librt)] (CDISABLE): Likewise.
12020 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
12021 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
12023 (PSEUDO_END): Likewise.
12024 [IS_IN (libpthread)] (CENABLE): Likewise.
12025 [IS_IN (libpthread)] (CDISABLE): Likewise.
12026 [IS_IN (libc)] (CENABLE): Likewise.
12027 [IS_IN (libc)] (CENABLE): Likewise.
12028 [IS_IN (librt)] (CDISABLE): Likewise.
12029 [IS_IN (librt)] (CDISABLE): Likewise.
12030 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
12031 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
12033 (PSEUDO_END): Likewise.
12034 [IS_IN (libpthread)] (CENABLE): Likewise.
12035 [IS_IN (libpthread)] (CDISABLE): Likewise.
12036 [IS_IN (libc)] (CENABLE): Likewise.
12037 [IS_IN (libc)] (CENABLE): Likewise.
12038 [IS_IN (librt)] (CDISABLE): Likewise.
12039 [IS_IN (librt)] (CDISABLE): Likewise.
12040 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
12041 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
12043 (PSEUDO_END): Likewise.
12044 [IS_IN (libpthread)] (CENABLE): Likewise.
12045 [IS_IN (libpthread)] (CDISABLE): Likewise.
12046 [IS_IN (libc)] (CENABLE): Likewise.
12047 [IS_IN (libc)] (CENABLE): Likewise.
12048 [IS_IN (librt)] (CDISABLE): Likewise.
12049 [IS_IN (librt)] (CDISABLE): Likewise.
12050 (SINGLE_THREAD_P): Likewise.
12051 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
12053 (PSEUDO_END): Likewise.
12054 [IS_IN (libpthread)] (CENABLE): Likewise.
12055 [IS_IN (libpthread)] (CDISABLE): Likewise.
12056 [IS_IN (libc)] (CENABLE): Likewise.
12057 [IS_IN (libc)] (CENABLE): Likewise.
12058 [IS_IN (librt)] (CDISABLE): Likewise.
12059 [IS_IN (librt)] (CDISABLE): Likewise.
12060 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
12061 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
12063 (PSEUDO_END): Likewise.
12064 [IS_IN (libpthread)] (CENABLE): Likewise.
12065 [IS_IN (libpthread)] (CDISABLE): Likewise.
12066 [IS_IN (libc)] (CENABLE): Likewise.
12067 [IS_IN (libc)] (CENABLE): Likewise.
12068 [IS_IN (librt)] (CDISABLE): Likewise.
12069 [IS_IN (librt)] (CDISABLE): Likewise.
12070 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
12071 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
12072 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12073 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
12074 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
12076 (PSEUDO_END): Likewise.
12077 [IS_IN (libpthread)] (CENABLE): Likewise.
12078 [IS_IN (libpthread)] (CDISABLE): Likewise.
12079 [IS_IN (libc)] (CENABLE): Likewise.
12080 [IS_IN (libc)] (CENABLE): Likewise.
12081 [IS_IN (librt)] (CDISABLE): Likewise.
12082 [IS_IN (librt)] (CDISABLE): Likewise.
12083 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
12084 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
12086 (PSEUDO_END): Likewise.
12087 [IS_IN (libpthread)] (CENABLE): Likewise.
12088 [IS_IN (libpthread)] (CDISABLE): Likewise.
12089 [IS_IN (libc)] (CENABLE): Likewise.
12090 [IS_IN (libc)] (CENABLE): Likewise.
12091 [IS_IN (librt)] (CDISABLE): Likewise.
12092 [IS_IN (librt)] (CDISABLE): Likewise.
12093 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
12094 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
12096 (PSEUDO_END): Likewise.
12097 [IS_IN (libpthread)] (CENABLE): Likewise.
12098 [IS_IN (libpthread)] (CDISABLE): Likewise.
12099 [IS_IN (libc)] (CENABLE): Likewise.
12100 [IS_IN (libc)] (CENABLE): Likewise.
12101 [IS_IN (librt)] (CDISABLE): Likewise.
12102 [IS_IN (librt)] (CDISABLE): Likewise.
12103 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
12104 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
12105 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12106 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
12107 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
12109 (PSEUDO_END): Likewise.
12110 [IS_IN (libpthread)] (CENABLE): Likewise.
12111 [IS_IN (libpthread)] (CDISABLE): Likewise.
12112 [IS_IN (libc)] (CENABLE): Likewise.
12113 [IS_IN (libc)] (CENABLE): Likewise.
12114 [IS_IN (librt)] (CDISABLE): Likewise.
12115 [IS_IN (librt)] (CDISABLE): Likewise.
12116 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
12117 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
12119 (PSEUDO_END): Likewise.
12120 [IS_IN (libpthread)] (CENABLE): Likewise.
12121 [IS_IN (libpthread)] (CDISABLE): Likewise.
12122 [IS_IN (libc)] (CENABLE): Likewise.
12123 [IS_IN (libc)] (CENABLE): Likewise.
12124 [IS_IN (librt)] (CDISABLE): Likewise.
12125 [IS_IN (librt)] (CDISABLE): Likewise.
12126 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
12128 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
12130 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
12132 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
12134 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12136 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
12139 * string/stratcliff.c (do_test): Declare size, nchars, inner,
12140 middle and outer with size_t instead of int. Repleace %d and
12141 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
12142 "MAX (outer, nchars - 64)" to support unsigned outer and
12143 nchars. Also exit loop when outer == 0.
12145 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12147 * include/fcntl.h (__fcntl_nocancel): Remove definition.
12148 * include/signal.h (__sigsuspend_nocancel): Likewise.
12149 * include/time.h (__nanosleep_nocancel): Likewise.
12150 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
12151 * login/utmp_file.c: Include non cancellable syscall header.
12152 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
12155 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
12157 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
12158 .byte sequences with AVX512F instructions.
12159 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
12160 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
12161 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
12162 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
12164 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
12167 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
12168 Steve Ellcey <sellcey@cavium.com>
12170 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
12171 Use PTR_REG macro in cmp instruction.
12173 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12175 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
12176 Change the return type of the ifunc resolver to match the return
12177 type of the target function.
12179 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12181 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
12182 (preadv64): Likewise.
12183 (pwrite64(: Likewise.
12184 (pwritev64): Likewise.
12186 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12187 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
12188 (LOAD_ARGS_0): Likewise.
12189 (LOAD_ARGS_1): Likewise.
12190 (LOAD_ARGS_2): Likewise.
12191 (LOAD_ARGS_3): Likewise.
12192 (LOAD_ARGS_4): Likewise.
12193 (LOAD_ARGS_5): Likewise.
12194 (LOAD_ARGS_6): Likewise.
12195 (LOAD_REGS_0): Likewise.
12196 (LOAD_REGS_1): Likewise.
12197 (LOAD_REGS_2): Likewise.
12198 (LOAD_REGS_3): Likewise.
12199 (LOAD_REGS_4): Likewise.
12200 (LOAD_REGS_5): Likewise.
12201 (LOAD_REGS_6): Likewise.
12202 (ASM_ARGS_0): Likewise.
12203 (ASM_ARGS_1): Likewise.
12204 (ASM_ARGS_2): Likewise.
12205 (ASM_ARGS_3): Likewise.
12206 (ASM_ARGS_4): Likewise.
12207 (ASM_ARGS_5): Likewise.
12208 (ASM_ARGS_6): Likewise.
12209 (LOAD_ARGS_TYPES_1): Likewise.
12210 (LOAD_ARGS_TYPES_2): Likewise.
12211 (LOAD_ARGS_TYPES_3): Likewise.
12212 (LOAD_ARGS_TYPES_4): Likewise.
12213 (LOAD_ARGS_TYPES_5): Likewise.
12214 (LOAD_ARGS_TYPES_6): Likewise.
12215 (LOAD_REGS_TYPES_1): Likewise.
12216 (LOAD_REGS_TYPES_2): Likewise.
12217 (LOAD_REGS_TYPES_3): Likewise.
12218 (LOAD_REGS_TYPES_4): Likewise.
12219 (LOAD_REGS_TYPES_5): Likewise.
12220 (LOAD_REGS_TYPES_6): Likewise.
12221 (TYPEFY): New define.
12222 (ARGIFY): Likewise.
12223 (internal_syscall0): Likewise.
12224 (internal_syscall1): Likewise.
12225 (internal_syscall2): Likewise.
12226 (internal_syscall3): Likewise.
12227 (internal_syscall4): Likewise.
12228 (internal_syscall5): Likewise.
12229 (internal_syscall6): Likewise.
12230 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
12231 (INTERNAL_SYSCALL_NCS): Remove define.
12232 (internal_syscall1): Add define.
12234 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12236 * math/w_remainder_compat.c: Remove duplicate inclusion of
12237 math-svid-compat.h.
12238 * math/w_remainderf_compat.c: Likewise.
12239 * math/w_remainderl_compat.c: Likewise.
12241 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12245 2017-08-22 Joseph Myers <joseph@codesourcery.com>
12248 * math/tgmath.h (__floating_type): Simplify definitions.
12249 (__real_integer_type): New macro.
12250 (__complex_integer_type): Likewise.
12251 (__expr_is_real): Likewise.
12252 (__tgmath_real_type_sub): Update comment to describe handling of
12254 (__tgmath_complex_type_sub): New macro.
12255 (__tgmath_complex_type): Likewise.
12256 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
12257 (__TGMATH_CF128): Use __expr_is_real.
12258 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
12260 (__TGMATH_BINARY_REAL_IMAG): Likewise.
12261 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
12262 * math/gen-tgmath-tests.py (Type.create_type): Create complex
12265 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12267 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
12269 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
12271 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
12274 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
12275 nanosleep_not_cancel with __nanosleep_nocancel.
12276 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
12277 (__nanosleep_nocancel): New macro.
12278 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
12280 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
12282 (__nanosleep_nocancel): New prototype.
12284 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
12285 pause_not_cancel with __pause_nocancel.
12286 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
12287 (__pause_nocancel): New macro.
12288 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
12290 (__pause_nocancel): New prototype.
12291 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
12293 2017-08-22 Martin Sebor <msebor@redhat.com>
12295 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
12296 to return a pointer to the same type as the target function.
12298 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
12302 * include/printf.h (__printf_fphex): Add attribute_hidden.
12303 (__guess_grouping): New prototype.
12304 * stdio-common/printf_fp.c (__guess_grouping): Removed.
12305 * stdio-common/reg-printf.c (__register_printf_specifier): Add
12306 libc_hidden_proto and libc_hidden_def.
12307 * stdlib/strfmon_l.c (__guess_grouping): Removed.
12308 (__vstrfmon_l): Remove the third argument passed to
12311 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12313 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
12314 definition for issignaling that does not rely on __MATH_TG,
12315 since __MATH_TG uses __builtin_types_compatible_p, which is only
12316 available in C mode.
12317 (CFLAGS-test-math-issignaling.cc): New variable.
12318 * math/Makefile [CXX] (tests): Add test-math-issignaling.
12319 * math/test-math-issignaling.cc: New test for C++ implementation
12320 of type-generic issignaling.
12321 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
12322 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
12323 options of test-math-issignaling on powerpc64le.
12325 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
12327 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
12329 (hidden_proto): Likewise.
12330 (hidden_tls_proto): Likewise.
12331 (__hidden_proto): Likewise.
12333 2017-08-22 Florian Weimer <fweimer@redhat.com>
12335 math: Statically link tests of internal functionality.
12336 * math/Makefile (tests): Remove atest-exp, atest-sincos,
12338 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
12339 (gmp-objs): Remove assignment.
12340 (atest-exp, atest-sincos, atest-exp2): Remove targets.
12342 2017-08-22 Joseph Myers <joseph@codesourcery.com>
12345 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
12347 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
12349 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
12352 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
12353 variable definitions above inclusion of ../Rules.
12355 2017-08-21 Joseph Myers <joseph@codesourcery.com>
12357 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
12358 case calling __builtin_unreachable.
12360 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12362 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
12363 __waitpid_nocancel.
12364 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
12365 (__waitpid_nocancel): New macro.
12366 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
12368 (__waitpid_nocancel): Replace macro with a function.
12369 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
12372 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
12374 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
12375 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
12377 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
12378 __writev_nocancel_nostatus.
12379 (write_call_graph): Likewise.
12380 (write_bb_counts): Likewise.
12381 * resolv/herror.c (herror): Likewise.
12382 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
12384 (__writev_nocancel_nostatus): New macro.
12385 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
12387 (__writev_nocancel_nostatus): New function.
12389 2017-08-21 Joseph Myers <joseph@codesourcery.com>
12392 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12394 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
12396 (hidden_proto): Likewise.
12397 (hidden_tls_proto): Likewise.
12398 (__hidden_proto): Likewise.
12401 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
12402 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
12403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
12405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
12407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
12409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
12411 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
12412 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
12413 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
12414 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
12415 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
12416 GLIBC_2.0 sqrtl symbol.
12418 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
12419 [__USE_MISC] (_LIB_VERSION): Likewise.
12420 [__USE_MISC] (struct exception): Likewise.
12421 [__USE_MISC] (matherr): Likewise.
12422 [__USE_MISC] (DOMAIN): Likewise.
12423 [__USE_MISC] (SING): Likewise.
12424 [__USE_MISC] (OVERFLOW): Likewise.
12425 [__USE_MISC] (UNDERFLOW): Likewise.
12426 [__USE_MISC] (TLOSS): Likewise.
12427 [__USE_MISC] (PLOSS): Likewise.
12428 [__USE_MISC] (HUGE): Likewise.
12429 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
12430 * math/math-svid-compat.h: New file.
12431 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
12433 * include/math.h [!_ISOMAC] (__matherr): Remove.
12434 * manual/arith.texi (FP Exceptions): Do not document matherr.
12435 * math/Makefile (tests): Change test-matherr to test-matherr-3.
12436 (tests-internal): New variable.
12437 (install-lib): Do not add libieee.a.
12438 (non-lib.a): Likewise.
12439 (extra-objs): Do not add libieee.a and ieee-math.o.
12440 (CPPFLAGS-s_lib_version.c): Remove variable.
12441 ($(objpfx)libieee.a): Remove rule.
12442 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
12443 * math/ieee-math.c: Remove.
12444 * math/libm-test-support.c (matherr): Remove.
12445 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
12446 and license notices. Include <math-svid-compat.h> and
12448 (matherr): Undefine as macro. Use compat_symbol_reference.
12449 (_LIB_VERSION): Likewise.
12450 * math/test-matherr-2.c: New file.
12451 * math/test-matherr-3.c: Likewise.
12452 * sysdeps/generic/math_private.h (__kernel_standard): Remove
12454 (__kernel_standard_f): Likewise.
12455 (__kernel_standard_l): Likewise.
12456 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
12457 <math_private.h>. Include <math-svid-compat.h>.
12458 (_LIB_VERSION): Undefine as macro.
12459 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
12460 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
12461 [LIBM_SVID_COMPAT], use compat_symbol.
12462 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
12463 <math_private.h>. Include <math-svid-compat.h>.
12464 (matherr): Undefine as macro.
12465 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
12467 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
12468 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
12469 compat_symbol_reference.
12470 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
12471 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
12472 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
12473 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
12474 (MATHERR_D): Remove declaration.
12475 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
12476 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
12477 [LIBM_BUILD] (pmatherrf): Likewise.
12478 [LIBM_BUILD] (pmatherr): Likewise.
12479 [LIBM_BUILD] (pmatherrl): Likewise.
12480 (DOMAIN): Likewise.
12482 (OVERFLOW): Likewise.
12483 (UNDERFLOW): Likewise.
12486 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
12487 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
12489 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
12490 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
12492 * math/lgamma-compat.h: Include <math-svid-compat.h>.
12493 * math/w_acos_compat.c: Likewise.
12494 * math/w_acosf_compat.c: Likewise.
12495 * math/w_acosh_compat.c: Likewise.
12496 * math/w_acoshf_compat.c: Likewise.
12497 * math/w_acoshl_compat.c: Likewise.
12498 * math/w_acosl_compat.c: Likewise.
12499 * math/w_asin_compat.c: Likewise.
12500 * math/w_asinf_compat.c: Likewise.
12501 * math/w_asinl_compat.c: Likewise.
12502 * math/w_atan2_compat.c: Likewise.
12503 * math/w_atan2f_compat.c: Likewise.
12504 * math/w_atan2l_compat.c: Likewise.
12505 * math/w_atanh_compat.c: Likewise.
12506 * math/w_atanhf_compat.c: Likewise.
12507 * math/w_atanhl_compat.c: Likewise.
12508 * math/w_cosh_compat.c: Likewise.
12509 * math/w_coshf_compat.c: Likewise.
12510 * math/w_coshl_compat.c: Likewise.
12511 * math/w_exp10_compat.c: Likewise.
12512 * math/w_exp10f_compat.c: Likewise.
12513 * math/w_exp10l_compat.c: Likewise.
12514 * math/w_exp2_compat.c: Likewise.
12515 * math/w_exp2f_compat.c: Likewise.
12516 * math/w_exp2l_compat.c: Likewise.
12517 * math/w_fmod_compat.c: Likewise.
12518 * math/w_fmodf_compat.c: Likewise.
12519 * math/w_fmodl_compat.c: Likewise.
12520 * math/w_hypot_compat.c: Likewise.
12521 * math/w_hypotf_compat.c: Likewise.
12522 * math/w_hypotl_compat.c: Likewise.
12523 * math/w_j0_compat.c: Likewise.
12524 * math/w_j0f_compat.c: Likewise.
12525 * math/w_j0l_compat.c: Likewise.
12526 * math/w_j1_compat.c: Likewise.
12527 * math/w_j1f_compat.c: Likewise.
12528 * math/w_j1l_compat.c: Likewise.
12529 * math/w_jn_compat.c: Likewise.
12530 * math/w_jnf_compat.c: Likewise.
12531 * math/w_jnl_compat.c: Likewise.
12532 * math/w_lgamma_main.c: Likewise.
12533 * math/w_lgamma_r_compat.c: Likewise.
12534 * math/w_lgammaf_main.c: Likewise.
12535 * math/w_lgammaf_r_compat.c: Likewise.
12536 * math/w_lgammal_main.c: Likewise.
12537 * math/w_lgammal_r_compat.c: Likewise.
12538 * math/w_log10_compat.c: Likewise.
12539 * math/w_log10f_compat.c: Likewise.
12540 * math/w_log10l_compat.c: Likewise.
12541 * math/w_log2_compat.c: Likewise.
12542 * math/w_log2f_compat.c: Likewise.
12543 * math/w_log2l_compat.c: Likewise.
12544 * math/w_log_compat.c: Likewise.
12545 * math/w_logf_compat.c: Likewise.
12546 * math/w_logl_compat.c: Likewise.
12547 * math/w_pow_compat.c: Likewise.
12548 * math/w_powf_compat.c: Likewise.
12549 * math/w_powl_compat.c: Likewise.
12550 * math/w_remainder_compat.c: Likewise.
12551 * math/w_remainderf_compat.c: Likewise.
12552 * math/w_remainderl_compat.c: Likewise.
12553 * math/w_scalb_compat.c: Likewise.
12554 * math/w_scalbf_compat.c: Likewise.
12555 * math/w_scalbl_compat.c: Likewise.
12556 * math/w_sinh_compat.c: Likewise.
12557 * math/w_sinhf_compat.c: Likewise.
12558 * math/w_sinhl_compat.c: Likewise.
12559 * math/w_sqrt_compat.c: Likewise.
12560 * math/w_sqrtf_compat.c: Likewise.
12561 * math/w_sqrtl_compat.c: Likewise.
12562 * math/w_tgamma_compat.c: Likewise.
12563 * math/w_tgammaf_compat.c: Likewise.
12564 * math/w_tgammal_compat.c: Likewise.
12565 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
12566 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
12567 * sysdeps/ieee754/k_standard.c: Likewise.
12568 * sysdeps/ieee754/k_standardf.c: Likewise.
12569 * sysdeps/ieee754/k_standardl.c: Likewise.
12570 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
12571 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
12572 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
12573 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
12574 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
12575 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
12576 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
12577 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
12578 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
12579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
12581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
12583 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
12584 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
12585 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
12586 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
12588 2017-08-21 Florian Weimer <fweimer@redhat.com>
12591 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
12592 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
12593 Move before inclusion of ../Rules.
12595 2017-08-21 Florian Weimer <fweimer@redhat.com>
12598 * assert/assert.h (assert): Use static_cast (bool) for C++.
12599 Use the ternary operator in the warning branch for GNU C.
12600 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
12601 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
12602 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
12603 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
12604 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
12606 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12609 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12610 (__syscall_clock_gettime): Add attribute_hidden.
12611 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
12612 (__start_context): Likewise.
12614 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12616 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
12618 (hidden_proto): Likewise.
12619 (hidden_tls_proto): Likewise.
12620 (__hidden_proto): Likewise.
12622 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12624 * include/libc-symbols.h (attribute_hidden): Enable hidden
12625 visibility in libc.a compiled with PIE.
12627 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12630 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
12631 Add attribute_hidden.
12633 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12636 * Makerules (all-nonlib): Add $(others-extras).
12637 * catgets/Makefile (others-extras): New.
12638 * elf/Makefile (others-extras): Likewise.
12639 * nss/Makefile (others-extras): Likewise.
12641 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12644 * csu/libc-start.c (__libc_multiple_libcs): Removed.
12645 * elf/dl-open.c: Include <libc-internal.h>.
12646 (__libc_multiple_libcs): Removed.
12647 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
12649 * include/libc-internal.h (__libc_multiple_libcs): New.
12650 * misc/sbrk.c: Include <libc-internal.h>.
12651 (__libc_multiple_libcs): Removed.
12653 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12656 * grp/initgroups.c (__nss_group_database): Removed.
12657 (__nss_initgroups_database): Likewise.
12658 * nscd/gai.c (__nss_hosts_database): Likewise.
12659 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
12660 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
12661 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
12662 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
12663 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
12664 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
12666 * nss/nsswitch.c (__nss_database_custom): Define only if
12667 USE_NSCD is defined.
12668 (__nss_configure_lookup): Use __nss_database_custom only if
12669 USE_NSCD is defined.
12670 * nss/nsswitch.h (__nss_database_custom): Declare only if
12671 USE_NSCD is defined. Add attribute_hidden.
12672 (__nss_setent): Add attribute_hidden.
12673 (__nss_endent): Likewise.
12674 (__nss_getent_r): Likewise.
12675 (__nss_getent): Likewise.
12676 (DEFINE_DATABASE): Declare __nss_##arg##_database.
12678 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
12681 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
12682 libc_hidden_proto and libc_hidden_def.
12684 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
12687 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
12688 Add libc_hidden_proto.
12689 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
12690 Add libc_hidden_def.
12692 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
12695 * gmon/Makefile (routines): Remove bb_init_func and
12697 (elide-routines.os): Removed.
12698 * gmon/bb_exit_func.c: Likewise.
12699 * gmon/bb_init_func.c: Likewise.
12700 * include/sys/gmon.h (__bb): Likewise.
12701 (__bb_init_func): Likewise.
12702 (__bb_exit_func): Likewise.
12703 * sysdeps/alpha/bb_init_func.S: Likewise.
12705 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
12707 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
12708 * include/setjmp.h (____longjmp_chk): Here. Add
12711 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
12714 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
12716 (__strspn_sse2): Likewise.
12718 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12720 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
12721 (close_not_cancel_no_status): Likewise.
12722 (__close_nocancel): New macro.
12723 (__close_nocancel_nostatus): Likewise.
12724 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
12726 (close_not_cancel): Likewise.
12727 (close_not_cancel_no_status): Likewise.
12728 (__close_nocancel): New prototype.
12729 (__close_nocancel_nostatus): New function.
12730 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
12731 * catgets/open_catalog.c (__open_catalog): Replace
12732 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
12733 * gmon/gmon.c (write_gmon): Likewise.
12734 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12735 * intl/loadmsgcat.c (close): Likewise.
12736 * io/ftw.c (open_dir_stream): Likewise.
12737 (ftw_startup): Likewise.
12738 * libio/fileops.c (_IO_file_open): Likewise.
12739 (_IO_file_close_mmap): Likewise.
12740 (_IO_file_close): Likewise.
12741 * libio/iopopen.c (_IO_dup2): Likewise.
12742 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12743 * locale/loadlocale.c (_nl_load_locale): Likewise.
12744 * login/utmp_file.c (pututline_file): Likewise.
12745 (endutent_file): Likewise.
12746 * misc/daemon.c (daemon): Likewise.
12747 * nscd/nscd_getai.c (__nscd_getai): Likewise.
12748 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12749 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
12750 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12751 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12752 * nscd/nscd_helper.c (open_socket): Likewise.
12753 (__nscd_open_socket): Likewise.
12754 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
12755 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
12756 (__nscd_innetgr): Likewise.
12757 * nss/nss_db/db-open.c (internal_setent): Likewise.
12758 * resolv/res-close.c (__res_iclose): Likewise.
12759 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
12760 * sysdeps/posix/closedir.c (__closedir): Likewise.
12761 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
12762 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
12763 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
12764 (opendir_tail): Likewise.
12765 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
12766 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
12767 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
12768 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12769 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
12770 (gethostid): Likewise.
12771 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
12772 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12774 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12775 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
12776 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
12777 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
12779 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
12780 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
12781 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
12783 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
12784 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12786 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
12788 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
12789 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
12790 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
12793 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
12794 (openat_not_cancel_3): Likewise.
12795 (openat64_not_cancel_3): Likewise).
12796 (openat_not_cancel_3): Likewise).
12797 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
12799 (openat_not_cancel_3): Likewise.
12800 (openat64_not_cancel): Likewise.
12801 (openat64_not_cancel_3): Likewise.
12802 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
12803 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
12804 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
12805 __open{64}_nocancel.
12806 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
12807 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
12808 * sysdeps/posix/opendir.c (__opendirat): Likewise.
12810 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
12813 * include/argz.h (__argz_create_sep): New function prototype.
12814 (__argz_append): Likewise.
12815 (__argz_add): Likewise.
12816 (__argz_add_sep): Likewise.
12817 (__argz_delete): Likewise.
12818 (__argz_insert): Likewise.
12819 (__argz_replace): Likewise.
12820 * string/argz.h (__argz_create_sep): Removed.
12821 (__argz_append): Likewise.
12822 (__argz_add): Likewise.
12823 (__argz_add_sep): Likewise.
12824 (__argz_delete): Likewise.
12825 (__argz_insert): Likewise.
12826 (__argz_replace): Likewise.
12828 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
12830 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
12831 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
12832 (GNU_PROPERTY_STACK_SIZE): Likewie.
12833 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
12834 (GNU_PROPERTY_LOPROC): Likewise.
12835 (GNU_PROPERTY_HIPROC): Likewise.
12836 (GNU_PROPERTY_LOUSER): Likewise.
12837 (GNU_PROPERTY_HIUSER): Likewise.
12838 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
12839 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
12840 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
12841 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
12842 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
12843 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
12844 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
12845 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
12846 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
12847 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
12848 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
12849 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
12850 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
12851 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
12852 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
12853 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
12854 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
12855 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
12856 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
12857 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
12858 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
12859 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
12860 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
12862 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12864 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
12867 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12870 * math/math.h (isinf): Check if in C or C++ mode before using
12871 __builtin_types_compatible_p, since this is a C mode feature.
12873 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12875 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
12876 (__write_nocancel): New macro.
12877 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
12878 Rewrite as a function prototype.
12879 (write_not_cancel): Remove macro.
12880 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
12881 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
12882 (write_gmon): Likewise.
12883 * libio/fileops.c (_IO_new_file_write): Likewise.
12884 * login/utmp_file.c (pututline_file): Likewise.
12885 (updwtmp_file): Likewise.
12886 * stdio-common/psiginfo.c (psiginfo): Likewise.
12887 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
12888 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
12889 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
12891 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
12894 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
12895 (__read_nocancel): New macro.
12896 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
12898 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
12900 (__read_nocancel): New prototype.
12901 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
12902 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
12903 with __read_nocancel.
12904 * intl/loadmsgcat.c (read): Likewise.
12905 * libio/fileops.c (_IO_file_read): Likewise.
12906 * locale/loadlocale.c (_nl_load_locale): Likewise.
12907 * login/utmp_file.c (getutent_r_file): Likewise.
12908 (internal_getut_r): Likewise.
12909 (getutline_r_file): Likewise.
12910 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
12911 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12912 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
12913 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12915 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
12916 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
12917 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
12919 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
12921 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
12923 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12925 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
12927 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
12930 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
12931 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
12934 2017-08-17 DJ Delorie <dj@redhat.com>
12936 * bug17079.c: Update to new test harness.
12937 * test-digits-dots.c: Likewise.
12938 * test-netdb.c: Likewise.
12939 * tst-field.c: Likewise.
12940 * tst-nss-getpwent.c: Likewise.
12941 * tst-nss-static.c: Likewise.
12942 * tst-nss-test1.c: Likewise.
12943 * tst-nss-test2.c: Likewise.
12944 * tst-nss-test3.c: Likewise.
12945 * tst-nss-test4.c: Likewise.
12946 * tst-nss-test5.c: Likewise.
12948 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12950 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
12951 (open_not_cancel_2): Likewise.
12952 (open_nocancel): New macro.
12953 (open64_nocancel): Likewise.
12954 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
12955 (open_not_cancel_2): Likewise.
12956 (__open_nocancel): New prototype.
12957 (__open64_nocancel): Likewise.
12958 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
12960 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
12961 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
12962 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
12963 with __open_nocancel.
12964 * csu/check_fds.c (check_one_fd): Likewise.
12965 * gmon/gmon.c (write_gmon): Likewise.
12966 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
12967 * intl/loadmsgcat.c (open): Likewise.
12968 * libio/fileops.c (_IO_file_open): Likewise.
12969 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12970 * locale/loadlocale.c (_nl_load_locale): Likewise.
12971 * login/utmp_file.c (setutent_file): Likewise.
12972 * misc/daemon.c (daemon): Likewise.
12973 * nss/nss_db/db-open.c (internal_setent): Likewise.
12974 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
12975 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
12976 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
12977 (__opendir): Likewise.
12978 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
12979 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
12980 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
12981 (gethostid): Likewise.
12982 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
12983 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12985 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12986 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
12987 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
12988 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
12990 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
12992 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
12994 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
12996 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12998 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
13000 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
13001 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
13003 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
13005 * benchtests/bench-skeleton.c (main): Add support for
13006 latency benchmarking.
13007 * benchtests/scripts/bench.py: Add support for latency benchmarking.
13009 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
13011 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
13012 the startup object.
13014 2017-08-17 Florian Weimer <fweimer@redhat.com>
13016 * include/sys/socket.h (__opensock): Remove internal_function.
13017 * socket/opensock.c (__opensock): Likewise.
13018 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
13020 2017-08-16 Joseph Myers <joseph@codesourcery.com>
13023 * signal/bits/types/__sigval_t.h: New file.
13024 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
13025 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
13026 and define sigval_t using __sigval_t.
13027 * include/bits/types/__sigval_t.h: New file.
13028 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
13029 instead of <bits/types/__sigval_t.h>.
13030 (struct sigevent): Use __sigval_t instead of sigval_t.
13031 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
13032 instead of <bits/types/__sigval_t.h>.
13033 (siginfo_t): Use __sigval_t instead of sigval_t.
13034 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
13035 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
13036 (struct sigevent): Use __sigval_t instead of sigval_t.
13037 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
13038 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
13039 (siginfo_t): Use __sigval_t instead of sigval_t.
13040 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
13042 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
13044 * NEWS: Remove "[Add new features here]" for 2.27.
13046 2017-08-16 Joseph Myers <joseph@codesourcery.com>
13048 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
13051 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
13053 * NEWS: Mention x86-64 FMA optimization.
13055 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
13058 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13060 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
13061 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
13062 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
13064 2017-08-16 Andreas Schwab <schwab@suse.de>
13068 * elf/ldd.bash.in: Never run file directly.
13070 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
13073 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
13074 (L(SP_INF_0)): Likewise.
13076 2017-08-15 Florian Weimer <fweimer@redhat.com>
13078 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
13081 2017-08-15 Florian Weimer <fweimer@redhat.com>
13083 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
13084 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
13085 BROKEN_THREAD_SIGNALS code.
13086 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
13087 request_list): Remove caller_pid member used for
13088 BROKEN_THREAD_SIGNALS.
13089 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
13090 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
13091 Remove BROKEN_THREAD_SIGNALS support.
13092 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
13093 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
13095 2017-08-15 Florian Weimer <fweimer@redhat.com>
13097 * gmon/Makefile (tests): Add tst-gmon.
13098 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
13100 (tests-special): Add tst-gmon-prof.out.
13101 (tst-gmon.out): Depend on clean-tst-gmon-data.
13102 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
13103 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
13104 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
13106 * aclocal.m4 (GPROF): Set and substitute.
13107 * config.amke.in (GPROF): Set.
13108 * configure: Regenerate.
13110 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
13112 * elf/elf.h A (NT_PPC_TAR): New macro.
13113 (NT_PPC_PPR): Likewise.
13114 (NT_PPC_DSCR): Likewise.
13115 (NT_PPC_EBB): Likewise.
13116 (NT_PPC_PMU): Likewise.
13117 (NT_PPC_TM_CGPR): Likewise.
13118 (NT_PPC_TM_CFPR): Likewise.
13119 (NT_PPC_TM_CVMX): Likewise.
13120 (NT_PPC_TM_CVSX): Likewise.
13121 (NT_PPC_TM_SPR): Likewise.
13122 (NT_PPC_TM_CTAR): Likewise.
13123 (NT_PPC_TM_CPPR): Likewise.
13124 (NT_PPC_TM_CDSCR): Likewise.
13126 2017-08-15 Florian Weimer <fweimer@redhat.com>
13128 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
13129 regparm (2) instead of internal_function.
13130 (_MCOUNT_DECL): Adjust.
13132 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
13134 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
13135 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
13137 2017-08-14 Joseph Myers <joseph@codesourcery.com>
13139 * conform/data/sys/wait.h-data (si_value): Do not expect for
13142 2017-08-14 Florian Weimer <fweimer@redhat.com>
13145 NSS: Create stubs for accidentally exported lookup functions.
13146 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
13147 Remove declaration.
13148 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
13149 (ether_hostton): Call __nss_ethers_lookup2 instead.
13150 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
13151 (ether_ntohost): Call __nss_ethers_lookup2 instead.
13152 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
13153 (setup): Call __nss_netgroup_lookup2 instead.
13154 * nss/Makefile (routines): Add compat-lookup.
13155 * nss/Versions (GLIBC_2.27): Add symbol version.
13156 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
13157 (DB_COMPAT_FCT): Remove.
13158 * nss/compat-lookup.c: New file.
13159 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
13160 from databases.def.
13161 * nss/service-lookup.c (NO_COMPAT): Remove definition.
13162 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
13163 (netname2user): Call __nss_publickey_lookup2 instead.
13164 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
13165 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
13168 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13169 Sergei Trofimovich <slyfox@inbox.ru>
13172 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
13173 Rename to MMAP2_PAGE_UNIT.
13174 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
13175 __OFF_T_MATCHES_OFF64_T is not defined.
13176 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
13178 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
13179 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
13181 2017-08-14 Florian Weimer <fweimer@redhat.com>
13183 i386: Do not set internal_function.
13184 * config.h.in (USE_REGPARMS, internal_function): Remove.
13185 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
13186 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
13188 2017-08-14 Florian Weimer <fweimer@redhat.com>
13190 * elf/dl-init.c (_dl_init): Remove internal_function.
13191 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
13192 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
13194 2017-08-14 Florian Weimer <fweimer@redhat.com>
13196 * elf/rtld.c (_dl_start): Remove internal_function.
13197 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
13200 2017-08-14 Florian Weimer <fweimer@redhat.com>
13202 * elf/dl-fini.c (_dl_fini): Remove internal_function
13203 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
13205 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
13207 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
13208 (bit_cpu_SHSTK): Likewise.
13209 (index_cpu_IBT): Likewise.
13210 (index_cpu_SHSTK): Likewise.
13211 (reg_IBT): Likewise.
13212 (reg_SHSTK): Likewise.
13213 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
13214 Handle index_cpu_IBT and index_cpu_SHSTK.
13216 2017-08-14 Mike FABIAN <mfabian@redhat.com>
13219 * po/fr.po: Fix spelling mistake.
13221 2017-08-13 Florian Weimer <fweimer@redhat.com>
13223 * elf/dl-addr.c (_dl_addr): Remove internal_function.
13224 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
13225 (_dl_catch_error, _dl_receive_error): Likewise.
13226 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
13227 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
13228 (_dl_deallocate_tls): Likewise.
13229 * include/dlfcn.h (_dl_addr): Likewise.
13230 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
13231 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
13232 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
13235 2017-08-13 Florian Weimer <fweimer@redhat.com>
13237 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
13238 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
13240 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
13242 2017-08-13 Florian Weimer <fweimer@redhat.com>
13244 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
13246 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
13247 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
13248 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
13249 internal_function from _dl_make_stack_executable_hook member.
13250 (_dl_make_stack_executable): Remove internal_function.
13251 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
13253 * sysdeps/unix/sysv/linux/dl-execstack.c
13254 (_dl_make_stack_executable): Likewise.
13256 2017-08-13 Florian Weimer <fweimer@redhat.com>
13258 * sysdeps/unix/sysv/linux/netlinkaccess.h
13259 (__netlink_assert_response): Remove internal_function.
13260 * sysdeps/unix/sysv/linux/netlink_assert_response.c
13261 (__netlink_assert_response): Likewise.
13263 2017-08-13 Florian Weimer <fweimer@redhat.com>
13265 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
13267 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
13269 2017-08-13 Florian Weimer <fweimer@redhat.com>
13271 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
13273 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
13274 * inet/netgroup.h (__internal_setnetgrent)
13275 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
13276 * inet/getnetgrent_r.c (__internal_setnetgrent)
13277 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
13278 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
13279 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
13280 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
13281 * nss/nsswitch.h (db_lookup_function): Likewise.
13283 2017-08-13 Florian Weimer <fweimer@redhat.com>
13285 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
13286 Remove internal_function.
13287 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
13288 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
13289 message argument on the stack.
13290 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
13293 2017-08-12 Mike FABIAN <mfabian@redhat.com>
13295 Adapt test case data to the changes in the thousands
13299 * localedata/tst-langinfo.sh: Adapt test case data.
13300 * stdlib/tst-strfmon_l.c: Likewise.
13301 * stdlib/tst-strtod4.c: Likewise.
13302 * stdlib/tst-strtod5i.c: Likewise.
13304 2017-08-11 Florian Weimer <fweimer@redhat.com>
13307 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
13308 Suppress pedantic warning resulting from statement expression.
13309 (__ASSERT_FUNCTION): Add missing __extension__.
13311 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13313 * benchtests/bench-memmove-large.c: Print output in JSON
13315 * benchtests/bench-memmove.c: Likewise.
13317 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
13318 * benchtests/bench-memchr.c (do_one_test): Likewise.
13319 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
13320 * benchtests/bench-memcpy.c (do_one_test): Likewise.
13321 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
13322 * benchtests/bench-memmove.c (do_one_test): Likewise.
13323 * benchtests/bench-memset-large.c (do_one_test): Likewise.
13324 * benchtests/bench-memset.c (do_one_test): Likewise.
13325 * benchtests/bench-string.h (test_init): Remove memsets.
13327 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
13330 (Computing the Width of an Integer Data Type): Rename section to
13331 "Width of an Integer Type". Remove inaccurate statement regarding
13332 lack of C language facilities for determining width of integer
13333 types, and reorder content to improve flow and context of
13336 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
13338 * lang.texi (va_copy): Change standard from ISO to C99.
13339 (__va_copy): Add standard and header annotation.
13340 Update description for clarity of origins and current use.
13342 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13345 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
13346 xssqrtqp requires operands to be in Vector Registers
13347 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
13348 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
13349 (__ieee754_sqrtf128): Likewise.
13351 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13353 * sysdeps/aarch64/memcmp.S (memcmp):
13354 Rewrite of optimized memcmp.
13356 2017-08-10 Florian Weimer <fweimer@redhat.com>
13358 Introduce ld.so exceptions.
13359 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
13360 (_dl_exception_create, _dl_exception_create_format)
13361 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
13362 (_dl_catch_exception): Declare.
13363 (_dl_catch_error): Update comment.
13364 * elf/dl-error-skeleton.c (struct catch): Replace objname,
13365 errstring, malloced members with exception member.
13366 (_dl_out_of_memory): Remove.
13367 (fatal_error): New function, extracted from _dl_signal_error.
13368 (_dl_signal_exception, _dl_signal_cexception): New functions.
13369 (_dl_signal_error): Call _dl_exception_create to allocate an
13371 (_dl_catch_exception): New function, based on _dl_catch_error.
13372 (_dl_catch_error): Implement using _dl_catch_exception.
13373 * elf/dl-exception.c: New file.
13374 * elf/Makefile (dl-routines): Add dl-exception.
13375 (elide-routines.os): Likewise.
13376 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
13377 _dl_exception_create_format, _dl_exception_free.
13378 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
13379 _dl_signal_exception.
13380 * elf/dl-lookup.c (make_string): Remove.
13381 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
13382 _dl_signal_cexception, _dl_exception_free.
13383 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
13384 _dl_signal_exception.
13385 * elf/dl-sym.c (do_sym): Likewise.
13386 * elf/dl-version.c (make_string): Remove.
13387 (match_symbol): Use _dl_exception_create_format,
13388 _dl_signal_cexception, _dl_exception_free.
13389 (_dl_check_map_versions): Likewise.
13390 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
13391 _dl_catch_exception.
13392 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13393 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13394 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13395 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13396 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13397 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13398 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13399 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
13401 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13408 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13409 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13410 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
13412 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
13414 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13416 2017-08-10 Florian Weimer <fweimer@redhat.com>
13418 * inet/net-internal.h (__inet6_scopeid_pton): Remove
13419 attribute_hidden, internal_function.
13420 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
13423 2017-08-10 Florian Weimer <fweimer@redhat.com>
13425 * malloc/malloc.c (get_max_fast): Reimplement as an inline
13426 function which calls __builtin_unreachable.
13428 2017-08-10 Mike FABIAN <mfabian@redhat.com>
13430 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
13431 Indian monetary formatting
13432 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
13435 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
13437 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
13438 Fix typo in comment.
13441 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
13442 PTRACE_SEIZE_DEVEL): Remove.
13443 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
13444 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13445 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13446 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13447 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13449 2017-08-09 Joseph Myers <joseph@codesourcery.com>
13451 * posix/bits/types.h (__qaddr_t): Remove.
13454 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
13455 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
13457 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
13458 (ucontext_t): Use __ctx with uc_flags.
13459 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
13460 (__ctxt): Likewise.
13461 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
13463 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
13464 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
13466 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
13467 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
13469 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
13471 (ucontext_t): Use __ctx with uc_flags.
13472 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
13473 (ucontext_t): Use __ctx with uc_flags.
13474 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
13475 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
13476 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
13477 (ucontext_t): Use __ctx with uc_flags.
13478 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
13479 undefine further down.
13480 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
13482 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
13483 undefine further down.
13484 (ucontext_t): Use __ctx with uc_flags.
13485 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
13486 undefine further down.
13487 (ucontext_t): Use __ctx with uc_flags.
13488 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
13489 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
13490 Rename uc_pad to __glibc_reserved1.
13491 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
13492 undefine further down.
13493 (ucontext_t): Use __ctx with uc_flags.
13494 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
13496 (ucontext_t): Use __ctx with uc_flags.
13497 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
13498 __ctx with uc_flags.
13499 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
13500 (ucontext_t): Use __ctx with uc_flags.
13501 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
13502 __ctx with uc_flags.
13504 2017-08-09 Florian Weimer <fweimer@redhat.com>
13507 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
13508 before early return.
13510 2017-08-09 Andreas Schwab <schwab@suse.de>
13513 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
13517 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
13518 tst-compat-forwarder.
13519 (modules-names): Add tst-compat-forwarder-mod.
13520 ($(objpfx)tst-compat-forwarder): Depend on
13521 $(objpfx)tst-compat-forwarder-mod.so.
13522 * nptl/tst-compat-forwarder.c: New file.
13523 * nptl/tst-compat-forwarder-mod.c: New file.
13525 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
13527 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
13530 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
13531 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
13533 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
13535 (__libc_ifunc_impl_list): Add __memcpy_falkor.
13536 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
13537 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
13538 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
13540 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
13543 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13546 * manual/setjmp.texi (getcontex): Document uc_stack value
13547 compatibility differences.
13549 2017-08-08 Joseph Myers <joseph@codesourcery.com>
13551 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
13552 (old_malloc_hook): Likewise.
13553 (old_memalign_hook): Likewise.
13554 (old_realloc_hook): Likewise.
13555 (struct hdr): Likewise.
13557 (freehook): Likewise.
13558 (mallochook): Likewise.
13559 (memalignhook): Likewise.
13560 (reallochook): Likewise.
13561 (mprobe): Likewise.
13562 * malloc/mtrace.c (mallwatch): Likewise.
13563 (tr_old_free_hook): Likewise.
13564 (tr_old_malloc_hook): Likewise.
13565 (tr_old_realloc_hook): Likewise.
13566 (tr_old_memalign_hook): Likewise.
13567 (tr_where): Likewise.
13568 (lock_and_info): Likewise.
13569 (tr_freehook): Likewise.
13570 (tr_mallochook): Likewise.
13571 (tr_reallochook): Likewise.
13572 (tr_memalignhook): Likewise.
13573 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
13574 * misc/mmap.c (__mmap): Likewise.
13575 * misc/mmap64.c (__mmap64): Likewise.
13576 * misc/mprotect.c (__mprotect): Likewise.
13577 * misc/msync.c (msync): Likewise.
13578 * misc/munmap.c (__munmap): Likewise.
13579 * posix/posix_madvise.c (posix_madvise): Likewise.
13580 * socket/send.c (__send): Likewise.
13581 * socket/sendto.c (__sendto): Likewise.
13582 * socket/setsockopt.c (__setsockopt): Likewise.
13583 * string/memcmp.c (__ptr_t): Remove macro.
13584 (MEMCMP): Use void * instead of ptr_t.
13585 * string/memrchr.c (__ptr_t): Remove macro.
13586 (__memrchr): Use void * instead of ptr_t.
13587 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
13588 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
13589 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
13590 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
13591 * sysdeps/mach/msync.c (msync): Likewise.
13592 * sysdeps/mach/munmap.c (__munmap): Likewise.
13593 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
13595 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
13596 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
13597 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
13598 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
13599 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
13600 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13601 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
13602 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
13604 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13605 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
13606 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
13607 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
13608 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
13609 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
13610 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
13611 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
13612 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
13614 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
13615 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
13616 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
13617 (MEMCMP): Use void * instead of ptr_t.
13618 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
13619 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
13621 2017-08-08 Florian Weimer <fweimer@redhat.com>
13623 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
13626 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
13629 * csu/libc-tls.c: Include <startup.h> first.
13630 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
13631 * elf/dl-tunables.c: Include <startup.h> first.
13632 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
13633 * sysdeps/generic/startup.h: New file.
13634 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
13635 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
13636 (I386_USE_SYSENTER): New. Defined to 0.
13638 2017-08-08 Andreas Schwab <schwab@suse.de>
13641 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
13642 * nptl/pt-system.c (system): Likewise.
13644 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13647 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
13649 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
13650 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
13651 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
13652 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
13653 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
13654 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
13655 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
13657 2017-08-07 Joseph Myers <joseph@codesourcery.com>
13660 * bits/sigaction.h (struct sigaction): Define sa_handler and
13661 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
13662 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13663 [__USE_XOPEN_EXTENDED].
13664 (SA_RESTART): Likewise.
13665 (SA_NODEFER): Likewise.
13666 (SA_RESETHAND): Likewise.
13667 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
13668 (struct sigaction): Define sa_handler and sa_sigaction using union
13669 also for [__USE_XOPEN_EXTENDED].
13670 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13671 [__USE_XOPEN_EXTENDED].
13672 (SA_RESTART): Likewise.
13673 (SA_NODEFER): Likewise.
13674 (SA_RESETHAND): Likewise.
13675 * sysdeps/unix/sysv/linux/bits/sigaction.h
13676 (struct sigaction): Define sa_handler and sa_sigaction using union
13677 also for [__USE_XOPEN_EXTENDED].
13678 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13679 [__USE_XOPEN_EXTENDED].
13680 (SA_RESTART): Likewise.
13681 (SA_NODEFER): Likewise.
13682 (SA_RESETHAND): Likewise.
13683 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
13684 (struct sigaction): Define sa_handler and sa_sigaction using union
13685 also for [__USE_XOPEN_EXTENDED].
13686 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13687 [__USE_XOPEN_EXTENDED].
13688 (SA_RESTART): Likewise.
13689 (SA_NODEFER): Likewise.
13690 (SA_RESETHAND): Likewise.
13691 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
13692 (struct sigaction): Define sa_handler and sa_sigaction using union
13693 also for [__USE_XOPEN_EXTENDED].
13694 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13695 [__USE_XOPEN_EXTENDED].
13696 (SA_RESTART): Likewise.
13697 (SA_NODEFER): Likewise.
13698 (SA_RESETHAND): Likewise.
13699 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
13700 (struct sigaction): Define sa_handler and sa_sigaction using union
13701 also for [__USE_XOPEN_EXTENDED].
13702 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13703 [__USE_XOPEN_EXTENDED].
13704 (SA_RESTART): Likewise.
13705 (SA_NODEFER): Likewise.
13706 (SA_RESETHAND): Likewise.
13707 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13708 (struct sigaction): Define sa_handler and sa_sigaction using union
13709 also for [__USE_XOPEN_EXTENDED].
13710 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13711 [__USE_XOPEN_EXTENDED].
13712 (SA_RESTART): Likewise.
13713 (SA_NODEFER): Likewise.
13714 (SA_RESETHAND): Likewise.
13715 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13716 (struct sigaction): Define sa_handler and sa_sigaction using union
13717 also for [__USE_XOPEN_EXTENDED].
13718 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13719 [__USE_XOPEN_EXTENDED].
13720 (SA_RESTART): Likewise.
13721 (SA_NODEFER): Likewise. Define directly rather than as alias.
13722 (SA_RESETHAND): Likewise.
13723 (SA_INTERRUPT): Define only for [__USE_MISC].
13724 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
13725 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
13727 (SA_STACK): Define only for [__USE_MISC].
13728 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
13729 (struct sigaction): Define sa_handler and sa_sigaction using union
13730 also for [__USE_XOPEN_EXTENDED].
13731 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13732 [__USE_XOPEN_EXTENDED].
13733 (SA_RESTART): Likewise.
13734 (SA_NODEFER): Likewise.
13735 (SA_RESETHAND): Likewise.
13736 (SA_NOPTRACE): Define only for [__USE_MISC].
13738 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
13739 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
13740 (struct catalog_info): Likewise.
13741 * inet/htontest.c (lo): Likewise.
13743 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13744 * inet/inet_net.c (inet_network): Likewise.
13745 * inet/inet_netof.c (inet_netof): Likewise.
13746 * inet/rcmd.c (__ivaliduser): Likewise.
13747 (iruserok): Likewise.
13748 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
13749 * locale/programs/locale-spec.c (locale_special): Likewise.
13750 * nis/nis_findserv.c (struct findserv_req): Likewise.
13751 (__nis_findfastest_with_timeout): Likewise.
13752 * nss/test-netdb.c (test_network): Likewise.
13753 * resolv/inet_neta.c (inet_neta): Likewise.
13754 * resolv/ns_date.c (ns_datetosecs): Likewise.
13755 (SECS_PER_DAY): Likewise.
13756 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
13758 * resolv/res_comp.c (__putlong): Likewise.
13759 (__putshort): Likewise.
13760 (_getlong): Likewise.
13761 (_getshort): Likewise.
13762 * resolv/res_debug.c (p_time): Likewise.
13763 (precsize_ntoa): Likewise.
13764 (precsize_aton): Likewise.
13765 (latlon2ul): Likewise.
13766 (loc_aton): Likewise.
13767 (loc_ntoa): Likewise.
13768 * resolv/res_hconf.c (struct netaddr): Likewise.
13769 (_res_hconf_reorder_addrs): Likewise.
13770 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
13771 (clnttcp_control): Likewise.
13772 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13773 (clntudp_control): Likewise.
13774 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
13775 (clntunix_control): Likewise.
13776 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
13777 * sunrpc/rpc/auth.h (union des_block): Likewise.
13778 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
13779 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
13780 (xdrrec_create): Likewise.
13781 (xdrrec_endofrecord): Likewise.
13782 (flush_out): Likewise.
13783 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
13784 (xdrstdio_putlong): Likewise.
13785 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
13788 * misc/sys/cdefs.h (__long_double_t): Remove.
13789 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
13790 instead of __long_double_t,
13791 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
13793 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13795 * benchtests/scripts/compare_strings.py: Avoid display error when
13796 running on a text terminal.
13798 * benchtests/scripts/compare_strings.py (main): Add an
13799 optional -base option.
13800 (process_results): New argument base_func.
13802 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
13804 * benchtests/bench-memcpy-large.c (test_name): Likewise.
13805 * benchtests/bench-memcpy-random.c (test_name): Likewise.
13807 2017-08-07 Andreas Schwab <schwab@suse.de>
13809 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
13810 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
13811 * intl/Makefile ($(objpfx)tst-gettext.out)
13812 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
13813 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
13814 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
13815 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
13816 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
13817 * posix/Makefile ($(objpfx)globtest.out)
13818 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
13819 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
13820 ($(objpfx)tst-printf.out): Likewise.
13821 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
13822 ($(objpfx)tst-setcontext3.out): Likewise.
13824 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
13826 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13827 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
13828 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
13829 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
13830 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
13832 (CFLAGS-doasin-fma.c): New.
13833 (CFLAGS-dosincos-fma.c): Likewise.
13834 (CFLAGS-e_asin-fma.c): Likewise.
13835 (CFLAGS-e_atan2-fma.c): Likewise.
13836 (CFLAGS-e_exp-fma.c): Likewise.
13837 (CFLAGS-e_log-fma.c): Likewise.
13838 (CFLAGS-e_pow-fma.c): Likewise.
13839 (CFLAGS-halfulp-fma.c): Likewise.
13840 (CFLAGS-mpa-fma.c): Likewise.
13841 (CFLAGS-mpatan-fma.c): Likewise.
13842 (CFLAGS-mpatan2-fma.c): Likewise.
13843 (CFLAGS-mpexp-fma.c): Likewise.
13844 (CFLAGS-mplog-fma.c): Likewise.
13845 (CFLAGS-mpsqrt-fma.c): Likewise.
13846 (CFLAGS-mptan-fma.c): Likewise.
13847 (CFLAGS-s_atan-fma.c): Likewise.
13848 (CFLAGS-sincos32-fma.c): Likewise.
13849 (CFLAGS-slowexp-fma.c): Likewise.
13850 (CFLAGS-slowpow-fma.c): Likewise.
13851 (CFLAGS-s_sin-fma.c): Likewise.
13852 (CFLAGS-s_tan-fma.c): Likewise.
13853 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
13854 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
13855 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
13856 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
13857 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
13858 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
13859 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
13860 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
13861 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
13862 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
13863 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
13864 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
13865 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
13866 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
13867 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
13868 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
13869 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
13870 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
13871 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
13872 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
13873 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
13874 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
13875 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
13876 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
13877 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13878 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13879 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13880 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
13881 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13882 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13883 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13885 2017-08-04 Joseph Myers <joseph@codesourcery.com>
13887 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
13888 (min_of_type_f): New macro.
13889 (min_of_type_): Likewise.
13890 (min_of_type_l): Likewise.
13891 (min_of_type_f128): Likewise.
13892 (min_of_type): Define using __MATH_TG and taking an expression
13894 (math_check_force_underflow): Pass expression instead of type to
13896 (math_check_force_underflow_nonneg): Likewise.
13898 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
13900 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
13901 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
13902 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
13904 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
13906 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13907 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
13908 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
13909 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
13910 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
13911 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
13912 memcpy_chk-nonshared, mempcpy_chk-nonshared,
13913 memmove_chk-nonshared and memset_chk-nonshared
13914 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
13915 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
13916 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
13917 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
13918 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
13919 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
13920 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
13921 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
13922 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
13923 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
13924 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
13925 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
13926 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
13927 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
13928 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
13929 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
13930 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
13931 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
13932 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
13933 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
13934 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
13935 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
13936 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
13937 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
13938 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
13939 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
13940 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
13941 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
13942 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
13943 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
13944 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
13945 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
13946 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
13947 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
13948 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
13949 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
13950 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
13951 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
13952 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
13953 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
13954 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
13955 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
13956 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
13957 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
13958 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
13959 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
13960 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
13961 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
13962 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
13963 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
13964 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
13965 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
13966 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
13967 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
13968 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
13969 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
13970 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
13971 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
13972 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
13973 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
13974 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
13975 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
13976 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
13977 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
13978 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
13979 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
13980 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
13981 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
13982 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
13983 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
13984 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
13985 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13986 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13987 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13988 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13989 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13990 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13991 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13992 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13993 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13994 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13995 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13996 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13997 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13998 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13999 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14000 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14001 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14002 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14003 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14004 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14005 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14006 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14007 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14008 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14009 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14010 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14011 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14012 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14013 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14014 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14015 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14016 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14017 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14018 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14019 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14020 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14021 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14023 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14025 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
14026 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
14027 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
14028 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
14029 svml_d_log2_core-sse2, svml_d_log4_core-sse,
14030 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
14031 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
14032 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
14033 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
14034 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
14035 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
14036 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
14037 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
14038 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
14039 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
14040 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
14041 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
14042 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
14043 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
14044 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
14045 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
14046 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
14047 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
14048 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
14049 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
14050 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
14051 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
14052 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
14053 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
14054 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
14055 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
14056 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
14057 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
14058 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
14059 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
14060 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
14061 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
14062 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
14063 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
14064 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
14065 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
14066 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
14067 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
14068 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
14069 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
14070 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
14071 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
14072 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
14073 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
14074 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
14075 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
14076 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
14077 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
14078 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
14079 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
14080 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
14081 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
14082 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
14083 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
14085 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
14086 Don't include <sysdep.h> nor <init-arch.h>.
14087 (_ZGVbN2v_cos): Removed.
14088 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
14090 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
14091 Don't include <sysdep.h> nor <init-arch.h>.
14092 (_ZGVdN4v_cos): Removed.
14093 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
14095 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
14096 Don't include <sysdep.h> nor <init-arch.h>.
14097 (_ZGVeN8v_cos): Removed.
14098 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
14100 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
14101 Don't include <sysdep.h> nor <init-arch.h>.
14102 (_ZGVbN2v_exp): Removed.
14103 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
14105 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
14106 Don't include <sysdep.h> nor <init-arch.h>.
14107 (_ZGVdN4v_exp): Removed.
14108 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
14110 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
14111 Don't include <sysdep.h> nor <init-arch.h>.
14112 (_ZGVeN8v_exp): Removed.
14113 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
14115 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
14116 Don't include <sysdep.h> nor <init-arch.h>.
14117 (_ZGVbN2v_log): Removed.
14118 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
14120 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
14121 Don't include <sysdep.h> nor <init-arch.h>.
14122 (_ZGVdN4v_log): Removed.
14123 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
14125 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
14126 Don't include <sysdep.h> nor <init-arch.h>.
14127 (_ZGVeN8v_log): Removed.
14128 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
14130 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
14131 Don't include <sysdep.h> nor <init-arch.h>.
14132 (_ZGVbN2vv_pow): Removed.
14133 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
14135 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
14136 Don't include <sysdep.h> nor <init-arch.h>.
14137 (_ZGVdN4vv_pow): Removed.
14138 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
14140 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
14141 Don't include <sysdep.h> nor <init-arch.h>.
14142 (_ZGVeN8vv_pow): Removed.
14143 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
14145 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
14146 Don't include <sysdep.h> nor <init-arch.h>.
14147 (_ZGVbN2v_sin): Removed.
14148 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
14150 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
14151 Don't include <sysdep.h> nor <init-arch.h>.
14152 (_ZGVbN4v_sin): Removed.
14153 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
14155 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
14156 Don't include <sysdep.h> nor <init-arch.h>.
14157 (_ZGVbN8v_sin): Removed.
14158 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
14160 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
14161 Don't include <sysdep.h> nor <init-arch.h>.
14162 (_ZGVbN2vvv_sincos): Removed.
14163 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
14165 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
14166 Don't include <sysdep.h> nor <init-arch.h>.
14167 (_ZGVdN4vvv_sincos): Removed.
14168 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
14170 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
14171 Don't include <sysdep.h> nor <init-arch.h>.
14172 (_ZGVeN8vvv_sincos): Removed.
14173 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
14175 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
14176 Don't include <sysdep.h> nor <init-arch.h>.
14177 (_ZGVeN16v_cosf): Removed.
14178 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
14180 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
14181 Don't include <sysdep.h> nor <init-arch.h>.
14182 (_ZGVbN4v_cosf): Removed.
14183 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
14185 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
14186 Don't include <sysdep.h> nor <init-arch.h>.
14187 (_ZGVdN8v_cosf): Removed.
14188 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
14190 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
14191 Don't include <sysdep.h> nor <init-arch.h>.
14192 (_ZGVeN16v_expf): Removed.
14193 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
14195 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
14196 Don't include <sysdep.h> nor <init-arch.h>.
14197 (_ZGVbN4v_expf): Removed.
14198 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
14200 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
14201 Don't include <sysdep.h> nor <init-arch.h>.
14202 (_ZGVdN8v_expf): Removed.
14203 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
14205 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
14206 Don't include <sysdep.h> nor <init-arch.h>.
14207 (_ZGVeN16v_logf): Removed.
14208 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
14210 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
14211 Don't include <sysdep.h> nor <init-arch.h>.
14212 (_ZGVbN4v_logf): Removed.
14213 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
14215 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
14216 Don't include <sysdep.h> nor <init-arch.h>.
14217 (_ZGVdN8v_logf): Removed.
14218 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
14220 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
14221 Don't include <sysdep.h> nor <init-arch.h>.
14222 (_ZGVeN16vv_powf): Removed.
14223 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
14225 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
14226 Don't include <sysdep.h> nor <init-arch.h>.
14227 (_ZGVbN4vv_powf): Removed.
14228 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
14230 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
14231 Don't include <sysdep.h> nor <init-arch.h>.
14232 (_ZGVdN8vv_powf): Removed.
14233 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
14235 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
14236 Don't include <sysdep.h> nor <init-arch.h>.
14237 (_ZGVeN16vvv_sincosf): Removed.
14238 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
14240 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
14241 Don't include <sysdep.h> nor <init-arch.h>.
14242 (_ZGVbN4vvv_sincosf): Removed.
14243 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
14245 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
14246 Don't include <sysdep.h> nor <init-arch.h>.
14247 (_ZGVdN8vvv_sincosf): Removed.
14248 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
14250 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
14251 Don't include <sysdep.h> nor <init-arch.h>.
14252 (_ZGVeN16v_sinf): Removed.
14253 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
14255 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
14256 Don't include <sysdep.h> nor <init-arch.h>.
14257 (_ZGVbN4v_sinf): Removed.
14258 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
14260 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
14261 Don't include <sysdep.h> nor <init-arch.h>.
14262 (_ZGVdN8v_sinf): Removed.
14264 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14266 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14267 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
14268 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
14269 s_rint-sse4_1 and s_rintf-sse4_1.
14270 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
14271 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
14272 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
14273 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
14274 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
14275 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
14276 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
14277 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
14278 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
14279 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
14280 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
14281 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14283 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
14284 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
14285 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14286 (__ceilf): Removed.
14287 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
14288 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
14289 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14290 (__floor): Removed.
14291 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
14292 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
14293 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14294 (__floorf): Removed.
14295 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
14296 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
14297 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14298 (__nearbyint): Removed.
14299 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
14300 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
14301 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14302 (__nearbyintf): Removed.
14303 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
14304 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
14305 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14307 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
14308 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
14309 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14310 (__rintf): Removed.
14312 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14314 * sysdeps/i386/start.S (_start): Check Check PIC instead of
14315 SHARED. Avoid dynamic relocation against main in static PIE.
14317 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14320 * elf/Makefile (CFLAGS-tst-prelink.c): New.
14321 (LDFLAGS-tst-prelink): Likewise.
14323 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14325 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
14326 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
14327 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
14328 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
14329 (INTERNAL_SYSCALL_NCS): Likewise.
14330 (LOADARGS_1): Likewise.
14331 (LOADARGS_5): Likewise.
14332 (RESTOREARGS_1): Likewise.
14333 (RESTOREARGS_5): Likewise.
14335 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14337 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
14338 (MEMPCPY_SYMBOL): Likewise.
14339 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14340 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
14341 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
14343 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14344 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
14346 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
14347 (__hidden_ver1): Don't use in libc.a.
14348 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
14349 (__mempcpy): Don't create a weak alias in libc.a.
14350 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
14352 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
14353 (__hidden_ver1): Don't use in libc.a.
14355 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14357 * config.make.in (have-insert): New.
14358 * configure.ac (libc_cv_insert): New. Set to yes if linker
14359 supports INSERT in linker script.
14360 (AC_SUBST(libc_cv_insert): New.
14361 * configure: Regenerated.
14362 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
14363 if $(have-insert) == yes.
14365 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14367 * elf/Makefile (tests): Add vismain only if
14368 $(have-protected-data) == yes.
14369 (tests-pie): Likewise.
14371 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14374 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14375 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
14377 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14380 * sysdeps/i386/i586/memset.S
14381 (__memset_zero_constant_len_parameter): Removed.
14382 * sysdeps/i386/i686/memset.S
14383 (__memset_zero_constant_len_parameter): Likewise.
14384 * sysdeps/i386/i686/multiarch/memset_chk.S
14385 (__memset_zero_constant_len_parameter): Likewise.
14386 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
14389 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
14391 * stdlib/getentropy.c (getentropy): Change return type to int.
14393 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
14395 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
14397 2017-08-03 Joseph Myers <joseph@codesourcery.com>
14399 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
14401 * math/s_nexttowardf.c (__nexttowardf): Likewise.
14402 * sysdeps/generic/math_private.h (ieee_double_shape_type):
14404 (ieee_float_shape_type): Likewise.
14405 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
14406 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
14407 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14408 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14409 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14410 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
14411 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
14412 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
14413 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
14415 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14416 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14417 (__ieee754_yn): Likewise.
14418 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
14419 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
14420 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
14422 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14423 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
14424 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
14425 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
14426 (__erfc): Likewise.
14427 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
14428 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
14429 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
14430 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
14431 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
14432 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
14434 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
14435 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
14436 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
14437 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
14438 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
14439 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
14440 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
14441 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
14442 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
14443 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
14444 (__issignaling): Likewise.
14445 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
14446 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
14447 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14449 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14450 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
14451 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
14452 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
14454 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
14456 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
14457 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
14458 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
14459 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
14460 (__erfcf): Likewise.
14461 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
14462 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
14463 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
14464 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
14466 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
14467 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
14469 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
14470 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
14471 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
14472 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
14473 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
14474 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
14475 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
14476 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
14478 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
14480 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
14482 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
14483 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14485 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14487 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14488 (__ieee754_ynl): Likewise.
14489 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14490 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
14492 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
14494 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
14495 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
14496 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14498 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
14499 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
14500 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
14501 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
14502 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
14503 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
14504 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
14505 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
14507 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
14508 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
14509 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
14511 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
14512 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
14513 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
14514 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
14515 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
14516 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14518 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14520 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14522 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14524 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
14525 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
14526 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14527 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
14528 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
14529 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
14530 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
14532 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14534 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14535 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14537 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
14538 (__ieee754_remainderl): Likewise.
14539 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14540 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14541 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14542 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14544 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14545 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14547 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14548 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
14549 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14550 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
14551 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14552 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14554 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14555 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
14556 (__ieee754_y0l): Likewise.
14559 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14560 (__ieee754_y1l): Likewise.
14563 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14564 (__ieee754_ynl): Likewise.
14565 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
14566 (__ieee754_lgammal_r): Likewise.
14567 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
14569 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
14570 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
14571 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
14572 (__erfcl): Likewise.
14573 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
14574 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
14576 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
14577 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
14578 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
14579 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
14580 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
14581 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14582 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14584 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
14585 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
14586 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
14587 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
14588 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14590 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
14591 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
14593 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
14594 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
14595 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
14596 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14597 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
14599 2017-08-03 Florian Weimer <fweimer@redhat.com>
14602 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
14603 on memory allocation failure.
14605 2017-08-03 Alan Modra <amodra@gmail.com>
14607 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
14608 tst-tlsopt-powerpc.c with function name change and no test harness.
14609 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
14610 Call tls_get_addr_opt_test.
14611 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
14612 (modules-names): Add mod-tlsopt-powerpc.
14613 (mod-tlsopt-powerpc.so-no-z-defs): Define.
14614 (tst-tlsopt-powerpc): Depend on .so.
14615 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
14616 define. Expand use in TLS_GD and TLS_LD.
14618 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14620 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
14622 * sysdeps/posix/shm_open.c: Include <pthread.h>.
14624 2017-08-02 Joseph Myers <joseph@codesourcery.com>
14627 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
14628 comparing size with that of double.
14629 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
14630 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
14631 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
14632 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
14633 (__TGMATH_BINARY_REAL_IMAG): Likewise.
14634 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
14635 unsigned __int128 types.
14637 2017-08-02 Steve Ellcey <sellcey@cavium.com>
14639 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
14640 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
14641 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
14642 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
14643 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
14645 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
14647 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
14649 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
14651 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
14653 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
14654 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14655 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14656 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14657 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14658 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14659 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14661 2017-08-02 Joseph Myers <joseph@codesourcery.com>
14664 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
14665 bit-field expressions passed to sizeof or typeof.
14666 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
14667 (__TGMATH_F128): Likewise.
14668 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
14669 (__TGMATH_CF128): Likewise.
14670 (__TGMATH_UNARY_REAL_ONLY): Likewise.
14671 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
14672 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
14673 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
14674 (__TGMATH_BINARY_REAL_ONLY): Likewise.
14675 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
14676 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
14677 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
14678 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
14679 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
14680 (__TGMATH_UNARY_REAL_IMAG): Likewise.
14681 (__TGMATH_UNARY_IMAG): Likewise.
14682 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
14683 (__TGMATH_BINARY_REAL_IMAG): Likewise.
14684 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
14686 (define_vars_for_type): Handle bit_field type specially.
14687 (Tests.__init__): Declare structure with bit-field element.
14689 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
14692 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
14693 (MEMCPY_CHK): Define only if SHARED is defined.
14694 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
14696 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
14699 See ChangeLog.18 for earlier changes.