1 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
4 * bits/types/__cancel_jmp_buf_tag.h: New file.
5 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
6 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
7 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
8 * nptl/Makefile (headers): Add
9 bits/types/__cancel_jmp_buf_tag.h.
10 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
11 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
12 * sysdeps/nptl/pthread.h: Include
13 <bits/types/__cancel_jmp_buf_tag.h>.
14 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
16 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21 --enable-static-pie variants to x86_64, x32 and i686.
23 2017-12-19 Joseph Myers <joseph@codesourcery.com>
26 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
27 argument for attrubutes. All callers changed.
28 (__inline_mathop1): Likewise. All callers changed.
29 (__inline_mathop): Likewise. All callers changed.
30 [__USE_MISC] (scalbn): Use __inline_forward instead of
32 [__USE_ISOC99] (scalbln): Likewise.
33 [__USE_ISOC99] (nearbyint): Likewise.
34 [__USE_ISOC99] (lrint): Likewise.
35 [__USE_MISC] (scalbnf): Likewise.
36 [__USE_ISOC99] (scalblnf): Likewise.
37 [__USE_ISOC99] (nearbyintf): Likewise.
38 [__USE_ISOC99] (lrintf): Likewise.
39 [__USE_MISC] (scalbnl): Likewise.
40 [__USE_ISOC99] (scalblnl): Likewise.
41 [__USE_ISOC99] (nearbyintl): Likewise.
42 [__USE_ISOC99] (lrintl): Likewise.
43 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
44 __inline_mathop and __m81_defun changed.
46 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
47 CPU or FPU for ARM hard-float configurations.
49 2017-12-18 Joseph Myers <joseph@codesourcery.com>
51 * nptl/tst-attr3.c: Include <libc-diag.h>.
52 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
54 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
56 * string/tester.c (test_strncat): Also disable -Warray-bounds
57 warnings for two tests.
59 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
62 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
63 $(cc-pie-default) == yes.
64 * config.make.in (cc-pie-default): New.
65 * configure.ac (libc_cv_pie_default): Renamed to ...
66 (libc_cv_cc_pie_default): This.
67 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
68 * configure: Regenerated.
70 2017-12-18 Florian Weimer <fweimer@redhat.com>
73 ld.so: Harden dl-libc/libdl hooks.
74 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
75 (rtld_active): New function.
76 * dlfcn/dladdr.c (__dladdr): Call it.
77 * dlfcn/dladdr1.c (__dladdr1): Likewise.
78 * dlfcn/dlclose.c (__dlcose): Likewise.
79 * dlfcn/dlerror.c (__dlerror): Likewise.
80 * dlfcn/dlinfo.c (__dlinfo): Likewise.
81 * dlfcn/dlmopen.c (__dlmopen): Likewise.
82 * dlfcn/dlopen.c (__dlopen): Likewise.
83 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
84 * dlfcn/dlsym.c (__dlsym): Likewise.
85 * dlfcn/dlvsym.c (__dlvsym): Likewise.
86 * libio/vtables.c (_IO_vtable_check): Likewise.
87 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
88 (__libc_dlclose): Likewise.
89 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
92 2017-12-18 Joseph Myers <joseph@codesourcery.com>
95 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
96 buffers for readlink input and output.
98 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
101 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
102 inhibit_stack_protector.
105 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
106 inhibit_stack_protector.
108 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
111 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
114 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
116 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
118 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
121 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
123 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
125 * sysdeps/s390/fpu/libm-test-ulps: Update.
127 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
131 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
133 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
134 constants to s_sincosf.h file.
135 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
136 * sysdeps/ieee754/flt-32/s_sincosf.c: New
138 * sysdeps/ieee754/flt-32/s_sincosf.h:
141 2017-12-12 Carlos O'Donell <carlos@redhat.com>
144 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
147 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
150 * INSTALL: Regenerated.
151 * Makeconfig (real-static-start-installed-name): New.
152 (pic-default): Updated for --enable-static-pie.
153 (pie-default): New for --enable-static-pie.
154 (default-pie-ldflag): Likewise.
155 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
156 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
157 Replace $(static-start-installed-name) with
158 $(real-static-start-installed-name).
159 (+prectorT): Updated for --enable-static-pie.
160 (+postctorT): Likewise.
161 (CFLAGS-.o): Add $(pie-default).
162 (CFLAGS-.op): Likewise.
163 * NEWS: Mention --enable-static-pie.
164 * config.h.in (ENABLE_STATIC_PIE): New.
165 * configure.ac (--enable-static-pie): New configure option.
166 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
167 (have-static-pie): Likewise.
168 Enable static PIE if linker supports --no-dynamic-linker.
169 (ENABLE_STATIC_PIE): New AC_DEFINE.
170 (enable-static-pie): New LIBC_CONFIG_VAR.
171 * configure: Regenerated.
172 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
173 gr$(start-installed-name) for --enable-static-pie.
174 (extra-objs): Likewise.
175 (install-lib): Likewise.
176 (extra-objs): Add static-reloc.o and static-reloc.os
177 ($(objpfx)$(start-installed-name)): Also depend on
178 $(objpfx)static-reloc.o.
179 ($(objpfx)r$(start-installed-name)): New.
180 ($(objpfx)g$(start-installed-name)): Also depend on
181 $(objpfx)static-reloc.os.
182 ($(objpfx)gr$(start-installed-name)): New.
183 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
185 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
187 * csu/static-reloc.c: New file.
188 * elf/Makefile (routines): Add dl-reloc-static-pie.
189 (elide-routines.os): Likewise.
190 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
191 (tst-tls1-static-non-pie-no-pie): New.
192 * elf/dl-reloc-static-pie.c: New file.
193 * elf/dl-support.c (_dl_get_dl_main_map): New function.
194 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
195 STATIC_PIE_BOOTSTRAP.
196 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
197 * gmon/Makefile (tests): Add tst-gmon-static-pie.
198 (tests-static): Likewise.
199 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
200 (tst-gmon-static-no-pie): New.
201 (CFLAGS-tst-gmon-static-pie.c): Likewise.
202 (CRT-tst-gmon-static-pie): Likewise.
203 (tst-gmon-static-pie-ENV): Likewise.
204 (tests-special): Likewise.
205 ($(objpfx)tst-gmon-static-pie.out): Likewise.
206 (clean-tst-gmon-static-pie-data): Likewise.
207 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
208 * gmon/tst-gmon-static-pie.c: New file.
209 * manual/install.texi: Document --enable-static-pie.
210 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
211 (_dl_get_dl_main_map): Likewise.
212 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
213 * sysdeps/x86_64/configure.ac: Likewise.
214 * sysdeps/i386/configure: Regenerated.
215 * sysdeps/x86_64/configure: Likewise.
216 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
217 (ASFLAGS-.op): Likewise.
219 2017-12-15 Joseph Myers <joseph@codesourcery.com>
221 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
222 * posix/tst-mmap-offset.c (fname): Use /tmp.
223 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
225 2017-12-15 Steve Ellcey <sellcey@cavium.com>
227 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
229 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
231 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
234 2017-12-15 Joseph Myers <joseph@codesourcery.com>
236 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
237 --with-float=hard for arm-linux-gnueabihf configurations.
240 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
241 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
242 ($(mo-installed)): Use $(objpfx)%.mo.
243 (realclean): Remove rule.
245 * po/Makefile (linguas): Remove rule and dependencies.
246 (linguas.mo): Likewise.
247 (.PHONY): Do not depend on linguas and linguas.mo.
248 (podir): Remove variable.
250 [$(pofiles)] (%.po): Remove rule.
252 * sysdeps/sparc/sparc32/Makefile
253 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
254 start-of-line whitespace in argument of echo.
255 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
256 with whitespace. Generate __wrap_.udiv alias.
257 * sysdeps/sparc/sparc32/rem.S: Regenerated.
258 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
259 * sysdeps/sparc/sparc32/udiv.S: Likewise.
260 * sysdeps/sparc/sparc32/urem.S: Likewise.
262 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
264 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
267 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
269 * benchtests/bench-strcmp.c: Print output in JSON format.
271 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
273 2017-12-14 Florian Weimer <fweimer@redhat.com>
277 * elf/dl-load.c (_dl_init_paths): Compute number of components in
278 the expanded path string.
280 2017-12-14 Florian Weimer <fweimer@redhat.com>
284 * elf/dl-load.c (system_dirs): Update comment.
285 (nsystem_dirs_len): Use array_length.
286 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
288 2017-12-14 Florian Weimer <fweimer@redhat.com>
290 Simplify compiling most of support/ outside of glibc.
291 * support/check_addrinfo.c: Include <string.h>.
292 * support/check_dns_packet.c: Likewise.
293 * support/check_hostent.c: Likewise.
294 * support/support_can_chroot.c: Include <support/xunistd.h>.
295 * support/support_format_addrinfo.c: Include <stdlib.h>
296 * support/support_format_dns_packet.c: Include <stdbool.h>.
297 * support/support_format_hostent.c: Include <stdlib.h>.
298 * support/support_format_netent.c: Likewise.
299 * support/support_write_string.c: Include <support/xunistd.h>.
300 * support/xdlfcn.c: Include <stddef.h>.
302 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
304 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
306 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
307 Adhemerval Zanella <adhemerval.zanella@linaro.org>
309 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
310 (sysdeps_routines): Add memset-niagara7.
311 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
313 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
315 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
316 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
317 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
318 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
320 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
323 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
324 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
325 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
327 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
329 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
330 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
331 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
332 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
333 and __memmove_niagara7.
334 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
336 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
337 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
338 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
339 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
340 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
342 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
344 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
345 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
346 * sysdeps/sparc/sparc64/memmove.S: Likewise.
347 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
349 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
350 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
351 _dl_sparc_cap_flags array.
352 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
354 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
356 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
357 time whenever possible.
359 2017-12-12 Carlos O'Donell <carlos@redhat.com>
361 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
362 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
364 2017-12-12 Joseph Myers <joseph@codesourcery.com>
366 * soft-fp/fmadf4.c: Move to ....
367 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
368 * soft-fp/fmasf4.c: Move to ....
369 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
370 * soft-fp/fmatf4.c: Move to ....
371 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
372 * sysdeps/ieee754/soft-fp/Makefile: New file.
373 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
374 * sysdeps/arm/preconfigure: Regenerated.
375 * sysdeps/arm/nofpu/Implies: New file.
376 * sysdeps/arm/s_fma.c: Remove file.
377 * sysdeps/arm/s_fmaf.c: Likewise.
378 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
379 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
380 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
381 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
382 * sysdeps/microblaze/s_fma.c: Remove file.
383 * sysdeps/microblaze/s_fmaf.c: Likewise.
384 * sysdeps/mips/mips32/nofpu/Implies: New file.
385 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
386 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
387 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
388 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
389 * sysdeps/mips/ieee754/s_fma.c: Remove file.
390 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
391 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
393 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
394 * sysdeps/nios2/s_fma.c: Remove file.
395 * sysdeps/nios2/s_fmaf.c: Likewise.
396 * sysdeps/sh/nofpu/Implies: New file.
397 * sysdeps/sh/s_fma.c: Remove file.
398 * sysdeps/sh/s_fmaf.c: Likewise.
399 * sysdeps/tile/Implies: Add ieee754/soft-fp.
400 * sysdeps/tile/s_fma.c: Remove file.
401 * sysdeps/tile/s_fmaf.c: Likewise.
403 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
405 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
406 Add s_cosf-sse2 and s_cosf-fma.
407 (CFLAGS-s_cosf-fma.c): New.
408 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
409 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
410 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
412 2017-12-12 Steve Ellcey <sellcey@cavium.com>
414 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
416 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
418 * libio/Makefile (tests): Add tst-bz22415.
419 (tst-bz22415-ENV): New rule.
420 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
421 (tests-special): Add tst-bz22415-mem.out.
422 ($(objpfx)tst-bz22415-mem.out): New rule.
423 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
424 in case of a successful seek operation.
425 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
426 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
428 * libio/tst-bz22415.c: New test.
430 * sysdeps/ia64/fpu/libm-test-ulps: Update.
432 2017-12-12 James Clarke <jrtc27@jrtc27.com>
434 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
435 __IPC_64 to 0 to avoid IPC_64 being set.
437 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
440 * math/bits/mathcalls.h (nextafter): Remove const.
441 (nexttoward): Likewise.
443 2017-12-12 Joseph Myers <joseph@codesourcery.com>
445 * configure.ac (--with-fp): Remove configure option.
446 (with_fp_cond): New variable.
447 (libc_cv_with_fp): New configure test. Use this variable instead
449 * configure: Regenerated.
450 * config.make.in (with-fp): Use @libc_cv_with_fp@.
451 * manual/install.texi (Configuring and compiling): Remove
453 * INSTALL: Regenerated.
454 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
455 * sysdeps/mips/preconfigure (with_fp_cond): Define.
456 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
457 * sysdeps/sh/preconfigure (with_fp_cond): Define.
458 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
459 use --without-fp to configure glibc.
461 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
463 * manual/locale.texi (nl_langinfo): Fix a typo.
465 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
468 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
470 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
472 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
473 (CFLAGS-argp-parse.c): Likewise.
474 (CFLAGS-argp-fmtstream.c): Likewise.
475 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
476 (CPPFLAGS-sha512-crypt.c): Likewise.
477 (CPPFLAGS-md5-crypt.c): Likewise.
478 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
479 (CFLAGS-stack_chk_fail_local.c): Likewise.
480 (CFLAGS-backtrace.c): Likewise.
481 (CFLAGS-sprintf_chk.c): Likewise.
482 (CFLAGS-snprintf_chk.c): Likewise.
483 (CFLAGS-vsprintf_chk.c): Likewise.
484 (CFLAGS-vsnprintf_chk.c): Likewise.
485 (CFLAGS-asprintf_chk.c): Likewise.
486 (CFLAGS-vasprintf_chk.c): Likewise.
487 (CFLAGS-obprintf_chk.c): Likewise.
488 (CFLAGS-dprintf_chk.c): Likewise.
489 (CFLAGS-vdprintf_chk.c): Likewise.
490 (CFLAGS-printf_chk.c): Likewise.
491 (CFLAGS-fprintf_chk.c): Likewise.
492 (CFLAGS-vprintf_chk.c): Likewise.
493 (CFLAGS-vfprintf_chk.c): Likewise.
494 (CFLAGS-gets_chk.c): Likewise.
495 (CFLAGS-fgets_chk.c): Likewise.
496 (CFLAGS-fgets_u_chk.c): Likewise.
497 (CFLAGS-fread_chk.c): Likewise.
498 (CFLAGS-fread_u_chk.c): Likewise.
499 (CFLAGS-swprintf_chk.c): Likewise.
500 (CFLAGS-vswprintf_chk.c): Likewise.
501 (CFLAGS-wprintf_chk.c): Likewise.
502 (CFLAGS-fwprintf_chk.c): Likewise.
503 (CFLAGS-vwprintf_chk.c): Likewise.
504 (CFLAGS-vfwprintf_chk.c): Likewise.
505 (CFLAGS-fgetws_chk.c): Likewise.
506 (CFLAGS-fgetws_u_chk.c): Likewise.
507 (CFLAGS-read_chk.c): Likewise.
508 (CFLAGS-pread_chk.c): Likewise.
509 (CFLAGS-pread64_chk.c): Likewise.
510 (CFLAGS-recv_chk.c): Likewise.
511 (CFLAGS-recvfrom_chk.c): Likewise.
512 (CFLAGS-tst-longjmp_chk.c): Likewise.
513 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
514 (CFLAGS-tst-longjmp_chk2.c): Likewise.
515 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
516 (CFLAGS-tst-longjmp_chk3.c): Likewise.
517 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
518 (CFLAGS-tst-chk1.c): Likewise.
519 (CFLAGS-tst-chk2.c): Likewise.
520 (CFLAGS-tst-chk3.c): Likewise.
521 (CFLAGS-tst-chk4.cc): Likewise.
522 (CFLAGS-tst-chk5.cc): Likewise.
523 (CFLAGS-tst-chk6.cc): Likewise.
524 (CFLAGS-tst-lfschk1.c): Likewise.
525 (CFLAGS-tst-lfschk2.c): Likewise.
526 (CFLAGS-tst-lfschk3.c): Likewise.
527 (CFLAGS-tst-lfschk4.cc): Likewise.
528 (CFLAGS-tst-lfschk5.cc): Likewise.
529 (CFLAGS-tst-lfschk6.cc): Likewise.
530 (CFLAGS-tst-ssp-1.c): Likewise.
531 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
532 (CFLAGS-scandir64.c): Likewise.
533 (CFLAGS-scandir-tail.c): Likewise.
534 (CFLAGS-scandir64-tail.c): Likewise.
535 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
536 (CFLAGS-dl-tunables.c): Likewise.
537 (CFLAGS-dl-runtime.c): Likewise.
538 (CFLAGS-dl-lookup.c): Likewise.
539 (CFLAGS-dl-iterate-phdr.c): Likewise.
540 (CFLAGS-vismain.c): Likewise.
541 (CFLAGS-tst-linkall-static.c): Likewise.
542 (CFLAGS-tst-linkall-static.c): Likewise.
543 (CPPFLAGS-dl-load.c): Likewise.
544 (CFLAGS-ldconfig.c): Likewise.
545 (CFLAGS-dl-cache.c): Likewise.
546 (CFLAGS-cache.c): Likewise.
547 (CFLAGS-rtld.c): Likewise.
548 (CFLAGS-multiload.c): Likewise.
549 (CFLAGS-filtmod1.c): Likewise.
550 (CFLAGS-tst-align.c): Likewise.
551 (CFLAGS-tst-align2.c): Likewise.
552 (CFLAGS-tst-alignmod.c): Likewise.
553 (CFLAGS-tst-alignmod2.c): Likewise.
554 (CPPFLAGS-tst-execstack.c): Likewise.
555 (CFLAGS-tst-ptrguard1-static.c): Likewise.
556 (CFLAGS-tst-latepthreadmod.c): Likewise.
557 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
558 (CFLAGS-getgrnam_r.c): Likewise.
559 (CFLAGS-getgrent_r.c): Likewise.
560 (CFLAGS-getgrent.c): Likewise.
561 (CFLAGS-fgetgrent.c): Likewise.
562 (CFLAGS-fgetgrent_r.c): Likewise.
563 (CFLAGS-putgrent.c): Likewise.
564 (CFLAGS-initgroups.c): Likewise.
565 (CFLAGS-getgrgid.c): Likewise.
566 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
567 (CFLAGS-getsgent.c): Likewise.
568 (CFLAGS-fgetsgent.c): Likewise.
569 (CFLAGS-fgetsgent_r.c): Likewise.
570 (CFLAGS-putsgent.c): Likewise.
571 (CFLAGS-getsgnam.c): Likewise.
572 (CFLAGS-getsgnam_r.c): Likewise.
573 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
574 (CFLAGS-iconv_charmap.c): Likewise.
575 (CFLAGS-dummy-repertoire.c): Likewise.
576 (CFLAGS-charmap.c): Likewise.
577 (CFLAGS-linereader.c): Likewise.
578 (CFLAGS-simple-hash.c): Likewise.
579 (CFLAGS-gconv_conf.c): Likewise.
580 (CFLAGS-iconvconfig.c): Likewise.
581 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
582 (CFLAGS-gethstbyad.c): Likewise.
583 (CFLAGS-gethstbynm_r.c): Likewise.
584 (CFLAGS-gethstbynm.c): Likewise.
585 (CFLAGS-gethstbynm2_r.c): Likewise.
586 (CFLAGS-gethstbynm2.c): Likewise.
587 (CFLAGS-gethstent_r.c): Likewise.
588 (CFLAGS-gethstent.c): Likewise.
589 (CFLAGS-rcmd.c): Likewise.
590 (CFLAGS-getnetbynm_r.c): Likewise.
591 (CFLAGS-getnetbynm.c): Likewise.
592 (CFLAGS-getnetbyad_r.c): Likewise.
593 (CFLAGS-getnetbyad.c): Likewise.
594 (CFLAGS-getnetent_r.c): Likewise.
595 (CFLAGS-getnetent.c): Likewise.
596 (CFLAGS-getaliasent_r.c): Likewise.
597 (CFLAGS-getaliasent.c): Likewise.
598 (CFLAGS-getrpcent_r.c): Likewise.
599 (CFLAGS-getrpcent.c): Likewise.
600 (CFLAGS-getservent_r.c): Likewise.
601 (CFLAGS-getservent.c): Likewise.
602 (CFLAGS-getprtent_r.c): Likewise.
603 (CFLAGS-getprtent.c): Likewise.
604 (CFLAGS-either_ntoh.c): Likewise.
605 (CFLAGS-either_hton.c): Likewise.
606 (CFLAGS-getnetgrent.c): Likewise.
607 (CFLAGS-getnetgrent_r.c): Likewise.
608 (CFLAGS-tst-checks-posix.c): Likewise.
609 (CFLAGS-tst-sockaddr.c): Likewise.
610 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
611 (CFLAGS-tst-translit.c): Likewise.
612 (CFLAGS-tst-gettext2.c): Likewise.
613 (CFLAGS-tst-codeset.c): Likewise.
614 (CFLAGS-tst-gettext3.c): Likewise.
615 (CFLAGS-tst-gettext4.c): Likewise.
616 (CFLAGS-tst-gettext5.c): Likewise.
617 (CFLAGS-tst-gettext6.c): Likewise.
618 * io/Makefile (CFLAGS-open.c): Likewise.
619 (CFLAGS-open64.c): Likewise.
620 (CFLAGS-creat.c): Likewise.
621 (CFLAGS-creat64.c): Likewise.
622 (CFLAGS-fcntl.c): Likewise.
623 (CFLAGS-poll.c): Likewise.
624 (CFLAGS-ppoll.c): Likewise.
625 (CFLAGS-lockf.c): Likewise.
626 (CFLAGS-statfs.c): Likewise.
627 (CFLAGS-fstatfs.c): Likewise.
628 (CFLAGS-statvfs.c): Likewise.
629 (CFLAGS-fstatvfs.c): Likewise.
630 (CFLAGS-fts.c): Likewise.
631 (CFLAGS-fts64.c): Likewise.
632 (CFLAGS-ftw.c): Likewise.
633 (CFLAGS-ftw64.c): Likewise.
634 (CFLAGS-lockf.c): Likewise.
635 (CFLAGS-posix_fallocate.c): Likewise.
636 (CFLAGS-posix_fallocate64.c): Likewise.
637 (CFLAGS-fallocate.c): Likewise.
638 (CFLAGS-fallocate64.c): Likewise.
639 (CFLAGS-read.c): Likewise.
640 (CFLAGS-write.c): Likewise.
641 (CFLAGS-test-stat.c): Likewise.
642 (CFLAGS-test-lfs.c): Likewise.
643 * libio/Makefile (CFLAGS-fileops.c): Likewise.
644 (CFLAGS-fputc.c): Likewise.
645 (CFLAGS-fputwc.c): Likewise.
646 (CFLAGS-freopen64.c): Likewise.
647 (CFLAGS-freopen.c): Likewise.
648 (CFLAGS-fseek.c): Likewise.
649 (CFLAGS-fseeko64.c): Likewise.
650 (CFLAGS-fseeko.c): Likewise.
651 (CFLAGS-ftello64.c): Likewise.
652 (CFLAGS-ftello.c): Likewise.
653 (CFLAGS-fwide.c): Likewise.
654 (CFLAGS-genops.c): Likewise.
655 (CFLAGS-getc.c): Likewise.
656 (CFLAGS-getchar.c): Likewise.
657 (CFLAGS-getwc.c): Likewise.
658 (CFLAGS-getwchar.c): Likewise.
659 (CFLAGS-iofclose.c): Likewise.
660 (CFLAGS-iofflush.c): Likewise.
661 (CFLAGS-iofgetpos64.c): Likewise.
662 (CFLAGS-iofgetpos.c): Likewise.
663 (CFLAGS-iofgets.c): Likewise.
664 (CFLAGS-iofgetws.c): Likewise.
665 (CFLAGS-iofputs.c): Likewise.
666 (CFLAGS-iofputws.c): Likewise.
667 (CFLAGS-iofread.c): Likewise.
668 (CFLAGS-iofsetpos64.c): Likewise.
669 (CFLAGS-iofsetpos.c): Likewise.
670 (CFLAGS-ioftell.c): Likewise.
671 (CFLAGS-iofwrite.c): Likewise.
672 (CFLAGS-iogetdelim.c): Likewise.
673 (CFLAGS-iogetline.c): Likewise.
674 (CFLAGS-iogets.c): Likewise.
675 (CFLAGS-iogetwline.c): Likewise.
676 (CFLAGS-ioputs.c): Likewise.
677 (CFLAGS-ioseekoff.c): Likewise.
678 (CFLAGS-ioseekpos.c): Likewise.
679 (CFLAGS-iosetbuffer.c): Likewise.
680 (CFLAGS-iosetvbuf.c): Likewise.
681 (CFLAGS-ioungetc.c): Likewise.
682 (CFLAGS-ioungetwc.c): Likewise.
683 (CFLAGS-oldfileops.c): Likewise.
684 (CFLAGS-oldiofclose.c): Likewise.
685 (CFLAGS-oldiofgetpos64.c): Likewise.
686 (CFLAGS-oldiofgetpos.c): Likewise.
687 (CFLAGS-oldiofsetpos64.c): Likewise.
688 (CFLAGS-oldiofsetpos.c): Likewise.
689 (CFLAGS-peekc.c): Likewise.
690 (CFLAGS-putc.c): Likewise.
691 (CFLAGS-putchar.c): Likewise.
692 (CFLAGS-putwc.c): Likewise.
693 (CFLAGS-putwchar.c): Likewise.
694 (CFLAGS-rewind.c): Likewise.
695 (CFLAGS-wfileops.c): Likewise.
696 (CFLAGS-wgenops.c): Likewise.
697 (CFLAGS-oldiofopen.c): Likewise.
698 (CFLAGS-iofopen.c): Likewise.
699 (CFLAGS-iofopen64.c): Likewise.
700 (CFLAGS-oldtmpfile.c): Likewise.
701 (CFLAGS-tst_putwc.c): Likewise.
702 * locale/Makefile (CFLAGS-md5.c): Likewise.
703 (CFLAGS-charmap.c): Likewise.
704 (CFLAGS-locfile.c): Likewise.
705 (CFLAGS-charmap-dir.c): Likewise.
706 * login/Makefile (CFLAGS-grantpt.c): Likewise.
707 (CFLAGS-getpt.c): Likewise.
708 (CFLAGS-pt_chown.c): Likewise.
709 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
710 (CFLAGS-obstack.c): Likewise.
711 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
712 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
713 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
714 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
715 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
716 (CFLAGS-test-tgmath.c): Likewise.
717 (CFLAGS-test-tgmath2.c): Likewise.
718 (CFLAGS-test-tgmath-ret.c): Likewise.
719 (CFLAGS-test-powl.c): Likewise.
720 (CFLAGS-test-snan.c): Likewise.
721 (CFLAGS-test-signgam-finite.c): Likewise.
722 (CFLAGS-test-signgam-finite-c99.c): Likewise.
723 (CFLAGS-test-signgam-finite-c11.c): Likewise.
724 (CFLAGS-test-signgam-uchar.c): Likewise.
725 (CFLAGS-test-signgam-uchar-init.c): Likewise.
726 (CFLAGS-test-signgam-uchar-static.c): Likewise.
727 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
728 (CFLAGS-test-signgam-uint.c): Likewise.
729 (CFLAGS-test-signgam-uint-init.c): Likewise.
730 (CFLAGS-test-signgam-uint-static.c): Likewise.
731 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
732 (CFLAGS-test-signgam-ullong.c): Likewise.
733 (CFLAGS-test-signgam-ullong-init.c): Likewise.
734 (CFLAGS-test-signgam-ullong-static.c): Likewise.
735 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
736 (CFLAGS-test-math-cxx11.cc): Likewise.
737 (CFLAGS-test-math-isinff.cc): Likewise.
738 (CFLAGS-test-math-iszero.cc): Likewise.
739 (CFLAGS-test-math-issignaling.cc): Likewise.
740 (CFLAGS-test-math-iscanonical.cc): Likewise.
741 (CFLAGS-test-iszero-excess-precision.c): Likewise.
742 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
743 (CFLAGS-test-flt-eval-method.c): Likewise.
744 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
745 (CFLAGS-test-finite-macros.c): Likewise.
746 * misc/Makefile (CFLAGS-select.c): Likewise.
747 (CFLAGS-tsearch.c): Likewise.
748 (CFLAGS-lsearch.c): Likewise.
749 (CFLAGS-pselect.c): Likewise.
750 (CFLAGS-readv.c): Likewise.
751 (CFLAGS-writev.c): Likewise.
752 (CFLAGS-preadv.c): Likewise.
753 (CFLAGS-preadv64.c): Likewise.
754 (CFLAGS-pwritev.c): Likewise.
755 (CFLAGS-pwritev64.c): Likewise.
756 (CFLAGS-preadv2.c): Likewise.
757 (CFLAGS-preadv64v2.c): Likewise.
758 (CFLAGS-pwritev2.c): Likewise.
759 (CFLAGS-pwritev64v2.c): Likewise.
760 (CFLAGS-usleep.c): Likewise.
761 (CFLAGS-syslog.c): Likewise.
762 (CFLAGS-error.c): Likewise.
763 (CFLAGS-getpass.c): Likewise.
764 (CFLAGS-mkstemp.c): Likewise.
765 (CFLAGS-mkstemp64.c): Likewise.
766 (CFLAGS-getsysstats.c): Likewise.
767 (CFLAGS-getusershell.c): Likewise.
768 (CFLAGS-err.c): Likewise.
769 (CFLAGS-tst-tsearch.c): Likewise.
770 (CFLAGS-msync.c): Likewise.
771 (CFLAGS-fdatasync.c): Likewise.
772 (CFLAGS-fsync.c): Likewise.
773 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
774 (CFLAGS-unwind.c): Likewise.
775 (CFLAGS-unwind-forcedunwind.c): Likewise.
776 (CFLAGS-pthread_cancel.c): Likewise.
777 (CFLAGS-pthread_setcancelstate.c): Likewise.
778 (CFLAGS-pthread_setcanceltype.c): Likewise.
779 (CFLAGS-cancellation.c): Likewise.
780 (CFLAGS-libc-cancellation.c): Likewise.
781 (CFLAGS-pthread_exit.c): Likewise.
782 (CFLAGS-forward.c): Likewise.
783 (CFLAGS-pthread_testcancel.c): Likewise.
784 (CFLAGS-pthread_join.c): Likewise.
785 (CFLAGS-pthread_timedjoin.c): Likewise.
786 (CFLAGS-pthread_once.c): Likewise.
787 (CFLAGS-pthread_cond_wait.c): Likewise.
788 (CFLAGS-sem_wait.c): Likewise.
789 (CFLAGS-sem_timedwait.c): Likewise.
790 (CFLAGS-fcntl.c): Likewise.
791 (CFLAGS-lockf.c): Likewise.
792 (CFLAGS-pread.c): Likewise.
793 (CFLAGS-pread64.c): Likewise.
794 (CFLAGS-pwrite.c): Likewise.
795 (CFLAGS-pwrite64.c): Likewise.
796 (CFLAGS-wait.c): Likewise.
797 (CFLAGS-waitpid.c): Likewise.
798 (CFLAGS-sigwait.c): Likewise.
799 (CFLAGS-msgrcv.c): Likewise.
800 (CFLAGS-msgsnd.c): Likewise.
801 (CFLAGS-tcdrain.c): Likewise.
802 (CFLAGS-open.c): Likewise.
803 (CFLAGS-open64.c): Likewise.
804 (CFLAGS-pause.c): Likewise.
805 (CFLAGS-recv.c): Likewise.
806 (CFLAGS-send.c): Likewise.
807 (CFLAGS-accept.c): Likewise.
808 (CFLAGS-sendto.c): Likewise.
809 (CFLAGS-connect.c): Likewise.
810 (CFLAGS-recvfrom.c): Likewise.
811 (CFLAGS-recvmsg.c): Likewise.
812 (CFLAGS-sendmsg.c): Likewise.
813 (CFLAGS-close.c): Likewise.
814 (CFLAGS-read.c): Likewise.
815 (CFLAGS-write.c): Likewise.
816 (CFLAGS-nanosleep.c): Likewise.
817 (CFLAGS-sigsuspend.c): Likewise.
818 (CFLAGS-msync.c): Likewise.
819 (CFLAGS-fdatasync.c): Likewise.
820 (CFLAGS-fsync.c): Likewise.
821 (CFLAGS-pt-system.c): Likewise.
822 (CFLAGS-tst-cleanup2.c): Likewise.
823 (CFLAGS-tst-cleanupx2.c): Likewise.
824 (CFLAGS-flockfile.c): Likewise.
825 (CFLAGS-ftrylockfile.c): Likewise.
826 (CFLAGS-funlockfile.c): Likewise.
827 (CFLAGS-tst-initializers1.c): Likewise.
828 (CFLAGS-tst-initializers1-c89.c): Likewise.
829 (CFLAGS-tst-initializers1-c99.c): Likewise.
830 (CFLAGS-tst-initializers1-c11.c): Likewise.
831 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
832 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
833 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
834 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
835 (CFLAGS-nscd_getgr_r.c): Likewise.
836 (CFLAGS-nscd_gethst_r.c): Likewise.
837 (CFLAGS-nscd_getai.c): Likewise.
838 (CFLAGS-nscd_initgroups.c): Likewise.
839 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
840 (CFLAGS-pause.c): Likewise.
841 (CFLAGS-pread.c): Likewise.
842 (CFLAGS-pread64.c): Likewise.
843 (CFLAGS-pwrite.c): Likewise.
844 (CFLAGS-pwrite64.c): Likewise.
845 (CFLAGS-sleep.c): Likewise.
846 (CFLAGS-wait.c): Likewise.
847 (CFLAGS-waitid.c): Likewise.
848 (CFLAGS-waitpid.c): Likewise.
849 (CFLAGS-getopt.c): Likewise.
850 (CFLAGS-wordexp.c): Likewise.
851 (CFLAGS-sysconf.c): Likewise.
852 (CFLAGS-pathconf.c): Likewise.
853 (CFLAGS-fpathconf.c): Likewise.
854 (CFLAGS-spawn.c): Likewise.
855 (CFLAGS-spawnp.c): Likewise.
856 (CFLAGS-spawni.c): Likewise.
857 (CFLAGS-glob.c): Likewise.
858 (CFLAGS-glob64.c): Likewise.
859 (CFLAGS-getconf.c): Likewise.
860 (CFLAGS-nanosleep.c): Likewise.
861 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
862 (CFLAGS-getpwent.c): Likewise.
863 (CFLAGS-getpw.c): Likewise.
864 (CFLAGS-fgetpwent_r.c): Likewise.
865 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
866 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
867 (CFLAGS-mq_timedreceive.c): Likewise.
868 (CFLAGS-mq_timedsend.c): Likewise.
869 (CFLAGS-clock_nanosleep.c): Likewise.
870 (CFLAGS-librt-cancellation.c): Likewise.
871 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
872 (CFLAGS-getspent.c): Likewise.
873 (CFLAGS-fgetspent.c): Likewise.
874 (CFLAGS-fgetspent_r.c): Likewise.
875 (CFLAGS-putspent.c): Likewise.
876 (CFLAGS-getspnam.c): Likewise.
877 (CFLAGS-getspnam_r.c): Likewise.
878 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
879 (CFLAGS-sigsuspend.c): Likewise.
880 (CFLAGS-sigtimedwait.c): Likewise.
881 (CFLAGS-sigwait.c): Likewise.
882 (CFLAGS-sigwaitinfo.c): Likewise.
883 (CFLAGS-sigreturn.c): Likewise.
884 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
885 (CFLAGS-vfwprintf.c): Likewise.
886 (CFLAGS-tmpfile.c): Likewise.
887 (CFLAGS-tmpfile64.c): Likewise.
888 (CFLAGS-tempname.c): Likewise.
889 (CFLAGS-psignal.c): Likewise.
890 (CFLAGS-vprintf.c): Likewise.
891 (CFLAGS-cuserid.c): Likewise.
892 (CFLAGS-errlist.c): Likewise.
893 (CFLAGS-siglist.c): Likewise.
894 (CFLAGS-scanf15.c): Likewise.
895 (CFLAGS-scanf17.c): Likewise.
896 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
897 (CFLAGS-msort.c): Likewise.
898 (CFLAGS-qsort.c): Likewise.
899 (CFLAGS-system.c): Likewise.
900 (CFLAGS-fmtmsg.c): Likewise.
901 (CFLAGS-strfmon.c): Likewise.
902 (CFLAGS-strfmon_l.c): Likewise.
903 (CFLAGS-strfromd.c): Likewise.
904 (CFLAGS-strfromf.c): Likewise.
905 (CFLAGS-strfroml.c): Likewise.
906 (CFLAGS-tst-bsearch.c): Likewise.
907 (CFLAGS-tst-qsort.c): Likewise.
908 (CFLAGS-tst-makecontext2.c): Likewise.
909 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
910 (CFLAGS-xnlm_prot.c): Likewise.
911 (CFLAGS-xrstat.c): Likewise.
912 (CFLAGS-xyppasswd.c): Likewise.
913 (CFLAGS-xklm_prot.c): Likewise.
914 (CFLAGS-xrex.c): Likewise.
915 (CFLAGS-xsm_inter.c): Likewise.
916 (CFLAGS-xmount.c): Likewise.
917 (CFLAGS-xrusers.c): Likewise.
918 (CFLAGS-xspray.c): Likewise.
919 (CFLAGS-xnfs_prot.c): Likewise.
920 (CFLAGS-xrquota.c): Likewise.
921 (CFLAGS-xkey_prot.c): Likewise.
922 (CFLAGS-auth_unix.c): Likewise.
923 (CFLAGS-key_call.c): Likewise.
924 (CFLAGS-pmap_rmt.c): Likewise.
925 (CFLAGS-clnt_perr.c): Likewise.
926 (CFLAGS-openchild.c): Likewise.
927 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
928 (CFLAGS-msgsnd.c): Likewise.
929 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
930 * time/Makefile (CFLAGS-tzfile.c): Likewise.
931 (CFLAGS-tzset.c): Likewise.
932 (CFLAGS-getdate.c): Likewise.
933 (CFLAGS-test_time.c): Likewise.
934 (CPPFLAGS-tst-tzname.c): Likewise.
935 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
936 (CFLAGS-zic.c): Likewise.
937 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
938 (CFLAGS-wcswidth.c): Likewise.
939 (CFLAGS-wcstol.c): Likewise.
940 (CFLAGS-wcstoul.c): Likewise.
941 (CFLAGS-wcstoll.c): Likewise.
942 (CFLAGS-wcstoull.c): Likewise.
943 (CFLAGS-wcstod.c): Likewise.
944 (CFLAGS-wcstold.c): Likewise.
945 (CFLAGS-wcstof128.c): Likewise.
946 (CFLAGS-wcstof.c): Likewise.
947 (CFLAGS-wcstol_l.c): Likewise.
948 (CFLAGS-wcstoul_l.c): Likewise.
949 (CFLAGS-wcstoll_l.c): Likewise.
950 (CFLAGS-wcstoull_l.c): Likewise.
951 (CFLAGS-wcstod_l.c): Likewise.
952 (CFLAGS-wcstold_l.c): Likewise.
953 (CFLAGS-wcstof128_l.c): Likewise.
954 (CFLAGS-wcstof_l.c): Likewise.
955 (CPPFLAGS-tst-wchar-h.c): Likewise.
956 (CPPFLAGS-wcstold_l.c): Likewise.
958 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
960 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
962 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
963 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
965 * manual/tunables.texi (Hardware Capability Tunables): Document
966 glibc.tune.cached_memopt.
967 * sysdeps/powerpc/cpu-features.c: New file.
968 * sysdeps/powerpc/cpu-features.h: New file.
969 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
970 _dl_powerpc_cpu_features.
971 * sysdeps/powerpc/dl-tunables.list: New file.
972 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
973 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
974 (INIT_ARCH): Initialize use_aligned_memopt.
975 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
976 IS_IN(rtld))]: Restrict dl_platform_init availability and
977 initialize CPU features used by tunables.
978 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
979 Add memcpy-power8-cached.
980 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
981 __memcpy_power8_cached.
982 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
983 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
986 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
988 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
989 (CFLAGS-noinl-tester.c): Likewise.
990 (CFLAGS-tst-strlen.c): Likewise.
991 (CFLAGS-stratcliff.c): Likewise.
992 (CFLAGS-test-ffs.c): Likewise.
993 (CFLAGS-tst-inlcall.c): Likewise.
994 (CFLAGS-tst-xbzero-opt.c): Likewise.
995 (CFLAGS-memcpy.c): Likewise.
996 (CFLAGS-wordcopy.c): Likewise.
998 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1000 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
1001 Store r15 on stack and add cfi rule.
1002 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
1005 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
1008 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
1011 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
1013 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1014 Add s_sinf-sse2 and s_sinf-fma.
1015 (CFLAGS-s_sinf-fma.c): New.
1016 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
1017 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
1018 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
1020 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
1022 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
1024 2017-12-07 Joseph Myers <joseph@codesourcery.com>
1027 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
1028 part of result to imaginary part of argument if it is zero and the
1029 real part of the argument is not finite.
1030 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
1031 of result to real part of argument if it is zero and the imaginary
1032 part of the argument is not finite.
1034 2017-12-07 Mike FABIAN <mfabian@redhat.com>
1037 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
1038 and to the list of locales to be built for testing.
1039 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
1040 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
1041 and build the collation rules upon that.
1043 2017-12-07 Joseph Myers <joseph@codesourcery.com>
1045 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
1046 * manual/math.texi (Mathematics): Document support for _Float32.
1047 * math/Makefile (test-types): Add float32.
1048 * math/Versions (GLIBC_2.27): Add _Float32 functions.
1049 * stdlib/Versions (GLIBC_2.27): Likewise.
1050 * wcsmbs/Versions (GLIBC_2.27): Likewise.
1051 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
1052 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1053 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1054 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1055 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1056 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1057 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1058 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1059 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1060 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1061 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1062 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1063 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1064 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1065 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1066 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1067 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1068 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1069 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1070 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1071 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
1073 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1074 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1075 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1076 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1077 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1095 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1096 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1097 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1098 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1099 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1100 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1101 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1102 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1103 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1104 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1105 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
1107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1113 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1114 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1115 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1116 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1117 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1118 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1119 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1120 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1122 2017-12-06 Joseph Myers <joseph@codesourcery.com>
1124 * stdlib/strtof.c: Include <bits/floatn.h>
1125 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
1126 and later undefine as macro. Define as weak alias if
1128 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
1129 and later undefine as macro. Define as weak alias if
1131 * stdlib/strtof_l.c: Include <bits/floatn.h>
1132 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
1133 and later undefine as macro. Define as weak alias if
1135 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
1136 and later undefine as macro. Define as weak alias if
1139 * stdlib/strfromf.c: Include <bits/floatn.h>.
1140 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
1141 and later undefine as macro and define as weak alias.
1143 * math/test-float32.h: New file.
1145 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
1146 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
1147 (libm_alias_float_other_r): Create f32 alias.
1148 (libm_alias_float_r): Use semicolon before call to
1149 libm_alias_float_other_r.
1151 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
1152 second argument to libm_alias_float_other.
1153 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
1154 second argument to libm_alias_float_other.
1155 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
1156 argument to libm_alias_float_other.
1159 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
1160 real part of result for argument 0 + i * NaN.
1161 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
1162 results for tests of 0 + i * NaN.
1164 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1166 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1168 2017-12-06 David S. Miller <davem@davemloft.net>
1170 * sysdeps/sparc/fpu/libm-test-ulps: Update
1171 exp_{downward,towardzero,upward} ulps.
1173 2017-12-06 Joseph Myers <joseph@codesourcery.com>
1175 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
1178 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
1180 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
1182 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
1184 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
1187 2017-12-06 Mike FABIAN <mfabian@redhat.com>
1190 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
1191 and to the list of locales to be built for testing.
1192 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
1193 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
1194 and build the collation rules upon that.
1196 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1198 * NEWS: Add sinf to list of optimized functions.
1200 2017-12-06 Joseph Myers <joseph@codesourcery.com>
1202 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
1203 (__HAVE_FLOAT32X): Likewise.
1204 * manual/math.texi (Mathematics): Document support for _Float64
1206 * math/Makefile (test-types): Add float64 and float32x.
1207 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
1209 * stdlib/Versions (GLIBC_2.27): Likewise.
1210 * wcsmbs/Versions (GLIBC_2.27): Likewise.
1211 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
1212 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1213 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1214 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1215 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1216 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1217 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1218 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1219 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1220 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1221 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1222 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1223 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1224 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1225 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1226 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1227 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1228 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1229 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1230 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1231 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
1233 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1234 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1235 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1236 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1237 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1254 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1255 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1256 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1257 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1258 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1259 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1260 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1261 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1262 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1263 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1264 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
1266 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1268 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1270 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1272 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1273 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1274 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1275 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1276 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1277 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1278 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1279 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1281 2017-12-05 Joseph Myers <joseph@codesourcery.com>
1283 * bits/floatn-common.h: Include <bits/long-double.h>.
1284 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
1285 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
1286 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
1287 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
1288 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
1289 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
1290 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
1291 (__builtin_huge_valf64): Use __builtin_huge_vall.
1292 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
1293 (__builtin_inff64): Use __builtin_infl.
1294 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
1295 (__builtin_nanf64): Use __builtin_nanl.
1296 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
1297 (__builtin_nansf64): Use __builtin_nansl.
1299 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>,
1300 Paul E. Murphy <murphyp@linux.vnet.ibm.com>,
1301 Carlos O'Donnell <carlos@redhat.com>
1303 * elf/dl-tunables.list: Add elision parameters.
1304 * manual/tunables.texi: Add entries about elision tunable.
1305 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
1306 Add callback functions to dynamically enable/disable elision.
1307 Add multiple callbacks functions to set elision parameters.
1308 Deleted __libc_enable_secure check.
1309 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
1310 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
1311 * configure: Regenerated.
1312 * configure.ac: Option enable_lock_elision was deleted.
1313 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
1314 * config.make.in: Remove references to enable_lock_elision.
1315 * manual/install.texi: Elision configure option was removed.
1316 * INSTALL: Regenerated to remove enable_lock_elision.
1318 Disable elision so it can verify error case for destroying a mutex.
1319 * sysdeps/powerpc/nptl/elide.h:
1320 Cleanup ENABLE_LOCK_ELISION check.
1321 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
1322 * sysdeps/s390/configure: Regenerated.
1323 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
1324 * nptl/tst-mutex8.c:
1325 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
1326 * sysdeps/powerpc/powerpc32/sysdep.h:
1327 Deleted all ENABLE_LOCK_ELISION checks.
1328 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
1329 * sysdeps/powerpc/sysdep.h: Likewise.
1330 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
1331 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
1332 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1333 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1334 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1335 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
1336 enable-lock-elision.
1338 2017-12-05 Joseph Myers <joseph@codesourcery.com>
1340 * stdlib/strtod.c: Include <bits/floatn.h>.
1341 (BUILD_DOUBLE): New macro.
1342 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
1343 (strtof64): Define and later undefine as macro. Define as weak
1344 alias if [!USE_WIDE_CHAR].
1345 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
1346 (wcstof64): Define and later undefine as macro. Define as weak
1347 alias if [USE_WIDE_CHAR].
1348 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
1349 (strtof32x): Define and later undefine as macro. Define as weak
1350 alias if [!USE_WIDE_CHAR].
1351 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
1352 (wcstof32x): Define and later undefine as macro. Define as weak
1353 alias if [USE_WIDE_CHAR].
1354 * stdlib/strtod_l.c: Include <bits/floatn.h>.
1355 (BUILD_DOUBLE): New macro.
1356 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
1357 (strtof64_l): Define and later undefine as macro. Define as weak
1358 alias if [!USE_WIDE_CHAR].
1359 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
1360 (wcstof64_l): Define and later undefine as macro. Define as weak
1361 alias if [USE_WIDE_CHAR].
1362 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
1363 (strtof32x_l): Define and later undefine as macro. Define as weak
1364 alias if [!USE_WIDE_CHAR].
1365 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
1366 (wcstof32x_l): Define and later undefine as macro. Define as weak
1367 alias if [USE_WIDE_CHAR].
1369 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1371 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
1372 (reduced): Use ones as double instead of integer.
1374 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
1376 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
1378 2017-12-05 Joseph Myers <joseph@codesourcery.com>
1380 * stdlib/strfromd.c: Include <bits/floatn.h>.
1381 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
1382 and later undefine as macro and define as weak alias.
1383 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
1386 * math/test-float32x.h: New file.
1387 * math/test-float64.h: Likewise.
1389 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
1390 (libm_alias_double_other_r_f64): New macro.
1391 (libm_alias_double_other_r_f32x): Likewise.
1392 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
1393 libm_alias_double_other_r_f32x.
1394 (libm_alias_double_r): Use semicolon before call to
1395 libm_alias_double_other_r.
1396 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
1398 (libm_alias_double_other_r_f64): New macro.
1399 (libm_alias_double_other_r_f32x): Likewise.
1400 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
1401 libm_alias_double_other_r_f32x.
1403 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
1405 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
1407 (SINF_FUNC): Likewise. Replace floor with simple casts.
1409 2017-12-05 Mike FABIAN <mfabian@redhat.com>
1412 * localedata/Makefile: Add et_EE.UTF-8 to test-input
1413 and to the list of locales to be built for testing.
1414 * localedata/et_EE.UTF-8.in: New file for testing the collation.
1415 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
1416 and build the collation rules upon that.
1418 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
1420 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
1421 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
1422 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
1423 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
1424 instead of __insn__xxx.
1425 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
1426 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
1427 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
1428 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
1429 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
1430 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
1432 2017-12-05 Florian Weimer <fweimer@redhat.com>
1434 Linux: Implement interfaces for memory protection keys
1435 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
1437 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
1438 * support/xunistd.h (xsysconf): Declare.
1439 * support/xraise.c: New file.
1440 * support/xsigaction.c: Likewise.
1441 * support/xsignal.c: Likewise.
1442 * support/xsysconf.c: Likewise.
1443 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
1444 pkey_set, pkey_get, pkey_mprotect.
1445 [misc] (tests): Add tst-pkey.
1446 (tst-pkey): Link with -lpthread.
1447 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
1448 pkey_free, pkey_set, pkey_get, pkey_mprotect.
1449 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
1450 (PKEY_DISABLE_WRITE): Define.
1451 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
1453 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
1455 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
1456 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
1457 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
1458 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
1460 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
1461 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
1462 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
1463 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
1464 * sysdeps/unix/sysv/linux/**.abilist: Update.
1466 2017-12-05 Florian Weimer <fweimer@redhat.com>
1468 * support/tst-test_compare.c (subprocess): Use long long instead
1469 of long argument for consistent type width across 32-bit and
1470 64-bit architectures.
1471 (do_test): Adjust expected output.
1473 2017-12-05 Joseph Myers <joseph@codesourcery.com>
1475 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
1476 (cosf): Define using libm_alias_float.
1477 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
1478 (fabsf): Define using libm_alias_float.
1479 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
1480 (fmaf): Define using libm_alias_float.
1481 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
1482 (rintf): Define using libm_alias_float.
1483 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
1484 (sinf): Define using libm_alias_float.
1485 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
1486 <libm-alias-float.h>.
1487 (modff): Define using libm_alias_float.
1488 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
1489 <libm-alias-float.h>.
1490 (logbf): Define using libm_alias_float.
1491 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
1492 <libm-alias-float.h>.
1493 (ceilf): Define using libm_alias_float.
1494 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
1495 <libm-alias-float.h>.
1496 (copysignf): Define using libm_alias_float.
1497 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
1498 <libm-alias-float.h>.
1499 (floorf): Define using libm_alias_float.
1500 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
1501 <libm-alias-float.h>.
1502 (llrintf): Define using libm_alias_float.
1503 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
1504 <libm-alias-float.h>.
1505 (llroundf): Define using libm_alias_float.
1506 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
1507 <libm-alias-float.h>.
1508 (lrintf): Define using libm_alias_float.
1509 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
1510 <libm-alias-float.h>.
1511 (lroundf): Define using libm_alias_float.
1512 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
1513 <libm-alias-float.h>.
1514 (nearbyintf): Define using libm_alias_float.
1515 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
1516 <libm-alias-float.h>.
1517 (rintf): Define using libm_alias_float.
1518 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
1519 <libm-alias-float.h>.
1520 (roundf): Define using libm_alias_float.
1521 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
1522 <libm-alias-float.h>.
1523 (truncf): Define using libm_alias_float.
1524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
1525 Include <libm-alias-float.h>.
1526 (ceilf): Define using libm_alias_float.
1527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
1528 Include <libm-alias-float.h>.
1529 (copysignf): Define using libm_alias_float.
1530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
1531 Include <libm-alias-float.h>.
1532 (floorf): Define using libm_alias_float.
1533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
1534 Include <libm-alias-float.h>.
1535 (llrintf): Define using libm_alias_float.
1536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
1537 Include <libm-alias-float.h>.
1538 (llroundf): Define using libm_alias_float.
1539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
1540 Include <libm-alias-float.h>.
1541 (logbf): Define using libm_alias_float.
1542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
1543 Include <libm-alias-float.h>.
1544 (lrintf): Define using libm_alias_float.
1545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
1546 Include <libm-alias-float.h>.
1547 (lroundf): Define using libm_alias_float.
1548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
1549 Include <libm-alias-float.h>.
1550 (modff): Define using libm_alias_float.
1551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
1552 Include <libm-alias-float.h>.
1553 (roundf): Define using libm_alias_float.
1554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
1555 Include <libm-alias-float.h>.
1556 (truncf): Define using libm_alias_float.
1557 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
1558 <libm-alias-float.h>.
1559 (llrintf): Define using libm_alias_float.
1560 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
1561 <libm-alias-float.h>.
1562 (llroundf): Define using libm_alias_float.
1563 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
1564 <libm-alias-float.h>.
1565 (ceilf): Define using libm_alias_float.
1566 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
1567 <libm-alias-float.h>.
1568 (floorf): Define using libm_alias_float.
1569 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
1570 <libm-alias-float.h>.
1571 (llroundf): Define using libm_alias_float.
1572 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
1573 <libm-alias-float.h>.
1574 (lroundf): Define using libm_alias_float.
1575 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
1576 <libm-alias-float.h>.
1577 (roundf): Define using libm_alias_float.
1578 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
1579 <libm-alias-float.h>.
1580 (truncf): Define using libm_alias_float.
1581 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
1582 <libm-alias-float.h>.
1583 (copysignf): Define using libm_alias_float.
1584 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
1585 <libm-alias-float.h>.
1586 (llrintf): Define using libm_alias_float.
1587 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
1588 <libm-alias-float.h>.
1589 (llroundf): Define using libm_alias_float.
1590 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
1591 <libm-alias-float.h>.
1592 (lrintf): Define using libm_alias_float.
1593 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
1594 <libm-alias-float.h>.
1595 (lroundf): Define using libm_alias_float.
1596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
1597 <libm-alias-float.h>.
1598 (ceilf): Define using libm_alias_float.
1599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
1600 <libm-alias-float.h>.
1601 (copysignf): Define using libm_alias_float.
1602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
1603 <libm-alias-float.h>.
1604 (cosf): Define using libm_alias_float.
1605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
1606 <libm-alias-float.h>.
1607 (floorf): Define using libm_alias_float.
1608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
1609 <libm-alias-float.h>.
1610 (llrintf): Define using libm_alias_float.
1611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
1612 <libm-alias-float.h>.
1613 (llroundf): Define using libm_alias_float.
1614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
1615 <libm-alias-float.h>.
1616 (logbf): Define using libm_alias_float.
1617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
1618 <libm-alias-float.h>.
1619 (modff): Define using libm_alias_float.
1620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
1621 <libm-alias-float.h>.
1622 (roundf): Define using libm_alias_float.
1623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
1624 <libm-alias-float.h>.
1625 (sinf): Define using libm_alias_float.
1626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
1627 <libm-alias-float.h>.
1628 (truncf): Define using libm_alias_float.
1629 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
1630 <libm-alias-float.h>.
1631 (ceilf): Define using libm_alias_float.
1632 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
1633 <libm-alias-float.h>.
1634 (copysignf): Define using libm_alias_float.
1635 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
1636 <libm-alias-float.h>.
1637 (floorf): Define using libm_alias_float.
1638 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
1639 <libm-alias-float.h>.
1640 (llrintf): Define using libm_alias_float.
1641 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
1642 <libm-alias-float.h>.
1643 (llroundf): Define using libm_alias_float.
1644 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
1645 <libm-alias-float.h>.
1646 (nearbyintf): Define using libm_alias_float.
1647 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
1648 <libm-alias-float.h>.
1649 (rintf): Define using libm_alias_float.
1650 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
1651 <libm-alias-float.h>.
1652 (roundf): Define using libm_alias_float.
1653 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
1654 <libm-alias-float.h>.
1655 (truncf): Define using libm_alias_float.
1656 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
1657 <libm-alias-float.h>.
1658 (ceilf): Define using libm_alias_float.
1659 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
1660 <libm-alias-float.h>.
1661 (floorf): Define using libm_alias_float.
1662 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
1663 <libm-alias-float.h>.
1664 (llroundf): Define using libm_alias_float.
1665 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
1666 <libm-alias-float.h>.
1667 (roundf): Define using libm_alias_float.
1668 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
1669 <libm-alias-float.h>.
1670 (truncf): Define using libm_alias_float.
1671 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
1672 <libm-alias-float.h>.
1673 (copysignf): Define using libm_alias_float.
1674 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
1675 <libm-alias-float.h>.
1676 (llrintf): Define using libm_alias_float.
1677 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
1678 <libm-alias-float.h>.
1679 (llroundf): Define using libm_alias_float.
1680 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
1681 <libm-alias-float.h>.
1682 (cosf): Define using libm_alias_float.
1683 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
1684 <libm-alias-float.h>.
1685 (llrintf): Define using libm_alias_float.
1686 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
1687 <libm-alias-float.h>.
1688 (llroundf): Define using libm_alias_float.
1689 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
1690 <libm-alias-float.h>.
1691 (sinf): Define using libm_alias_float.
1693 2017-12-04 Florian Weimer <fweimer@redhat.com>
1695 * support/check.h (TEST_COMPARE): Define.
1696 (support_test_compare_failure): Declare.
1697 * support/Makefile (libsupport-routines): Add
1698 support_test_compare_failure.
1699 (tests): Add tst-test_compare.
1700 * support /support_test_compare_failure.c: New file.
1701 * support/tst-test_compare.c: Likewise.
1703 2017-12-04 Mike FABIAN <mfabian@redhat.com>
1706 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
1707 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
1708 available, this rewrite of the collation rules does reproduce
1709 the test file in the same order.
1711 2017-12-04 Mike FABIAN <mfabian@redhat.com>
1714 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
1715 digraphs in the month and day names. Using single code points for
1716 digraphs is deprecated. While there are dedicated Unicode
1717 codepoints, for the digraphs, these are included for backwards
1718 compatibility and modern texts use a sequence of Basic Latin
1719 characters. See: https://www.unicode.org/faq/ligature_digraph.html
1720 This makes the month and day names agree exactly with CLDR now,
1721 CLDR does not use the single code points for the digraphs either.
1723 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
1725 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
1727 2017-12-04 Joseph Myers <joseph@codesourcery.com>
1729 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
1732 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
1734 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
1735 Define only for libc.so.
1737 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
1739 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1740 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
1741 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
1742 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
1743 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1745 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1748 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
1750 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
1753 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
1754 PREINIT_FUNCTION_WEAK is nonzero.
1755 (gmon_initializer): New function. Put procedure label for it in
1756 .init_array section.
1757 (_init): Don't call PREINIT_FUNCTION.
1758 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
1759 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
1760 value when map argument is null.
1762 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
1763 depi instruction from PIC pc-relative sequence.
1764 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
1765 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
1766 (elf_machine_load_address): Likewise.
1767 (elf_machine_runtime_setup): Likewise.
1769 2017-12-02 Joseph Myers <joseph@codesourcery.com>
1771 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
1772 <libm-alias-double.h>.
1773 (logb): Define using libm_alias_double.
1774 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
1775 <libm-alias-double.h>.
1776 (copysign): Define using libm_alias_double.
1777 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
1778 <libm-alias-double.h>.
1779 (llrint): Define using libm_alias_double.
1780 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
1781 <libm-alias-double.h>.
1782 (llround): Define using libm_alias_double.
1783 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
1784 <libm-alias-double.h>.
1785 (lrint): Define using libm_alias_double.
1786 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
1787 <libm-alias-double.h>.
1788 (lround): Define using libm_alias_double.
1789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1790 Include <libm-alias-double.h>.
1791 (copysign): Define using libm_alias_double.
1792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
1793 Include <libm-alias-double.h>.
1794 (llrint): Define using libm_alias_double.
1795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
1796 Include <libm-alias-double.h>.
1797 (llround): Define using libm_alias_double.
1798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
1799 <libm-alias-double.h>.
1800 (logb): Define using libm_alias_double.
1801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
1802 Include <libm-alias-double.h>.
1803 (lrint): Define using libm_alias_double.
1804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
1805 Include <libm-alias-double.h>.
1806 (lround): Define using libm_alias_double.
1807 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
1808 <libm-alias-double.h>.
1809 (llrint): Define using libm_alias_double.
1810 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
1811 <libm-alias-double.h>.
1812 (llround): Define using libm_alias_double.
1813 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
1814 <libm-alias-double.h>.
1815 (llround): Define using libm_alias_double.
1816 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
1817 <libm-alias-double.h>.
1818 (lround): Define using libm_alias_double.
1819 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
1820 <libm-alias-double.h>.
1821 (copysign): Define using libm_alias_double.
1822 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
1823 <libm-alias-double.h>.
1824 (llrint): Define using libm_alias_double.
1825 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
1826 <libm-alias-double.h>.
1827 (llround): Define using libm_alias_double.
1828 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
1829 <libm-alias-double.h>.
1830 (lrint): Define using libm_alias_double.
1831 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
1832 <libm-alias-double.h>.
1833 (lround): Define using libm_alias_double.
1834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
1835 <libm-alias-double.h>.
1836 (copysign): Define using libm_alias_double.
1837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
1838 <libm-alias-double.h>.
1839 (llrint): Define using libm_alias_double.
1841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
1842 <libm-alias-double.h>.
1843 (llround): Define using libm_alias_double.
1845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
1846 <libm-alias-double.h>.
1847 (logb): Define using libm_alias_double.
1848 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
1849 <libm-alias-double.h>.
1850 (copysign): Define using libm_alias_double.
1851 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
1852 <libm-alias-double.h>.
1853 (llrint): Define using libm_alias_double.
1855 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
1856 <libm-alias-double.h>.
1857 (llround): Define using libm_alias_double.
1859 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
1860 <libm-alias-double.h>.
1861 (llround): Define using libm_alias_double.
1863 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
1864 <libm-alias-double.h>.
1865 (copysign): Define using libm_alias_double.
1866 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
1867 <libm-alias-double.h>.
1868 (llrint): Define using libm_alias_double.
1870 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
1871 <libm-alias-double.h>.
1872 (llround): Define using libm_alias_double.
1874 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
1875 <libm-alias-double.h>.
1876 (llrint): Define using libm_alias_double.
1878 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
1879 <libm-alias-double.h>.
1880 (llround): Define using libm_alias_double.
1883 2017-12-01 Joseph Myers <joseph@codesourcery.com>
1885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
1886 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
1887 compat symbol based on llround.
1889 * sysdeps/powerpc/power7/fpu/s_logb.c
1890 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
1891 symbol based on __logb, not on logb.
1892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
1893 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
1894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
1895 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
1897 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
1898 (rint): Define using libm_alias_double.
1899 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
1900 <libm-alias-double.h>.
1901 (modf): Define using libm_alias_double.
1902 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
1903 <libm-alias-double.h>.
1904 (ceil): Define using libm_alias_double.
1905 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
1906 <libm-alias-double.h>.
1907 (floor): Define using libm_alias_double.
1908 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
1909 <libm-alias-double.h>.
1910 (nearbyint): Define using libm_alias_double.
1911 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
1912 <libm-alias-double.h>.
1913 (rint): Define using libm_alias_double.
1914 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
1915 <libm-alias-double.h>.
1916 (round): Define using libm_alias_double.
1917 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
1918 <libm-alias-double.h>.
1919 (trunc): Define using libm_alias_double.
1920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
1921 <libm-alias-double.h>.
1922 (ceil): Define using libm_alias_double.
1923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
1924 Include <libm-alias-double.h>.
1925 (floor): Define using libm_alias_double.
1926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
1927 <libm-alias-double.h>.
1928 (modf): Define using libm_alias_double.
1929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
1930 Include <libm-alias-double.h>.
1931 (round): Define using libm_alias_double.
1932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
1933 Include <libm-alias-double.h>.
1934 (trunc): Define using libm_alias_double.
1935 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
1936 <libm-alias-double.h>.
1937 (ceil): Define using libm_alias_double.
1938 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
1939 <libm-alias-double.h>.
1940 (floor): Define using libm_alias_double.
1941 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
1942 <libm-alias-double.h>.
1943 (round): Define using libm_alias_double.
1944 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
1945 <libm-alias-double.h>.
1946 (trunc): Define using libm_alias_double.
1947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
1948 <libm-alias-double.h>.
1949 (ceil): Define using libm_alias_double.
1950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
1951 <libm-alias-double.h>.
1952 (floor): Define using libm_alias_double.
1953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
1954 <libm-alias-double.h>.
1955 (modf): Define using libm_alias_double.
1956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
1957 <libm-alias-double.h>.
1958 (round): Define using libm_alias_double.
1959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
1960 <libm-alias-double.h>.
1961 (trunc): Define using libm_alias_double.
1962 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
1963 <libm-alias-double.h>.
1964 (ceil): Define using libm_alias_double.
1965 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
1966 <libm-alias-double.h>.
1967 (floor): Define using libm_alias_double.
1968 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
1969 <libm-alias-double.h>.
1970 (nearbyint): Define using libm_alias_double.
1971 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
1972 <libm-alias-double.h>.
1973 (rint): Define using libm_alias_double.
1974 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
1975 <libm-alias-double.h>.
1976 (round): Define using libm_alias_double.
1977 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
1978 <libm-alias-double.h>.
1979 (trunc): Define using libm_alias_double.
1980 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
1981 <libm-alias-double.h>.
1982 (ceil): Define using libm_alias_double.
1983 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
1984 <libm-alias-double.h>.
1985 (floor): Define using libm_alias_double.
1986 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
1987 <libm-alias-double.h>.
1988 (round): Define using libm_alias_double.
1989 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
1990 <libm-alias-double.h>.
1991 (trunc): Define using libm_alias_double.
1993 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
1994 (fabs): Define using libm_alias_double.
1995 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
1996 (fma): Define using libm_alias_double.
1997 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
1998 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
1999 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
2000 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
2002 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2004 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
2006 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
2007 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
2008 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
2010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
2013 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
2015 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
2017 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2019 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
2020 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
2021 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
2022 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
2024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2025 (libm-sysdep_routines): Add s_nearbyintf-generic and
2026 s_nearbyint-generic.
2027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
2029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
2030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
2032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
2034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
2036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
2039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2040 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
2041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
2043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
2044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
2046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
2047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
2048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2051 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
2052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
2054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
2055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
2057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
2058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
2059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
2061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2062 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
2063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
2065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
2066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
2068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
2069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
2070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2073 (sysdep_calls): New rule.
2074 (sysdep_routines): Use sysdep_calls as base.
2075 (libm-sysdep_routines): Add generic rule for symbols shared with
2076 libc. Add s_copysign-generic and s_copysign-generic objects.
2077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
2079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
2080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
2082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
2083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
2084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
2086 2017-12-01 Mike FABIAN <mfabian@redhat.com>
2089 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
2090 the list of locales to be built for testing.
2091 * localedata/is_IS.UTF-8.in: New file.
2092 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
2095 2017-12-01 Joseph Myers <joseph@codesourcery.com>
2097 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
2098 <libm-alias-float.h>.
2099 (fabsf): Define using libm_alias_float.
2101 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
2103 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
2105 2017-11-30 Joseph Myers <joseph@codesourcery.com>
2107 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
2108 <libm-alias-float.h>.
2109 (fabsf): Define using libm_alias_float.
2110 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
2111 <libm-alias-float.h>.
2112 (lrintf): Define using libm_alias_float.
2113 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
2114 <libm-alias-float.h>.
2115 (rintf): Define using libm_alias_float.
2117 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
2118 <libm-alias-double.h>.
2119 (fabs): Define using libm_alias_double.
2120 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
2121 <libm-alias-double.h>.
2122 (lrint): Define using libm_alias_double.
2123 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
2124 <libm-alias-double.h>.
2125 (rint): Define using libm_alias_double.
2127 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
2128 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
2129 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
2130 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
2131 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
2132 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
2133 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
2134 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
2135 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
2136 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
2137 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
2138 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
2139 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
2140 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
2141 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
2142 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
2143 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
2144 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
2146 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
2147 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
2148 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
2150 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
2151 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
2152 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
2154 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
2155 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
2156 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
2158 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
2159 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
2160 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
2162 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
2163 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
2164 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
2166 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
2167 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
2168 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
2170 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
2171 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
2173 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
2174 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
2175 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
2177 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
2178 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
2179 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
2180 s_nearbyint_template.c.
2181 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
2182 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
2183 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
2184 s_remquo_template.c.
2185 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
2186 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
2187 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
2189 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
2190 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
2191 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
2193 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
2194 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
2195 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
2196 s_sincos_template.c.
2197 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
2198 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
2199 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
2201 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
2202 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
2203 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
2205 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
2206 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
2207 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
2209 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
2210 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
2211 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
2212 s_atan.c instead of including s_atan.c.
2213 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
2214 s_atanf.c instead of including s_atanf.c.
2215 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
2216 s_atanl.c instead of including s_atanl.c.
2217 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
2218 instead of s_atan.c.
2219 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
2220 instead of s_atanf.c.
2221 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
2222 instead of s_atanl.c.
2224 * scripts/update-copyrights: Do not handle intl/plural.c
2227 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
2230 * configure.ac (BISON): Require to be present.
2231 * configure: Regenerated.
2232 * intl/Makefile (generated): Add plural.c.
2233 [$(BISON) != no]: Make code unconditional.
2234 (plural.c): Change rule to $(objpfx)plural.c.
2235 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
2236 * intl/plural.c: Remove.
2237 * manual/install.texi (Tools for Compilation): Document bison as
2239 * INSTALL: Regenerated.
2241 2017-11-30 Joseph Myers <joseph@codesourcery.com>
2243 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
2244 <libm-alias-double.h>.
2245 (llrint): Define using libm_alias_double.
2246 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
2247 <libm-alias-float.h>.
2248 (llrintf): Define using libm_alias_float.
2249 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
2250 <libm-alias-ldouble.h>.
2251 (llrintl): Define using libm_alias_ldouble.
2253 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
2254 declare_mgen_alias instead of weak_alias.
2255 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
2256 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
2257 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
2259 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2261 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
2263 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
2264 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
2265 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
2267 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
2268 Add submul_1-generic.
2269 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
2270 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
2271 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
2273 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
2274 Add addmul_1-generic.
2275 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
2276 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
2277 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
2279 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
2281 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
2282 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
2283 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
2285 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
2287 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
2288 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
2289 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
2291 2017-11-30 Mike FABIAN <mfabian@redhat.com>
2293 According to CLDR, collation rules for Serbian and Bosnian
2294 should be the same as for Croatian.
2297 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
2298 and to the list of locales to be built for testing.
2299 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
2300 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
2301 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
2302 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
2304 2017-11-30 Mike FABIAN <mfabian@redhat.com>
2306 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
2307 to make test case pass.
2308 * localedata/hr_HR.UTF-8.in: Add more test strings.
2310 2017-11-30 Mike FABIAN <mfabian@redhat.com>
2312 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
2314 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
2316 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
2317 the list of locales to built for testing.
2318 * localedata/hr_HR.UTF-8.in: New file.
2320 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
2323 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
2325 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
2326 CLDR (except use ligatures for the digraphs, CLDR does not use
2327 the ligatures), add first_workday, some fixes in the date and time
2329 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
2331 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
2332 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
2333 Add int_p_cs_precedes and int_n_cs_precedes.
2334 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
2335 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
2337 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
2338 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
2340 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
2341 and lang_lib. Change postal_fmt.
2343 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
2345 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
2347 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
2348 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
2349 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
2350 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
2351 * sysdeps/generic/setjmpP.h: New file.
2352 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
2353 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
2354 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
2355 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
2356 Add jmp_buf-ssp.sym.
2357 (tests): Add tst-saved_mask-1.
2359 2017-11-30 Arjun Shankar <arjun@redhat.com>
2363 * malloc/malloc.c (__libc_malloc): Use checked_request2size
2364 instead of request2size.
2366 2017-11-30 Joseph Myers <joseph@codesourcery.com>
2368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
2369 (__lllrint): Remove alias.
2370 (lllrint): Likewise.
2371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
2372 (__lllrintf): Likewise.
2373 (lllrintf): Likewise.
2375 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
2376 <libm-alias-float.h>.
2377 (copysignf): Define using libm_alias_float.
2378 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
2379 <libm-alias-float.h>.
2380 (fabsf): Define using libm_alias_float.
2381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2382 Include <libm-alias-float.h>.
2383 (copysignf): Define using libm_alias_float.
2384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
2385 <libm-alias-float.h>.
2386 (fabsf): Define using libm_alias_float.
2387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
2388 <libm-alias-float.h>.
2389 (fdimf): Define using libm_alias_float.
2390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
2391 <libm-alias-float.h>.
2392 (fmaf): Define using libm_alias_float.
2393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
2394 <libm-alias-float.h>.
2395 (llrintf): Define using libm_alias_float.
2396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
2397 Include <libm-alias-float.h>.
2398 (nearbyintf): Define using libm_alias_float.
2399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
2400 <libm-alias-float.h>.
2401 (rintf): Define using libm_alias_float.
2402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
2403 <libm-alias-float.h>.
2404 (llrintf): Define using libm_alias_float.
2405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
2406 <libm-alias-float.h>.
2407 (lrintf): Define using libm_alias_float.
2408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
2409 <libm-alias-float.h>.
2410 (nearbyintf): Define using libm_alias_float.
2411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
2412 <libm-alias-float.h>.
2413 (rintf): Define using libm_alias_float.
2414 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
2415 <libm-alias-float.h>.
2416 (ceilf): Define using libm_alias_float.
2417 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
2418 <libm-alias-float.h>.
2419 (floorf): Define using libm_alias_float.
2420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
2421 <libm-alias-float.h>.
2422 (fmaf): Define using libm_alias_float.
2423 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
2424 <libm-alias-float.h>.
2425 (lrintf): Define using libm_alias_float.
2426 (llrintf): Likewise.
2427 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
2428 <libm-alias-float.h>.
2429 (nearbyintf): Define using libm_alias_float.
2430 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
2431 <libm-alias-float.h>.
2432 (rintf): Define using libm_alias_float.
2433 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
2434 <libm-alias-float.h>.
2435 (truncf): Define using libm_alias_float.
2436 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
2437 <libm-alias-float.h>.
2438 (copysignf): Define using libm_alias_float.
2439 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
2440 <libm-alias-float.h>.
2441 (fabsf): Define using libm_alias_float.
2442 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
2443 <libm-alias-float.h>.
2444 (lrintf): Define using libm_alias_float.
2445 (llrintf): Likewise.
2446 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
2447 <libm-alias-float.h>.
2448 (nearbyintf): Define using libm_alias_float.
2449 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
2450 <libm-alias-float.h>.
2451 (rintf): Define using libm_alias_float.
2453 2017-11-29 Joseph Myers <joseph@codesourcery.com>
2455 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
2456 <libm-alias-double.h>.
2457 (copysign): Define using libm_alias_double.
2458 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
2459 <libm-alias-double.h>.
2460 (fabs): Define using libm_alias_double.
2461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2462 Include <libm-alias-double.h>.
2463 (copysign): Define using libm_alias_double.
2464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
2465 <libm-alias-double.h>.
2466 (fabs): Define using libm_alias_double.
2467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
2468 <libm-alias-double.h>.
2469 (fdim): Define using libm_alias_double.
2470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
2471 <libm-alias-double.h>.
2472 (fma): Define using libm_alias_double.
2473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
2474 <libm-alias-double.h>.
2475 (llrint): Define using libm_alias_double.
2476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
2477 Include <libm-alias-double.h>.
2478 (nearbyint): Define using libm_alias_double.
2479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
2480 <libm-alias-double.h>.
2481 (rint): Define using libm_alias_double.
2482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
2483 <libm-alias-double.h>.
2484 (fabs): Define using libm_alias_double.
2485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
2486 <libm-alias-double.h>.
2487 (llrint): Define using libm_alias_double.
2488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
2489 <libm-alias-double.h>.
2490 (nearbyint): Define using libm_alias_double.
2491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
2492 <libm-alias-double.h>.
2493 (rint): Define using libm_alias_double.
2494 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
2495 <libm-alias-double.h>.
2496 (ceil): Define using libm_alias_double.
2497 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
2498 <libm-alias-double.h>.
2499 (floor): Define using libm_alias_double.
2500 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
2501 <libm-alias-double.h>.
2502 (fma): Define using libm_alias_double.
2503 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
2504 <libm-alias-double.h>.
2505 (lrint): Define using libm_alias_double.
2507 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
2508 <libm-alias-double.h>.
2509 (nearbyint): Define using libm_alias_double.
2510 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
2511 <libm-alias-double.h>.
2512 (rint): Define using libm_alias_double.
2513 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
2514 <libm-alias-double.h>.
2515 (trunc): Define using libm_alias_double.
2516 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
2517 <libm-alias-double.h>.
2518 (copysign): Define using libm_alias_double.
2519 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
2520 <libm-alias-double.h>.
2521 (fabs): Define using libm_alias_double.
2522 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
2523 <libm-alias-double.h>.
2524 (lrint): Define using libm_alias_double.
2526 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
2527 <libm-alias-double.h>.
2528 (nearbyint): Define using libm_alias_double.
2529 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
2530 <libm-alias-double.h>.
2531 (rint): Define using libm_alias_double.
2534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
2536 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
2538 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
2539 SPARC --disable-multi-arch glibc variants.
2541 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
2542 <libm-alias-float.h>.
2543 (exp2f): Define using libm_alias_float, or libm_alias_float_other
2545 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
2546 <libm-alias-float.h>.
2547 (exp2f): Define using libm_alias_float, or libm_alias_float_other
2549 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
2550 <libm-alias-float.h>.
2551 (exp2f): Define using libm_alias_float, or libm_alias_float_other
2553 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
2554 <libm-alias-float.h>.
2555 (exp2f): Define using libm_alias_float, or libm_alias_float_other
2557 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
2558 <libm-alias-float.h>.
2559 (exp2f): Define using libm_alias_float, or libm_alias_float_other
2561 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
2562 <libm-alias-float.h>.
2563 (ceilf): Define using libm_alias_float.
2564 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
2565 <libm-alias-float.h>.
2566 (floorf): Define using libm_alias_float.
2567 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
2568 <libm-alias-float.h>.
2569 (fmaf): Define using libm_alias_float.
2570 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
2571 <libm-alias-float.h>.
2572 (nearbyintf): Define using libm_alias_float.
2573 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
2574 <libm-alias-float.h>.
2575 (rintf): Define using libm_alias_float.
2576 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
2577 <libm-alias-float.h>.
2578 (truncf): Define using libm_alias_float.
2579 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
2580 (copysignf): Define using libm_alias_float.
2581 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
2582 (cosf): Define using libm_alias_float.
2583 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
2584 (fabsf): Define using libm_alias_float.
2585 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
2586 (fmaxf): Define using libm_alias_float.
2587 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
2588 (fminf): Define using libm_alias_float.
2589 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
2590 (llrintf): Define using libm_alias_float.
2591 [!__ILP32__] (lrintf): Likewise.
2592 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
2593 (sincosf): Define using libm_alias_float.
2594 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
2595 (sinf): Define using libm_alias_float.
2596 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
2597 (lrintf): Define using libm_alias_float.
2599 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
2600 <libm-alias-double.h>.
2601 (atan): Define using libm_alias_double.
2602 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
2603 <libm-alias-double.h>.
2604 (ceil): Define using libm_alias_double.
2605 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
2606 <libm-alias-double.h>.
2607 (floor): Define using libm_alias_double.
2608 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
2609 <libm-alias-double.h>.
2610 (fma): Define using libm_alias_double.
2611 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
2612 <libm-alias-double.h>.
2613 (nearbyint): Define using libm_alias_double.
2614 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
2615 <libm-alias-double.h>.
2616 (rint): Define using libm_alias_double.
2617 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
2618 <libm-alias-double.h>.
2619 (sin): Define using libm_alias_double.
2621 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
2622 <libm-alias-double.h>.
2623 (tan): Define using libm_alias_double.
2624 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
2625 <libm-alias-double.h>.
2626 (trunc): Define using libm_alias_double.
2627 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
2628 (copysign): Define using libm_alias_double.
2629 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
2630 (fabs): Define using libm_alias_double.
2631 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
2632 (fmax): Define using libm_alias_double.
2633 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
2634 (fmin): Define using libm_alias_double.
2635 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
2636 (llrint): Define using libm_alias_double.
2637 [!__ILP32__] (lrint): Likewise.
2638 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
2639 (lrint): Define using libm_alias_double.
2641 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2643 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2644 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
2646 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
2647 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
2648 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
2649 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
2650 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
2651 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2653 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2654 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
2656 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
2657 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
2658 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
2659 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
2660 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
2661 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2663 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2664 (libm-sysdep_routines): Add s_nearbyint-generic and
2665 s_nearbyintf-generic objects.
2666 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
2667 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
2668 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
2669 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
2670 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
2671 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
2673 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
2674 Add s_finitef-generic and s_finite-generic objects.
2675 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
2676 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
2677 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
2678 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
2679 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
2680 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
2682 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
2683 Add s_isinff-generic and s_isinf-generic objects.
2684 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
2685 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
2686 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
2687 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
2688 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
2689 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2691 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
2692 Add s_isnanf-generic and s_isnan-generic objects.
2693 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
2694 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
2695 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
2696 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
2697 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
2698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2700 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
2702 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
2704 (sysdep_routines): Use sysdep_calls as base.
2705 (libm-sysdep_routines): Add generic rule for symbols shared with
2706 libc. Add s_signbit-generic and s_signbitf-generic objects.
2707 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
2708 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
2709 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
2710 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
2711 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
2712 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2714 2017-11-29 Joseph Myers <joseph@codesourcery.com>
2716 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
2717 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
2718 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
2719 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
2720 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
2721 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
2722 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
2723 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
2724 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
2725 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
2726 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
2727 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
2728 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
2730 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
2731 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
2733 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
2734 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
2735 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
2736 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
2737 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
2738 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
2739 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
2740 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
2741 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
2742 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
2744 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
2746 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
2747 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
2748 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
2749 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
2750 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
2751 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
2752 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
2753 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
2754 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
2755 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
2756 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
2757 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
2758 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
2759 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
2760 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
2761 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
2762 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
2763 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
2764 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
2766 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
2767 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
2768 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
2769 * sysdeps/ia64/fpu/w_lgammaf_main.c
2770 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
2771 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
2773 2017-11-28 Mike FABIAN <mfabian@redhat.com>, Alexandre Oliva <aoliva@redhat.com>
2776 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
2777 * localedata/fr_CA.UTF-8.in: New file with test data for backward
2779 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
2781 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
2782 * localedata/locales/de_DE (LC_COLLATE): Likewise.
2783 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
2784 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
2785 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
2786 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
2787 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
2788 instead of “ifdef DIACRIT_BACKWARD”.
2790 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2792 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
2793 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
2794 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
2795 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
2796 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
2797 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
2798 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
2799 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
2800 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
2801 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
2802 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
2803 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
2804 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
2805 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
2806 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
2807 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
2808 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
2809 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
2810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2811 ($(have-as-vis3) == yes): Remove conditional.
2812 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
2814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
2816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
2818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
2820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
2822 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
2823 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
2824 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
2825 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
2826 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
2827 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
2828 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
2829 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
2831 2017-11-29 Joseph Myers <joseph@codesourcery.com>
2833 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
2834 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
2835 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
2836 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
2837 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
2838 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
2839 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
2840 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
2841 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
2842 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
2843 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
2844 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
2845 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
2846 libm_alias_double_r.
2847 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
2849 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
2850 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
2851 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
2852 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
2853 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
2854 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
2855 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
2856 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
2857 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
2858 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
2859 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
2861 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
2863 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
2864 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
2865 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
2866 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
2867 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
2868 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
2869 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
2870 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
2871 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
2872 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
2873 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
2874 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
2875 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
2876 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
2877 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
2878 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
2879 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
2880 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
2882 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
2883 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
2884 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
2885 * sysdeps/ia64/fpu/w_lgamma_main.c
2886 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
2887 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
2889 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
2891 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
2892 address of $global$ into %dp register earlier. Use pc-relative
2893 instruction sequence for PIC case.
2895 2017-11-28 Joseph Myers <joseph@codesourcery.com>
2897 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
2898 (asinhf): Define using libm_alias_float.
2899 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
2900 (atanf): Define using libm_alias_float.
2901 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
2902 (cbrtf): Define using libm_alias_float.
2903 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
2904 (ceilf): Define using libm_alias_float.
2905 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
2906 (copysignf): Define using libm_alias_float.
2907 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
2908 (expm1f): Define using libm_alias_float.
2909 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
2910 (fabsf): Define using libm_alias_float.
2911 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
2912 (floorf): Define using libm_alias_float.
2913 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
2914 (fmaxf): Define using libm_alias_float.
2915 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
2916 (fminf): Define using libm_alias_float.
2917 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
2918 (frexpf): Define using libm_alias_float.
2919 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
2920 (llrintf): Define using libm_alias_float.
2921 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
2922 (logbf): Define using libm_alias_float.
2923 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
2924 (lrintf): Define using libm_alias_float.
2925 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
2926 (nearbyintf): Define using libm_alias_float.
2927 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
2928 (remquof): Define using libm_alias_float.
2929 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
2930 (rintf): Define using libm_alias_float.
2931 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
2932 (truncf): Define using libm_alias_float.
2933 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
2934 <libm-alias-float.h>.
2935 (exp2f): Define using libm_alias_float, or libm_alias_float_other
2937 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
2938 <libm-alias-float.h>.
2939 (expf): Define using libm_alias_float, or libm_alias_float_other
2941 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
2942 <libm-alias-float.h>.
2943 (log2f): Define using libm_alias_float, or libm_alias_float_other
2945 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
2946 <libm-alias-float.h>.
2947 (logf): Define using libm_alias_float, or libm_alias_float_other
2949 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
2950 <libm-alias-float.h>.
2951 (powf): Define using libm_alias_float, or libm_alias_float_other
2953 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
2954 <libm-alias-float.h>.
2955 (cosf): Define using libm_alias_float.
2956 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
2957 <libm-alias-float.h>.
2958 (sincosf): Define using libm_alias_float.
2959 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
2960 <libm-alias-float.h>.
2961 (sinf): Define using libm_alias_float.
2962 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
2963 (fmaxf): Define using libm_alias_float.
2964 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
2965 (fminf): Define using libm_alias_float.
2966 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
2967 <libm-alias-float.h>.
2968 (fmaf): Define using libm_alias_float.
2970 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
2971 (asinh): Define using libm_alias_double.
2972 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
2973 (atan): Define using libm_alias_double.
2974 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
2975 (cbrt): Define using libm_alias_double.
2976 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
2977 (ceil): Define using libm_alias_double.
2978 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
2979 (copysign): Define using libm_alias_double.
2980 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
2981 (expm1): Define using libm_alias_double.
2982 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
2983 (fabs): Define using libm_alias_double.
2984 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
2985 (fdim): Define using libm_alias_double.
2986 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
2987 (floor): Define using libm_alias_double.
2988 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
2989 (fmax): Define using libm_alias_double.
2990 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
2991 (fmin): Define using libm_alias_double.
2992 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
2993 (frexp): Define using libm_alias_double.
2994 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
2995 (llrint): Define using libm_alias_double.
2996 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
2997 (logb): Define using libm_alias_double.
2998 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
2999 (lrint): Define using libm_alias_double.
3000 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
3001 (nearbyint): Define using libm_alias_double.
3002 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
3003 (remquo): Define using libm_alias_double.
3004 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
3005 (rint): Define using libm_alias_double.
3006 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
3007 (trunc): Define using libm_alias_double.
3008 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
3009 (fmax): Define using libm_alias_double.
3010 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
3011 (fmin): Define using libm_alias_double.
3012 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
3013 (fma): Define using libm_alias_double.
3015 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
3018 * elf/dl-hwcaps.c (ROUND): Removed.
3019 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
3020 and ELF_NOTE_NEXT_OFFSET.
3021 * elf/dl-load.c (ROUND): Removed.
3022 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
3023 * elf/readelflib.c (ROUND): Removed.
3024 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
3025 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
3026 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
3027 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
3029 2017-11-28 Joseph Myers <joseph@codesourcery.com>
3031 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
3032 [!__fmaf] (fmaf): Define using libm_alias_float.
3034 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
3035 [!__fma] (fma): Define using libm_alias_double.
3036 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
3038 2017-11-28 Mike FABIAN <mfabian@redhat.com>
3041 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
3042 and implement the collation rules for cs from CLDR on top of that.
3043 * Makefile: Add cs_CZ.UTF-8 to test-input.
3044 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
3046 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
3048 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
3050 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
3051 Icarus Sparry <icarus.w.sparry@intel.com>
3053 * benchtests/Makefile:Add BENCHSET to allow subsets of
3054 benchmarks to be run.
3055 * benchtests/README: Add documentation for: Running subsets of
3058 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
3060 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
3061 range of tests names.
3063 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
3064 result from property and remove "max", min" and "mean" from
3065 required properties based on benchtests/bench-skeleton.c.
3067 2017-11-28 Florian Weimer <fweimer@redhat.com>
3070 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
3071 due to Internet requirement.
3072 * posix/Makefile (tests): Remove tst-getaddrinfo4,
3074 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
3076 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3078 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
3079 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
3080 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
3081 (sysdep_routines): Add memset-ultra1.
3082 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
3084 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
3085 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
3086 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
3087 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
3088 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
3089 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
3090 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
3091 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3093 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
3095 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
3096 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
3097 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
3098 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
3099 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
3100 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
3101 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
3103 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
3104 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
3105 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
3106 (sysdep_routines): Add memcpy-ultra1.
3107 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
3108 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
3110 2017-11-28 Joseph Myers <joseph@codesourcery.com>
3112 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
3113 (cfloat_versions): Take function argument without trailing 'f'.
3114 Call libm_alias_float_other.
3115 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
3116 * sysdeps/alpha/fpu/cargf.c: Likewise.
3117 * sysdeps/alpha/fpu/cimagf.c: Likewise.
3118 * sysdeps/alpha/fpu/conjf.c: Likewise.
3119 * sysdeps/alpha/fpu/crealf.c: Likewise.
3120 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
3121 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
3122 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
3123 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
3124 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
3125 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
3126 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
3127 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
3128 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
3129 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
3130 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
3131 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
3132 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
3133 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
3134 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
3135 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
3136 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
3137 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
3138 (clog10f): Use libm_alias_float_other.
3139 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
3140 (ceilf): Define using libm_alias_float.
3141 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
3142 (copysignf): Define using libm_alias_float.
3143 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
3144 (fabsf): Define using libm_alias_float.
3145 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
3146 (floorf): Define using libm_alias_float.
3147 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
3148 (fmaxf): Define using libm_alias_float.
3149 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
3150 (fminf): Define using libm_alias_float.
3151 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
3152 (lrintf): Define using libm_alias_float.
3153 (llrintf): Likewise.
3154 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
3155 (lroundf): Define using libm_alias_float.
3156 (llroundf): Likewise.
3157 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
3158 (rintf): Define using libm_alias_float.
3159 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
3160 (truncf): Define using libm_alias_float.
3162 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
3163 (ceilf): Define using libm_alias_float.
3164 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
3165 (floorf): Define using libm_alias_float.
3166 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
3167 (fmaf): Define using libm_alias_float.
3168 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
3169 (fmaxf): Define using libm_alias_float.
3170 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
3171 (fminf): Define using libm_alias_float.
3172 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
3173 (llrintf): Define using libm_alias_float.
3174 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
3175 (llroundf): Define using libm_alias_float.
3176 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
3177 (lrintf): Define using libm_alias_float.
3178 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
3179 (lroundf): Define using libm_alias_float.
3180 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
3181 <libm-alias-float.h>.
3182 (nearbyintf): Define using libm_alias_float.
3183 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
3184 (rintf): Define using libm_alias_float.
3185 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
3186 (roundf): Define using libm_alias_float.
3187 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
3188 (truncf): Define using libm_alias_float.
3190 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
3191 (ceil): Define using libm_alias_double.
3192 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
3193 (copysign): Define using libm_alias_double.
3194 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
3195 (fabs): Define using libm_alias_double.
3196 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
3197 (floor): Define using libm_alias_double.
3198 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
3199 (fmax): Define using libm_alias_double.
3200 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
3201 (fmin): Define using libm_alias_double.
3202 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
3203 (lrint): Define using libm_alias_double.
3205 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
3206 (lround): Define using libm_alias_double.
3207 (llround): Likewise.
3208 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
3209 (rint): Define using libm_alias_double.
3210 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
3211 (trunc): Define using libm_alias_double.
3213 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
3214 (libm_alias_double_r): Add semicolon after weak_alias call.
3216 2017-11-27 Joseph Myers <joseph@codesourcery.com>
3218 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
3219 (ceil): Define using libm_alias_double.
3220 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
3221 (floor): Define using libm_alias_double.
3222 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
3223 (fma): Define using libm_alias_double.
3224 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
3225 (fmax): Define using libm_alias_double.
3226 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
3227 (fmin): Define using libm_alias_double.
3228 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
3229 (llrint): Define using libm_alias_double.
3230 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
3231 (llround): Define using libm_alias_double.
3232 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
3233 (lrint): Define using libm_alias_double.
3234 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
3235 (lround): Define using libm_alias_double.
3236 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
3237 (nearbyint): Define using libm_alias_double.
3238 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
3239 (rint): Define using libm_alias_double.
3240 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
3241 (round): Define using libm_alias_double.
3242 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
3243 (trunc): Define using libm_alias_double.
3245 2017-11-27 Florian Weimer <fweimer@redhat.com>
3247 * sysdeps/unix/sysv/linux/mlock2.c: New file.
3248 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
3249 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
3250 (tests): Add tst-mlock2.
3251 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
3252 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
3253 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
3254 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
3255 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
3256 for mlock. Document mlock2.
3258 2017-11-27 Joseph Myers <joseph@codesourcery.com>
3260 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
3261 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
3263 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
3265 * sysdeps/x86/Makeconfig: New file.
3266 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
3267 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
3268 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
3269 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
3270 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
3271 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
3272 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
3274 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
3275 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
3276 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
3277 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
3278 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
3279 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
3280 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
3281 * manual/math.texi (Mathematics): Document support for _Float64x.
3282 * math/Versions (GLIBC_2.27): Add _Float64x functions.
3283 * stdlib/Versions (GLIBC_2.27): Likewise.
3284 * wcsmbs/Versions (GLIBC_2.27): Likewise.
3285 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
3286 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3287 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3288 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3289 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3290 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3291 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3292 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3293 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3294 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3295 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3300 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3301 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3302 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3303 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3304 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3305 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3306 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3307 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3308 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3309 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3310 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3311 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3312 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3313 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3315 2017-11-27 Andreas Schwab <schwab@suse.de>
3317 * elf/Makefile (dl-routines): Add dl-sort-maps.
3318 * elf/dl-sort-maps.c: New file.
3319 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
3320 (_dl_sort_maps): Declare.
3321 * elf/dl-fini.c (_dl_sort_fini): Remove.
3322 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
3323 * elf/dl-close.c (_dl_close_worker): Likewise.
3324 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
3326 * elf/dl-open.c (dl_open_worker): Likewise.
3328 2017-11-24 Joseph Myers <joseph@codesourcery.com>
3330 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
3331 using libm_alias_float128.
3332 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
3334 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
3336 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
3337 (setpayloadsigf128): Likewise.
3338 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
3340 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
3343 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
3344 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
3345 -mfloat128 to CFLAGS.
3347 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
3349 (CFLAGS-libm-test-support-float64x.c): New variable.
3350 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
3351 $(f128-loader-link) to gnulib-tests.
3353 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
3354 (libm_alias_float128_other_r): If
3355 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
3357 (libm_alias_float128_r): Add semicolon after weak_alias call.
3358 * sysdeps/generic/libm-alias-ldouble.h
3359 (libm_alias_ldouble_other_r_f128): New macro.
3360 (libm_alias_ldouble_other_r_f64x): Likewise.
3361 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
3362 and libm_alias_ldouble_other_r_f64x.
3363 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
3364 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
3365 (libm_alias_ldouble_other_r_f128): New macro.
3366 (libm_alias_ldouble_other_r_f64x): Likewise.
3367 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
3368 and libm_alias_ldouble_other_r_f64x.
3370 * stdlib/strfroml.c: Always include <stdlib.h>.
3371 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
3372 undefine as macro and define as weak alias.
3373 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
3374 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
3376 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
3377 Define and later undefine as macro and define as weak alias.
3379 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
3380 Define and later undefine as macro. Define as weak alias if
3382 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
3383 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
3384 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
3385 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
3386 Define and later undefine as macro. Define as weak alias if
3388 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
3389 Define and later undefine as macro. Define as weak alias if
3391 * sysdeps/ieee754/float128/strtof128_l.c
3392 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
3393 Define and later undefine as macro. Define as weak alias if
3395 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
3396 Define and later undefine as macro. Define as weak alias if
3398 * sysdeps/ieee754/ldbl-128/strtold_l.c
3399 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
3400 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
3401 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
3402 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
3403 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
3404 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
3405 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
3406 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
3407 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
3408 * sysdeps/ieee754/ldbl-96/strtold_l.c
3409 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
3410 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
3411 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
3412 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
3414 * math/test-float64x.h: New file.
3415 * math/Makefile (type-float64x-yes): New variable.
3416 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
3418 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
3419 function-like macro.
3420 (min_of_type_): Likewise.
3421 (min_of_type_l): Likewise.
3422 (min_of_type_f128): Likewise.
3423 (min_of_type): Pass () as last argument of __MATH_TG.
3425 * stdlib/tst-strtod-round-skeleton.c
3426 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
3429 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
3430 for combinations of long double with _Float64 and _Float64x.
3432 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
3433 (__DECL_SIMD_cosf32): Likewise.
3434 (__DECL_SIMD_cosf64): Likewise.
3435 (__DECL_SIMD_cosf32x): Likewise.
3436 (__DECL_SIMD_cosf64x): Likewise.
3437 (__DECL_SIMD_cosf128x): Likewise.
3438 (__DECL_SIMD_sinf16): Likewise.
3439 (__DECL_SIMD_sinf32): Likewise.
3440 (__DECL_SIMD_sinf64): Likewise.
3441 (__DECL_SIMD_sinf32x): Likewise.
3442 (__DECL_SIMD_sinf64x): Likewise.
3443 (__DECL_SIMD_sinf128x): Likewise.
3444 (__DECL_SIMD_sincosf16): Likewise.
3445 (__DECL_SIMD_sincosf32): Likewise.
3446 (__DECL_SIMD_sincosf64): Likewise.
3447 (__DECL_SIMD_sincosf32x): Likewise.
3448 (__DECL_SIMD_sincosf64x): Likewise.
3449 (__DECL_SIMD_sincosf128x): Likewise.
3450 (__DECL_SIMD_logf16): Likewise.
3451 (__DECL_SIMD_logf32): Likewise.
3452 (__DECL_SIMD_logf64): Likewise.
3453 (__DECL_SIMD_logf32x): Likewise.
3454 (__DECL_SIMD_logf64x): Likewise.
3455 (__DECL_SIMD_logf128x): Likewise.
3456 (__DECL_SIMD_expf16): Likewise.
3457 (__DECL_SIMD_expf32): Likewise.
3458 (__DECL_SIMD_expf64): Likewise.
3459 (__DECL_SIMD_expf32x): Likewise.
3460 (__DECL_SIMD_expf64x): Likewise.
3461 (__DECL_SIMD_expf128x): Likewise.
3462 (__DECL_SIMD_powf16): Likewise.
3463 (__DECL_SIMD_powf32): Likewise.
3464 (__DECL_SIMD_powf64): Likewise.
3465 (__DECL_SIMD_powf32x): Likewise.
3466 (__DECL_SIMD_powf64x): Likewise.
3467 (__DECL_SIMD_powf128x): Likewise.
3469 * stdlib/Versions (libc): Move entries for wcstof128 and
3471 * wcsmbs/Versions (libc): ... here.
3472 Include <float128-abi.h>.
3474 2017-11-24 Florian Weimer <fweimer@redhat.com>
3476 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3478 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
3479 <bits/mman-shared.h>.
3480 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
3482 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
3483 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
3484 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
3485 <bits/mman-shared.h>.
3487 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3490 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
3491 posix_memalign/free.
3492 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
3494 2017-11-22 Mike FABIAN <mfabian@redhat.com>
3497 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
3498 and implement the collation rules for pl from CLDR on top of that.
3499 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
3500 of locales to be built for testing.
3501 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
3503 2017-11-23 Joseph Myers <joseph@codesourcery.com>
3505 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
3506 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
3507 libm_alias_ldouble_other.
3508 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
3509 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
3510 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
3511 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
3512 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
3513 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
3514 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
3515 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
3516 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
3517 libm_alias_ldouble_r.
3518 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
3519 libm_alias_ldouble_other.
3520 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
3522 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
3523 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
3524 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
3525 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
3526 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
3527 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
3528 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
3530 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
3531 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
3532 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
3534 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
3536 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
3537 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
3538 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
3540 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
3541 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
3542 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
3543 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
3544 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
3545 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
3546 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
3547 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
3548 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
3549 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
3550 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
3552 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
3553 libm_alias_ldouble_other.
3554 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
3555 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
3556 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
3558 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
3559 libm_alias_ldouble_other.
3560 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
3561 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
3562 * sysdeps/ia64/fpu/w_lgammal_main.c
3563 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
3564 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
3566 2017-11-23 Florian Weimer <fweimer@redhat.com>
3568 * malloc/malloc.c (tcache_thread_shutdown): Rename from
3569 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
3570 alike. Remove freeres marker.
3571 * malloc/arena.c (arena_thread_freeres): Call
3572 tcache_thread_shutdown.
3574 2017-11-23 Florian Weimer <fweimer@redhat.com>
3577 Export nscd hash function as __nss_hash.
3578 * include/nss.h (__nss_hash): Declare.
3579 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
3581 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
3582 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
3584 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
3585 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
3586 * nss/Makefiles (routines): Add nss_hash.
3587 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
3588 * nss/nss_hash.c: Rename from nis/nis_hash.c.
3589 (__nss_hash): Rename from __nis_hash. Define hidden alias.
3590 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
3592 2017-11-23 Florian Weimer <fweimer@redhat.com>
3595 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
3596 Return error code, not -1.
3597 * signal/tst-sigwait-eintr.c: New file.
3598 * signal/Makefile (tests): Add tst-sigwait-eintr.
3600 2017-11-23 Florian Weimer <fweimer@redhat.com>
3602 Linux: Add memfd_create system call wrapper
3603 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
3605 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
3606 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
3607 [__USE_GNU] (memfd_create): Declare.
3608 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
3609 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
3610 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
3611 * sysdeps/unix/sysv/linux/**.abilist: Update.
3612 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
3614 2017-11-22 Joseph Myers <joseph@codesourcery.com>
3616 * localedata/gen-locale.sh: Fix typo in variable name.
3618 * resolv/res_debug.c (p_secstodate): Condition definition on
3619 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
3620 directly as __p_secstodate, and as a compat symbol. Do not use
3621 libresolv_hidden_def.
3622 * resolv/resolv.h (p_secstodate): Remove macro and function
3624 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
3626 * include/resolv.h (__p_secstodate): Do not use
3627 libresolv_hidden_proto.
3628 * resolv/Makefile (tests): Move tst-p_secstodate to ....
3629 (tests-internal): ... here.
3630 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
3631 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
3632 and declare and use __p_secstodate and use compat_symbol_reference
3634 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
3635 implementation returning 77.
3638 * resolv/res_debug.c: Include <libc-diag.h>.
3639 (p_secstodate): Assert time_t at least as wide as u_long. On
3640 overflow, use integer seconds since the epoch as output, or use
3641 "<overflow>" as output and set errno to EOVERFLOW if integer
3642 seconds since the epoch would be 14 or more characters.
3643 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
3645 * resolv/tst-p_secstodate.c: New file.
3646 * resolv/Makefile (tests): Add tst-p_secstodate.
3647 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
3649 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
3650 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3651 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
3653 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
3655 * posix/regcomp.c (init_word_char): Add comments.
3657 2017-11-22 Joseph Myers <joseph@codesourcery.com>
3660 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
3661 strlen to compute length of ut_user and set trailing NUL byte of
3664 2017-11-21 Mike FABIAN <mfabian@redhat.com>
3667 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
3668 using “copy "iso14651_t1"” and then implementing the
3669 collation rules for lv from CLDR on top of that.
3670 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
3671 of locales to be built for testing.
3672 * lv_LV.UTF-8.in: New file with test data to test the Latvian
3675 2017-11-21 Joseph Myers <joseph@codesourcery.com>
3677 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
3678 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
3679 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
3680 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
3681 [__USE_MISC] (MADV_HWPOISON): New macro.
3682 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
3684 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3686 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
3687 -Wmissing-braces on GCC 4.9.
3689 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
3691 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
3692 * sysdeps/s390/s390-32/start.S (_start): Likewise
3693 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
3694 (thread_start): Likewise.
3695 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
3696 (thread_start): Likewise.
3697 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
3698 (__makecontext_ret): Likewise.
3699 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
3700 (__makecontext_ret): Likewise.
3702 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
3704 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
3705 __wcschrnul): Remove attribute_hidden.
3707 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
3709 regex: don't assume uint64_t or uint32_t
3710 This avoids -Werror=overflow errors for 32-bit systems in
3711 the 64-bit case. Problem reported by Joseph Myers in:
3712 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
3713 Also, when this code is used in Gnulib it ports to platforms
3714 that lack uint64_t and uint32_t. The C standard doesn't guarantee
3715 them, and on some 32-bit compilers there is no uint64_t.
3716 Problem reported by Gianluigi Tiesi in:
3717 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
3718 * posix/regcomp.c (init_word_char): Don't assume that the types
3719 uint64_t and uint32_t exist. Adapted from Gnulib patch
3720 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
3721 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
3723 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
3725 * sysdeps/aarch64/memset-reg.h: New file.
3726 * sysdeps/aarch64/memset.S: Use it.
3727 (__memset): Rename to MEMSET macro.
3728 [ZVA_MACRO]: Use zva_macro.
3729 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3730 Add memset_generic and memset_falkor.
3731 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3732 (__libc_ifunc_impl_list): Add memset ifuncs.
3733 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
3734 local variable zva_size.
3735 * sysdeps/aarch64/multiarch/memset.c: New file.
3736 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
3737 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
3738 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
3739 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
3740 (DCZID_DZP_MASK): New macro.
3741 (DCZID_BS_MASK): Likewise.
3742 (init_cpu_features): Read and set zva_size.
3743 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
3744 (struct cpu_features): New member zva_size.
3746 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
3747 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
3748 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
3750 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
3751 backwards. Fix timing computation.
3752 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
3753 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
3754 on memset by N at a time. Fix timing computation.
3756 2017-11-20 Florian Weimer <fweimer@redhat.com>
3758 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
3759 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
3761 2017-11-19 Florian Weimer <fweimer@redhat.com>
3763 manual: Document mprotect
3764 * manual/memory.texi (Memory Protection): New section.
3765 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
3766 documentation of PROT_* flags and reference the Memory Protection
3769 2017-11-19 Florian Weimer <fweimer@redhat.com>
3771 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
3772 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
3773 (Scatter-Gather): ... to here. Remove misleading comment.
3775 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
3777 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
3780 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
3781 when /proc/<pid>/setgroups does not exist.
3783 2017-11-18 Florian Weimer <fweimer@redhat.com>
3785 * sysdeps/unix/sysv/linux/tst-ttyname.c
3786 (become_root_in_mount_ns): Remove.
3787 (do_in_chroot_1): Call support_enter_mount_namespace.
3788 (do_in_chroot_2): Likewise.
3789 (do_test): Call support_become_root early.
3791 2017-11-18 Florian Weimer <fweimer@redhat.com>
3793 * support/namespace.h (support_enter_mount_namespace): Declare.
3794 * support/support_enter_mount_namespace.c: New file.
3795 * support/Makefile (libsupport-routines): Add
3796 support_enter_mount_namespace.
3798 2017-11-18 Florian Weimer <fweimer@redhat.com>
3800 * support/temp_file.c (support_create_temp_directory): Use
3801 test_dir and do not rely on the presence of the XXXXXX suffix.
3802 * support/temp_file.h (support_create_temp_directory): Update
3804 * support/tst-xreadlink.c (do_test): Adjust.
3805 * support/support_chroot.c (support_chroot_create): Likewise.
3807 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3809 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
3811 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
3814 2017-11-17 Joseph Myers <joseph@codesourcery.com>
3816 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
3817 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
3818 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
3819 (ceill): Define using libm_alias_ldouble.
3820 * sysdeps/x86_64/fpu/s_copysignl.S: Include
3821 <libm-alias-ldouble.h>.
3822 (copysignl): Define using libm_alias_ldouble.
3823 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
3824 (fabsl): Define using libm_alias_ldouble.
3825 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
3826 (floorl): Define using libm_alias_ldouble.
3827 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
3828 (fmaxl): Define using libm_alias_ldouble.
3829 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
3830 (fminl): Define using libm_alias_ldouble.
3831 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
3832 (llrintl): Define using libm_alias_ldouble.
3834 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
3835 <libm-alias-ldouble.h>.
3836 (nearbyintl): Define using libm_alias_ldouble.
3837 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
3838 (truncl): Define using libm_alias_ldouble.
3839 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
3840 <libm-alias-ldouble.h>.
3841 (lrintl): Define using libm_alias_ldouble.
3843 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
3844 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
3845 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
3846 (asinhl): Define using libm_alias_ldouble.
3847 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
3848 (atanl): Define using libm_alias_ldouble.
3849 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
3850 (cbrtl): Define using libm_alias_ldouble.
3851 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
3852 (ceill): Define using libm_alias_ldouble.
3853 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
3854 (copysignl): Define using libm_alias_ldouble.
3855 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
3856 (fabsl): Define using libm_alias_ldouble.
3857 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
3858 (floorl): Define using libm_alias_ldouble.
3859 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
3860 (fmaxl): Define using libm_alias_ldouble.
3861 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
3862 (fminl): Define using libm_alias_ldouble.
3863 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
3864 (frexpl): Define using libm_alias_ldouble.
3865 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
3866 (llrintl): Define using libm_alias_ldouble.
3867 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
3868 (logbl): Define using libm_alias_ldouble.
3869 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
3870 (lrintl): Define using libm_alias_ldouble.
3871 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
3872 (nearbyintl): Define using libm_alias_ldouble.
3873 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
3874 (nextafterl): Define using libm_alias_ldouble.
3875 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
3876 (remquol): Define using libm_alias_ldouble.
3877 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
3878 (rintl): Define using libm_alias_ldouble.
3879 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
3880 (truncl): Define using libm_alias_ldouble.
3881 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
3882 (fmaxl): Define using libm_alias_ldouble.
3883 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
3884 (fminl): Define using libm_alias_ldouble.
3886 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
3887 to C syntax instead of availability and properties of types.
3888 * bits/floatn.h [!__ASSEMBLER]: Likewise.
3889 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
3890 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
3891 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
3892 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
3893 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
3895 2017-11-17 Florian Weimer <fweimer@redhat.com>
3897 support_become_root: Enable file creation in namespaces.
3898 * support/support_become_root.c (setup_mapping): New function.
3899 (support_become_root): Call it.
3901 2017-11-17 Joseph Myers <joseph@codesourcery.com>
3903 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
3906 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3908 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
3909 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
3911 2017-11-16 Joseph Myers <joseph@codesourcery.com>
3913 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
3915 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3918 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3920 * INSTALL: Fix botched up regeneration.
3922 * NEWS: Update sourceare link to https.
3923 * configure.ac: Likewise.
3924 * crypt/md5test-giant.c: Likewise.
3925 * dlfcn/bug-atexit1.c: Likewise.
3926 * dlfcn/bug-atexit2.c: Likewise.
3927 * localedata/README: Likewise.
3928 * malloc/tst-mallocfork.c: Likewise.
3929 * manual/install.texi: Likewise.
3930 * nptl/tst-pthread-getattr.c: Likewise.
3931 * stdio-common/tst-fgets.c: Likewise.
3932 * stdio-common/tst-fwrite.c: Likewise.
3933 * sunrpc/Makefile: Likewise.
3934 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
3935 * wcsmbs/tst-mbrtowc2.c: Likewise.
3936 * configure: Regenerate.
3937 * INSTALL: Regenerate.
3939 2017-11-15 Martin Sebor <msebor@redhat.com>
3941 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
3942 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
3943 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
3945 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
3948 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
3949 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
3952 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
3953 Defer is_pty check until end of the function.
3954 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3957 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
3958 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
3959 (ttyname): Likewise.
3960 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
3961 (__ttyname_r): Likewise.
3963 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
3966 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
3968 * manual/terminal.texi (Is It a Terminal):
3969 Mention ENODEV for ttyname and ttyname_r.
3971 2017-11-15 Joseph Myers <joseph@codesourcery.com>
3973 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
3976 * sysdeps/unix/sysv/linux/bits/mman-linux.h
3977 [__USE_MISC] (MADV_WIPEONFORK): New macro.
3978 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
3979 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
3980 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
3981 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
3983 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3985 * signal/sigrelse.c (sigrelse): Optimize implementation.
3987 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
3988 (__sigpause): Rely on __sigsuspend to implement single thread
3989 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
3991 2017-11-15 Joseph Myers <joseph@codesourcery.com>
3993 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3994 kernel version to 4.14.
3996 2017-11-15 Steve Ellcey <sellcey@cavium.com>
3999 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
4000 Check if ifname is too long.
4002 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
4004 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
4006 2017-11-15 Mike FABIAN <mfabian@redhat.com>
4008 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
4009 was accidentally lost.
4011 2017-11-15 Mike FABIAN <mfabian@redhat.com>
4013 * localedata/locales/az_IR: Add standard copyright header.
4015 2017-11-15 Florian Weimer <fweimer@redhat.com>
4018 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
4019 not just the top one. Output a new "subheaps" statistic.
4021 2017-11-15 Florian Weimer <fweimer@redhat.com>
4024 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
4025 under the per-arena lock.
4026 * malloc/Makefile (tests): Add tst-malloc_info.
4027 (tst-malloc_info): Link with libpthread.
4028 * malloc/tst-malloc_info.c: New file.
4030 2017-11-15 Joseph Myers <joseph@codesourcery.com>
4033 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
4034 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
4035 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
4036 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
4037 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
4038 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
4039 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
4040 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
4041 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
4042 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
4043 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
4044 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
4045 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
4046 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
4047 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
4048 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
4049 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
4050 (__floating_type): Likewise.
4051 (__real_integer_type): Likewise.
4052 (__complex_integer_type): Likewise.
4053 (__expr_is_real): Likewise.
4054 (__tgmath_real_type_sub): Likewise.
4055 (__tgmath_real_type): Likewise.
4056 (__tgmath_complex_type_sub): Likewise.
4057 (__tgmath_complex_type): Likewise.
4058 (__TGMATH_F128): Likewise.
4059 (__TGMATH_CF128): Likewise.
4060 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
4062 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
4063 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
4065 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
4067 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
4068 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
4069 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
4070 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
4072 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
4073 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
4075 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
4076 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
4077 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
4079 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
4080 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
4081 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
4085 2017-11-14 Joseph Myers <joseph@codesourcery.com>
4087 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
4088 for stpncpy calls for GCC 8.
4089 (test_strncat): Disable -Wstringop-truncation warning for strncat
4090 calls for GCC 8. Disable -Wstringop-overflow= warning for one
4091 strncat call for GCC 7.
4092 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
4094 (test_memcmp): Use memcpy instead of strncpy for calls not copying
4097 * string/bug-strncat1.c: Include <libc-diag.h>.
4098 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
4100 2017-11-13 Claude Paroz <claude@2xlibre.net>
4103 * localedata/locales/aa_DJ: Improved readibility by replacing
4104 <Uxxxx> sequences in the ASCII printable range by their ASCII
4105 character equivalents.
4106 * localedata/locales/aa_ER: Likewise.
4107 * localedata/locales/aa_ER@saaho: Likewise.
4108 * localedata/locales/aa_ET: Likewise.
4109 * localedata/locales/af_ZA: Likewise.
4110 * localedata/locales/agr_PE: Likewise.
4111 * localedata/locales/ak_GH: Likewise.
4112 * localedata/locales/am_ET: Likewise.
4113 * localedata/locales/anp_IN: Likewise.
4114 * localedata/locales/ar_AE: Likewise.
4115 * localedata/locales/ar_BH: Likewise.
4116 * localedata/locales/ar_DZ: Likewise.
4117 * localedata/locales/ar_EG: Likewise.
4118 * localedata/locales/ar_IN: Likewise.
4119 * localedata/locales/ar_IQ: Likewise.
4120 * localedata/locales/ar_JO: Likewise.
4121 * localedata/locales/ar_KW: Likewise.
4122 * localedata/locales/ar_LB: Likewise.
4123 * localedata/locales/ar_LY: Likewise.
4124 * localedata/locales/ar_MA: Likewise.
4125 * localedata/locales/ar_OM: Likewise.
4126 * localedata/locales/ar_QA: Likewise.
4127 * localedata/locales/ar_SA: Likewise.
4128 * localedata/locales/ar_SD: Likewise.
4129 * localedata/locales/ar_SS: Likewise.
4130 * localedata/locales/ar_SY: Likewise.
4131 * localedata/locales/ar_TN: Likewise.
4132 * localedata/locales/ar_YE: Likewise.
4133 * localedata/locales/as_IN: Likewise.
4134 * localedata/locales/ast_ES: Likewise.
4135 * localedata/locales/ayc_PE: Likewise.
4136 * localedata/locales/az_AZ: Likewise.
4137 * localedata/locales/az_IR: Likewise.
4138 * localedata/locales/be_BY: Likewise.
4139 * localedata/locales/be_BY@latin: Likewise.
4140 * localedata/locales/bem_ZM: Likewise.
4141 * localedata/locales/ber_DZ: Likewise.
4142 * localedata/locales/ber_MA: Likewise.
4143 * localedata/locales/bg_BG: Likewise.
4144 * localedata/locales/bhb_IN: Likewise.
4145 * localedata/locales/bho_IN: Likewise.
4146 * localedata/locales/bi_VU: Likewise.
4147 * localedata/locales/bn_BD: Likewise.
4148 * localedata/locales/bn_IN: Likewise.
4149 * localedata/locales/bo_CN: Likewise.
4150 * localedata/locales/bo_IN: Likewise.
4151 * localedata/locales/br_FR: Likewise.
4152 * localedata/locales/brx_IN: Likewise.
4153 * localedata/locales/bs_BA: Likewise.
4154 * localedata/locales/byn_ER: Likewise.
4155 * localedata/locales/ca_AD: Likewise.
4156 * localedata/locales/ca_ES: Likewise.
4157 * localedata/locales/ca_FR: Likewise.
4158 * localedata/locales/ca_IT: Likewise.
4159 * localedata/locales/ce_RU: Likewise.
4160 * localedata/locales/chr_US: Likewise.
4161 * localedata/locales/cmn_TW: Likewise.
4162 * localedata/locales/crh_UA: Likewise.
4163 * localedata/locales/cs_CZ: Likewise.
4164 * localedata/locales/csb_PL: Likewise.
4165 * localedata/locales/cv_RU: Likewise.
4166 * localedata/locales/cy_GB: Likewise.
4167 * localedata/locales/da_DK: Likewise.
4168 * localedata/locales/de_AT: Likewise.
4169 * localedata/locales/de_BE: Likewise.
4170 * localedata/locales/de_CH: Likewise.
4171 * localedata/locales/de_DE: Likewise.
4172 * localedata/locales/de_IT: Likewise.
4173 * localedata/locales/de_LI: Likewise.
4174 * localedata/locales/de_LU: Likewise.
4175 * localedata/locales/doi_IN: Likewise.
4176 * localedata/locales/dv_MV: Likewise.
4177 * localedata/locales/dz_BT: Likewise.
4178 * localedata/locales/el_CY: Likewise.
4179 * localedata/locales/el_GR: Likewise.
4180 * localedata/locales/en_AG: Likewise.
4181 * localedata/locales/en_AU: Likewise.
4182 * localedata/locales/en_BW: Likewise.
4183 * localedata/locales/en_CA: Likewise.
4184 * localedata/locales/en_DK: Likewise.
4185 * localedata/locales/en_GB: Likewise.
4186 * localedata/locales/en_HK: Likewise.
4187 * localedata/locales/en_IE: Likewise.
4188 * localedata/locales/en_IL: Likewise.
4189 * localedata/locales/en_IN: Likewise.
4190 * localedata/locales/en_NG: Likewise.
4191 * localedata/locales/en_NZ: Likewise.
4192 * localedata/locales/en_PH: Likewise.
4193 * localedata/locales/en_SG: Likewise.
4194 * localedata/locales/en_US: Likewise.
4195 * localedata/locales/en_ZA: Likewise.
4196 * localedata/locales/en_ZM: Likewise.
4197 * localedata/locales/en_ZW: Likewise.
4198 * localedata/locales/eo: Likewise.
4199 * localedata/locales/es_AR: Likewise.
4200 * localedata/locales/es_BO: Likewise.
4201 * localedata/locales/es_CL: Likewise.
4202 * localedata/locales/es_CO: Likewise.
4203 * localedata/locales/es_CR: Likewise.
4204 * localedata/locales/es_CU: Likewise.
4205 * localedata/locales/es_DO: Likewise.
4206 * localedata/locales/es_EC: Likewise.
4207 * localedata/locales/es_ES: Likewise.
4208 * localedata/locales/es_GT: Likewise.
4209 * localedata/locales/es_HN: Likewise.
4210 * localedata/locales/es_MX: Likewise.
4211 * localedata/locales/es_NI: Likewise.
4212 * localedata/locales/es_PA: Likewise.
4213 * localedata/locales/es_PE: Likewise.
4214 * localedata/locales/es_PR: Likewise.
4215 * localedata/locales/es_PY: Likewise.
4216 * localedata/locales/es_SV: Likewise.
4217 * localedata/locales/es_US: Likewise.
4218 * localedata/locales/es_UY: Likewise.
4219 * localedata/locales/es_VE: Likewise.
4220 * localedata/locales/et_EE: Likewise.
4221 * localedata/locales/eu_ES: Likewise.
4222 * localedata/locales/eu_ES@euro: Likewise.
4223 * localedata/locales/fa_IR: Likewise.
4224 * localedata/locales/ff_SN: Likewise.
4225 * localedata/locales/fi_FI: Likewise.
4226 * localedata/locales/fil_PH: Likewise.
4227 * localedata/locales/fo_FO: Likewise.
4228 * localedata/locales/fr_BE: Likewise.
4229 * localedata/locales/fr_CA: Likewise.
4230 * localedata/locales/fr_CH: Likewise.
4231 * localedata/locales/fr_FR: Likewise.
4232 * localedata/locales/fr_LU: Likewise.
4233 * localedata/locales/fur_IT: Likewise.
4234 * localedata/locales/fy_DE: Likewise.
4235 * localedata/locales/fy_NL: Likewise.
4236 * localedata/locales/ga_IE: Likewise.
4237 * localedata/locales/gd_GB: Likewise.
4238 * localedata/locales/gez_ER: Likewise.
4239 * localedata/locales/gez_ET: Likewise.
4240 * localedata/locales/gl_ES: Likewise.
4241 * localedata/locales/gu_IN: Likewise.
4242 * localedata/locales/gv_GB: Likewise.
4243 * localedata/locales/ha_NG: Likewise.
4244 * localedata/locales/hak_TW: Likewise.
4245 * localedata/locales/he_IL: Likewise.
4246 * localedata/locales/hi_IN: Likewise.
4247 * localedata/locales/hif_FJ: Likewise.
4248 * localedata/locales/hne_IN: Likewise.
4249 * localedata/locales/hr_HR: Likewise.
4250 * localedata/locales/hsb_DE: Likewise.
4251 * localedata/locales/ht_HT: Likewise.
4252 * localedata/locales/hu_HU: Likewise.
4253 * localedata/locales/hy_AM: Likewise.
4254 * localedata/locales/i18n: Likewise.
4255 * localedata/locales/ia_FR: Likewise.
4256 * localedata/locales/id_ID: Likewise.
4257 * localedata/locales/ig_NG: Likewise.
4258 * localedata/locales/ik_CA: Likewise.
4259 * localedata/locales/is_IS: Likewise.
4260 * localedata/locales/it_CH: Likewise.
4261 * localedata/locales/it_IT: Likewise.
4262 * localedata/locales/iu_CA: Likewise.
4263 * localedata/locales/ja_JP: Likewise.
4264 * localedata/locales/ka_GE: Likewise.
4265 * localedata/locales/kk_KZ: Likewise.
4266 * localedata/locales/kl_GL: Likewise.
4267 * localedata/locales/kn_IN: Likewise.
4268 * localedata/locales/ko_KR: Likewise.
4269 * localedata/locales/kok_IN: Likewise.
4270 * localedata/locales/ks_IN: Likewise.
4271 * localedata/locales/ks_IN@devanagari: Likewise.
4272 * localedata/locales/ku_TR: Likewise.
4273 * localedata/locales/kw_GB: Likewise.
4274 * localedata/locales/ky_KG: Likewise.
4275 * localedata/locales/lb_LU: Likewise.
4276 * localedata/locales/lg_UG: Likewise.
4277 * localedata/locales/li_BE: Likewise.
4278 * localedata/locales/li_NL: Likewise.
4279 * localedata/locales/lij_IT: Likewise.
4280 * localedata/locales/ln_CD: Likewise.
4281 * localedata/locales/lo_LA: Likewise.
4282 * localedata/locales/lt_LT: Likewise.
4283 * localedata/locales/lv_LV: Likewise.
4284 * localedata/locales/lzh_TW: Likewise.
4285 * localedata/locales/mag_IN: Likewise.
4286 * localedata/locales/mai_IN: Likewise.
4287 * localedata/locales/mg_MG: Likewise.
4288 * localedata/locales/mhr_RU: Likewise.
4289 * localedata/locales/mi_NZ: Likewise.
4290 * localedata/locales/mk_MK: Likewise.
4291 * localedata/locales/ml_IN: Likewise.
4292 * localedata/locales/mn_MN: Likewise.
4293 * localedata/locales/mni_IN: Likewise.
4294 * localedata/locales/mr_IN: Likewise.
4295 * localedata/locales/ms_MY: Likewise.
4296 * localedata/locales/mt_MT: Likewise.
4297 * localedata/locales/my_MM: Likewise.
4298 * localedata/locales/nan_TW: Likewise.
4299 * localedata/locales/nan_TW@latin: Likewise.
4300 * localedata/locales/nb_NO: Likewise.
4301 * localedata/locales/nds_DE: Likewise.
4302 * localedata/locales/nds_NL: Likewise.
4303 * localedata/locales/ne_NP: Likewise.
4304 * localedata/locales/nhn_MX: Likewise.
4305 * localedata/locales/niu_NU: Likewise.
4306 * localedata/locales/niu_NZ: Likewise.
4307 * localedata/locales/nl_AW: Likewise.
4308 * localedata/locales/nl_BE: Likewise.
4309 * localedata/locales/nl_NL: Likewise.
4310 * localedata/locales/nn_NO: Likewise.
4311 * localedata/locales/nr_ZA: Likewise.
4312 * localedata/locales/nso_ZA: Likewise.
4313 * localedata/locales/oc_FR: Likewise.
4314 * localedata/locales/om_ET: Likewise.
4315 * localedata/locales/om_KE: Likewise.
4316 * localedata/locales/or_IN: Likewise.
4317 * localedata/locales/os_RU: Likewise.
4318 * localedata/locales/pa_IN: Likewise.
4319 * localedata/locales/pa_PK: Likewise.
4320 * localedata/locales/pap_AW: Likewise.
4321 * localedata/locales/pap_CW: Likewise.
4322 * localedata/locales/pl_PL: Likewise.
4323 * localedata/locales/ps_AF: Likewise.
4324 * localedata/locales/pt_BR: Likewise.
4325 * localedata/locales/pt_PT: Likewise.
4326 * localedata/locales/quz_PE: Likewise.
4327 * localedata/locales/raj_IN: Likewise.
4328 * localedata/locales/ro_RO: Likewise.
4329 * localedata/locales/ru_RU: Likewise.
4330 * localedata/locales/ru_UA: Likewise.
4331 * localedata/locales/rw_RW: Likewise.
4332 * localedata/locales/sa_IN: Likewise.
4333 * localedata/locales/sat_IN: Likewise.
4334 * localedata/locales/sc_IT: Likewise.
4335 * localedata/locales/sd_IN: Likewise.
4336 * localedata/locales/sd_IN@devanagari: Likewise.
4337 * localedata/locales/se_NO: Likewise.
4338 * localedata/locales/sgs_LT: Likewise.
4339 * localedata/locales/shs_CA: Likewise.
4340 * localedata/locales/si_LK: Likewise.
4341 * localedata/locales/sid_ET: Likewise.
4342 * localedata/locales/sk_SK: Likewise.
4343 * localedata/locales/sl_SI: Likewise.
4344 * localedata/locales/sm_WS: Likewise.
4345 * localedata/locales/so_DJ: Likewise.
4346 * localedata/locales/so_ET: Likewise.
4347 * localedata/locales/so_KE: Likewise.
4348 * localedata/locales/so_SO: Likewise.
4349 * localedata/locales/sq_AL: Likewise.
4350 * localedata/locales/sq_MK: Likewise.
4351 * localedata/locales/sr_ME: Likewise.
4352 * localedata/locales/sr_RS: Likewise.
4353 * localedata/locales/sr_RS@latin: Likewise.
4354 * localedata/locales/ss_ZA: Likewise.
4355 * localedata/locales/st_ZA: Likewise.
4356 * localedata/locales/sv_FI: Likewise.
4357 * localedata/locales/sv_SE: Likewise.
4358 * localedata/locales/sw_KE: Likewise.
4359 * localedata/locales/sw_TZ: Likewise.
4360 * localedata/locales/szl_PL: Likewise.
4361 * localedata/locales/ta_IN: Likewise.
4362 * localedata/locales/ta_LK: Likewise.
4363 * localedata/locales/tcy_IN: Likewise.
4364 * localedata/locales/te_IN: Likewise.
4365 * localedata/locales/tg_TJ: Likewise.
4366 * localedata/locales/th_TH: Likewise.
4367 * localedata/locales/the_NP: Likewise.
4368 * localedata/locales/ti_ER: Likewise.
4369 * localedata/locales/ti_ET: Likewise.
4370 * localedata/locales/tig_ER: Likewise.
4371 * localedata/locales/tk_TM: Likewise.
4372 * localedata/locales/tl_PH: Likewise.
4373 * localedata/locales/tn_ZA: Likewise.
4374 * localedata/locales/to_TO: Likewise.
4375 * localedata/locales/tpi_PG: Likewise.
4376 * localedata/locales/tr_CY: Likewise.
4377 * localedata/locales/tr_TR: Likewise.
4378 * localedata/locales/ts_ZA: Likewise.
4379 * localedata/locales/tt_RU: Likewise.
4380 * localedata/locales/tt_RU@iqtelif: Likewise.
4381 * localedata/locales/ug_CN: Likewise.
4382 * localedata/locales/uk_UA: Likewise.
4383 * localedata/locales/unm_US: Likewise.
4384 * localedata/locales/ur_IN: Likewise.
4385 * localedata/locales/ur_PK: Likewise.
4386 * localedata/locales/uz_UZ: Likewise.
4387 * localedata/locales/uz_UZ@cyrillic: Likewise.
4388 * localedata/locales/ve_ZA: Likewise.
4389 * localedata/locales/vi_VN: Likewise.
4390 * localedata/locales/wa_BE: Likewise.
4391 * localedata/locales/wae_CH: Likewise.
4392 * localedata/locales/wal_ET: Likewise.
4393 * localedata/locales/wo_SN: Likewise.
4394 * localedata/locales/xh_ZA: Likewise.
4395 * localedata/locales/yi_US: Likewise.
4396 * localedata/locales/yo_NG: Likewise.
4397 * localedata/locales/yue_HK: Likewise.
4398 * localedata/locales/yuw_PG: Likewise.
4399 * localedata/locales/zh_CN: Likewise.
4400 * localedata/locales/zh_HK: Likewise.
4401 * localedata/locales/zh_SG: Likewise.
4402 * localedata/locales/zh_TW: Likewise.
4403 * localedata/locales/zu_ZA: Likewise.
4405 2017-11-13 Florian Weimer <fweimer@redhat.com>
4407 * support/next_to_fault.h, support/next_to_fault.c: New files.
4408 * support/Makefile (libsupport-routines): Add next_to_fault.
4409 * resolv/tst-inet_pton.c (struct next_to_fault)
4410 (next_to_fault_allocate, next_to_fault_free): Remove.
4411 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
4413 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
4415 * elf/dl-support.c: Include <dl-procruntime.c>.
4416 * include/link.h: Include <link_map.h>.
4417 * sysdeps/generic/dl-procruntime.c: New file.
4418 * sysdeps/generic/link_map.h: Likewise.
4419 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
4420 the writable ld.so namespace.
4422 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
4424 timezone: pacify GCC -Wstringop-truncation
4425 Problem reported by Martin Sebor in:
4426 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
4427 * timezone/zic.c (writezone): Use memcpy, not strncpy.
4429 2017-11-12 Florian Weimer <fweimer@redhat.com>
4431 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
4433 (tests): Add tst-xreadlink.
4434 * support/support.h (xstrndup): Declare.
4435 * support/xunistd.h (xunlink, xreadlink): Declare.
4436 * support/temp_file.h (support_create_temp_directory): Declare.
4437 * support/temp_file.c (support_create_temp_directory): New function.
4438 * support/support_chroot.c (support_chroot_create): Use it.
4439 * support/xreadlink.c: New file.
4440 * support/xstrndup.c: Likewise.
4441 * support/xunlink.c: Likewise.
4442 * support/tst-xreadlink.c: Likewise.
4444 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
4446 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
4448 2017-11-11 Florian Weimer <fweimer@redhat.com>
4452 * resolv/res_comp.c (printable_string, binary_hnok)
4453 (binary_leading_dash): New functions.
4454 (res_hnok): Reimplement using these functions and ns_name_pton.
4455 (res_ownok): Likewise.
4456 (res_mailok): Reimplement using printable_string, ns_name_pton and
4458 (res_dnok): Reimplement using printable_string and ns_name_pton.
4459 * resolv/tst-res_hnok.c (tests): Add additional tests.
4460 (LETTERDIGITS, PRINTABLE): Define.
4461 (do_test): Adjust one_char results.
4463 2017-11-11 Florian Weimer <fweimer@redhat.com>
4466 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
4467 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
4469 2017-11-11 Florian Weimer <fweimer@redhat.com>
4471 * resolv/tst-ns_name_pton.c: New file.
4472 * resolv/Makefile (tests): Add tst-ns_name_pton.
4473 (tst-ns_name_pton): Link against libresolv.
4475 2017-11-11 Florian Weimer <fweimer@redhat.com>
4477 * resolv/tst-res_hnok.c: New file.
4478 * resolv/Makefile (tests): Add tst-res_hnok.
4479 (tst-res_hnok): Link against libresolv.
4481 2017-11-11 Florian Weimer <fweimer@redhat.com>
4483 * resolv/tst-resolv-network.c: Use test framework instead explicit
4486 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
4488 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
4490 [!_ISOMAC] (STR_HELPER): New.
4491 [!_ISOMAC] (STR): Likewise.
4492 [!_ISOMAC] (TEST_SIZE): Likewise.
4493 [!_ISOMAC] (TEST_ALIGN): Likewise.
4494 [!_ISOMAC] (TEST_OFFSET): Likewise.
4495 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
4496 field offsets of jmp_buf as well as sigjmp_buf.
4497 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
4498 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
4499 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
4500 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
4501 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
4502 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
4503 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
4504 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
4505 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
4506 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
4508 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
4510 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
4511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
4513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
4515 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
4516 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
4517 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
4518 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
4519 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
4520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
4522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
4524 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
4525 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
4526 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
4528 2017-11-07 Joseph Myers <joseph@codesourcery.com>
4531 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4532 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
4533 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4534 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
4535 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4536 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
4537 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4538 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
4539 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4540 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
4541 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4542 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
4543 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4544 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
4545 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4546 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
4547 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4548 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
4549 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4550 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
4551 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4552 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
4553 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4554 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
4555 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4556 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
4557 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4558 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
4559 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4560 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
4561 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4562 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
4563 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4564 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
4565 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4566 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
4567 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4568 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
4569 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4570 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
4571 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4572 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
4573 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4574 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
4575 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4576 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
4577 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4578 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
4579 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4580 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
4581 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4582 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
4583 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4584 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
4585 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4586 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
4587 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4588 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
4589 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4590 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
4591 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4592 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
4593 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4594 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
4595 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4596 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
4597 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4598 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
4599 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4600 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
4601 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4602 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
4603 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4604 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
4605 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4606 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
4607 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4608 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
4609 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4610 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
4611 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4612 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
4613 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4614 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
4615 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4616 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
4617 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4618 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
4620 * stdlib/tst-strtod.h (F16): New macro.
4626 (IF_FLOAT16): Likewise.
4627 (IF_FLOAT32): Likewise.
4628 (IF_FLOAT64): Likewise.
4629 (IF_FLOAT32X): Likewise.
4630 (IF_FLOAT64X): Likewise.
4631 (IF_FLOAT128X): Likewise.
4632 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
4633 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
4634 (STRTOD_TEST_FOREACH): Likewise.
4635 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
4636 (CHOOSE_f64): Likewise.
4637 (CHOOSE_f32x): Likewise.
4638 (CHOOSE_f64x): Likewise.
4640 2017-11-07 Andreas Schwab <schwab@suse.de>
4642 * nptl/Makefile (tests-internal): Remove tst-typesizes.
4644 2017-11-07 Mike FABIAN <mfabian@redhat.com>
4647 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
4649 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
4652 2017-11-07 Claude Paroz <claude@2xlibre.net>
4655 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
4657 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
4659 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
4662 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4665 * nptl/allocatestack.c (allocate_stack): Check if
4666 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
4667 __PTHREAD_MUTEX_HAVE_PREV is defined.
4668 * nptl/descr.h (pthread): Likewise.
4669 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4671 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4672 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4673 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
4674 * sysdeps/nptl/bits/thread-shared-types.h
4675 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
4677 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
4678 of __WORDSIZE for internal layout.
4679 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
4680 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
4681 instead of __WORDSIZE whether to use an union for __spins and __list
4683 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
4685 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
4686 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
4688 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
4689 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4691 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
4692 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4694 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
4695 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4697 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
4698 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4700 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
4701 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4703 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
4704 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4706 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
4707 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4709 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
4710 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4712 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
4713 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4715 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
4716 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4718 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
4719 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4721 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
4722 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4724 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
4725 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4727 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
4728 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4731 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
4733 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
4734 checks for expected input type size.
4735 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
4736 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
4738 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
4739 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
4740 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4741 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
4742 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
4743 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
4744 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
4745 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
4746 superflous runtime assert check.
4747 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
4749 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
4751 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
4753 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
4755 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
4757 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
4759 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
4760 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
4761 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
4763 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
4765 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
4767 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
4769 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
4771 * nptl/pthread_attr_setinheritsched.c
4772 (__pthread_attr_setinheritsched): Likewise.
4773 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
4775 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
4777 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
4778 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
4779 __old_pthread_attr_setstack): Likewise.
4780 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
4782 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
4784 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
4786 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
4787 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
4789 * nptl/tst-typesizes.c: Remove file.
4791 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
4792 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
4793 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
4794 checks for internal pthread_mutex_t offsets.
4795 * sysdeps/aarch64/nptl/pthread-offsets.h
4796 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
4797 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
4798 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
4799 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
4800 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
4801 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
4802 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
4803 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
4804 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
4805 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
4806 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
4807 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
4808 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
4809 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
4810 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
4811 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
4812 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
4813 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
4815 2017-11-07 Florian Weimer <fweimer@redhat.com>
4817 * bits/mman-linux.h: Move ...
4818 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
4820 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
4823 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4825 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
4826 Redefine STRNLEN as __strnlen_power8.
4828 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4830 * signal/sighold.c (sighold): Optimize implementation.
4832 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
4833 __NR_rt_sigqueueinfo.
4835 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
4837 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
4838 assume __NR_rt_sigtimedwait.
4839 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
4840 and add LIBC_CANCEL_HANDLED for cancellation marking.
4841 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4843 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
4844 (sysdeps_routines): Add memchr_noneon.
4845 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
4846 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
4847 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
4848 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
4849 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
4850 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
4851 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
4853 * sysdeps/arm/arm-ifunc.h: New file.
4854 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
4855 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
4856 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
4857 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
4858 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
4859 (__memcpy_neon): Avoid create hidden alias.
4860 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
4861 (__memcpy_vfp): Likewise.
4862 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
4863 (sysdep_routines): Add memcpy_arm.
4864 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
4866 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
4869 * Makerules (make-link-multidir): New.
4870 * config.make.in (multidir): New.
4871 * configure.ac (libc_cv_multidir): New. AC_SUBST.
4872 * configure: Regenerated.
4873 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
4874 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
4875 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
4878 2017-11-06 Joseph Myers <joseph@codesourcery.com>
4881 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
4882 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
4884 2017-11-04 Mike FABIAN <mfabian@redhat.com>
4886 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
4889 2017-11-04 Florian Weimer <fweimer@redhat.com>
4891 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
4893 2017-11-03 Joseph Myers <joseph@codesourcery.com>
4895 * math/math.h [__HAVE_DISTINCT_FLOAT16
4896 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
4897 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
4898 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
4899 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
4900 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
4901 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
4902 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
4903 (__MATH_TG_F32): New macro.
4904 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
4905 (__MATH_TG_F64X): Likewise.
4906 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
4907 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
4909 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
4911 * po/de.po: Update translations.
4912 * po/ru.po: Likewise.
4914 2017-11-03 Florian Weimer <fweimer@redhat.com>
4916 * manual/filesys.texi (Hard Links): Document linkat.
4918 2017-11-03 Joseph Myers <joseph@codesourcery.com>
4920 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
4921 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
4922 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
4923 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
4924 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
4925 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
4926 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
4927 the same as _Float128.
4928 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
4929 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
4930 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
4933 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
4935 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
4937 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
4939 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4940 (strtof32x): Likewise.
4941 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4942 (strtof64x): Likewise.
4943 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4944 (strtof128x): Likewise.
4945 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4946 (strfromf16): Likewise.
4947 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4948 (strfromf32): Likewise.
4949 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4950 (strfromf64): Likewise.
4951 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4952 (strfromf32x): Likewise.
4953 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4954 (strfromf64x): Likewise.
4955 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4956 (strfromf128x): Likewise.
4957 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
4958 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
4959 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
4960 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
4961 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
4962 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
4964 2017-11-03 Richard Henderson <rth@twiddle.net>
4966 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
4968 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4970 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
4972 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4974 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
4975 DT_TLSDESC_GOT initialization.
4976 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
4977 (_dl_tlsdesc_resolve_hold): Likewise.
4978 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
4979 (_dl_tlsdesc_resolve_hold): Likewise.
4980 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
4981 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
4983 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4985 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
4987 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4990 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
4991 non-lazily for R_ARM_TLS_DESC.
4993 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4996 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
4997 R_ARM_TLS_DESC case.
4998 (elf_machine_lazy_rel): Remove the prelink check.
5000 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5002 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
5003 DT_TLSDESC_GOT initialization.
5004 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
5005 (_dl_tlsdesc_resolve_rela): Likewise.
5006 (_dl_tlsdesc_resolve_hold): Likewise.
5007 (_dl_tlsdesc_undefweak): Remove ldar.
5008 (_dl_tlsdesc_dynamic): Likewise.
5009 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
5010 (_dl_tlsdesc_resolve_rela): Likewise.
5011 (_dl_tlsdesc_resolve_hold): Likewise.
5012 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
5013 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
5014 (_dl_tlsdesc_resolve_rela): Likewise.
5015 (_dl_tlsdesc_resolve_hold): Likewise.
5017 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5019 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
5020 binding and initialization non-lazily for R_AARCH64_TLSDESC.
5022 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5024 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
5025 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
5027 2017-11-02 Joseph Myers <joseph@codesourcery.com>
5029 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
5031 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
5032 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
5033 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
5034 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
5035 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
5036 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
5037 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
5038 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
5039 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
5040 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
5041 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
5043 2017-11-02 Mike FABIAN <mfabian@redhat.com>
5046 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
5047 * localedata/locales/tpi_PG: Add standard header.
5049 2017-11-02 Florian Weimer <fweimer@redhat.com>
5051 test-errno-linux: quotactl can fail with EPERM in containers.
5052 * sysdeps/unix/sysv/linux/test-errno-linux.c
5053 (LIST, LIST_FORWARD): New macros.
5054 (check_error_in_list): New function.
5055 (test_wrp_rv): Accept list of permitted error codes.
5056 (test_wrp_rv2): Remove.
5057 (test_wrp): Call test_wrp_rv with list of error codes.
5058 (test_wrp2): Accept list of error codes.
5059 (do_test): Adjust. Allow EPERM for quotactl.
5061 2017-11-02 Florian Weimer <fweimer@redhat.com>
5063 * stdio-common/bug16.c (do_test): Use array_length.
5064 * stdio-common/errlist.c (_sys_nerr): Likewise.
5065 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
5066 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
5067 * stdio-common/psiginfo.c (psiginfo): Use array_length.
5068 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
5069 (do_test): Use array_length.
5070 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
5071 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
5072 * stdio-common/tst-printf-round.c (do_test): Likewise.
5073 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
5074 (CHECK): Use array_length.
5075 * stdio-common/tstdiomisc.c (t3, F): Likewise.
5076 * stdio-common/tstscanf.c (main): Likewise.
5077 * stdio-common/vfprintf.c (process_string_arg): Likewise.
5079 2017-11-02 Florian Weimer <fweimer@redhat.com>
5081 Add array_length and array_end macros.
5082 * include/array_length.h: New file.
5084 2017-11-02 Florian Weimer <fweimer@redhat.com>
5087 * posix/tst-glob-tilde.c (do_noescape): New variable.
5088 (one_test): Process it.
5089 (do_test): Set do_noescape. Add unescaping test case.
5091 2017-11-01 Joseph Myers <joseph@codesourcery.com>
5094 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
5095 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
5096 with appropriate macros defined and undefined.
5097 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
5098 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
5099 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
5100 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
5101 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
5102 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
5103 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
5104 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
5105 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
5106 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
5109 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
5110 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
5111 that for long double. Do not condition define and undefine of
5112 _Mdouble_complex_ on [__CFLOAT128].
5114 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
5116 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
5117 of <sysdeps/generic/sysdep.h>.
5118 (ALIGNARG): Removed.
5119 (ASM_SIZE_DIRECTIVE): Likewise.
5122 (ENTRY_CHK): Likewise.
5123 (END_CHK): Likewise.
5124 (syscall_error): Likewise.
5126 (PSEUDO_END): Likewise.
5128 (atom_text_section): Likewise.
5129 * sysdeps/x86/sysdep.h: New file.
5130 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
5131 of <sysdeps/generic/sysdep.h>.
5132 (ALIGNARG): Removed.
5133 (ASM_SIZE_DIRECTIVE): Likewise.
5136 (ENTRY_CHK): Likewise.
5137 (END_CHK): Likewise.
5138 (syscall_error): Likewise.
5140 (PSEUDO_END): Likewise.
5142 (atom_text_section): Likewise.
5144 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
5146 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
5147 category of LC_CTYPE set to "i18n:2012".
5148 * localedata/locales/i18n_ctype: Regenerate.
5150 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
5152 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
5153 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
5154 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5155 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5157 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
5158 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
5159 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
5160 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
5162 2017-10-31 Joseph Myers <joseph@codesourcery.com>
5165 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
5167 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
5169 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
5171 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5172 (CMPLXF32X): Likewise.
5173 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5174 (CMPLXF64X): Likewise.
5175 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5176 (CMPLXF128X): Likewise.
5179 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
5180 (__MATH_EVAL_FMT2): Define to add 0.0f.
5182 2017-10-31 Alan Modra <amodra@gmail.com>
5184 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
5186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
5187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
5188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
5189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
5190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
5191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
5192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
5193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
5194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
5195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
5196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
5197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
5198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
5199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
5200 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
5201 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
5202 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
5203 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
5204 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
5205 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
5206 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
5207 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
5208 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
5209 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
5210 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5211 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
5212 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
5213 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
5214 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
5215 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
5216 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5217 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5218 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
5219 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
5220 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
5221 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
5222 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
5223 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
5224 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
5225 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5226 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
5227 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
5228 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
5229 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
5230 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
5231 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
5232 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
5233 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
5234 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
5235 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5236 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
5237 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
5238 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
5239 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
5240 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5241 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
5242 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
5243 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
5244 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
5245 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
5246 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5247 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
5248 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
5249 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5250 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
5251 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
5252 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
5253 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
5254 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
5256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
5257 include sysdep.h and math_ldbl_opt.h.
5259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
5260 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
5261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
5262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
5263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
5264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
5265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
5266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
5267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
5268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
5269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
5270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
5271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
5272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
5273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
5274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
5275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
5276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
5277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
5278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
5279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
5280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
5281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
5282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
5283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
5284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
5286 2017-10-31 Alan Modra <amodra@gmail.com>
5288 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
5289 string/strncase_l.c, not string/strncase.c.
5290 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
5291 (libc_hidden_def): Redefine.
5293 2017-10-31 Alan Modra <amodra@gmail.com>
5295 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
5296 (__STRCMP, STRCMP, __strcasecmp_l): Define.
5297 (__strcasecmp): Don't define.
5299 2017-10-31 Alan Modra <amodra@gmail.com>
5301 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
5303 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
5304 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
5305 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
5307 2017-10-31 Alan Modra <amodra@gmail.com>
5309 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
5312 2017-10-31 Alan Modra <amodra@gmail.com>
5314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
5315 Redefine only when SHARED.
5317 2017-10-30 Joseph Myers <joseph@codesourcery.com>
5319 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
5320 Include <bits/math-finite.h> with appropriate macros defined and
5322 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
5323 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
5324 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
5325 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
5326 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
5328 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
5329 [!_Mlong_double_] (_Mlong_double_): Likewise.
5330 [!_Mfloat16_] (_Mfloat16_): Likewise.
5331 [!_Mfloat32_] (_Mfloat32_): Likewise.
5332 [!_Mfloat64_] (_Mfloat64_): Likewise.
5333 [!_Mfloat128_] (_Mfloat128_): Likewise.
5334 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
5335 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
5336 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
5337 (_Mdouble_): Define without indirection through those macros.
5338 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
5339 [!_Mfloat128_] (_Mfloat128_): Likewise.
5340 [_Mlong_double_] (_Mlong_double_): Likewise.
5341 (_Mdouble_): Define without indirection through those macros.
5342 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
5343 not add -D_Mlong_double_=double.
5344 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
5345 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
5347 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
5349 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
5351 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
5353 * sysdeps/x86/libc-start.c: Reformat.
5355 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
5358 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
5362 (L(Src2)): Likewise.
5363 (L(1)): Renamed to ...
5366 2017-10-30 Joseph Myers <joseph@codesourcery.com>
5368 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
5369 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
5370 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
5371 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
5372 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
5373 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
5374 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
5375 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
5376 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
5377 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
5378 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
5379 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
5380 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
5381 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
5382 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
5383 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
5384 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
5385 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
5386 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
5387 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
5388 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
5389 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
5390 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
5391 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
5392 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
5393 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
5394 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
5395 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
5396 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
5397 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
5398 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
5399 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
5400 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
5401 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
5402 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
5403 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
5404 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
5405 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
5406 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
5407 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
5408 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
5409 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
5410 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
5411 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
5412 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
5413 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
5414 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
5415 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
5416 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
5417 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
5418 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
5419 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
5420 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
5421 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
5422 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
5423 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
5424 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
5425 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
5426 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
5427 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
5428 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
5429 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
5430 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
5431 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
5432 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
5433 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
5435 2017-10-30 Florian Weimer <fweimer@redhat.com>
5437 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
5439 * io/tst-mkdirat.c (do_test): Likewise.
5440 * io/tst-mkfifoat.c (do_test): Likewise.
5441 * io/tst-mknodat.c (do_test): Likewise.
5442 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
5443 * locale/programs/locale.c (select_dirs): Likewise.
5444 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
5445 * posix/bug-glob2.c (my_readdir): Likewise.
5446 * posix/tst-dir.c (main): Likewise.
5447 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
5448 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
5450 2017-10-30 Florian Weimer <fweimer@redhat.com>
5452 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
5455 2017-10-30 Florian Weimer <fweimer@redhat.com>
5457 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
5458 Convert to support/test-driver.c.
5459 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
5460 New macro parameters.
5461 (PRINTF): Remove macro. Use test_verbose conditionals instead.
5462 * posix/tst-gnuglob.c: New file.
5463 * posix/tst-gnuglob64.c: Likewise.
5464 * posix/Makefile (tests): Add tst-gnuglob64.
5466 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
5469 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
5470 and use a better translation for March in “mon”.
5471 * localedata/locales/csb_PL: Use more ASCII to improve the
5472 readability of the source.
5474 2017-10-30 Mike FABIAN <mfabian@redhat.com>
5477 * localedata/locales/km_KH: Use ASCII as much
5478 as possible for better readability of the source and
5479 remove useless comments.
5480 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
5481 was commented out and apparently wrong anyway because it was
5482 using Lao characters. If Buddhist era should be used
5483 for km_KH, a native speaker should write the correct formaat
5485 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
5486 (According to CLDR, the first weekday for Cambodia is Sunday).
5487 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
5488 (These were using Lao characters which must be wrong. If we get
5489 the correct data from a native speaker, we could add it back, until
5490 then it is better not to have name_mr and name_mrs at all than
5493 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
5495 * locale/loadlocale.c: Correct size of
5496 _nl_value_type_LC_<category> arrays.
5498 2017-10-27 Joseph Myers <joseph@codesourcery.com>
5500 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
5501 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
5502 with appropriate macros defined and undefined.
5503 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
5504 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
5505 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
5506 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
5507 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
5509 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
5511 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
5514 2017-10-27 Mike FABIAN <mfabian@redhat.com>
5516 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
5517 with lowercase letters to make it agree with CLDR.
5519 2017-10-27 Mike FABIAN <mfabian@redhat.com>
5522 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
5523 first letters of yesstr and nostr in yesexpr and noexpr,
5524 not for the full words.
5525 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
5526 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
5527 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
5528 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
5529 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
5530 first letters of yesstr and nostr in yesexpr and noexpr,
5531 until now only English was matched in yesexpr and noexpr.
5532 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
5533 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
5534 fil but not for tl. As tl and fil are very similar, using fil
5535 is probably better than using English.
5537 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
5540 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
5541 in yesstr and nostr.
5543 2017-10-26 Joseph Myers <joseph@codesourcery.com>
5545 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
5546 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
5547 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
5549 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
5551 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
5553 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
5555 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5556 (SNANF128X): Likewise.
5558 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
5559 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
5560 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5561 (HUGE_VAL_F32): Likewise.
5562 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5563 (HUGE_VAL_F64): Likewise.
5564 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5565 (HUGE_VAL_F32X): Likewise.
5566 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5567 (HUGE_VAL_F64X): Likewise.
5568 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5569 (HUGE_VAL_F128X): Likewise.
5571 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
5573 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
5574 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
5575 for the br_FR locale.
5577 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
5580 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
5582 2017-10-25 Carlos O'Donell <carlos@redhat.com>
5584 * locale/programs/record-status.h: Define globals, and function
5585 prototypes. Move function bodies...
5586 * locale/programs/record-status.c: ... to here. New file.
5587 * iconv/Makefile (iconv_prog-modules): Add record-status.
5588 * locale/Makefile (lib-modules): Likewise.
5589 * iconv/iconv_prog.c: Remove verbose.
5590 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
5591 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
5592 record a warning about ASCII compatibility.
5593 * locale/programs/ld-monetary.c (monetary_finish): If
5594 warn_int_curr_symbol is true then record a warning about the symbol
5595 not being in our ISO 4217 list.
5596 * locale/programs/locale.c: Include record-status.h. Remove verbose.
5597 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
5598 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
5599 (OPT_NO_WARN): Define.
5601 (options): Add entry for --no-warnings, and --warnings.
5602 (set_warnings): New function to enable/disable warnings.
5603 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
5604 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
5605 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
5606 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
5607 Pass flags to generate_locale.
5608 (generate_locale): Accept new flag argument and pass it to localedef
5610 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
5611 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
5613 * localedata/Makefile (test-input-data): Use full file name.
5614 * localedata/da_DK.in: Rename to...
5615 * localedata/da_DK.ISO-8859-1.in: ...this.
5616 * localedata/de_DE.in: Rename to...
5617 * localedata/de_DE.ISO-8859-1.in: ...this.
5618 * localedata/en_US.in: Rename to...
5619 * localedata/en_US.ISO-8859-1.in: ...this.
5620 * localedata/fr_FR.in: Rename to...
5621 * localedata/fr_FR.UTF-8.in: ... this.
5622 * localedata/hr_HR.in: Rename to...
5623 * localedata/hr_HR.ISO-8859-2.in: ...this.
5624 * localedata/hu_HU.in: Rename to...
5625 * localedata/hu_HU.UTF-8.in: ...this.
5626 * localedata/si_LK.in: Rename to...
5627 * localedata/si_LK.UTF-8.in: ...this.
5628 * localedata/sv_SE.in: Rename to...
5629 * localedata/sv_SE.ISO-8859-1.in: ...this.
5630 * localedata/tr_TR.in: Rename to...
5631 * localedata/tr_TR.UTF-8.in: ...this.
5632 * localedata/uk_UA.in: Rename to...
5633 * localedata/uk_UA.UTF-8.in: ...this.
5634 * localedata/sort-test.sh: Test file is locale name with the
5637 * localedata/unicode-gen/Makefile (check_i18n): Rename to
5638 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
5640 * localedata/locales/i18n_ctype: Regenerate.
5641 * localedata/locales/tr_TR: Likewise.
5642 * localedata/locales/translit_circle: Likewise.
5643 * localedata/locales/translit_cjk_compat: Likewise.
5644 * localedata/locales/translit_combining: Likewise.
5645 * localedata/locales/translit_compat: Likewise.
5646 * localedata/locales/translit_font: Likewise.
5647 * localedata/locales/translit_fraction: Likewise.
5649 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5651 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
5652 lxvd2x/stxvd2x with lvx/stvx.
5653 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
5655 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
5657 * include/alloc_buffer.h: Replace "if if " with "if " in
5659 * sysdeps/mips/memcpy.S: Likkewise.
5660 * sysdeps/mips/memset.S: Likewise.
5661 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
5663 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
5665 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
5668 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5671 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
5673 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
5674 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
5675 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
5676 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
5677 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
5678 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
5679 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
5681 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5683 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
5684 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
5685 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
5686 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
5687 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
5688 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
5689 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
5690 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
5691 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
5692 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
5693 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
5694 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
5696 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5698 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
5699 as possible for better readability of the source.
5700 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
5701 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
5702 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
5703 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
5704 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
5705 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
5706 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
5707 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
5708 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
5709 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
5710 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
5711 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
5712 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
5713 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
5714 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
5715 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
5716 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
5717 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
5718 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
5719 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
5720 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
5721 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
5722 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
5723 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
5724 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
5725 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
5726 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
5727 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
5728 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
5729 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
5730 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
5731 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
5732 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
5733 * localedata/locales/en_US (LC_MESSAGES): Likewise.
5734 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
5735 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
5736 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
5737 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
5738 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
5739 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
5740 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
5741 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
5742 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
5743 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
5744 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
5745 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
5746 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
5747 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
5748 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
5749 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
5750 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
5751 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
5752 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
5753 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
5754 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
5755 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
5756 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
5757 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
5758 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
5759 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
5760 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
5761 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
5762 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
5763 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
5764 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
5765 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
5766 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
5767 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
5768 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
5769 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
5770 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
5771 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
5772 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
5773 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
5774 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
5775 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
5776 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
5777 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
5778 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
5779 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
5780 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
5781 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
5782 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
5783 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
5784 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
5785 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
5786 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
5787 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
5788 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
5789 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
5790 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
5791 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
5792 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
5793 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
5794 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
5795 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
5796 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
5797 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
5798 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
5799 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
5800 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
5801 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
5802 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
5803 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
5804 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
5805 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
5806 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
5807 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
5808 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
5809 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
5810 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
5811 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
5812 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
5813 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
5814 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
5815 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
5816 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
5817 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
5818 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
5819 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
5820 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
5821 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
5822 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
5823 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
5824 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
5825 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
5826 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
5827 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
5828 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
5829 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
5830 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
5831 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
5832 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
5833 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
5834 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
5835 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
5836 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
5837 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
5838 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
5839 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
5840 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
5841 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
5842 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
5843 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
5844 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
5845 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
5846 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
5847 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
5848 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
5849 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
5850 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
5851 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
5852 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
5853 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
5854 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
5855 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
5856 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
5857 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
5858 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
5859 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
5860 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
5861 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
5862 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
5863 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
5864 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
5865 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
5866 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
5867 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
5868 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
5869 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
5870 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
5871 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
5872 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
5873 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
5875 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5877 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
5878 (Use first letters of yesstr and nostr correctly instead of using
5881 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5883 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
5884 (Use first letters of yesstr and nostr correctly).
5886 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5888 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
5889 also check for the first characters of yesstr and nostr.
5890 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
5891 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
5893 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5895 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
5896 also check for Chinese characters.
5898 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5900 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
5901 match also for the contents of yesstr and nostr. As the first letter
5902 of yesstr and nostr is equal, checking only for the first letter
5905 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5907 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
5908 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
5910 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5912 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
5913 of main contributor.
5915 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5917 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
5918 instead of using English.
5920 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5922 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
5923 by including the first letters of nostr and yesexpr in the regexp.
5924 Also make it more readable by using ASCII where possible.
5926 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5928 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
5929 the first letter of nostr in the regexp. It agrees with CLDR now.
5930 Also make it more readable by using ASCII where possible.
5932 2017-10-24 Mike FABIAN <mfabian@redhat.com>
5934 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
5935 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
5936 these strings contain a U+17D6 (which somewhat looks like a colon)
5937 instead of a real colon to separate the full words for “yes”
5938 and “no” from the single letter responses.
5940 2017-10-24 Mike FABIAN <mfabian@redhat.com>
5942 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
5943 it agree with CLDR (include the first letter of yesstr).
5944 Also make it more readable by using ASCII where possible.
5946 2017-10-24 Mike FABIAN <mfabian@redhat.com>
5948 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
5949 and improve yesexpr and noexpr. The yesstr and nostr apparently
5950 came from CLDR. And CLDR has a bug there: these strings contain
5951 a U+0903 (which looks like a colon) instead of a real colon
5952 to separate the full words for “yes” and “no” from the single
5955 2017-10-24 Mike FABIAN <mfabian@redhat.com>
5957 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
5958 letters of the full yesstr and nostr in yesexpr and noexpr.
5960 2017-10-24 Mike FABIAN <mfabian@redhat.com>
5962 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
5963 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
5964 * localedata/locales/an_ES: Make source more readable by using ASCII
5967 2017-10-24 Mike FABIAN <mfabian@redhat.com>
5970 * localedata/locales/yuw_PG: New file.
5971 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
5972 * locale/iso-639.def: Add Yau (Uruwa).
5974 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5976 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
5978 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5980 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
5981 (__libc_realloc): Likewise.
5982 (_mid_memalign): Likewise.
5983 (__libc_calloc): Likewise.
5985 2017-10-23 Mike FABIAN <mfabian@redhat.com>
5987 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
5988 by adding the generic +1 and -0 as in all other locales.
5989 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
5990 day names and make it more readable by using ASCII where possible.
5992 2017-10-24 Joseph Myers <joseph@codesourcery.com>
5994 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
5995 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
5997 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5999 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
6000 WNOHANG in waitpid call.
6002 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
6004 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
6005 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
6007 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
6008 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
6009 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
6010 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
6011 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
6012 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
6013 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
6014 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
6017 2017-10-23 Michael Collison <michael.collison@arm.com>
6019 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
6020 with __builtin_sqrt.
6021 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
6022 with __builtin_sqrtf.
6023 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
6024 with __builtin_ceil.
6025 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
6026 with __builtin_ceilf.
6027 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
6028 with __builtin_floor.
6029 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
6030 with __builtin_floorf.
6031 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
6033 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
6034 with __builtin_fmaf.
6035 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
6036 with __builtin_fmax.
6037 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
6038 with __builtin_fmaxf.
6039 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
6040 with __builtin_fmin.
6041 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
6042 with __builtin_fminf.
6043 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
6044 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
6045 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
6046 with builtin_rint and conversion to int.
6047 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
6048 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
6049 with builtin_llround.
6050 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
6051 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
6052 with builtin_rint and conversion to long int.
6053 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
6054 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
6055 with builtin_lround.
6056 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
6057 with builtin_lroundf.
6058 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
6059 statements with __builtin_nearbyint.
6060 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
6061 statements with __builtin_nearbyintf.
6062 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
6063 with __builtin_rint.
6064 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
6065 with __builtin_rintf.
6066 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
6067 with __builtin_round.
6068 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
6069 with __builtin_roundf.
6070 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
6071 with __builtin_trunc.
6072 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
6073 with __builtin_truncf.
6074 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
6075 and s_l[l]round[f].c too.
6077 2017-10-23 Alan Modra <amodra@gmail.com>
6079 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
6080 Adjust stack after restoring regs. Add missing LR cfi_restore.
6082 2017-10-23 Alan Modra <amodra@gmail.com>
6084 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
6085 Move LR save and frame setup/teardown and LR restore to
6086 immediately around memset call. Provide cfi.
6088 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6090 * sysdeps/i386/fpu/e_powf.S: Removed.
6091 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
6092 * sysdeps/i386/fpu/w_powf.c: Likewise.
6093 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
6094 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6095 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
6097 (CFLAGS-e_powf-sse2.c): New.
6098 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
6099 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
6101 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6103 * sysdeps/i386/fpu/e_log2f.S: Removed.
6104 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
6105 * sysdeps/i386/fpu/w_log2f.c: Likewise.
6106 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
6107 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6108 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
6110 (CFLAGS-e_log2f-sse2.c): New.
6111 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
6112 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
6114 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6116 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6118 (CFLAGS-e_powf-fma.c): New.
6119 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
6120 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
6122 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6124 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6126 (CFLAGS-e_log2f-fma.c): New.
6127 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
6128 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
6130 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6132 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6134 (CFLAGS-e_logf-fma.c): New.
6135 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
6136 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
6138 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6140 * sysdeps/i386/fpu/e_logf.S: Removed.
6141 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
6142 * sysdeps/i386/fpu/w_logf.c: Likewise.
6143 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
6144 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
6145 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6146 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
6148 (CFLAGS-e_logf-sse2.c): New.
6149 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
6150 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
6152 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6154 * sysdeps/i386/fpu/e_exp2f.S: Removed.
6155 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
6156 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
6157 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6158 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
6160 (CFLAGS-e_exp2f-sse2.c): New.
6161 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
6162 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
6164 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6166 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6168 (CFLAGS-e_exp2f-fma.c): New.
6169 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
6170 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
6172 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6174 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
6175 * sysdeps/i386/fpu/e_expf.S: Likewise.
6176 * sysdeps/i386/fpu/math_errf.c: Likewise.
6177 * sysdeps/i386/fpu/w_expf.c: Likewise.
6178 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
6179 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6180 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
6181 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
6182 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6183 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
6185 (CFLAGS-e_expf-sse2.c): New.
6186 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
6187 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
6189 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6191 * sysdeps/x86_64/fpu/e_expf.S: Removed.
6192 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
6193 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
6194 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
6196 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
6198 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
6199 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
6201 (__redirect_expf): This.
6202 (SYMBOL_NAME): Changed to expf.
6203 (__ieee754_expf): Renamed to ...
6205 (__GI___expf): This.
6206 (__ieee754_expf): Add strong_alias.
6207 (__expf_finite): Likewise.
6209 Include <sysdeps/ieee754/flt-32/e_expf.c>.
6211 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
6214 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
6217 2017-10-21 Florian Weimer <fweimer@redhat.com>
6219 * posix/Makefile (tests): Add tst-glob-tilde.
6220 (tests-special): Add tst-glob-tilde-mem.out
6221 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
6222 (tst-glob-tilde-mem.out): Add mtrace check.
6223 * posix/tst-glob-tilde.c: New file.
6225 2017-10-20 Joseph Myers <joseph@codesourcery.com>
6227 * bits/floatn-common.h: New file.
6228 * math/Makefile (headers): Add bits/floatn-common.h.
6229 * bits/floatn.h: Include <bits/floatn-common.h>.
6230 * sysdeps/ia64/bits/floatn.h: Likewise.
6231 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
6232 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
6233 * sysdeps/powerpc/bits/floatn.h: Likewise.
6234 * sysdeps/x86/bits/floatn.h: Likewise.
6236 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6238 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
6239 indicates whether compiler emits an warning for alias for
6240 functions with incompatible types.
6243 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
6244 the auxiliary process is terminated by a signal before calling _exit
6247 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
6250 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
6252 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
6253 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
6254 and bit_arch_XSAVEC_Usable if needed.
6255 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
6256 and bit_arch_Use_dl_runtime_resolve_opt.
6257 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
6259 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
6260 (bit_arch_Prefer_No_AVX512): Updated.
6261 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
6262 (bit_arch_XSAVEC_Usable): New.
6263 (STATE_SAVE_OFFSET): Likewise.
6264 (STATE_SAVE_MASK): Likewise.
6265 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
6266 (cpu_features): Add xsave_state_size and xsave_state_full_size.
6267 (index_arch_Use_dl_runtime_resolve_opt): Removed.
6268 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
6269 (index_arch_XSAVEC_Usable): New.
6270 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
6271 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
6272 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
6274 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
6275 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
6276 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
6277 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
6278 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
6279 _dl_runtime_resolve_xsavec.
6280 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
6282 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
6283 instead of VEC_SIZE.
6284 (REGISTER_SAVE_BND0): Removed.
6285 (REGISTER_SAVE_BND1): Likewise.
6286 (REGISTER_SAVE_BND3): Likewise.
6287 (REGISTER_SAVE_RAX): Always defined to 0.
6289 (_dl_runtime_resolve_avx): Likewise.
6290 (_dl_runtime_resolve_avx_slow): Likewise.
6291 (_dl_runtime_resolve_avx_opt): Likewise.
6292 (_dl_runtime_resolve_avx512): Likewise.
6293 (_dl_runtime_resolve_avx512_opt): Likewise.
6294 (_dl_runtime_resolve_sse): Likewise.
6295 (_dl_runtime_resolve_sse_vex): Likewise.
6297 (_dl_runtime_resolve_fxsave): Likewise.
6298 (USE_XSAVE): Likewise.
6299 (_dl_runtime_resolve_xsave): Likewise.
6300 (USE_XSAVEC): Likewise.
6301 (_dl_runtime_resolve_xsavec): Likewise.
6302 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
6304 (_dl_runtime_resolve_avx512_opt): Likewise.
6305 (_dl_runtime_resolve_avx): Likewise.
6306 (_dl_runtime_resolve_avx_opt): Likewise.
6307 (_dl_runtime_resolve_sse): Likewise.
6308 (_dl_runtime_resolve_sse_vex): Likewise.
6309 (_dl_runtime_resolve_fxsave): New.
6310 (_dl_runtime_resolve_xsave): Likewise.
6311 (_dl_runtime_resolve_xsavec): Likewise.
6313 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
6317 * posix/glob.c (__glob): Fix one-byte overflow.
6319 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
6321 * malloc/malloc.c (sysdep-cancel.h): Add include.
6323 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
6325 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
6327 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
6329 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
6330 (tests): Remove $(objpfx)ga_test depdendency.
6331 * resolv/ga_test.c: Remove file.
6333 2017-10-20 Mike FABIAN <mfabian@redhat.com>
6336 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
6337 * localedata/locales/kab_DZ: New file.
6339 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
6341 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
6342 _dl_relocate_static_pie instead of _dl_start to compute load
6343 address in static PIE.
6345 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
6347 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
6349 2017-10-20 Mike FABIAN <mfabian@redhat.com>
6352 * localedata/SUPPORTED: Add shn_MM/UTF-8.
6353 * localedata/locales/shn_MM: New file.
6355 2017-10-20 Florian Weimer <fweimer@redhat.com>
6358 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
6359 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
6360 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
6361 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
6362 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
6363 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
6365 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
6367 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6369 2017-10-19 Joseph Myers <joseph@codesourcery.com>
6371 * sysdeps/mips/ieee754/bits/floatn.h: New file.
6374 * sysdeps/mips/bits/long-double.h: Move to ....
6375 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
6377 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
6379 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
6381 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
6382 H.J. Lu <hongjiu.lu@intel.com>
6385 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
6386 GLRO(dl_platform) to NULL.
6387 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
6388 (modules-names): Add tst-platformmod-1 and
6389 x86_64/tst-platformmod-2.
6390 (CFLAGS-tst-platform-1.c): New.
6391 (CFLAGS-tst-platformmod-1.c): Likewise.
6392 (CFLAGS-tst-platformmod-2.c): Likewise.
6393 (LDFLAGS-tst-platformmod-2.so): Likewise.
6394 ($(objpfx)tst-platform-1): Likewise.
6395 ($(objpfx)tst-platform-1.out): Likewise.
6396 (tst-platform-1-ENV): Likewise.
6397 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
6398 * sysdeps/x86_64/tst-platform-1.c: New file.
6399 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
6400 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
6402 2017-10-19 Mike FABIAN <mfabian@redhat.com>
6405 * locale/iso-639.def: Add Karbi.
6406 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
6407 * localedata/locales/mjw_IN: New file.
6409 2017-10-18 Joseph Myers <joseph@codesourcery.com>
6411 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
6412 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
6413 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
6414 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
6415 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
6416 (libm_alias_ldouble_other_r): Also create _Float128 alias.
6417 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
6419 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
6420 (libm_alias_ldouble_other_r): Also create _Float128 alias.
6421 * manual/math.texi (Mathematics): Document additional architecture
6422 support for _Float128.
6423 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
6424 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6425 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6426 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6427 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6428 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6429 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6430 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6431 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6432 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6433 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6434 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6435 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6436 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6437 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6439 2017-10-18 Renlin Li <renlin.li@arm.com>
6441 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
6442 _DYNAMIC symbol to calculate load address.
6444 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
6446 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
6447 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
6449 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
6450 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
6452 2017-10-18 Mike FABIAN <mfabian@redhat.com>
6455 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
6456 and improve readability by using more ASCII.
6457 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
6458 and improve readability by using more ASCII.
6460 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
6462 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
6463 not all targets support atomics on bool.
6465 2017-10-17 Joseph Myers <joseph@codesourcery.com>
6467 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
6468 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
6470 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
6471 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
6472 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
6473 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
6474 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
6475 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
6477 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6479 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
6482 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
6485 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
6486 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
6487 (do_check_remalloced_chunk): Fix build bug.
6488 (do_check_malloc_state): Add assert that checks arena->top.
6489 (malloc_consolidate): Remove initialization.
6490 (int_mallinfo): Remove call to malloc_consolidate.
6491 (__libc_mallopt): Clarify why malloc_consolidate is needed.
6493 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
6495 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
6496 (have_fastchunks): Remove.
6497 (clear_fastchunks): Remove.
6498 (set_fastchunks): Remove.
6499 (malloc_state): Add have_fastchunks.
6500 (malloc_init_state): Use have_fastchunks.
6501 (do_check_malloc_state): Remove incorrect invariant checks.
6502 (_int_malloc): Use have_fastchunks.
6503 (_int_free): Likewise.
6504 (malloc_consolidate): Likewise.
6506 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
6508 * malloc/malloc.c (tcache_put): Inline.
6509 (tcache_get): Inline.
6511 2017-10-17 Jordi Mallach <jordi@gnu.org>
6513 Aurelien Jarno <aurelien@aurel32.net>
6515 * localedata/locales/ca_ES@valencia: New file.
6516 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
6518 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
6521 * math/math.h: Let signbit use the builtin in C++ mode with gcc
6524 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6526 * scripts/build-many-glibcs.py (Context.add_all_configs):
6527 Add arm-linux-gnueabihf multiarch extra_glibcs.
6529 * sysdeps/generic/ifunc-init.h: New file.
6530 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
6532 2017-10-17 Mike FABIAN <mfabian@redhat.com>
6535 * localedata/locales/el_GR: Set n_cs_precedes to 0.
6536 * localedata/locales/el_CY: copy "el_GR" because it is identical.
6537 * stdlib/tst-strfmon_l.c: adapt test case.
6539 2017-10-16 Joseph Myers <joseph@codesourcery.com>
6541 * sysdeps/generic/float128-abi.h: New file.
6542 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
6543 non-__prefixed symbols to ....
6544 * math/Versions: ... here. Include <float128-abi.h>.
6545 * stdlib/Versions ... and here. Include <float128-abi.h>
6547 2017-10-16 Florian Weimer <fweimer@redhat.com>
6549 * version.h (VERSION): Switch to ".9000" as the development
6552 2017-10-16 Florian Weimer <fweimer@redhat.com>
6555 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
6556 compat_symbol_reference to access non-default version.
6558 2017-10-16 Florian Weimer <fweimer@redhat.com>
6560 * malloc/Makefile (others-extras): Set to mcheck-init.o.
6562 2017-10-16 Carlos O'Donell <carlos@redhat.com>
6564 * include/shlib-compat.h (compat_symbol_reference): Update
6567 2017-10-16 Joseph Myers <joseph@codesourcery.com>
6569 * math/Makefile (test-types): Add
6570 $(type-float128-$(float128-alias-fcts)).
6571 * math/test-float128.h (TYPE_STR): Define conditional on
6572 [FLT128_MANT_DIG == LDBL_MANT_DIG].
6573 (ULP_IDX): Likewise.
6574 (ULP_I_IDX): Likewise.
6576 * stdlib/strtold.c: Include <bits/floatn.h>
6577 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
6578 and later undefine as macro. Define as weak alias if
6580 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
6581 and later undefine as macro. Define as weak alias if
6583 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
6584 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
6585 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
6586 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
6587 Define and later undefine as macro. Define as weak alias if
6589 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
6591 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
6592 Define and later undefine as macro. Define as weak alias if
6594 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
6595 Define and later undefine as macro. Define as weak alias if
6598 2017-10-15 Carlos O'Donell <carlos@redhat.com>
6600 * localedata/collate-test.c (allocate_arrays): Don't use \n in
6601 record_verbose messages.
6603 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
6606 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
6607 to silence -O3 -Wall warning with GCC 7.
6609 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
6611 * Makeconfig (+link-static-before-libc): Use the first of
6612 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
6613 * gmon/Makefile (tests): Add tst-gmon-static.
6614 (tests-static): Likewise.
6615 (CFLAGS-tst-gmon-static.c): New.
6616 (CRT-tst-gmon-static): Likewise.
6617 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
6618 (tst-gmon-static-ENV): Likewise.
6619 (tests-special): Likewise.
6620 ($(objpfx)tst-gmon-static.out): Likewise.
6621 (clean-tst-gmon-static-data): Likewise.
6622 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
6623 * gmon/tst-gmon-static-gprof.sh: New file.
6624 * gmon/tst-gmon-static.c: Likewise.
6626 2017-10-13 Carlos O'Donell <carlos@redhat.com>
6629 * locale/programs/linereader.c (get_string): Don't warn on
6630 non-symbolic character.
6633 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
6637 * locale/programs/record-status.h: New file
6638 * locale/programs/locale.c: Add comment.
6639 * locale/programs/charmap-dir.c: Don't include error.h.
6640 (charmap_opendir): Use record_error.
6641 * locale/programs/charmap.c: Don't include error.h.
6642 (charmap_read): Use record_error, and record_warning.
6643 (parse_charmap): Likewise.
6644 * locale/programs/ld-address.c: Don't include error.h.
6645 (address_finish): Use record_error, and record_warning.
6646 * locale/programs/ld-collate.c: Don't include error.h.
6647 (collate_finish): Use record_error, and record_error_at_line.
6648 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
6649 (ctype_class_new): Likewise.
6650 (ctype_map_new): Likewise.
6651 (set_one_default): Likewise.
6652 (set_class_defaults): Likewise.
6653 (translit_flatten): Likewise.
6654 (allocate_arrays): Use record_error, and record_verbose.
6655 * locale/programs/ld-identification.c: Don't include error.h.
6656 (indentation_finish): Use record_error and record_warning.
6657 * locale/programs/ld-measurement.c: Don't include error.h.
6658 (measurement_finish): Use record_error.
6659 * locale/programs/ld-messages.c
6660 (message_finish): Likewise.
6661 * locale/programs/ld-monetary.c
6662 (monetary_finish): Likewise.
6663 * locale/programs/ld-name.c (name_finish): Use record_error
6665 * locale/programs/ld-numeric.c
6666 (numeric_finish): Use record_error.
6667 * locale/programs/ld-paper.c: Don't include error.h.
6668 (paper_finish): Use record_error.
6669 * locale/programs/ld-telephone.c: Don't include error.h.
6670 (telephone_finish): Use record_error.
6671 * locale/programs/ld-time.c (time_finish): Likewise.
6672 * locale/programs/linereader.h (lr_error): Make inline func.
6673 * locale/programs/localedef.c: Define recorded_warning_count,
6674 and recorded_error_count.
6675 (main): Use record_error. Use recorded_error_count and
6676 recorded_warning_count to issue correct error returns.
6677 (add_to_readlist): Use record_error.
6678 (find_locale): Likewise.
6679 (load_locale): Likewise.
6680 * locale/programs/localedef.h: Remove be_quiet
6681 and WITH_CUR_LOCALE.
6682 * locale/programs/locarchive.c (compare_from_file): Use
6684 * locale/programs/locfile.c (write_locale_data): Use
6686 * locale/programs/repertoire.c: Dont include error.h.
6687 (repertoire_complain): Use record_error.
6688 * localedata/tst-fmon.sh: Expect failures from localedef.
6689 * localedata/tst-locale.sh: Likewise.
6690 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
6692 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
6693 (REPORTS): Likewise.
6695 (i18n): Rename to...
6696 (i18n_ctype): ...this.
6697 (i18n-report): Rename to...
6698 (i18n_ctype-report): ...this.
6699 * localedata/locales/i18n_ctype: Regenerate.
6700 * localedata/locales/i18n: copy i18n_ctype.
6702 2017-10-13 Joseph Myers <joseph@codesourcery.com>
6704 * stdlib/strfroml.c: Include <bits/floatn.h>.
6705 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
6706 Define before include of <stdlib.h> and undefine afterwards, then
6707 define as weak alias.
6709 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
6710 Undefine and restore default definition. Use
6711 libm_alias_ldouble_other.
6713 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
6716 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
6719 2017-10-13 James Clarke <jrtc27@jrtc27.com>
6721 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6722 Assign sym_map to be map for local symbols, as TLS relocations
6723 use sym_map to determine whether the symbol is defined and to
6724 extract the TLS information.
6725 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6726 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6728 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6731 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
6732 (math_force_eval): Add powerpc version.
6735 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
6737 (do_test): Likewise.
6738 * stdio-common/tst-printf.sh: Likewise.
6739 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
6740 ifdef clause in order to set the carry bit right. Replace r0 by
6741 0 without changing the behavior.
6743 2017-10-13 Joseph Myers <joseph@codesourcery.com>
6745 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
6746 <libm-alias-ldouble.h>.
6747 (fabsl): Define using libm_alias_ldouble.
6748 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
6749 <libm-alias-ldouble.h>.
6750 (fabsl): Define using libm_alias_ldouble.
6752 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
6753 Remove conditional code.
6755 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
6756 Rename to __clog10_internal_l.
6757 (__clog10_internal_l): Define aliases using
6758 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
6761 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6763 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
6764 * benchtests/sincosf-inputs: New file.
6765 * benchtests/cosf-inputs: New file.
6766 * benchtests/sinf-inputs: New file.
6768 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6770 * posix/tst-spawn.c (do_test): Wait for both children.
6772 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
6775 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
6776 tests-pie): Add tst-gmon-pie.
6777 (CFLAGS-tst-gmon-pie.c): New.
6778 (CRT-tst-gmon-pie): Likewise.
6779 (tst-gmon-pie-ENV): Likewise.
6780 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
6781 ($(objpfx)tst-gmon-pie.out): Likewise.
6782 (clean-tst-gmon-pie-data): Likewise.
6783 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
6784 * gmon/gmon.c [PIC]: Include <link.h>.
6785 [PIC] (callback): New function.
6786 (write_hist): Add an argument for load address. Subtract load
6788 (write_call_graph): Likewise.
6789 (write_gmon): Call __dl_iterate_phdr to get load address, pass
6790 it to write_hist and write_call_graph.
6791 * gmon/tst-gmon-pie.c: New file.
6793 2017-10-11 Joseph Myers <joseph@codesourcery.com>
6795 * math/Makefile (test-types-basic): New variable.
6796 (test-types): Likewise.
6797 (libm-test-support): Use $(test-types) instead of $(types).
6798 (libm-tests-base-normal): Likewise.
6799 (libm-tests-base-finite): Likewise.
6800 (libm-tests-base-inline): Likewise.
6801 (generated): Likewise.
6802 ($(objpfx)libm-test-support-$(t).c): Likewise.
6803 (libm-tests-for-type iterator): Likewise.
6804 (libm-test-support iterator): Likewise.
6805 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
6806 (ulp_idx): Use ULP_IDX.
6807 * math/test-ldouble.h: Include <float.h>.
6808 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
6809 (ULP_IDX): New macro.
6810 (ULP_I_IDX): Likewise.
6811 * math/test-double.h (ULP_IDX): Likewise.
6812 (ULP_I_IDX): Likewise.
6813 * math/test-float.h (ULP_IDX): Likewise.
6814 (ULP_I_IDX): Likewise.
6815 * math/test-float128.h (ULP_IDX): Likewise.
6816 (ULP_I_IDX): Likewise.
6818 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6820 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
6821 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6822 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6823 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
6824 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6825 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
6826 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
6827 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6828 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6829 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6830 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
6831 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6832 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6833 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6834 (SINGLE_THREAD_BY_GLOBAL): Define.
6835 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
6837 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
6839 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
6841 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
6843 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
6844 (SINGLE_THREAD_BY_GLOBAL): Likewise.
6845 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
6848 2017-10-11 Andreas Schwab <schwab@suse.de>
6850 * nis/Makefile (aux): Remove.
6851 * nscd/Makefile (aux): Add nscd_hash.
6852 (nscd-modules): Likewise.
6853 ($(objpfx)nscd): Don't depend on libnsl.
6854 * nscd/nscd_hash.c: New file.
6855 * nscd/nscd_hash.h: Likewise.
6856 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
6857 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
6858 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
6859 instead of <nis/rpcsvc/nis.h>.
6860 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
6862 2017-10-11 Florian Weimer <fweimer@redhat.com>
6865 Avoid large NSS buffers with many addresses, aliases.
6866 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
6867 using dynarrays and struct alloc_buffer.
6868 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
6869 (tst-nss-files-hosts-multi): Link with -ldl.
6870 * nss/tst-nss-files-hosts-multi.c: New file.
6872 2017-10-11 Florian Weimer <fweimer@redhat.com>
6875 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
6876 scratch_buffer. Eliminate gotos.
6878 2017-10-11 Joseph Myers <joseph@codesourcery.com>
6880 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
6881 libm_alias_ldouble_other.
6882 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
6883 undefine and redefine.
6884 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
6885 (exp10l): Do not define here.
6886 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
6887 (weak_alias): Undefine and redefine.
6888 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
6889 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
6890 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
6891 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
6893 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
6894 [!__fma] (fma): Define using libm_alias_double.
6895 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
6896 [!__fmaf] (fmaf): Define using libm_alias_float.
6897 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
6898 (fmal): Define using libm_alias_ldouble.
6900 2017-10-10 Joseph Myers <joseph@codesourcery.com>
6902 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
6904 (libm_alias_double_other): Likewise.
6905 (libm_alias_double_r): Use libm_alias_double_other_r.
6906 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
6908 (libm_alias_float_other): Likewise.
6909 (libm_alias_float_r): Use libm_alias_float_other_r.
6910 * sysdeps/generic/libm-alias-float128.h
6911 (libm_alias_float128_other_r): New macro.
6912 (libm_alias_float128_other): Likewise.
6913 (libm_alias_float128_r): Use libm_alias_float128_other_r.
6914 * sysdeps/generic/libm-alias-ldouble.h
6915 (libm_alias_ldouble_other_r): New macro.
6916 (libm_alias_ldouble_other): Likewise.
6917 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
6918 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
6919 (libm_alias_double_other_r): New macro.
6920 (libm_alias_double_other): Likewise.
6921 (libm_alias_double_r): Use libm_alias_double_other_r.
6922 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
6923 (libm_alias_ldouble_other_r): New macro.
6924 (libm_alias_ldouble_other): Likewise.
6925 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
6926 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
6927 [!USE_AS_COMPAT]: Use libm_alias_double_other.
6928 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
6929 [!USE_AS_COMPAT]: Use libm_alias_float_other.
6930 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
6931 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
6932 * math/w_exp2f.c: Use libm_alias_float_other.
6933 * math/w_expf.c: Likewise.
6934 * math/w_log2f.c: Likewise.
6935 * math/w_logf.c: Likewise.
6936 * math/w_powf.c: Likewise.
6937 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
6938 [!__exp2f]: Use libm_alias_float_other.
6939 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
6940 [!__expf]: Use libm_alias_float_other.
6941 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
6942 [!__log2f]: Use libm_alias_float_other.
6943 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
6944 [!__logf]: Use libm_alias_float_other.
6945 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
6946 [!__powf]: Use libm_alias_float_other.
6948 2017-10-10 Florian Weimer <fweimer@redhat.com>
6950 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
6952 (_nss_files_gethostbyname3_r): Call it.
6954 2017-10-09 Joseph Myers <joseph@codesourcery.com>
6956 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
6957 error. Remove default definition of declare_mgen_alias.
6958 [!declare_mgen_alias_r]: Likewise.
6959 * sysdeps/generic/math-type-macros-double.h
6960 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
6961 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
6962 (declare_mgen_alias_r): Likewise.
6963 * sysdeps/generic/math-type-macros-float128.h
6964 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
6965 * sysdeps/generic/math-type-macros-ldouble.h
6966 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
6967 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
6969 (declare_mgen_alias_r_s): Likewise.
6970 (declare_mgen_alias_r): Likewise.
6971 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
6972 (lgamma_r): Define using libm_alias_double_r.
6973 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
6974 (lgammaf_r): Define using libm_alias_float_r.
6975 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
6976 (lgammal_r): Define using libm_alias_ldouble_r.
6977 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
6978 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
6980 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6982 * lib/glob.c (__glob_pattern_type): Remove now-spurious
6985 2017-10-09 Joseph Myers <joseph@codesourcery.com>
6987 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
6989 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
6992 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
6993 [__cplusplus >= 201103] (__USE_ISOC99): Define.
6994 * math/Makefile (test-math-cxx11): New test.
6995 * math/test-math-cxx11.cc: New file.
6997 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
6999 * login/openpty.c (openpty): Close slave pty file descriptor on error.
7001 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
7002 call to allocate the slave pty file descriptor.
7004 2017-10-06 Joseph Myers <joseph@codesourcery.com>
7006 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
7007 [!__fma] (fma): Define using libm_alias_double.
7008 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
7009 [!__fma] (fma): Define using libm_alias_double.
7011 * sysdeps/ieee754/float128/float128_private.h: Include
7012 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
7013 (libm_alias_ldouble_r): Undefine and redefine.
7014 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
7015 <libm-alias-ldouble.h>.
7016 (asinhl): Define using libm_alias_ldouble.
7017 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
7018 <libm-alias-ldouble.h>.
7019 (atanl): Define using libm_alias_ldouble.
7020 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
7021 <libm-alias-ldouble.h>.
7022 (cbrtl): Define using libm_alias_ldouble.
7023 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
7024 <libm-alias-ldouble.h>.
7025 (ceill): Define using libm_alias_ldouble.
7026 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
7027 <libm-alias-ldouble.h>.
7028 (copysignl): Define using libm_alias_ldouble.
7029 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
7030 <libm-alias-ldouble.h>.
7031 (cosl): Define using libm_alias_ldouble.
7032 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
7033 <libm-alias-ldouble.h>.
7034 (erfl): Define using libm_alias_ldouble.
7036 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
7037 <libm-alias-ldouble.h>.
7038 (expm1l): Define using libm_alias_ldouble.
7039 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
7040 <libm-alias-ldouble.h>.
7041 (fabsl): Define using libm_alias_ldouble.
7042 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
7043 <libm-alias-ldouble.h>.
7044 (floorl): Define using libm_alias_ldouble.
7045 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
7046 <libm-alias-ldouble.h>.
7047 (fmal): Define using libm_alias_ldouble.
7048 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
7049 <libm-alias-ldouble.h>.
7050 (frexpl): Define using libm_alias_ldouble.
7051 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
7053 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
7054 <libm-alias-ldouble.h>.
7055 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
7057 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
7058 <libm-alias-ldouble.h>.
7059 (getpayloadl): Define using libm_alias_ldouble.
7060 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
7061 <libm-alias-ldouble.h>.
7062 (llrintl): Define using libm_alias_ldouble.
7063 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
7064 <libm-alias-ldouble.h>.
7065 (llroundl): Define using libm_alias_ldouble.
7066 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
7067 <libm-alias-ldouble.h>.
7068 (logbl): Define using libm_alias_ldouble.
7069 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
7070 <libm-alias-ldouble.h>.
7071 (lrintl): Define using libm_alias_ldouble.
7072 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
7073 <libm-alias-ldouble.h>.
7074 (lroundl): Define using libm_alias_ldouble.
7075 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
7076 <libm-alias-ldouble.h>.
7077 (modfl): Define using libm_alias_ldouble.
7078 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
7079 <libm-alias-ldouble.h>.
7080 (nearbyintl): Define using libm_alias_ldouble.
7081 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
7082 <libm-alias-ldouble.h>.
7083 (nextafterl): Define using libm_alias_ldouble.
7084 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
7085 <libm-alias-ldouble.h>.
7086 (nextupl): Define using libm_alias_ldouble.
7087 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
7088 <libm-alias-ldouble.h>.
7089 (remquol): Define using libm_alias_ldouble.
7090 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
7091 <libm-alias-ldouble.h>.
7092 (rintl): Define using libm_alias_ldouble.
7093 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
7094 <libm-alias-ldouble.h>.
7095 (roundevenl): Define using libm_alias_ldouble.
7096 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
7097 <libm-alias-ldouble.h>.
7098 (roundl): Define using libm_alias_ldouble.
7099 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
7100 using libm_alias_ldouble.
7101 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
7102 <libm-alias-ldouble.h>.
7103 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
7104 Define using libm_alias_ldouble.
7105 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
7106 <libm-alias-ldouble.h>.
7107 (sincosl): Define using libm_alias_ldouble.
7108 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
7109 <libm-alias-ldouble.h>.
7110 (sinl): Define using libm_alias_ldouble.
7111 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
7112 <libm-alias-ldouble.h>.
7113 (tanhl): Define using libm_alias_ldouble.
7114 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
7115 <libm-alias-ldouble.h>.
7116 (tanl): Define using libm_alias_ldouble.
7117 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
7118 <libm-alias-ldouble.h>.
7119 (totalorderl): Define using libm_alias_ldouble.
7120 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
7121 <libm-alias-ldouble.h>.
7122 (totalordermagl): Define using libm_alias_ldouble.
7123 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
7124 <libm-alias-ldouble.h>.
7125 (truncl): Define using libm_alias_ldouble.
7126 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
7128 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
7130 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
7131 <libm-alias-ldouble.h>.
7132 (weak_alias): Do not undefine and redefine.
7133 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
7134 (copysignl): Define with long_double_symbol only if [IS_IN
7136 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
7137 <libm-alias-ldouble.h>.
7138 (weak_alias): Do not undefine and redefine.
7139 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
7140 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
7141 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
7142 <libm-alias-ldouble.h>.
7143 (weak_alias): Do not undefine and redefine.
7144 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
7145 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
7146 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
7147 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
7148 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
7149 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
7150 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
7151 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
7152 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
7153 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
7154 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
7155 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
7156 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
7157 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
7158 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
7159 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
7160 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
7161 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
7162 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
7163 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
7164 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
7165 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
7166 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
7167 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
7168 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
7169 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
7171 2017-10-06 Carlos O'Donell <carlos@redhat.com>
7174 * malloc/malloc.c (tcache_shutting_down): Use bool type.
7175 (tcache_thread_freeres): Set tcache_shutting_down before
7177 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
7178 * malloc/tst-malloc-tcache-leak.c: New file.
7180 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7182 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
7183 back to powerpc32 file.
7184 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
7185 (memrchr): Add __memrchr_power8 to ifunc list.
7186 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
7187 extra bytes for unaligned inputs.
7189 2017-10-06 Joseph Myers <joseph@codesourcery.com>
7191 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
7192 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
7193 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
7194 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
7195 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
7197 2017-10-05 Joseph Myers <joseph@codesourcery.com>
7199 * sysdeps/arm/libm-test-ulps: Update.
7201 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
7202 <libm-alias-ldouble.h>.
7203 (asinhl): Define using libm_alias_ldouble.
7204 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
7205 <libm-alias-ldouble.h>.
7206 (cbrtl): Define using libm_alias_ldouble.
7207 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
7208 <libm-alias-ldouble.h>.
7209 (copysignl): Define using libm_alias_ldouble.
7210 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
7211 <libm-alias-ldouble.h>.
7212 (cosl): Define using libm_alias_ldouble.
7213 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
7214 <libm-alias-ldouble.h>.
7215 (erfl): Define using libm_alias_ldouble.
7217 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
7218 <libm-alias-ldouble.h>.
7219 (fmal): Define using libm_alias_ldouble.
7220 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
7221 <libm-alias-ldouble.h>.
7222 (frexpl): Define using libm_alias_ldouble.
7223 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
7225 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
7226 <libm-alias-ldouble.h>.
7227 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
7229 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
7230 <libm-alias-ldouble.h>.
7231 (getpayloadl): Define using libm_alias_ldouble.
7232 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
7233 <libm-alias-ldouble.h>.
7234 (llrintl): Define using libm_alias_ldouble.
7235 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
7236 <libm-alias-ldouble.h>.
7237 (llroundl): Define using libm_alias_ldouble.
7238 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
7239 <libm-alias-ldouble.h>.
7240 (lrintl): Define using libm_alias_ldouble.
7241 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
7242 <libm-alias-ldouble.h>.
7243 (lroundl): Define using libm_alias_ldouble.
7244 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
7245 <libm-alias-ldouble.h>.
7246 (modfl): Define using libm_alias_ldouble.
7247 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
7248 <libm-alias-ldouble.h>.
7249 (nextupl): Define using libm_alias_ldouble.
7250 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
7251 <libm-alias-ldouble.h>.
7252 (remquol): Define using libm_alias_ldouble.
7253 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
7254 <libm-alias-ldouble.h>.
7255 (roundevenl): Define using libm_alias_ldouble.
7256 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
7257 <libm-alias-ldouble.h>.
7258 (roundl): Define using libm_alias_ldouble.
7259 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
7260 using libm_alias_ldouble.
7261 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
7262 <libm-alias-ldouble.h>.
7263 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
7264 <libm-alias-ldouble.h>.
7265 (setpayloadsigl): Define using libm_alias_ldouble.
7266 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
7267 <libm-alias-ldouble.h>.
7268 (sincosl): Define using libm_alias_ldouble.
7269 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
7270 <libm-alias-ldouble.h>.
7271 (sinl): Define using libm_alias_ldouble.
7272 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
7273 <libm-alias-ldouble.h>.
7274 (tanhl): Define using libm_alias_ldouble.
7275 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
7276 <libm-alias-ldouble.h>.
7277 (tanl): Define using libm_alias_ldouble.
7278 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
7279 <libm-alias-ldouble.h>.
7280 (totalorderl): Define using libm_alias_ldouble.
7281 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
7282 <libm-alias-ldouble.h>.
7283 (totalordermagl): Define using libm_alias_ldouble.
7284 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
7286 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
7289 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
7291 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7293 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7294 (__libc_ifunc_impl_list): Likewise.
7295 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
7296 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
7298 * benchtests/bench-memmove-walk.c: New file.
7299 * benchtests/Makefile (string-benchset): Add it.
7301 * benchtests/bench-memset-walk.c: New file.
7302 * benchtests/Makefile (string-benchset): Add it.
7304 * benchtests/bench-memcpy-walk.c: New file.
7305 * benchtests/Makefile (string-benchset): Add it.
7307 2017-10-05 Florian Weimer <fweimer@redhat.com>
7309 nscd: Eliminate compilation time dependency in the build output.
7310 * nscd/nscd_stat.c (STATDATA_VERSION)
7311 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
7312 (STATDATA_VERSION_FULL): New macro definitions.
7313 (compilation): Remove.
7314 (struct statdata): Adjust version member.
7315 (send_stats): Set version from STATDATA_VERSION_FULL.
7316 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
7318 2017-10-05 Joseph Myers <joseph@codesourcery.com>
7320 * configure.ac (--enable-add-ons): Remove option.
7321 (machine): Do not mention add-ons in comment.
7322 (LIBC_PRECONFIGURE): Likewise.
7323 (add_ons): Remove variable and sanity checks and logic to locate
7325 (add_ons_automatic): Remove variable.
7326 (configured_add_ons): Likewise.
7327 (add_ons_sfx): Likewise.
7328 (add_ons_pfx): Likewise.
7329 (add_on_subdirs): Likewise.
7330 (sysnames_add_ons): Likewise. Remove loop over add-ons and
7331 consideration of add-ons in Implies handling.
7332 (sysdeps_add_ons): Likewise.
7333 * configure: Regenerated.
7334 * libidn/configure.ac: Remove.
7335 * libidn/configure: Likewise.
7336 * sysdeps/unix/inet/configure.ac: New file.
7337 * sysdeps/unix/inet/configure: New generated file.
7338 * sysdeps/unix/inet/Subdirs: Add libidn.
7339 * Makeconfig (sysdeps-srcdirs): Remove variable.
7340 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
7341 ($(common-objpfx)config.status): Do not depend on add-on files.
7342 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
7344 (all-subdirs): Do not include $(add-on-subdirs).
7345 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
7346 * config.make.in (add-ons): Remove variable.
7347 (add-on-subdirs): Likewise.
7348 (sysdeps-add-ons): Likewise.
7349 * manual/Makefile (add-chapters): Remove.
7350 ($(objpfx)texis): Do not depend on $(add-chapters).
7351 (nonexamples): Do not handle $(add-chapters).
7352 (examples): Do not handle $(add-ons).
7353 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
7355 * manual/install.texi (Installation): Do not mention add-ons.
7356 (--enable-add-ons): Do not document configure option.
7357 * INSTALL: Regenerated.
7358 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
7359 * manual/maint.texi (Hierarchy Conventions): Do not mention
7361 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
7363 * scripts/gen-sorted.awk: Do not handle Subdirs files from
7365 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
7366 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
7368 2017-10-05 Andreas Schwab <schwab@suse.de>
7371 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
7372 (_IO_flush_all_lockp): Always lock list_all_lock.
7373 (_IO_flush_all_linebuffered): Likewise.
7374 (_IO_unbuffer_all): Likewise.
7376 2017-10-05 Florian Weimer <fweimer@redhat.com>
7379 Do not flush stdio streams on abort.
7380 * stdlib/abort.c (fflush): Remove macro definition.
7381 (abort): Remove stages related to stdio flushing.
7383 2017-10-05 Florian Weimer <fweimer@redhat.com>
7385 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
7387 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
7389 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7391 2017-10-05 Florian Weimer <fweimer@redhat.com>
7393 * support/support_format_hostent.c (support_format_hostent): Add
7394 more error information for NETDB_INTERNAL.
7396 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
7398 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
7399 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
7400 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
7401 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
7402 AC_DEFINE if multi-arch is enabled.
7403 * sysdeps/i386/configure: Regenerated.
7405 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
7407 * Makeconfig (+link-static-before-libc): Use
7408 $(DEFAULT-LDFLAGS-$(@F)).
7409 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
7410 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
7411 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
7413 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
7415 * elf/Makefile (tests): Add tst-main1.
7416 (modules-names): Add tst-main1mod.
7417 ($(objpfx)tst-main1): New.
7418 (CRT-tst-main1): Likewise.
7419 (LDFLAGS-tst-main1): Likewise.
7420 (LDLIBS-tst-main1): Likewise.
7421 (tst-main1mod.so-no-z-defs): Likewise.
7422 * elf/tst-main1.c: New file.
7423 * elf/tst-main1mod.c: Likewise.
7425 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
7427 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
7429 2017-10-04 Joseph Myers <joseph@codesourcery.com>
7431 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
7432 (fma): Define using libm_alias_double.
7433 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
7434 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
7436 (fmal): Do not define as compat symbol here.
7437 * sysdeps/alpha/fpu/s_fma.c: New file.
7439 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7441 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
7443 2017-10-04 Joseph Myers <joseph@codesourcery.com>
7446 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
7448 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
7450 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
7451 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
7452 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
7453 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
7454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7455 Include <math_ldbl_opt.h>
7456 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
7458 (compat_symbol): Undefine and redefine.
7459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
7461 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
7462 (compat_symbol): Undefine and redefine.
7463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
7464 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
7465 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
7467 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
7468 GLIBC_2.0 copysignl symbol.
7469 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
7470 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
7472 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
7474 2017-10-04 Florian Weimer <fweimer@redhat.com>
7476 * scripts/check-local-headers.sh: Ignore nspr4 header file
7477 directory in addition to nspr.
7479 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
7482 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
7483 * configure: Regenerate.
7484 * crypt/Makefile (nss-cpp-flags): New variable.
7485 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
7486 (CPPFLAGS-md5-crypt.c): Use it.
7487 * scripts/check-local-headers.sh: Ignore nspr header file
7490 2017-10-04 Andreas Schwab <schwab@suse.de>
7492 * nis/Makefile (services): Remove compat.
7493 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
7494 ($(objpfx)libnss_compat.so): Remove rule.
7495 * nis/Versions (libnss_compat): Remove.
7496 * nss/Makefile (services): Add compat.
7497 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
7498 * nss/Versions (libnss_compat): Define.
7499 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
7500 Don't include <rpc/types.h>. Replace bool_t by bool.
7501 * nss/nss_compat/compat-initgroups.c: Likewise.
7502 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
7503 instead of <rpcsrv/ypclnt.h>.
7504 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
7505 yp_get_default_domain.
7506 * nss/nss_compat/compat-pwd.c: Likewise.
7507 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
7508 yp_get_default_domain.
7509 * nss/nss_compat/nisdomain.c: New file.
7510 * nss/nss_compat/nisdomain.h: Likewise.
7512 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7515 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
7516 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7518 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7521 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
7522 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
7524 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
7526 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
7527 "movl main@GOTOFF(%ebx), %eax".
7529 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
7531 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
7532 allow undefined _DYNAMIC in PIE libc.a.
7533 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
7536 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
7538 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
7541 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
7543 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
7546 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
7548 * math/test-math-iscanonical.cc (error): Replace bool with int.
7550 2017-10-03 Joseph Myers <joseph@codesourcery.com>
7552 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
7553 (modf): Define using libm_alias_double, only if [!__modf].
7554 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
7555 <libm-alias-double.h>.
7556 (modf): Define using libm_alias_double, only if [!__modf].
7557 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
7559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
7560 (weak_alias): Do not undefine and redefine.
7561 (strong_alias): Likewise.
7562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
7563 (weak_alias): Likewise.
7564 (strong_alias): Likewise.
7566 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
7567 (logb): Define using libm_alias_double, only if [!__logb].
7568 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
7569 <libm-alias-double.h>.
7570 (logb): Define using libm_alias_double, only if [!__logb].
7571 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
7572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
7573 (weak_alias): Do not undefine and redefine.
7574 (strong_alias): Likewise.
7575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
7576 (weak_alias): Likewise.
7577 (strong_alias): Likewise.
7579 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
7581 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
7582 Check SHARED instead PIC.
7584 2017-10-03 Joseph Myers <joseph@codesourcery.com>
7586 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
7587 [!__fmaf] (fmaf): Define using libm_alias_float.
7589 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
7590 (frexp): Define using libm_alias_double.
7591 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
7592 <libm-alias-double.h>.
7593 (frexp): Define using libm_alias_double.
7594 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
7597 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7600 * math/math.h: Trivial fix for unbalanced parentheses in comment.
7601 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
7602 (CFLAGS-test-math-iscanonical.cc): New variable.
7603 * math/test-math-iscanonical.cc: New file.
7604 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
7605 Provide a C++ implementation based on function overloading,
7606 rather than using __MATH_TG, which uses C-only builtins.
7607 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
7609 * sysdeps/powerpc/powerpc64le/Makefile
7610 (CFLAGS-test-math-iscanonical.cc): New variable.
7612 2017-10-03 Joseph Myers <joseph@codesourcery.com>
7614 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
7615 (ceil): Define using libm_alias_double.
7616 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
7617 (floor): Define using libm_alias_double.
7618 * sysdeps/ieee754/dbl-64/s_llround.c: Include
7619 <libm-alias-double.h>.
7620 (llround): Define using libm_alias_double.
7621 * sysdeps/ieee754/dbl-64/s_lround.c: Include
7622 <libm-alias-double.h>.
7623 (lround): Define using libm_alias_double.
7624 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
7625 <libm-alias-double.h>.
7626 (nearbyint): Define using libm_alias_double.
7627 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
7628 <libm-alias-double.h>.
7629 (remquo): Define using libm_alias_double.
7630 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
7631 (rint): Define using libm_alias_double.
7632 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
7633 (round): Define using libm_alias_double.
7634 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
7635 (trunc): Define using libm_alias_double.
7636 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
7637 <libm-alias-double.h>.
7638 (ceil): Define using libm_alias_double.
7639 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
7640 <libm-alias-double.h>.
7641 (floor): Define using libm_alias_double.
7642 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
7643 <libm-alias-double.h>.
7644 (llround): Define using libm_alias_double.
7645 [_LP64] (lround): Likewise.
7646 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
7647 <libm-alias-double.h>.
7648 [!_LP64] (lround): Define using libm_alias_double.
7649 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
7650 <libm-alias-double.h>.
7651 (nearbyint): Define using libm_alias_double.
7652 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
7653 <libm-alias-double.h>.
7654 (remquo): Define using libm_alias_double.
7655 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
7656 <libm-alias-double.h>.
7657 (rint): Define using libm_alias_double.
7658 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
7659 <libm-alias-double.h>.
7660 (round): Define using libm_alias_double.
7661 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
7662 <libm-alias-double.h>.
7663 (trunc): Define using libm_alias_double.
7664 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
7665 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
7666 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
7667 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
7668 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
7669 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
7670 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
7671 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
7672 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
7674 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
7676 * math/w_remainder.c: New file.
7677 * math/w_remainderf.c: New file.
7678 * math/w_remainderl.c: New file.
7680 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
7682 * elf/rtld.c (BOOTSTRAP_MAP): New.
7683 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
7684 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
7686 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
7688 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
7691 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7693 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
7694 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
7695 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
7696 rtld_hidden_data_ver): Define to empty.
7697 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
7698 __assert_perror_fail): Likewise.
7699 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
7700 (__rewinddir): Likewise.
7701 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
7702 (__profile_frequency): Likewise.
7703 * include/setjmp.h (__sigsetjmp): Likewise.
7704 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
7705 __libc_sigaction): Likewise.
7706 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
7707 not set hidden attribute.
7708 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
7709 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
7710 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
7711 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
7712 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
7713 __fxstatat64): Likewise.
7714 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
7715 (__uname): Likewise.
7716 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
7717 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
7718 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
7719 (NO_RTLD_HIDDEN): Set.
7720 * sysdeps/mach/hurd/configure: Refresh.
7721 * config.h.in: Refresh.
7723 2017-10-02 Joseph Myers <joseph@codesourcery.com>
7725 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
7726 (atan): Define using libm_alias_double.
7727 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
7728 (tan): Define using libm_alias_double.
7729 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
7730 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
7732 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
7733 define as weak alias of __atan. Do not define any aliases if
7735 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
7736 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
7737 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
7738 as weak alias of __tan. Do not define any aliases if [__tan].
7739 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
7740 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
7741 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
7743 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
7744 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
7745 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
7746 and define as weak alias of __atan.
7747 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
7749 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
7750 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
7751 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
7752 define as weak alias of __tan.
7754 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
7756 * math/w_lgamma.c: New file.
7757 * math/w_lgammaf.c: New file.
7758 * math/w_lgammal.c: New file.
7760 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
7762 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
7763 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
7764 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
7765 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
7766 * sysdeps/ieee754/flt-32/w_logf.c: New file.
7767 * sysdeps/ieee754/flt-32/w_powf.c: New file.
7768 * sysdeps/i386/fpu/w_log2f.c: New file.
7769 * sysdeps/i386/fpu/w_logf.c: New file.
7770 * sysdeps/i386/fpu/w_powf.c: New file.
7771 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
7772 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
7773 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
7775 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
7776 H.J. Lu <hongjiu.lu@intel.com>
7778 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
7779 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
7780 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
7781 * sysdeps/ieee754/flt-32/w_expf.c: New file.
7782 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
7784 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
7785 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
7786 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
7787 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
7788 * sysdeps/i386/fpu/w_exp2f.c: New file.
7789 * sysdeps/i386/fpu/w_expf.c: New file.
7790 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
7791 * sysdeps/x86_64/fpu/w_expf.c: New file.
7793 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
7795 * math/Versions (logf): New libm symbol at GLIBC_2.27.
7798 * math/w_log2f.c: New file.
7799 * math/w_logf.c: New file.
7800 * math/w_powf.c: New file.
7801 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
7802 * math/w_logf_compat.c (__logf_compat): Likewise.
7803 * math/w_powf_compat.c (__powf_compat): Likewise.
7804 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
7805 * sysdeps/ia64/fpu/e_logf.S: Likewise.
7806 * sysdeps/ia64/fpu/e_powf.S: Likewise.
7807 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7808 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7809 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7810 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7811 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7812 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7813 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7814 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7815 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7816 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7817 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7818 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7827 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7828 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7829 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7830 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7831 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7836 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7837 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7838 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7840 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7842 * sysdeps/powerpc/powerpc64/multiarch/Makefile
7843 (sysdep_routines): Add memrchr_power8.
7844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7845 (memrchr): Add __memrchr_power8 to list of memrchr functions.
7846 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
7848 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
7849 (memrchr): Add __memrchr_power8 to ifunc list.
7850 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
7852 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7855 * sysdeps/unix/sysv/linux/posix_fadvise64.c
7856 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
7858 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7859 (__posix_fallocate64_l64): Likewise.
7861 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7864 * sysdeps/unix/sysv/linux/sched_setaffinity.c
7865 (__sched_setaffinity_new): Add libc_hidden_proto and
7868 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7871 * include/glob.h (__glob64): Add libc_hidden_proto.
7872 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
7875 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7878 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
7881 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7884 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
7886 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7889 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
7892 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7895 * csu/version.c (__libc_print_version): Add attribute_hidden.
7897 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7900 * include/libc-internal.h (__init_misc): Add attribute_hidden.
7902 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7905 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
7907 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7910 * nscd/nscd_helper.c (__nis_hash): New prototype.
7912 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7915 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
7916 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
7918 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7919 * termios/tcgetattr.c (__tcgetattr): Likewise.
7921 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7924 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
7925 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
7926 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
7927 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
7928 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
7930 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7933 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
7935 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7938 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
7939 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
7941 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7944 * intl/hash-string.h (__hash_string): Add attribute_hidden.
7946 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7949 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
7950 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
7952 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7955 * include/ifreq.h: New file.
7956 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
7957 (__ifreq): Likewise.
7958 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
7959 (__ifreq): Likewise.
7961 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7964 * include/idna.h: New file.
7965 * inet/getnameinfo.c: Include <idna.h> instead of
7967 (__idna_to_unicode_lzlz): Removed.
7968 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
7970 (__idna_to_ascii_lz): Removed.
7971 (__idna_to_unicode_lzlz): Likewise.
7973 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7976 * include/plural-exp.h: New file.
7977 * intl/plural-exp.c: Include <plural-exp.h> instead of
7980 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7983 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
7984 "getsourcefilter.h".
7985 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
7986 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
7987 "getsourcefilter.h".
7988 (__get_sol): Removed.
7990 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7993 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
7995 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
7997 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8000 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
8003 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8006 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
8008 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8011 * include/search.h (__tdestroy): Add libc_hidden_proto.
8012 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
8014 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8017 * include/assert.h (__assert_fail_base): Add attribute_hidden.
8019 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8022 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
8025 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8028 * include/signal.h (__kill): Add libc_hidden_proto.
8029 (__sigblock): Likewise.
8030 (__sigprocmask): Likewise.
8031 (__sigaltstack): Likewise.
8032 * signal/kill.c (__kill): Add libc_hidden_def.
8033 * signal/sigblock.c (__sigblock): Likewise.
8034 * signal/sigprocmask.c (__sigprocmask): Likewise.
8035 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
8036 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
8037 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
8038 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
8039 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
8041 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
8043 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
8044 (__sigprocmask): Likewise.
8045 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
8047 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
8048 (__sigprocmask): Likewise.
8049 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
8052 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8055 * include/string.h (__strsep): Add libc_hidden_proto.
8056 * string/strsep.c (__strsep): Add libc_hidden_def.
8058 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8061 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
8063 (__spawni): Likewise.
8065 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8068 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
8069 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
8072 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8075 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
8077 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8080 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
8081 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
8082 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
8083 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
8084 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
8086 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
8087 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
8089 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8092 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
8093 (__dcigettext): Likewise.
8095 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8098 * include/sys/sysinfo.h (__get_nprocs_conf): Add
8100 (__get_nprocs): Likewise.
8101 (__get_phys_pages): Likewise.
8102 (__get_avphys_pages): Likewise.
8103 (__get_child_max): Add attribute_hidden.
8104 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
8105 (__get_nprocs): Likewise.
8106 (__get_phys_pages): Likewise.
8107 (__get_avphys_pages): Likewise.
8108 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
8110 (__get_nprocs): Likewise.
8111 (__get_phys_pages): Likewise.
8112 (__get_avphys_pages): Likewise.
8113 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
8115 (__get_nprocs_conf): Likewise.
8116 (__get_phys_pages): Likewise.
8117 (__get_avphys_pages): Likewise.
8119 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8122 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
8124 (__netlink_close): Likewise.
8125 (__netlink_free_handle): Likewise.
8126 (__netlink_request): Likewise.
8128 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8131 * include/rpc/rpc.h (__rpc_thread_variables): Add
8133 (__rpc_thread_svc_cleanup): Likewise.
8134 (__rpc_thread_clnt_cleanup): Likewise.
8135 (__rpc_thread_key_cleanup): Likewise.
8137 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8140 * include/sys/uio.h (__readv): Add libc_hidden_proto.
8141 (__writev): Likewise.
8142 * misc/readv.c (__readv): Add libc_hidden_def.
8143 * misc/writev.c (__writev): Likewise.
8144 * sysdeps/posix/readv.c (__readv): Likewise.
8145 * sysdeps/posix/writev.c (__writev): Likewise.
8146 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
8147 (__readv): Likewise.
8148 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
8149 (__writev): Likewise.
8151 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8154 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
8155 (__regcomp): Add libc_hidden_proto.
8156 (__regexec): Likewise.
8157 (__regfree): Likewise.
8158 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
8159 (__regfree): Likewise.
8160 * posix/regexec.c (__regexec): Likewise.
8162 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8165 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
8166 (__getutent): Likewise.
8167 (__getutid): Likewise.
8168 (__getutline): Likewise.
8169 (__pututline): Likewise.
8170 (__getutent_r): Likewise.
8171 (__getutid_r): Likewise.
8172 (__getutline_r): Likewise.
8173 (__utmpname): Add attribute_hidden.
8174 (__setutent): Likewise.
8175 (__endutent): Likewise.
8176 * login/getutent.c (__getutent): Add libc_hidden_def.
8177 * login/getutent_r.c (__getutent_r): Likewise.
8178 (__pututline): Likewise.
8179 * login/getutid.c (__getutid): Likewise.
8180 * login/getutid_r.c (__getutid_r): Likewise.
8181 * login/getutline.c (__getutline): Likewise.
8182 * login/getutline_r.c (__getutline_r): Likewise.
8183 * login/updwtmp.c (__updwtmp): Likewise.
8185 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8188 * include/dirent.h (__opendir): Always add attribute_hidden.
8189 (__fdopendir): Likewise.
8190 (__closedir): Likewise.
8191 (__readdir): Likewise.
8192 (__readdir64): Add libc_hidden_proto.
8193 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
8194 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
8195 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
8196 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
8199 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8202 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
8203 * include/netdb.h (__gethostbyaddr_r): Likewise.
8204 (__gethostbyname_r): Likewise.
8205 (__gethostbyname2_r): Likewise.
8206 (__getnetbyaddr_r): Likewise.
8207 (__getnetbyname_r): Likewise.
8208 (__getservbyname_r): Likewise.
8209 (__getservbyport_r): Likewise.
8210 (__getprotobyname_r): Likewise.
8211 (__getprotobynumber_r): Likewise.
8212 (__getnetgrent_r): Likewise.
8213 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
8214 (__getrpcbynumber_r): Likewise.
8215 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
8217 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8220 * include/stdio.h (__fcloseall): Add attribute_hidden.
8221 (__getline): Likewise.
8222 (__path_search): Likewise.
8223 (__gen_tempname): Likewise.
8224 (__libc_message): Likewise.
8225 (__flockfile): Likewise.
8226 (__funlockfile): Likewise.
8227 (__fxprintf): Likewise.
8228 (__fxprintf_nocancel): Likewise.
8230 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8233 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
8234 (__sgetsgent_r): Likewise.
8236 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8239 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
8240 (__statfs64): Likewise.
8241 (__fstatfs64): Likewise.
8242 * include/sys/statvfs.h (__statvfs64): Likewise.
8243 (__fstatvfs64): Likewise.
8244 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
8245 (__statfs_filesize_max): Likewise.
8246 (__statfs_symlinks): Likewise.
8247 (__statfs_chown_restricted): Likewise.
8249 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8252 * include/time.h (__tzstring): Add attribute_hidden.
8253 (__tzfile_read): Likewise.
8254 (__tzfile_compute): Likewise.
8255 (__tzfile_default): Likewise.
8256 (__tzset_parse_tz): Likewise.
8257 (__offtime): Likewise.
8258 (__asctime_r): Likewise.
8259 (__tzset): Likewise.
8260 (__tz_convert): Likewise.
8261 (__getdate_r): Likewise.
8262 (__getclktck): Likewise.
8264 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8267 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
8268 (__nscd_unmap): Likewise.
8269 (__nscd_cache_search): Likewise.
8270 (__nscd_get_nl_timestamp): Likewise.
8271 (__nscd_getpwnam_r): Likewise.
8272 (__nscd_getpwuid_r): Likewise.
8273 (__nscd_getgrnam_r): Likewise.
8274 (__nscd_getgrgid_r): Likewise.
8275 (__nscd_gethostbyname_r): Likewise.
8276 (__nscd_gethostbyname2_r): Likewise.
8277 (__nscd_gethostbyaddr_r): Likewise.
8278 (__nscd_getai): Likewise.
8279 (__nscd_getgrouplist): Likewise.
8280 (__nscd_getservbyname_r): Likewise.
8281 (__nscd_getservbyport_r): Likewise.
8282 (__nscd_innetgr): Likewise.
8283 (__nscd_setnetgrent): Likewise.
8285 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8288 * include/gmp.h: Declare internal functions only if _ISOMAC is
8290 (__mpn_extract_double): Add attribute_hidden.
8291 (__mpn_extract_long_double): Likewise.
8292 (__mpn_extract_float128): Likewise.
8293 (__mpn_construct_float): Likewise.
8294 (__mpn_construct_double): Likewise.
8295 (__mpn_construct_long_double): Likewise.
8296 (__mpn_construct_float128): Likewise.
8297 (mpn_add_1): Likewise.
8298 (mpn_addmul_1): Likewise.
8299 (mpn_add_n): Likewise.
8300 (mpn_cmp): Likewise.
8301 (mpn_divrem): Likewise.
8302 (mpn_lshift): Likewise.
8303 (mpn_mul): Likewise.
8304 (mpn_mul_1): Likewise.
8305 (mpn_rshift): Likewise.
8306 (mpn_sub_1): Likewise.
8307 (mpn_submul_1): Likewise.
8308 (mpn_sub_n): Likewise.
8310 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8313 * include/wchar.h (__wcsnlen): Add attribute_hidden.
8314 (__wcscat): Likewise.
8315 (__btowc): Likewise.
8316 (__wcrtomb): Likewise.
8317 (__mbsrtowcs): Likewise.
8318 (__wcsrtombs): Likewise.
8319 (__mbsnrtowcs): Likewise.
8320 (__wcsnrtombs): Likewise.
8321 (__wcsncpy): Likewise.
8322 (__wcpncpy): Likewise.
8323 (__wmemcpy): Likewise.
8324 (__wmempcpy): Likewise.
8325 (__wmemmove): Likewise.
8326 (__wcschrnul): Likewise.
8327 (__vfwscanf): Likewise.
8328 (__vswprintf): Likewise.
8329 (__fwprintf): Likewise.
8330 (__vfwprintf): Likewise.
8332 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8335 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
8336 (__getgrgid_r): Likewise.
8337 (__getgrnam_r): Likewise.
8338 * include/pwd.h (__getpwuid_r): Likewise.
8339 (__getpwnam_r): Likewise.
8340 (__fgetpwent_r): Likewise.
8341 * include/shadow.h (__getspnam_r): Likewise.
8342 (__sgetspent_r): Likewise.
8343 (__fgetspent_r): Likewise.
8345 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8348 * include/unistd.h (__access): Add attribute_hidden.
8349 (__lseek64): Likewise.
8350 (__libc_pread64): Likewise.
8351 (__pipe2): Likewise.
8352 (__sleep): Likewise.
8353 (__chdir): Likewise.
8354 (__fchdir): Likewise.
8355 (__getcwd): Likewise.
8356 (__rmdir): Likewise.
8357 (__execvpe): Likewise.
8358 (__execve): Likewise.
8359 (__setsid): Likewise.
8360 (__getuid): Likewise.
8361 (__geteuid): Likewise.
8362 (__getgid): Likewise.
8363 (__getegid): Likewise.
8364 (__getgroups): Likewise.
8365 (__group_member): Likewise.
8366 (__ttyname_r): Likewise.
8367 (__isatty): Likewise.
8368 (__readlink): Likewise.
8369 (__unlink): Likewise.
8370 (__gethostname): Likewise.
8371 (__profil): Likewise.
8372 (__getdtablesize): Likewise.
8374 (__ftruncate): Likewise.
8375 (__ftruncate64): Likewise.
8377 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8380 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
8381 * argp/argp-fs-xinl.c: Likewise.
8382 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
8383 * argp/argp-parse.c: Include <argp.h>.
8384 * argp/argp-xinl.c: Likewise.
8385 * include/argp-fmtstream.h: New file.
8386 * include/argp.h (__argp_error): Add attribute_hidden.
8387 (__argp_failure): Likewise.
8388 (__argp_input): Likewise.
8389 (__argp_state_help): Likewise.
8391 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8394 * include/wchar.h (____wcstof_l_internal): New prototype.
8395 (____wcstod_l_internal): Likewise.
8396 (____wcstold_l_internal): Likewise.
8397 (____wcstol_l_internal): Likewise.
8398 (____wcstoul_l_internal): Likewise.
8399 (____wcstoll_l_internal): Likewise.
8400 (____wcstoull_l_internal): Likewise.
8401 (____wcstof128_l_internal): Likewise.
8402 * sysdeps/ieee754/float128/wcstof128.c
8403 (____wcstof128_l_internal): Removed.
8404 * sysdeps/ieee754/float128/wcstof128_l.c
8405 (____wcstof128_l_internal): Likewise.
8406 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
8407 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
8408 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
8409 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
8410 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
8411 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
8412 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
8413 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
8414 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
8415 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
8417 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8420 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
8421 instead of <sys/statvfs.h>.
8422 (__internal_statvfs): Removed.
8423 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
8424 instead of <sys/statvfs.h>.
8425 (__internal_statvfs64): Removed.
8426 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
8427 "internal_statvfs.h" instead of <sys/statvfs.h>.
8428 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
8429 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
8430 instead of <sys/statvfs.h>.
8431 (__internal_statvfs): Removed.
8432 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
8433 instead of <sys/statvfs.h>.
8434 (__internal_statvfs64): Removed.
8436 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8439 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
8440 (__gconv_close): Likewise.
8441 (__gconv): Likewise.
8442 (__gconv_find_transform): Likewise.
8443 (__gconv_lookup_cache): Likewise.
8444 (__gconv_compare_alias_cache): Likewise.
8445 (__gconv_load_cache): Likewise.
8446 (__gconv_get_path): Likewise.
8447 (__gconv_close_transform): Likewise.
8448 (__gconv_release_cache): Likewise.
8449 (__gconv_find_shlib): Likewise.
8450 (__gconv_release_shlib): Likewise.
8451 (__gconv_get_builtin_trans): Likewise.
8452 (__gconv_compare_alias): Likewise.
8453 * include/dlfcn.h (_dlerror_run): Likewise.
8454 * include/stdio.h (__fortify_fail_abort): Likewise.
8455 * include/time.h (__tz_compute): Likewise.
8456 (__strptime_internal): Likewise.
8457 * intl/gettextP.h (_nl_find_domain): Likewise.
8458 (_nl_load_domain): Likewise.
8459 (_nl_find_msg): Likewise.
8460 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
8461 (EXTRACT_PLURAL_EXPRESSION): Likewise.
8462 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
8463 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
8464 (__gai_find_request): Likewise.
8465 (__gai_remove_request): Likewise.
8466 (__gai_notify): Likewise.
8467 (__gai_notify_only): Likewise.
8468 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
8469 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
8470 (_dl_non_dynamic_init): Likewise.
8471 (_dl_aux_init): Likewise.
8472 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
8473 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
8475 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
8476 (__wcsmbs_clone_conv): Likewise.
8477 (__wcsmbs_named_conv): Likewise.
8479 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8482 * include/stdlib.h (__random): Add attribute_hidden.
8483 (__random_r): Likewise.
8484 (__srandom_r): Likewise.
8485 (__initstate_r): Likewise.
8486 (__setstate_r): Likewise.
8487 (__erand48_r): Likewise.
8488 (__nrand48_r): Likewise.
8489 (__jrand48_r): Likewise.
8490 (__srand48_r): Likewise.
8491 (__seed48_r): Likewise.
8492 (__lcong48_r): Likewise.
8493 (__drand48_iterate): Likewise.
8494 (__setenv): Likewise.
8495 (__unsetenv): Likewise.
8496 (__clearenv): Likewise.
8497 (__ptsname_r): Likewise.
8498 (__posix_openpt): Likewise.
8499 (__add_to_environ): Likewise.
8500 (__realpath): Add libc_hidden_proto.
8501 (__ecvt_r): Likewise.
8502 (__fcvt_r): Likewise.
8503 (__qecvt_r): Likewise.
8504 (__qfcvt_r): Likewise.
8505 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
8506 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
8508 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8511 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
8512 * include/time.h (__mktime_internal): Likewise.
8513 * libio/iolibio.h (__fopen_internal): Likewise.
8515 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
8517 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
8519 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
8520 Correct offset used to restore PIC register.
8522 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
8525 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
8526 code to load address of __getcontext_ret when generating PIC code.
8528 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
8530 * elf/Makefile (tests-static-internal): Add
8531 tst-tls1-static-non-pie.
8532 (LDFLAGS-tst-tls1-static-non-pie): New.
8533 * elf/tst-tls1-static-non-pie.c: New file.
8535 2017-09-29 Joseph Myers <joseph@codesourcery.com>
8537 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
8538 (asinh): Define using libm_alias_double.
8539 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
8540 (cbrt): Define using libm_alias_double.
8541 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
8542 <libm-alias-double.h>.
8543 (copysign): Define using libm_alias_double.
8544 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
8545 (erf): Define using libm_alias_double.
8547 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
8548 (expm1): Define using libm_alias_double.
8549 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
8550 (fabs): Define using libm_alias_double.
8551 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
8553 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
8554 <libm-alias-double.h>.
8555 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
8557 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
8558 <libm-alias-double.h>.
8559 (getpayload): Define using libm_alias_double.
8560 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
8561 <libm-alias-double.h>.
8562 (llrint): Define using libm_alias_double.
8563 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
8564 (lrint): Define using libm_alias_double.
8565 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
8566 <libm-alias-double.h>.
8567 (nextup): Define using libm_alias_double.
8568 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
8569 <libm-alias-double.h>.
8570 (roundeven): Define using libm_alias_double.
8571 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
8573 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
8574 <libm-alias-double.h>.
8575 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
8576 using libm_alias_double.
8577 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
8578 (cos): Define using libm_alias_double.
8580 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
8581 <libm-alias-double.h>.
8582 (sincos): Define using libm_alias_double.
8583 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
8584 (tanh): Define using libm_alias_double.
8585 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
8586 <libm-alias-double.h>.
8587 (totalorder): Define using libm_alias_double.
8588 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
8589 <libm-alias-double.h>.
8590 (totalordermag): Define using libm_alias_double.
8591 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
8593 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
8595 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
8596 <libm-alias-double.h>.
8597 (getpayload): Define using libm_alias_double.
8598 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
8599 <libm-alias-double.h>.
8600 (roundeven): Define using libm_alias_double.
8601 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
8602 <libm-alias-double.h>.
8603 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
8604 <libm-alias-double.h>.
8605 (totalorder): Define using libm_alias_double.
8606 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
8607 <libm-alias-double.h>.
8608 (totalordermag): Define using libm_alias_double.
8609 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
8610 libc compat symbol here.
8611 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
8612 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
8613 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
8614 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
8615 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
8616 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
8617 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
8618 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
8619 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
8620 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
8622 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
8624 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
8625 _dl_relocate_static_pie instead of _dl_start to compute load
8626 address in static PIE. Return 0 if _DYNAMIC is undefined for
8629 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
8631 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
8632 _DYNAMIC is undefined for static executable.
8634 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
8636 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
8638 2017-09-29 Joseph Myers <joseph@codesourcery.com>
8640 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8642 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
8644 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8645 (__ieee754_lgamma_r): Use fabs rather than __fabs.
8646 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8647 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8648 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8649 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
8650 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8651 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
8652 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
8653 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
8654 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
8655 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8656 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
8657 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
8658 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8659 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8660 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
8662 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
8664 * math/bits/cmathcalls.h (cimag): Remove inline.
8665 (creal): Remove inline.
8666 (conj): Remove inline.
8668 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
8670 * math/Makefile (type-float-routines): Add e_powf_log2_data.
8671 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
8672 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
8673 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
8674 (issignalingf_inline): Likewise.
8675 (POWF_LOG2_TABLE_BITS): Likewise.
8676 (POWF_LOG2_POLY_ORDER): Likewise.
8677 (POWF_SCALE_BITS): Likewise.
8678 (POWF_SCALE): Likewise.
8679 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
8680 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
8681 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
8683 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
8685 * math/Makefile (type-float-routines): Add e_log2f_data.
8686 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
8687 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
8688 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
8689 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
8690 * sysdeps/i386/fpu/e_log2f_data.c: New file.
8691 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
8692 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
8694 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
8696 * math/Makefile (type-float-routines): Add e_logf_data.
8697 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
8698 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
8699 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
8700 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
8701 * sysdeps/i386/fpu/e_logf_data.c: New file.
8702 * sysdeps/ia64/fpu/e_logf_data.c: New file.
8703 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
8705 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
8707 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
8708 undefined _DYNAMIC in PIE libc.a.
8709 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
8712 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
8714 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
8715 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
8716 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
8717 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
8718 (__signbit): Remove.
8719 (__signbitl): Remove.
8720 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
8721 (__signbit): Remove.
8722 (__signbitl): Remove.
8723 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
8724 (__signbit): Remove.
8725 (__signbitl): Remove.
8726 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
8727 (__signbit): Remove.
8728 (__signbitl): Remove.
8729 * sysdeps/tile/bits/mathinline.h: Delete file.
8730 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
8731 (__signbit): Remove.
8732 (__signbitl): Remove.
8734 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
8736 * math/math.h: Improve handling of C99 isgreater macros.
8737 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
8738 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
8739 * sysdeps/powerpc/bits/mathinline.h: Likewise.
8740 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8741 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
8743 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
8745 * sysdeps/aarch64/libm-test-ulps: Update.
8747 2017-09-28 Joseph Myers <joseph@codesourcery.com>
8750 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8751 math_opt_barrier on argument when doing arithmetic on it.
8752 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8753 Likewise. Use math_force_eval not math_opt_barrier after
8755 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
8756 math_opt_barrier on argument when doing arithmetic on it.
8757 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8760 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
8762 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
8764 (__freeifaddrs): Likewise.
8766 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8768 * include/dirent.h (__dirfd): New declaration.
8769 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
8771 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
8772 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
8773 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
8774 * include/unistd.h (__revoke): New declaration.
8775 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
8777 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
8778 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
8780 * include/dirent.h (__seekdir): New declaration.
8781 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
8782 redefine as weak alias.
8783 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
8785 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
8786 and use libc_hidden_def on them.
8787 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
8789 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
8790 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
8791 instead of getifaddrs and freeifaddrs.
8793 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
8796 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
8797 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
8798 (__dso_handle): Remove declaration.
8799 * dlfcn/tstatexit.c (__dso_handle): Removed.
8800 (main): Don't check __dso_handle.
8801 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
8802 (main): Don't check __dso_handle.
8803 * include/dso_handle.h: New file.
8804 * malloc/mtrace.c: Include <dso_handle.h>.
8805 (mtrace): Pass __dso_handle directly.
8806 * nptl/pthread_atfork.c: Include <dso_handle.h>.
8807 (__dso_handle): Remove declaration.
8808 (__pthread_atfork): Pass __dso_handle directly.
8809 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
8810 (__dso_handle): Removed.
8811 * posix/wordexp-test.c: Include <dso_handle.h>.
8812 (__dso_handle): Remove declaration.
8813 (__app_register_atfork): Pass __dso_handle directly.
8814 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
8815 (__dso_handle): Remove declaration.
8816 (at_quick_exit): Pass __dso_handle directly.
8817 * stdlib/atexit.c: Include <dso_handle.h>.
8818 (__dso_handle): Remove declaration.
8819 (atexit): Pass __dso_handle directly.
8820 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
8821 (__dso_handle): Removed.
8823 2017-09-26 Joseph Myers <joseph@codesourcery.com>
8825 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
8828 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
8830 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
8831 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
8832 values to correct default value for given type.
8834 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
8837 * elf/Makefile (tests): Add tst-debug1.
8838 ($(objpfx)tst-debug1): New.
8839 ($(objpfx)tst-debug1.out): Likewise.
8840 ($(objpfx)tst-debug1mod1.so): Likewise.
8841 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
8843 * elf/tst-debug1.c: New file.
8845 2017-09-26 Joseph Myers <joseph@codesourcery.com>
8847 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
8848 Define using __ifunc.
8850 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8852 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
8855 2017-09-26 Joseph Myers <joseph@codesourcery.com>
8858 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
8860 2017-09-26 Florian Weimer <fweimer@redhat.com>
8862 * resolv/Makefile (tests-internal): Fix typo in comment.
8864 2017-09-26 Florian Weimer <fweimer@redhat.com>
8866 * resolv/nss_dns/dns-host.c: Fix typo in comment.
8868 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8870 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
8871 Use an union instead of a max_align_t array for __space,
8872 so that __space is the same size on all platforms.
8873 * malloc/scratch_buffer_grow_preserve.c
8874 (__libc_scratch_buffer_grow_preserve): Likewise.
8877 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
8879 * posix/Makefile (routines): Add glob-lstat-compat and
8880 glob64-lstat-compat.
8881 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
8882 * posix/glob-lstat-compat.c: New file.
8883 * posix/glob64-lstat-compat.c: Likewise.
8884 * posix/tst-glob_lstat_compat.c: Likewise.
8885 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
8886 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
8887 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
8888 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
8890 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
8891 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
8892 * posix/glob.c (glob_lstat): New function.
8893 (glob): Rename to __glob and add versioned symbol to 2.27.
8894 (glob_in_dir): Use glob_lstat.
8895 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
8896 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8897 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
8899 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
8900 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
8901 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
8902 gl_lstat on glob call.
8903 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
8905 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8906 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8907 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8908 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8909 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8910 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8911 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8912 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8913 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8914 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8915 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8916 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8919 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
8920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8921 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8922 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8923 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8924 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8925 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8927 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8928 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8929 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8930 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8932 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
8934 * configure.ac (AS): Require binutils 2.25 or later.
8935 * configure: Regenerated.
8937 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
8940 * stdlib/test-atexit-race-common.c (do_test): Minimize required
8943 2017-09-25 DJ Delorie <dj@redhat.com>
8946 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
8949 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8951 * sysdeps/ieee754/dbl-64/sincos32.h
8952 [SINCCOS32_H]: Remove define.
8953 [SINCOS32_H]: Define.
8955 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
8957 * math/Versions (expf): New libm symbol at GLIBC_2.27.
8959 * math/w_exp2f.c: New file.
8960 * math/w_expf.c: New file.
8961 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
8962 * math/w_expf_compat.c (__expf_compat): Likewise.
8963 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
8964 * sysdeps/ia64/fpu/e_expf.S: Likewise.
8965 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8966 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8967 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8968 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8969 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8970 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8971 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8972 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8973 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8974 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8975 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8976 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8985 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8986 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8987 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8988 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8989 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8994 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8995 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8996 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8998 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
9000 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
9001 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
9002 (roundtoint, converttoint): Likewise.
9003 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
9004 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
9005 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
9006 * sysdeps/ieee754/flt-32/math_config.h: New file.
9007 * sysdeps/ieee754/flt-32/math_errf.c: New file.
9008 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
9009 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
9010 * sysdeps/i386/fpu/math_errf.c: New file.
9011 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
9012 * sysdeps/ia64/fpu/math_errf.c: New file.
9013 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
9014 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
9016 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
9018 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
9019 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
9020 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
9021 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
9022 to make sure that these symbols are defined.
9023 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
9025 (__need_NULL): Do not define.
9026 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
9028 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
9029 CMGROUP_MAX, cmsgcred): Do not define.
9030 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
9032 * bits/socket.h: Likewise.
9033 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
9034 __gettimeofday instead of gettimeofday.
9035 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
9036 instead of settimeofday.
9038 2017-09-22 Joseph Myers <joseph@codesourcery.com>
9040 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
9041 (asinhf): Define using libm_alias_float.
9042 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
9043 (atanf): Define using libm_alias_float.
9044 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
9045 (cbrtf): Define using libm_alias_float.
9046 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
9047 (ceilf): Define using libm_alias_float.
9048 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
9049 <libm-alias-float.h>.
9050 (copysignf): Define using libm_alias_float.
9051 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
9052 (cosf): Define using libm_alias_float.
9053 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
9054 (erff): Define using libm_alias_float.
9056 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
9057 (expm1f): Define using libm_alias_float.
9058 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
9059 (fabsf): Define using libm_alias_float.
9060 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
9061 (floorf): Define using libm_alias_float.
9062 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
9063 (frexpf): Define using libm_alias_float.
9064 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
9066 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
9067 <libm-alias-float.h>.
9068 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
9070 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
9071 <libm-alias-float.h>.
9072 (getpayloadf): Define using libm_alias_float.
9073 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
9074 <libm-alias-float.h>.
9075 (llrintf): Define using libm_alias_float.
9076 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
9077 <libm-alias-float.h>.
9078 (llroundf): Define using libm_alias_float.
9079 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
9080 (logbf): Define using libm_alias_float.
9081 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
9082 (lrintf): Define using libm_alias_float.
9083 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
9084 (lroundf): Define using libm_alias_float.
9085 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
9086 (modff): Define using libm_alias_float.
9087 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
9088 <libm-alias-float.h>.
9089 (nearbyintf): Define using libm_alias_float.
9090 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
9091 <libm-alias-float.h>.
9092 (nextafterf): Define using libm_alias_float.
9093 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
9094 <libm-alias-float.h>.
9095 (nextupf): Define using libm_alias_float.
9096 * sysdeps/ieee754/flt-32/s_remquof.c: Include
9097 <libm-alias-float.h>.
9098 (remquof): Define using libm_alias_float.
9099 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
9100 (rintf): Define using libm_alias_float.
9101 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
9102 <libm-alias-float.h>.
9103 (roundevenf): Define using libm_alias_float.
9104 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
9105 (roundf): Define using libm_alias_float.
9106 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
9107 using libm_alias_float.
9108 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
9109 <libm-alias-float.h>.
9110 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
9111 Define using libm_alias_float.
9112 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
9113 <libm-alias-float.h>.
9114 (sincosf): Define using libm_alias_float.
9115 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
9116 (sinf): Define using libm_alias_float.
9117 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
9118 (tanf): Define using libm_alias_float.
9119 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
9120 (tanhf): Define using libm_alias_float.
9121 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
9122 <libm-alias-float.h>.
9123 (totalorderf): Define using libm_alias_float.
9124 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
9125 <libm-alias-float.h>.
9126 (totalordermagf): Define using libm_alias_float.
9127 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
9128 (truncf): Define using libm_alias_float.
9129 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
9131 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
9134 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9137 math/math.h: Let fpclassify use the builtin in C++ mode, even
9138 when optimazing for size.
9140 2017-09-22 Joseph Myers <joseph@codesourcery.com>
9142 * csu/Makefile (generated): Do not add version-info.h.
9143 (before-compile): Likewise.
9144 (all-Banner-files): Remove variable.
9145 ($(objpfx)version-info.h): Remove rule.
9146 * csu/version.c (banner): Do not include "version-info.h".
9147 * libidn/Banner: Remove.
9148 * manual/contrib.texi (Simon Josefsson): New entry.
9150 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9152 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9153 Remove conditionals on LDBL_MANT_DIG.
9154 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
9155 (__ieee754_lgammal_r): Likewise.
9157 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9159 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
9161 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
9162 _Float128 and L(). Replace _Float128 with long double and L(x)
9163 with xL, throughout the file.
9164 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9165 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
9166 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
9167 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
9169 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9171 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
9172 sysdeps/ieee754/ldbl-128ibm.
9173 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
9174 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
9175 of including it. Keep _Float128 and L() intact. These will be
9176 reviewed by a separate patch.
9177 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9178 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
9179 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
9180 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
9182 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
9185 (__finitef128): Define to __redirect___finitef128.
9186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
9187 (__isinff128): Define to __redirect___isinff128.
9188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
9189 (__isnanf128): Define to __redirect___isnanf128.
9191 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9193 * sysdeps/powerpc/powerpc64le/Makefile
9194 (CFLAGS-tst-strtod-nan-locale.c): New variable.
9195 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
9197 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
9198 Carlos O'Donell <carlos@redhat.com>
9201 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
9202 * stdlib/test-dlclose-exit-race.c: New file.
9203 * stdlib/test-dlclose-exit-race-helper.c: New file.
9204 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
9206 2017-09-21 Joseph Myers <joseph@codesourcery.com>
9208 * crypt/Banner: Remove file.
9209 * nptl/Banner: Likewise.
9210 * resolv/Banner: Likewise.
9211 * soft-fp/Banner: Likewise.
9212 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
9213 ($(objpfx)version.d): Remove dependency on banner.h.
9214 ($(objpfx)version.os): Likewise.
9215 * nptl/version.c (banner): Do not include banner.h.
9216 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
9217 Jelinek and BIND code.
9219 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
9220 Carlos O'Donell <carlos@redhat.com>
9222 * support/xdlfcn.h: New file.
9223 * support/xdlfcn.c: New file.
9224 * support/Makefile (libsupport-routines): Add xdlfcn.
9225 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
9227 2017-09-20 Joseph Myers <joseph@codesourcery.com>
9230 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9231 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
9232 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
9233 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
9234 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
9235 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
9236 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
9237 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
9239 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
9240 Ricky Zhou <rickyz@google.com>
9241 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
9244 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
9246 (__new_exitfn): Fail registration when we finished at_exit processing.
9247 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9248 * stdlib/on_exit.c (__on_exit): Likewise.
9249 * stdlib/exit.c (__exit_funcs_done): New variable.
9250 (__run_exit_handlers): Use __exit_funcs_lock.
9251 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
9253 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
9254 (test-cxa_atexit-race, test-on_exit-race): New tests.
9255 * stdlib/test-atexit-race-common.c: New file.
9256 * stdlib/test-atexit-race.c: New file.
9257 * stdlib/test-at_quick_exit-race.c: New file.
9258 * stdlib/test-cxa_atexit-race.c: New file.
9259 * stdlib/test-on_exit-race.c: New file.
9261 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
9263 * benchtests/Makefile: Add exp2f and log2f benchmarks.
9264 * benchtests/exp2f-inputs: Copy of expf-inputs.
9265 * benchtests/log2f-inputs: Copy of logf-inputs.
9267 2017-09-19 Joseph Myers <joseph@codesourcery.com>
9269 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
9270 Explicitly take address of first element of array arguments in
9271 call to INLINE_SYSCALL.
9273 2017-09-19 Andreas Schwab <schwab@suse.de>
9276 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
9278 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
9280 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
9281 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
9282 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9283 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
9284 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9285 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
9286 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9287 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
9288 * posix/Makefile (tests): Add tst-fexecve.
9289 * posix/tst-fexecve.c: New file.
9291 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9293 * benchtests/Makefile: Add logf benchmark.
9294 * benchtests/logf-inputs: Add reduced trace from wrf_r.
9296 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9298 * benchtests/Makefile: Add expf benchmark.
9299 * benchtests/expf-inputs: Add reduced trace from wrf_r.
9301 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9303 * csu/Makefile: Add -funwind-tables to libc-start.c.
9304 * debug/Makefile: Add -funwind-tables to backtrace.c.
9305 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
9306 * sysdeps/arm/Makefile: Likewise.
9307 * sysdeps/i386/Makefile: Likewise.
9308 * sysdeps/m68k/Makefile: Likewise.
9309 * sysdeps/mips/Makefile: Likewise.
9310 * sysdeps/nios2/Makefile: Likewise.
9311 * sysdeps/sh/Makefile: Likewise.
9312 * sysdeps/sparc/Makefile: Likewise.
9314 2017-09-19 Joseph Myers <joseph@codesourcery.com>
9316 * benchtests/Makefile (bench-math): Add trunc and truncf.
9317 (CFLAGS-bench-trunc.c): New variable.
9318 (CFLAGS-bench-truncf.c): Likewise.
9319 * benchtests/trunc-inputs: New file.
9320 * benchtests/truncf-inputs: Likewise.
9322 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9324 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
9326 2017-09-18 Joseph Myers <joseph@codesourcery.com>
9328 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
9329 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
9331 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
9332 (exp10l): Define as weak alias.
9333 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
9334 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
9336 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
9337 (remainderl): Define as weak alias.
9339 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
9340 (fmal): Define using libm_alias_ldouble.
9341 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
9342 (acoshl): Define using libm_alias_ldouble.
9343 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
9344 (acosl): Define using libm_alias_ldouble.
9345 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
9346 (asinl): Define using libm_alias_ldouble.
9347 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
9348 (atan2l): Define using libm_alias_ldouble.
9349 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
9350 (atanhl): Define using libm_alias_ldouble.
9351 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
9352 (coshl): Define using libm_alias_ldouble.
9353 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
9354 (exp10l): Define using libm_alias_ldouble.
9355 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
9356 (exp2l): Define using libm_alias_ldouble.
9357 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
9358 (expl): Define using libm_alias_ldouble.
9359 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
9360 (fmodl): Define using libm_alias_ldouble.
9361 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
9362 (hypotl): Define using libm_alias_ldouble.
9363 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
9364 (j0l): Define using libm_alias_ldouble.
9366 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
9367 (j1l): Define using libm_alias_ldouble.
9369 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
9370 (jnl): Define using libm_alias_ldouble.
9372 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
9373 (log10l): Define using libm_alias_ldouble.
9374 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
9375 (log2l): Define using libm_alias_ldouble.
9376 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
9377 (logl): Define using libm_alias_ldouble.
9378 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
9379 (powl): Define using libm_alias_ldouble.
9380 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
9381 (remainderl): Define using libm_alias_ldouble.
9382 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
9383 (sinhl): Define using libm_alias_ldouble.
9384 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
9385 (sqrtl): Define using libm_alias_ldouble.
9386 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
9387 (tgammal): Define using libm_alias_ldouble.
9388 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
9389 (exp10l): Do not use long_double_symbol here.
9390 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
9391 [LIBM_SVID_COMPAT] (remainderl): Likewise.
9392 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
9393 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
9394 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
9395 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
9396 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
9397 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
9398 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
9399 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
9400 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
9401 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
9402 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
9403 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
9404 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
9405 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
9406 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
9407 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
9408 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
9409 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
9410 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
9411 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
9413 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
9415 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
9416 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
9418 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
9420 * io/read.c (read): Add libc_hidden_weak.
9421 * sysdeps/mach/hurd/read.c (read): Likewise.
9422 * io/write.c (write): Likewise.
9423 * sysdeps/mach/hurd/write.c (write): Likewise.
9424 * io/pread64.c (__pread64): Likewise.
9425 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
9426 * posix/pread64.c (__pread64): Add libc_hidden_def.
9428 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
9430 * benchtests/scripts/compare_strings.py: New option -g.
9431 (draw_graph): Print a message that a graph is being generated.
9432 (process_results): Generate graph only if -g is passed.
9433 (main): Process option -g.
9435 * benchtests/scripts/compare_strings.py (process_results):
9436 Better spacing for output.
9438 * benchtests/scripts/compare_strings.py: Use argparse.
9439 * benchtests/README: Document existence of compare_strings.py.
9441 2017-09-15 Joseph Myers <joseph@codesourcery.com>
9443 * math/s_fma.c: Include <libm-alias-double.h>.
9444 (fma): Define using libm_alias_double.
9445 * math/s_nextafter.c: Include <libm-alias-double.h>.
9446 (nextafter): Define using libm_alias_double.
9447 * math/w_acos_compat.c: Include <libm-alias-double.h>.
9448 (acos): Define using libm_alias_double.
9449 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
9450 (aocsh): Define using libm_alias_double.
9451 * math/w_asin_compat.c: Include <libm-alias-double.h>.
9452 (asin): Define using libm_alias_double.
9453 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
9454 (atan2): Define using libm_alias_double.
9455 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
9456 (atanh): Define using libm_alias_double.
9457 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
9458 (cosh): Define using libm_alias_double.
9459 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
9460 (exp10): Define using libm_alias_double.
9461 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
9462 (exp2): Define using libm_alias_double.
9463 * math/w_exp_compat.c: Include <libm-alias-double.h>.
9464 (exp): Define using libm_alias_double.
9465 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
9466 (fmod): Define using libm_alias_double.
9467 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
9468 (hypot): Define using libm_alias_double.
9469 * math/w_j0_compat.c: Include <libm-alias-double.h>.
9470 (j0): Define using libm_alias_double.
9472 * math/w_j1_compat.c: Include <libm-alias-double.h>.
9473 (j1): Define using libm_alias_double.
9475 * math/w_jn_compat.c: Include <libm-alias-double.h>.
9476 (jn): Define using libm_alias_double.
9478 * math/w_log10_compat.c: Include <libm-alias-double.h>.
9479 (log10): Define using libm_alias_double.
9480 * math/w_log2_compat.c: Include <libm-alias-double.h>.
9481 (log2): Define using libm_alias_double.
9482 * math/w_log_compat.c: Include <libm-alias-double.h>.
9483 (log): Define using libm_alias_double.
9484 * math/w_pow_compat.c: Include <libm-alias-double.h>.
9485 (pow): Define using libm_alias_double.
9486 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
9487 (remainder): Define using libm_alias_double.
9488 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
9489 (sinh): Define using libm_alias_double.
9490 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
9491 (sqrt): Define using libm_alias_double.
9492 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
9493 (tgamma): Define using libm_alias_double.
9494 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
9495 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
9496 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
9497 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
9498 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
9499 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
9500 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
9501 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
9502 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
9503 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
9504 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
9505 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
9506 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
9507 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
9508 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
9509 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
9510 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
9511 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
9512 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
9513 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
9514 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
9515 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
9516 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
9517 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
9518 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
9520 * math/e_acoshl.c: Remove.
9521 * math/e_acosl.c: Likewise.
9522 * math/e_asinl.c: Likewise.
9523 * math/e_atan2l.c: Likewise.
9524 * math/e_atanhl.c: Likewise.
9525 * math/e_coshl.c: Likewise.
9526 * math/e_expl.c: Likewise.
9527 * math/e_fmodl.c: Likewise.
9528 * math/e_gammal_r.c: Likewise.
9529 * math/e_hypotl.c: Likewise.
9530 * math/e_j0l.c: Likewise.
9531 * math/e_j1l.c: Likewise.
9532 * math/e_jnl.c: Likewise.
9533 * math/e_lgammal_r.c: Likewise.
9534 * math/e_log10l.c: Likewise.
9535 * math/e_log2l.c: Likewise.
9536 * math/e_logl.c: Likewise.
9537 * math/e_powl.c: Likewise.
9538 * math/e_rem_pio2l.c: Likewise.
9539 * math/e_sinhl.c: Likewise.
9540 * math/e_sqrtf128.c: Likewise.
9541 * math/e_sqrtl.c: Likewise.
9542 * math/k_cosl.c: Likewise.
9543 * math/k_sinl.c: Likewise.
9544 * math/k_tanl.c: Likewise.
9545 * math/s_asinhl.c: Likewise.
9546 * math/s_atanl.c: Likewise.
9547 * math/s_cbrtl.c: Likewise.
9548 * math/s_erfl.c: Likewise.
9549 * math/s_expm1l.c: Likewise.
9550 * math/s_log1pl.c: Likewise.
9551 * math/s_tanhl.c: Likewise.
9553 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9556 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
9557 [$(subdir) = math] (sysdep_calls): New variable. Has the
9558 previous contents of sysdep_routines, but re-sorted..
9559 [$(subdir) = math] (sysdep_routines): Re-use the contents from
9561 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
9562 defined in sysdep_calls and replace by the respective m_* names.
9563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
9564 (compat_symbol): Undefine to avoid duplicated compat symbols in
9567 2017-09-15 Joseph Myers <joseph@codesourcery.com>
9569 * math/s_fmaf.c: Include <libm-alias-float.h>.
9570 (fmaf): Define using libm_alias_float.
9571 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
9572 (acosf): Define using libm_alias_float.
9573 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
9574 (acoshf): Define using libm_alias_float.
9575 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
9576 (asinf): Define using libm_alias_float.
9577 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
9578 (atan2f): Define using libm_alias_float.
9579 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
9580 (atanhf): Define using libm_alias_float.
9581 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
9582 (coshf): Define using libm_alias_float.
9583 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
9584 (exp10f): Define using libm_alias_float.
9585 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
9586 (fmodf): Define using libm_alias_float.
9587 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
9588 (hypotf): Define using libm_alias_float.
9589 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
9590 (j0f): Define using libm_alias_float.
9592 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
9593 (j1f): Define using libm_alias_float.
9595 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
9596 (jnf): Define using libm_alias_float.
9598 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
9599 (log10f): Define using libm_alias_float.
9600 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
9601 (log2f): Define using libm_alias_float.
9602 * math/w_logf_compat.c: Include <libm-alias-float.h>.
9603 (logf): Define using libm_alias_float.
9604 * math/w_powf_compat.c: Include <libm-alias-float.h>.
9605 (powf): Define using libm_alias_float.
9606 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
9607 (remainderf): Define using libm_alias_float.
9608 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
9609 (sinhf): Define using libm_alias_float.
9610 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
9611 (sqrtf): Define using libm_alias_float.
9612 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
9613 (tgammaf): Define using libm_alias_float.
9615 2017-09-14 Joseph Myers <joseph@codesourcery.com>
9617 * include/math.h (roundeven): Change hidden_proto call to
9619 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
9621 [NO_LONG_DOUBLE] (__j0l): New strong alias.
9622 (y0): Rename to __y0 and define as weak alias.
9623 [NO_LONG_DOUBLE] (__y0l): New strong alias.
9624 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
9626 (y0f): Rename to __y0f and define as weak alias.
9627 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
9629 [NO_LONG_DOUBLE] (__j1l): New strong alias.
9630 (y1): Rename to __y1 and define as weak alias.
9631 [NO_LONG_DOUBLE] (__y1l): New strong alias.
9632 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
9634 (y1f): Rename to __y1f and define as weak alias.
9635 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
9637 [NO_LONG_DOUBLE] (__jnl): New strong alias.
9638 (yn): Rename to __yn and define as weak alias.
9639 [NO_LONG_DOUBLE] (__ynl): New strong alias.
9640 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
9642 (ynf): Rename to __ynf and define as weak alias.
9643 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
9644 (fromfp): Define as weak alias.
9645 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
9646 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
9647 (fromfpx): Define as weak alias.
9648 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
9649 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
9650 __getpayload and define as weak alias.
9651 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
9652 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
9653 __roundeven and define as weak alias.
9654 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
9655 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
9657 (setpayload): Define as weak alias.
9658 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
9659 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
9661 (setpayloadsig): Define as weak alias.
9662 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
9663 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
9664 __totalorder and define as weak alias.
9665 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
9666 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
9667 to __totalordermag and define as weak alias.
9668 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
9669 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
9670 (ufromfp): Define as weak alias.
9671 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
9672 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
9674 (ufromfpx): Define as weak alias.
9675 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
9676 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
9677 Rename to __getpayload and define as weak alias.
9678 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
9679 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
9680 Rename to __roundeven and define as weak alias.
9681 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
9682 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
9683 Rename to __totalorder and define as weak alias.
9684 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
9685 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
9686 (totalordermag): Rename to __totalordermag and define as weak
9688 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
9689 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
9691 (__roundevenl): Likewise.
9692 (__totalorderl): Likewise.
9693 (__totalordermagl): Likewise
9694 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
9696 (fromfpf128): Define as weak alias.
9697 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
9699 (fromfpxf128): Define as weak alias.
9700 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
9702 (setpayloadf128): Define as weak alias.
9703 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
9704 __setpayloadsigf128.
9705 (setpayloadsigf128): Define as weak alias.
9706 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
9708 (ufromfpf128): Define as weak alias.
9709 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
9711 (ufromfpxf128): Define as weak alias.
9712 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
9713 (fromfpf): Define as weak alias.
9714 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
9716 (fromfpxf): Define as weak alias.
9717 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
9718 __getpayloadf and define as weak alias.
9719 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
9720 __roundevenf and define as weak alias.
9721 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
9723 (setpayloadf): Define as weak alias.
9724 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
9726 (setpayloadsigf): Define as weak alias.
9727 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
9728 __totalorderf and define as weak alias.
9729 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
9730 Rename to __totalordermagf and define as weak alias.
9731 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
9733 (ufromfpf): Define as weak alias.
9734 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
9736 (ufromfpxf): Define as weak alias.
9737 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
9739 (fromfpl): Define as weak alias.
9740 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
9742 (fromfpxl): Define as weak alias.
9743 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
9744 to __getpayloadl and define as weak alias.
9745 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
9746 __roundevenl and define as weak alias.
9747 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
9749 (setpayloadl): Define as weak alias.
9750 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
9752 (setpayloadsigl): Define as weak alias.
9753 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
9754 to __totalorderl and define as weak alias.
9755 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
9756 Rename to __totalordermagl and define as weak alias.
9757 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
9759 (ufromfpl): Define as weak alias.
9760 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
9762 (ufromfpxl): Define as weak alias.
9763 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
9765 (fromfpl): Define as weak alias.
9766 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
9768 (fromfpxl): Define as weak alias.
9769 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
9770 Rename to __getpayloadl and define as weak alias.
9771 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
9772 to __roundevenl and define as weak alias. Call __roundeven
9773 instead of roundeven.
9774 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
9776 (setpayloadl): Define as weak alias.
9777 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
9779 (setpayloadsigl): Define as weak alias.
9780 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
9781 Rename to __totalorderl and define as weak alias.
9782 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
9783 Rename to __totalordermagl and define as weak alias.
9784 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
9786 (ufromfpl): Define as weak alias.
9787 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
9789 (ufromfpxl): Define as weak alias.
9790 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
9792 (fromfpl): Define as weak alias.
9793 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
9795 (fromfpxl): Define as weak alias.
9796 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
9797 __getpayloadl and define as weak alias.
9798 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
9799 __roundevenl and define as weak alias.
9800 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
9802 (setpayloadl): Define as weak alias.
9803 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
9805 (setpayloadsigl): Define as weak alias.
9806 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
9807 __totalorderl and define as weak alias.
9808 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
9809 Rename to __totalordermagl and define as weak alias.
9810 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
9812 (ufromfpl): Define as weak alias.
9813 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
9815 (ufromfpxl): Define as weak alias.
9817 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
9819 * benchtests/bench-string.h (realloc_bufs): New function.
9820 (test_init): Call it.
9821 * benchtests/bench-memset-large.c (do_test): Likewise.
9822 * benchtests/bench-memset.c (do_test): Likewise.
9824 * benchtests/bench-memset-large.c: Print output in JSON
9826 * benchtests/bench-memset.c: Likewise.
9828 2017-09-14 Mike FABIAN <mfabian@redhat.com>
9831 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
9832 * iconvdata/Makefile: Add IBM858.
9833 * iconvdata/gconv-modules: Likewise.
9834 * iconvdata/tst-tables.sh: Likewise.
9835 * iconvdata/ibm858.c: New file.
9836 * localedata/charmaps/IBM858: Likewise.
9838 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
9841 * locales/niu_NZ (LC_TIME): copy "niu_NU".
9842 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
9844 2017-09-14 Mike FABIAN <mfabian@redhat.com>
9847 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
9848 and add tel_int_fmt.
9850 2017-09-14 Joseph Myers <joseph@codesourcery.com>
9852 * sysdeps/generic/libm-alias-float128.h: New file.
9853 * sysdeps/generic/math-type-macros-float128.h: Include
9854 <libm-alias-float128.h>.
9855 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
9857 2017-09-13 Joseph Myers <joseph@codesourcery.com>
9859 * sysdeps/generic/libm-alias-ldouble.h: New file.
9860 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
9861 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
9862 * sysdeps/generic/math-type-macros-ldouble.h: Include
9863 <libm-alias-ldouble.h>.
9864 [!declare_mgen_alias] (declare_mgen_alias): Define to use
9867 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
9869 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
9870 * math/w_exp_compat.c: ... here.
9871 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
9872 * math/w_expf_compat.c: ... here.
9873 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
9874 * math/w_expl_compat.c: ... here.
9875 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
9876 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
9877 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
9878 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
9880 2017-09-13 Joseph Myers <joseph@codesourcery.com>
9882 * math/w_scalbln_template.c (strong_alias): Do not undefine and
9884 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
9886 (ldexpl): Only define as compat symbol for libc, not libm.
9887 (scalbnl): Define as compat symbol for libc here.
9888 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
9889 define for [IS_IN (libc)].
9890 (__ldexpl_2): Remove alias.
9891 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
9892 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
9893 name in long_double_symbol call.
9894 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
9895 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9896 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9897 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
9898 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
9900 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
9901 Define as compat symbol.
9903 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9905 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
9906 * sysdeps/unix/sysv/linux/alpha/Makefile
9907 [$(subdir) = csu] (sysdep_routines): Remove rule.
9909 2017-09-13 Joseph Myers <joseph@codesourcery.com>
9911 * sysdeps/generic/libm-alias-double.h: New file.
9912 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
9913 * sysdeps/generic/math-type-macros-double.h: Include
9914 <libm-alias-double.h>.
9915 [declare_mgen_alias] (declare_mgen_alias): Define to use
9917 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
9918 (M_LIBM_NEED_COMPAT): Remove macro.
9919 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
9920 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
9921 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
9923 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9924 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9925 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9926 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9927 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9928 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9929 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9930 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9931 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9932 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9933 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9934 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9935 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9936 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9937 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9938 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9939 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9940 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9941 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9942 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9943 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9944 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9945 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9946 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9947 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9948 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9949 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9950 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
9951 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
9953 (declare_mgen_alias): New macro.
9954 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
9955 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
9956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
9957 (M_LIBM_NEED_COMPAT): Remove macro.
9958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
9959 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
9961 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
9962 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
9964 2017-09-12 Joseph Myers <joseph@codesourcery.com>
9966 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
9967 (declare_mgen_alias_2): Remove.
9968 * sysdeps/generic/math-type-macros-double.h
9969 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
9971 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
9973 (ldexp): Define with declare_mgen_alias.
9976 2017-09-12 Steve Ellcey <sellcey@cavium.com>
9978 * grp/initgroups.c: Include config.h.
9979 (DEFAULT_CONFIG): New macro.
9980 (internal_getgrouplist): Use DEFAULT_CONFIG.
9981 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9982 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
9983 (DEFAULT_DEFCONFIG): New macro.
9984 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
9985 * nss/grp-lookup.c: Include config.h
9986 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
9987 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
9988 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
9989 * manual/nss.texi: Update default values section.
9991 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
9994 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
9996 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
9997 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
9998 Handle MathVec_Prefer_No_AVX512.
9999 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
10000 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
10003 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
10005 * posix/sched_primax.c (__sched_get_priority_max): Add
10007 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
10008 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
10009 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
10010 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
10011 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
10012 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
10013 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
10014 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
10017 2017-09-11 Joseph Myers <joseph@codesourcery.com>
10019 * sysdeps/generic/libm-alias-float.h: New file.
10020 * sysdeps/generic/math-type-macros-float.h: Include
10021 <libm-alias-float.h>.
10022 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
10024 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
10027 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
10028 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
10029 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
10030 (HWCAP_IMPORTANT): Likewise.
10031 (HWCAP_X86_64): New enum.
10032 (HWCAP_X86_AVX512_1): Updated.
10033 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
10034 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
10035 (modules-names): Add x86_64/tst-x86_64mod-1.
10036 (LDFLAGS-tst-x86_64mod-1.so): New.
10037 ($(objpfx)tst-x86_64-1): Likewise.
10038 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
10039 (tst-x86_64-1-clean): Likewise.
10040 * sysdeps/x86_64/tst-x86_64-1.c: New file.
10041 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
10043 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10045 * po/sv.po: Update translations.
10046 * po/fr.po: Likewise.
10048 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10050 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
10052 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
10054 * elf/rtld-Rules: Fix $(error) use.
10056 2017-09-09 Mike FABIAN <mfabian@redhat.com>
10059 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
10060 * locale/iso-639.def: Change “Bengali” to “Bangla”.
10061 * localedata/locales/bn_BD: “Bengali” was still used in some
10062 comments. Change it to “Bangla”.
10064 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
10066 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
10068 2017-09-08 Steve Ellcey <sellcey@cavium.com>
10070 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
10071 thunderx2t99p1 to list of cpu names.
10072 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
10073 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
10075 2017-09-08 Steve Ellcey <sellcey@cavium.com>
10077 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
10078 Use strcmp instead of tunable_is_name.
10080 2017-09-08 Joseph Myers <joseph@codesourcery.com>
10082 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10083 (F_GET_RW_HINT): New macro.
10084 [__USE_GNU] (F_SET_RW_HINT): Likewise.
10085 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
10086 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
10087 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
10088 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
10089 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
10090 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
10091 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
10092 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
10094 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10095 (F_ADD_SEALS): New macro.
10096 [__USE_GNU] (F_GET_SEALS): Likewise.
10097 [__USE_GNU] (F_SEAL_SEAL): Likewise.
10098 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
10099 [__USE_GNU] (F_SEAL_GROW): Likewise.
10100 [__USE_GNU] (F_SEAL_WRITE): Likewise.
10102 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10104 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
10105 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
10106 * posix/glob_internal.h (__glob_pattern_type):
10107 * posix/glob.c (glob):
10108 * posix/glob_pattern_p.c (__glob_pattern_p):
10111 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
10112 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10113 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
10114 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
10115 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
10116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
10117 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
10118 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
10119 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
10120 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10121 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
10122 * sysdeps/wordsize-64/glob.c: Likewise.
10123 * sysdeps/wordsize-64/glob64.c: Likewise.
10124 * sysdeps/wordsize-64/globfree.c: Likewise.
10125 * sysdeps/wordsize-64/globfree64.c: Likewise.
10126 * sysdeps/unix/sysv/linux/glob.c: New file.
10127 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
10128 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
10129 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
10130 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
10131 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
10132 adds !GLOB_NO_OLD_VERSION as an extra condition.
10133 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
10134 using relative path instead of absolute one.
10135 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
10136 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10137 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10138 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
10139 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
10140 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
10143 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
10144 (glob): Use the same scratch buffer for both getlogin_r and
10145 getpwnam_r. Don’t require preallocation of the login name. This
10146 simplifies storage allocation, and corrects the handling of
10150 * posix/glob.c (glob): Port recent patches to platforms
10151 lacking getpwnam_r.
10152 (glob): Fix longstanding misuse of errno after getpwnam_r, which
10153 returns an error number rather than setting errno.
10155 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
10156 instead of GCC extension.
10157 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
10158 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
10159 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
10163 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
10164 * posix/bug-glob1.c: Remove file.
10165 * posix/tst-glob_symlinks.c: New file.
10166 * posix/glob.c (__lstat64): New macro.
10167 (is_dir): New function.
10168 (glob, glob_in_dir): Match symlinks even if they are dangling.
10169 (link_stat, link_exists_p): Remove. All uses removed.
10173 * posix/glob.c (struct readdir_result): Remove skip_entry member.
10174 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
10179 * posix/Makefile (routines): Add globfree, globfree64, and
10181 * posix/flexmember.h: New file.
10182 * posix/glob_internal.h: Likewise.
10183 * posix/glob_pattern_p.c: Likewise.
10184 * posix/globfree.c: Likewise.
10185 * posix/globfree64.c: Likewise.
10186 * sysdeps/gnu/globfree64.c: Likewise.
10187 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
10188 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
10189 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
10190 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
10191 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
10192 * sysdeps/wordsize-64/globfree.c: Likewise.
10193 * sysdeps/wordsize-64/globfree64.c: Likewise.
10194 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
10195 [NDEBUG): Remove comments.
10196 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
10197 (dirent_type): New type. Use uint_fast8_t not
10198 uint8_t, as C99 does not require uint8_t.
10199 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
10200 (struct readdir_result): Use dirent_type. Do not define skip_entry
10201 unless it is needed; this saves a byte on platforms lacking d_ino.
10202 (readdir_result_type, readdir_result_skip_entry):
10203 New functions, replacing ...
10204 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
10205 these functions, which were removed. This makes the callers
10206 easier to read. All callers changed.
10207 (D_INO_TO_RESULT): Now empty if there is no d_ino.
10208 (size_add_wrapv, glob_use_alloca): New static functions.
10209 (glob, glob_in_dir): Check for size_t overflow in several places,
10210 and fix some size_t checks that were not quite right.
10211 Remove old code using SHELL since Bash no longer
10213 (glob, prefix_array): Separate MS code better.
10214 (glob_in_dir): Remove old Amiga and VMS code.
10215 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
10217 (glob_in_dir): Do not rely on undefined behavior in accessing
10218 struct members beyond their bounds. Use a flexible array member
10220 (link_stat): Rename from link_exists2_p and return -1/0 instead of
10221 0/1. Caller changed.
10222 (glob): Fix memory leaks.
10223 * posix/glob64 (globfree64): Move to separate file.
10224 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
10225 (globfree64): Remove hidden alias.
10226 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
10228 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
10230 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
10232 Move compat code to separate file.
10233 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
10236 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
10238 * resolv/tst-resolv-qtypes.c (domain): Changed to
10239 "const char domain[] =".
10241 2017-09-07 Joseph Myers <joseph@codesourcery.com>
10243 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
10246 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
10247 (TCP_MD5SIG_EXT): Likewise.
10248 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
10249 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
10250 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
10252 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
10254 2017-09-07 Mike FABIAN <mfabian@redhat.com>
10256 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
10258 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
10261 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
10263 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
10265 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
10266 before assuming that the file is empty. Avoid testing buffer content
10269 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10272 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
10274 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
10276 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
10278 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
10280 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
10282 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
10284 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
10287 2017-09-06 Florian Weimer <fweimer@redhat.com>
10289 * malloc/dynarray_emplace_enlarge.c
10290 (__libc_dynarray_emplace_enlarge): Add missing else.
10292 2017-09-06 Florian Weimer <fweimer@redhat.com>
10295 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
10296 case of failure to obtain the global conf object.
10298 2017-09-06 Florian Weimer <fweimer@redhat.com>
10301 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
10302 dynarray allocation failure.
10304 2017-09-06 Florian Weimer <fweimer@redhat.com>
10306 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
10307 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
10308 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
10310 (response): Call them. Add 'p', '6' flag processing.
10311 (test_reverse): New function.
10312 (test_get2_any): Call it.
10313 (test_no_inet6): Add 'p' test.
10314 (test_inet6): Likewise.
10316 2017-09-06 Florian Weimer <fweimer@redhat.com>
10318 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
10319 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
10321 (test_gai): Adjust query names. Add additional tests.
10322 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
10323 test_get2. Adjust query names. Add additional tests.
10324 (test_no_inet6): New function, extracted from threadfunc.
10325 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
10326 Add additional tests.
10328 2017-09-06 Mike FABIAN <mfabian@redhat.com>
10331 * localedata/unicode-gen/utf8_gen.py: Set the width for
10332 characters with Prepended_Concatenation_Mark property to 1
10333 * localedata/charmaps/UTF-8: Updated using the improved script.
10335 2017-09-06 Mike FABIAN <mfabian@redhat.com>
10338 * localedata/unicode-gen/utf8_gen.py: Improve the script to
10339 use the range notation for all ranges of neighbouring characters
10340 with the same width.
10342 2017-09-05 Joseph Myers <joseph@codesourcery.com>
10344 * sysdeps/generic/math-type-macros-double.h: Include
10345 <math-svid-compat.h>.
10346 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
10347 * sysdeps/generic/math-type-macros-float.h: Include
10348 <math-svid-compat.h>.
10349 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
10350 * sysdeps/generic/math-type-macros-ldouble.h: Include
10351 <math-svid-compat.h>.
10352 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
10353 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
10355 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
10356 * math/w_acosf_compat.c: Likewise.
10357 * math/w_acosh_compat.c: Likewise.
10358 * math/w_acoshf_compat.c: Likewise.
10359 * math/w_acoshl_compat.c: Likewise.
10360 * math/w_acosl_compat.c: Likewise.
10361 * math/w_asin_compat.c: Likewise.
10362 * math/w_asinf_compat.c: Likewise.
10363 * math/w_asinl_compat.c: Likewise.
10364 * math/w_atan2_compat.c: Likewise.
10365 * math/w_atan2f_compat.c: Likewise.
10366 * math/w_atan2l_compat.c: Likewise.
10367 * math/w_atanh_compat.c: Likewise.
10368 * math/w_atanhf_compat.c: Likewise.
10369 * math/w_atanhl_compat.c: Likewise.
10370 * math/w_cosh_compat.c: Likewise.
10371 * math/w_coshf_compat.c: Likewise.
10372 * math/w_coshl_compat.c: Likewise.
10373 * math/w_exp10_compat.c: Likewise.
10374 * math/w_exp10f_compat.c: Likewise.
10375 * math/w_exp10l_compat.c: Likewise.
10376 * math/w_exp2_compat.c: Likewise.
10377 * math/w_exp2f_compat.c: Likewise.
10378 * math/w_exp2l_compat.c: Likewise.
10379 * math/w_fmod_compat.c: Likewise.
10380 * math/w_fmodf_compat.c: Likewise.
10381 * math/w_fmodl_compat.c: Likewise.
10382 * math/w_hypot_compat.c: Likewise.
10383 * math/w_hypotf_compat.c: Likewise.
10384 * math/w_hypotl_compat.c: Likewise.
10385 * math/w_j0_compat.c: Likewise.
10386 * math/w_j0f_compat.c: Likewise.
10387 * math/w_j0l_compat.c: Likewise.
10388 * math/w_j1_compat.c: Likewise.
10389 * math/w_j1f_compat.c: Likewise.
10390 * math/w_j1l_compat.c: Likewise.
10391 * math/w_jn_compat.c: Likewise.
10392 * math/w_jnf_compat.c: Likewise.
10393 * math/w_jnl_compat.c: Likewise.
10394 * math/w_lgamma_r_compat.c: Likewise.
10395 * math/w_lgammaf_r_compat.c: Likewise.
10396 * math/w_lgammal_r_compat.c: Likewise.
10397 * math/w_log10_compat.c: Likewise.
10398 * math/w_log10f_compat.c: Likewise.
10399 * math/w_log10l_compat.c: Likewise.
10400 * math/w_log2_compat.c: Likewise.
10401 * math/w_log2f_compat.c: Likewise.
10402 * math/w_log2l_compat.c: Likewise.
10403 * math/w_log_compat.c: Likewise.
10404 * math/w_logf_compat.c: Likewise.
10405 * math/w_logl_compat.c: Likewise.
10406 * math/w_pow_compat.c: Likewise.
10407 * math/w_powf_compat.c: Likewise.
10408 * math/w_powl_compat.c: Likewise.
10409 * math/w_remainder_compat.c: Likewise.
10410 * math/w_remainderf_compat.c: Likewise.
10411 * math/w_remainderl_compat.c: Likewise.
10412 * math/w_sinh_compat.c: Likewise.
10413 * math/w_sinhf_compat.c: Likewise.
10414 * math/w_sinhl_compat.c: Likewise.
10415 * math/w_sqrt_compat.c: Likewise.
10416 * math/w_sqrtf_compat.c: Likewise.
10417 * math/w_sqrtl_compat.c: Likewise.
10418 * math/w_tgamma_compat.c: Likewise.
10419 * math/w_tgammaf_compat.c: Likewise.
10420 * math/w_tgammal_compat.c: Likewise.
10421 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
10422 [LIBM_SVID_COMPAT].
10423 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
10424 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
10425 [LIBM_SVID_COMPAT].
10426 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
10427 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
10428 [LIBM_SVID_COMPAT].
10429 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
10430 * sysdeps/i386/fpu/w_sqrt.c: New file.
10431 * sysdeps/ia64/fpu/w_acos.c: Likewise.
10432 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
10433 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
10434 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
10435 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
10436 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
10437 * sysdeps/ia64/fpu/w_asin.c: Likewise.
10438 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
10439 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
10440 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
10441 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
10442 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
10443 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
10444 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
10445 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
10446 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
10447 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
10448 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
10449 * sysdeps/ia64/fpu/w_exp.c: Likewise.
10450 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
10451 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
10452 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
10453 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
10454 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
10455 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
10456 * sysdeps/ia64/fpu/w_expf.c: Likewise.
10457 * sysdeps/ia64/fpu/w_expl.c: Likewise.
10458 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
10459 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
10460 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
10461 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
10462 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
10463 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
10464 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
10465 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
10466 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
10467 * sysdeps/ia64/fpu/w_log.c: Likewise.
10468 * sysdeps/ia64/fpu/w_log10.c: Likewise.
10469 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
10470 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
10471 * sysdeps/ia64/fpu/w_log2.c: Likewise.
10472 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
10473 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
10474 * sysdeps/ia64/fpu/w_logf.c: Likewise.
10475 * sysdeps/ia64/fpu/w_logl.c: Likewise.
10476 * sysdeps/ia64/fpu/w_pow.c: Likewise.
10477 * sysdeps/ia64/fpu/w_powf.c: Likewise.
10478 * sysdeps/ia64/fpu/w_powl.c: Likewise.
10479 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
10480 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
10481 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
10482 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
10483 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
10484 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
10485 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
10486 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
10487 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
10488 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
10489 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
10490 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
10491 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
10492 [LIBM_SVID_COMPAT].
10493 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
10494 * sysdeps/ieee754/k_standard.c: Likewise.
10495 * sysdeps/ieee754/k_standardf.c: Likewise.
10496 * sysdeps/ieee754/k_standardl.c: Likewise.
10497 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
10498 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
10499 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
10500 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
10501 long_double_symbol call on [LIBM_SVID_COMPAT].
10502 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
10503 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
10504 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
10505 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
10506 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
10507 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
10508 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
10509 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
10510 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
10511 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
10512 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
10513 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
10514 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
10515 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
10516 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
10517 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
10518 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
10519 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
10520 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
10521 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
10522 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
10523 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
10525 2017-09-05 Steve Ellcey <sellcey@cavium.com>
10527 * include/shlib-compat.h (TEST_COMPAT): New Macro.
10528 * malloc/tst-mallocstate.c: Convert from test-skeleton
10529 to test-driver. Ifdef code using TEST_COMPAT macro.
10530 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
10531 * math/test-matherr.c: Likewise.
10533 2017-09-05 Joseph Myers <joseph@codesourcery.com>
10536 * debug/pcprofiledump.c (main): Use byte-swapped mask when
10537 comparing word with byte-swapped constant.
10539 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
10542 * locale/iso-639.def: add Miskito.
10543 * localedata/SUPPORTED: Add miq_NI/UTF-8.
10544 * localedata/locales/miq_NI: New file.
10546 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
10549 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
10550 (__mkdir): Likewise.
10551 * io/chmod.c (__chmod): Add libc_hidden_def.
10552 * io/mkdir.c (__mkdir): Likewise.
10553 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
10554 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
10555 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
10556 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
10558 2017-09-04 Joseph Myers <joseph@codesourcery.com>
10560 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10564 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
10565 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
10567 2017-09-04 Florian Weimer <fweimer@redhat.com>
10569 * math/math.h: Issue warning if log is defined.
10571 2017-09-04 Joseph Myers <joseph@codesourcery.com>
10573 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10574 kernel version to 4.13.
10576 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10578 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
10579 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
10581 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
10582 just <bits/types.h>.
10583 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
10584 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
10585 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
10586 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
10587 * misc/preadv2.c: Include <errno.h>.
10588 * misc/preadv64v2.c: Include <errno.h>.
10589 * misc/pwritev2.c: Include <errno.h>.
10590 * misc/pwritev64v2.c: Include <errno.h>.
10591 * sysdeps/posix/preadv2.c: Include <errno.h>.
10592 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
10593 Fix <unistd.h> inclusion.
10594 * sysdeps/posix/pwritev2.c: Include <errno.h>.
10595 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
10596 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
10597 __strtoul_internal): New functions.
10598 * sysdeps/posix/pause.c: Include <sigsetops.h>.
10599 * sysdeps/posix/system.c: Include <sigsetops.h>.
10600 * sysdeps/mach/hurd/i386/Makefile
10601 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
10602 [$(subdir) = csu] (sysdep-only-routines): Likewise.
10603 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
10604 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
10605 __feraiseexcept_renamed to feraiseexcept instead of
10606 __GI_feraiseexcept.
10607 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
10608 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
10609 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
10610 RWF_NOWAIT): Define to 0 if undefined already.
10611 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
10613 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
10614 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
10616 2017-09-01 Joseph Myers <joseph@codesourcery.com>
10618 * manual/math.texi (pow10): Do not document.
10619 (pow10f): Likewise.
10620 (pow10l): Likewise.
10621 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
10622 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
10623 * math/libm-test-exp10.inc (pow10_test): Remove.
10624 (do_test): Do not call pow10.
10625 * math/w_exp10_compat.c (pow10): Make into compat symbol.
10626 [NO_LONG_DOUBLE] (pow10l): Likewise.
10627 * math/w_exp10f_compat.c (pow10f): Likewise.
10628 * math/w_exp10l_compat.c (pow10l): Likewise.
10629 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
10630 (pow10): Make into compat symbol.
10631 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
10632 (pow10f): Make into compat symbol.
10633 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
10634 (pow10l): Make into compat symbol.
10635 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
10637 (CFLAGS-nldbl-pow10.c): Remove variable..
10638 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
10639 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
10640 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
10641 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
10642 Undefine and redefine.
10643 (pow10l): Make into compat symbol.
10644 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
10645 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10646 * sysdeps/arm/libm-test-ulps: Likewise.
10647 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
10648 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10649 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
10650 * sysdeps/microblaze/libm-test-ulps: Likewise.
10651 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10652 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10653 * sysdeps/nios2/libm-test-ulps: Likewise.
10654 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10655 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10656 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10657 * sysdeps/sh/libm-test-ulps: Likewise.
10658 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10659 * sysdeps/tile/libm-test-ulps: Likewise.
10660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10662 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
10664 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
10666 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
10668 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
10669 "../ChangeLog.old/ChangeLog.8".
10670 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
10671 "../ChangeLog.old/ChangeLog.14".
10673 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
10675 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
10678 2017-09-01 Joseph Myers <joseph@codesourcery.com>
10680 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
10682 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
10684 * csu/version.c (banner): Remove "by Roland McGrath et al.".
10685 * nptl/Banner: Remove "by Ulrich Drepper et al.".
10687 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
10689 * stdlib/tst-atexit-common.c (do_test): Test support for at least
10690 32 atexit handlers.
10692 2017-09-01 Zack Weinberg <zackw@panix.com>
10694 * math/math.h (HUGE_VAL): Improve commentary.
10696 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10697 Andreas Schwab <schwab@suse.de>
10700 * include/stdio.h (__gen_tempfd): New function.
10701 * stdio-common/Makefile (routines): Add gentempfd.
10702 * stdio-common/gentempfd.c: New file.
10703 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
10704 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
10705 unnamed file first.
10707 2017-09-01 Florian Weimer <fweimer@redhat.com>
10711 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
10712 result to determine success or failure, not the errno value.
10713 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
10714 (tst-nss-files-hosts-erange): Link with -ldl.
10715 * nss/tst-nss-files-hosts-erange.c: New file.
10716 * nss/tst-resolv-basic.c (response): Handle nodata.example.
10717 (do_test): Add NO_DATA tests.
10718 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
10719 (do_test): Call it.
10721 2017-09-01 Florian Weimer <fweimer@redhat.com>
10724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
10725 coming from gethostbyname2_r.
10727 2017-09-01 Florian Weimer <fweimer@redhat.com>
10729 * support/namespace.h (struct support_chroot_configuration): Add
10731 (struct support_chroot): Add path_hosts, path_host_conf.
10732 * support/support_chroot.c (write_file): New function.
10733 (support_chroot_create): Call it to process /etc/resolv.conf,
10734 /etc/hosts, /etc/host.conf.
10735 (support_chroot_free): Update.
10737 2017-09-01 Florian Weimer <fweimer@redhat.com>
10739 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
10740 status indicates it is set.
10742 2017-09-01 Florian Weimer <fweimer@redhat.com>
10744 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
10745 function lookup failures more reliable.
10747 2017-09-01 Florian Weimer <fweimer@redhat.com>
10749 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
10750 (getcanonname): Likewise.
10751 (gaih_inet): Likewise.
10753 2017-09-01 Florian Weimer <fweimer@redhat.com>
10755 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
10756 (getcanonname): Likewise.
10757 (gaih_inet): Likewise.
10759 2017-08-31 Steve Ellcey <sellcey@cavium.com>
10760 Richard Henderson <rth@twiddle.net>
10762 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
10763 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
10764 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
10765 (IREG_SIZE, OREG_SIZE): New macros.
10766 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
10767 (IREG_SIZE, OREG_SIZE): New macros.
10768 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
10769 (IREG_SIZE): New macro.
10770 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
10771 (IREG_SIZE): New macro.
10772 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
10774 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
10775 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
10776 (__CONCATX): Handle exceptions correctly on large values that may
10778 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
10779 Initialize if not already set.
10780 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
10782 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10784 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
10785 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
10787 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
10789 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
10791 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
10793 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
10795 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
10797 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
10799 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
10800 (NO_CANCELLATION): Likewise.
10801 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
10803 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
10805 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
10807 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
10808 (NO_CANCELLATION): Likewise.
10809 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
10810 (NO_CANCELLATION): Likewise.
10811 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
10813 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
10815 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
10817 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
10819 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
10821 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
10822 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
10824 2017-08-31 Steve Ellcey <sellcey@cavium.com>
10826 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
10829 2017-08-31 Florian Weimer <fweimer@redhat.com>
10831 * include/libc-symbols.h (internal_function): Remove.
10833 2017-08-31 Florian Weimer <fweimer@redhat.com>
10835 * stdlib/fmtmsg.c (internal_addseverity): Remove
10838 2017-08-31 Florian Weimer <fweimer@redhat.com>
10840 * stdio-common/printf_fp.c (group_number): Remove
10842 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
10844 2017-08-31 Florian Weimer <fweimer@redhat.com>
10846 * posix/fnmatch.c (internal_function): Remove definition.
10847 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
10848 * posix/regcomp.c (peek_token, init_word_char)
10849 (duplicate_node_closure, fetch_token, peek_token)
10850 (peek_token_bracket, build_range_exp, build_collating_symbol):
10852 * posix/regex_internal.c (re_string_construct_common)
10853 (create_ci_newstate, create_cd_newstate, re_string_allocate)
10854 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
10855 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
10856 (re_string_translate_buffer, re_string_reconstruct)
10857 (re_string_peek_byte_case, re_string_fetch_byte_case)
10858 (re_string_destruct, re_string_context_at, re_node_set_alloc)
10859 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
10860 (re_node_set_add_intersect, re_node_set_init_union)
10861 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
10862 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
10863 (re_dfa_add_node, calc_state_hash, re_acquire_state)
10864 (re_acquire_state_context): Likewise.
10865 * posix/regex_internal.h (internal_function): Remove definition.
10866 (re_string_realloc_buffers, build_wcs_buffer)
10867 (build_wcs_upper_buffer, build_upper_buffer)
10868 (re_string_translate_buffer, re_string_context_at)
10869 (re_string_char_size_at, re_string_wchar_at)
10870 (re_string_elem_size_at): Likewise.
10871 * posix/regexec.c (match_ctx_init, match_ctx_clean)
10872 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
10873 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
10874 (re_search_internal, re_search_2_stub, re_search_stub)
10875 (re_copy_regs, prune_impossible_nodes, check_matching)
10876 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
10877 (free_fail_stack_return, sift_states_iter_mb)
10878 (sift_states_backward, build_sifted_states)
10879 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
10880 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
10881 (check_subexp_limits, sift_states_bkref, merge_state_array)
10882 (find_recover_state, transit_state, merge_state_with_log)
10883 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
10884 (transit_state_mb, transit_state_bkref, get_subexp)
10885 (get_subexp_sub, find_subexp_node, check_arrival)
10886 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
10887 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
10888 (check_node_accept_bytes, find_collation_sequence_value)
10889 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
10890 (acquire_init_state_context, check_halt_node_context)
10891 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
10892 (sub_epsilon_src_nodes): Likewise.
10893 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
10894 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
10895 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
10896 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
10897 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
10898 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
10899 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
10900 * sysdeps/posix/ttyname.c (getttyname): Likewise.
10901 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
10902 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
10903 (PREADV): Likewise.
10904 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
10905 (PREADV): Likewise.
10906 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
10907 (PWRITEV): Likewise.
10908 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
10909 (PWRITEV): Likewise.
10910 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
10911 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
10913 2017-08-31 Florian Weimer <fweimer@redhat.com>
10915 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
10916 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
10917 Remove internal_function.
10918 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
10919 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
10920 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
10921 (__deallocate_stack, __libc_pthread_init)
10922 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
10923 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
10924 (__libc_disable_asynccancel, __librt_disable_asynccancel):
10926 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
10927 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
10928 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
10930 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
10931 (__pthread_mutex_unlock_usercnt): Likewise.
10933 2017-08-31 Florian Weimer <fweimer@redhat.com>
10935 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
10936 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
10937 (fts_safe_changedir): Remove internal_function.
10938 * io/ftw.c (internal_function): Remove definition.
10939 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
10941 2017-08-31 Florian Weimer <fweimer@redhat.com>
10943 * inet/deadline.c (__deadline_current_time)
10944 (__deadline_from_timeval, __deadline_to_ms): Remove
10946 * inet/getnameinfo.c (nrl_domainname): Likewise.
10947 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
10948 * inet/inet6_option.c (add_pad): Likewise.
10949 * inet/net-internal.h (__deadline_current_time)
10950 (__deadline_from_timeval, __deadline_to_ms): Likewise.
10951 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
10952 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
10953 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
10955 2017-08-31 Joseph Myers <joseph@codesourcery.com>
10957 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
10958 include <bits/nan.h>.
10959 * math/Makefile (headers): Remove bits/nan.h.
10960 * bits/nan.h: Remove.
10961 * sysdeps/ieee754/bits/nan.h: Likewise.
10962 * sysdeps/mips/bits/nan.h: Likewise.
10964 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
10965 not include <bits/inf.h>.
10966 * math/Makefile (headers): Remove bits/inf.h.
10967 * bits/inf.h: Remove.
10968 * sysdeps/ieee754/bits/inf.h: Likewise.
10970 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
10971 bits/huge_vall.h or bits/huge_val_flt128.h.
10972 (HUGE_VAL): Define directly here.
10973 [__USE_ISOC99] (HUGE_VALF): Likewise.
10974 [__USE_ISOC99] (HUGE_VALL): Likewise.
10975 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10976 (HUGE_VAL_F128): Likewise.
10977 * math/Makefile (headers): Remove bits/huge_val.h,
10978 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
10979 * bits/huge_val.h: Remove.
10980 * bits/huge_val_flt128.h: Likewise.
10981 * bits/huge_valf.h: Likewise.
10982 * bits/huge_vall.h: Likewise.
10983 * sysdeps/ia64/bits/huge_vall.h: Likewise.
10984 * sysdeps/ieee754/bits/huge_val.h: Likewise.
10985 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
10986 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
10987 * sysdeps/sh/bits/huge_val.h: Likewise.
10988 * sysdeps/sparc/bits/huge_vall.h: Likewise.
10989 * sysdeps/x86/bits/huge_vall.h: Likewise.
10991 2017-08-31 Florian Weimer <fweimer@redhat.com>
10993 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
10995 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
10997 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
10998 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10999 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
11000 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
11001 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11002 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11003 * elf/dl-libc.c (dlerror_run): Likewise.
11004 * elf/dl-load.c (add_name_to_object, decompose_rpath)
11005 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
11006 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
11007 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
11009 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
11010 (_dl_higher_prime_number, _dl_strtoul): Likewise.
11011 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
11012 * elf/dl-profile.c (_dl_start_profile): Likewise.
11013 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
11014 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
11016 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
11017 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
11018 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
11019 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
11020 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
11021 (_dl_allocate_tls_storage): Likewise.
11022 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
11023 (_dl_check_all_versions): Likewise.
11024 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
11025 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
11026 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
11027 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
11028 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
11029 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
11030 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
11031 internal_function from __dl_start.
11032 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
11033 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
11034 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
11035 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
11036 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
11037 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
11038 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
11039 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
11040 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
11041 (_dl_next_ld_env_entry, _dl_important_hwcaps)
11042 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
11043 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
11044 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
11045 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
11046 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
11048 (struct rtld_global_ro): Remove internal_function from the
11049 _dl_lookup_symbol_x member.
11050 (_dl_symbol_value): Remove. No longer defined anywhere.
11051 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
11053 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
11054 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
11055 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
11056 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
11057 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
11058 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
11059 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
11060 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
11061 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
11062 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
11063 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
11064 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
11066 2017-08-31 Florian Weimer <fweimer@redhat.com>
11068 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
11069 Remove internal_function.
11070 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
11072 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
11075 2017-08-31 Florian Weimer <fweimer@redhat.com>
11077 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
11078 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
11079 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
11081 2017-08-31 Florian Weimer <fweimer@redhat.com>
11083 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
11084 (__gai_enqueue_request): Remove internal_function.
11085 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
11086 (__gai_remove_request, __gai_notify, __gai_notify_only)
11087 (__gai_sigqueue): Likewise.
11088 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
11089 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
11090 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
11091 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11094 2017-08-31 Florian Weimer <fweimer@redhat.com>
11096 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
11097 * include/dirent.h (__opendirat, __getdents, __getdents64)
11098 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
11099 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
11100 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
11101 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
11103 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
11105 2017-08-31 Florian Weimer <fweimer@redhat.com>
11107 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
11109 (GETCWD_RETURN_TYPE): Likewise.
11111 2017-08-31 Florian Weimer <fweimer@redhat.com>
11113 * include/time.h (__tz_compute, __strptime_internal): Remove
11115 * time/strptime_l.c (__strptime_internal): Likewise.
11116 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
11118 2017-08-31 Florian Weimer <fweimer@redhat.com>
11120 * iconv/gconv.c (__gconv): Remove internal_function.
11121 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
11122 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
11123 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
11124 (__gconv_release_cache): Likewise.
11125 * iconv/gconv_close.c (__gconv_close): Likewise.
11126 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
11127 (read_conf_file, __gconv_get_path): Likewise.
11128 * iconv/gconv_db.c (derivation_lookup, add_derivation)
11129 (__gconv_release_step, gen_steps, increment_counter)
11130 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
11131 (__gconv_close_transform, free_modules_db): Likewise.
11132 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
11134 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
11135 (__gconv_find_transform, __gconv_lookup_cache)
11136 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
11137 (__gconv_close_transform, __gconv_release_cache)
11138 (__gconv_loaded_object, __gconv_release_shlib)
11139 (__gconv_compare_alias): Likewise.
11140 * iconv/gconv_open.c (__gconv_open): Likewise.
11141 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
11142 * iconv/iconvconfig.c (add_module): Likewise.
11143 * intl/dcigettext.c (plural_lookup, guess_category_value)
11144 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
11145 * intl/eval-plural.h (plural_eval): Likewise.
11146 * intl/finddomain.c (_nl_find_domain): Likewise.
11147 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
11148 (_nl_load_domain, _nl_find_msg): Likewise.
11149 (internal_function): Remove definition.
11150 * intl/loadinfo.h (internal_function): Likewise.
11151 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
11153 * intl/localealias.c (internal_function): Remove definition.
11154 (read_alias_file): Remove internal_function.
11155 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
11156 * intl/plural-exp.h (internal_function): Remove definition.
11157 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
11159 * intl/plural.c: Regenerate.
11160 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
11161 * locale/coll-lookup.c (__collidx_table_lookup)
11162 (__collseq_table_lookup): Likewise.
11163 * locale/coll-lookup.h (__collidx_table_lookup)
11164 (__collseq_table_lookup): Likewise.
11165 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
11166 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11167 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
11168 (_nl_unload_locale): Likewise.
11169 * locale/localeinfo.h (struct __locale_data): Remove
11170 internal_function from cleanup member.
11171 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
11172 (_nl_remove_locale, _nl_load_locale_from_archive)
11173 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
11174 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
11175 (_nl_cleanup_time): Remove internal_function.
11176 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
11177 (_nl_parse_alt_digit): Likewise.
11178 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
11179 (_nl_select_era_entry): Likewise.
11180 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
11181 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
11182 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
11183 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
11184 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
11186 2017-08-31 Florian Weimer <fweimer@redhat.com>
11188 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
11189 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
11190 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
11191 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
11193 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
11194 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
11195 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
11196 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
11198 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
11200 2017-08-31 Florian Weimer <fweimer@redhat.com>
11202 * misc/getttyent.c (skip, value): Remove internal_function.
11203 * misc/syslog.c (openlog_internal): Likewise.
11204 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
11206 2017-08-31 Florian Weimer <fweimer@redhat.com>
11208 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
11209 (__nss_rewrite_field): Remove internal_function.
11210 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11211 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
11212 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11213 * nss/nsswitch.c (nss_parse_file, nss_getline)
11214 (nss_parse_service_list, nss_new_service): Likewise.
11215 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
11216 * nss/valid_field.c (__nss_valid_field): Likewise.
11217 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
11219 2017-08-31 Florian Weimer <fweimer@redhat.com>
11221 * malloc/arena.c (__malloc_fork_lock_parent)
11222 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
11223 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
11224 internal_function from defintions.
11225 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
11226 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
11227 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
11228 internal_function from declarations.
11229 * malloc/malloc.c (internal_function): Do not define.
11230 (mem2mem_check): Remove internal_function from declaration.
11231 (munmap_chunk, mremap_chunk): Remove internal_function.
11232 * malloc/mtrace.c (tr_where): Likewise.
11234 2017-08-31 Florian Weimer <fweimer@redhat.com>
11236 * include/rpc/pmap_clnt.h (__get_socket): Remove
11238 * sunrpc/auth_des.c (synchronize): Likewise.
11239 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
11240 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
11241 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
11242 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
11243 (key_call): Likewise.
11244 * sunrpc/pm_getport.c (__get_socket): Likewise.
11245 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
11246 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
11247 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
11248 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
11249 (invalidate): Likewise.
11250 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
11251 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
11252 (set_input_fragment, get_input_bytes): Likewise.
11254 2017-08-31 Florian Weimer <fweimer@redhat.com>
11256 * malloc/malloc.c (_int_free): Remove locked variable and related
11259 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
11262 * Makerules (build-module-helper-objlist): Filter out
11263 $(elf-objpfx)sofini.os.
11264 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
11267 2017-08-31 Florian Weimer <fweimer@redhat.com>
11269 * libio/fcloseall.c: Assume weak_alias is defined.
11270 * libio/feof.c: Likewise.
11271 * libio/fileno.c: Likewise.
11272 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
11273 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
11275 (_IO_file_open): Call __open directly.
11276 (_IO_new_file_sync): Assume ESPIPE is defined.
11277 (_IO_file_seekoff_maybe_mmap): Call __read directly.
11278 (_IO_new_file_write): Call __write directly.
11279 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
11280 * libio/ftello64.c (__ftello64): Assume EIO is defined.
11281 * libio/genops.c: Assume _LIBC is defined.
11282 (save_for_backup): Remove internal_function.
11283 * libio/getc.c: Assume weak_alias is defined.
11284 * libio/getwc.c: Likewise.
11285 * libio/iofclose.c: Assume _LIBC is defined.
11286 * libio/iofdopen.c: Likewise.
11287 (_IO_fcntl): Remove macro definition.
11288 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
11289 Call __fcntl directly.
11290 * libio/iofflush.c: Assume weak_alias is defined.
11291 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
11293 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
11294 * libio/iofgets.c: Likewise.
11295 * libio/iofopen.c: Assume _LIBC is defined.
11296 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
11297 * libio/iofputs.c: Assume weak_alias is defined.
11298 * libio/iofread.c: Likewise.
11299 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
11300 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
11301 * libio/ioftell.c: Assume weak_alias is defined.
11302 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
11303 * libio/iofwide.c: Assume _LIBC is defined.
11304 (_IO_fwide): Drop SHARED conditional because it is implied by
11306 * libio/iofwrite.c: Assume weak_alias is defined.
11307 * libio/iogetdelim.c: Likewise.
11308 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
11309 * libio/iogetwline.c (wmemcpy): Remove macro definition.
11310 (_IO_getwline): Call __wmemcpy directly.
11311 * libio/iopopen.c: Assume _LIBC is defined.
11312 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
11313 (_IO_close): Remove macro definitions.
11314 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
11316 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
11318 * libio/ioputs.c: Assume weak_alias is defined.
11319 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
11320 * libio/iosetbuffer.c: Assume weak_alias is defined.
11321 * libio/iosetvbuf.c: Likewise.
11322 * libio/ioungetc.c: Likewise.
11323 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
11324 libc_hidden_def, libc_hidden_weak, NULL are defined.
11325 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
11326 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
11328 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
11330 (_IO_old_file_init_internal): Drop SHARED conditional because it
11331 is implied by SHLIB_COMPAT.
11332 (_IO_old_file_fopen): Call __open directly.
11333 (_IO_old_file_sync): Assume ESPIPE is defined.
11334 (_IO_old_file_write): Call __write directly.
11335 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
11336 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
11337 Call __fcntl directly.
11338 * libio/oldiofgetpos.c: Assume weak_alias is defined.
11339 (_IO_old_fgetpos): Assume EIO is defined.
11340 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
11341 (_IO_old_fgetpos64): Assume EIO is defined.
11342 * libio/oldiofsetpos.c: Assume weak_alias is defined.
11343 (_IO_old_fsetpos): Assume EIO is defined.
11344 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
11345 (_IO_old_fsetpos64): Assume EIO is defined.
11346 * libio/oldiopopen.c: Assume _LIBC is defined.
11347 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
11348 (_IO_close): Remove macro definitions.
11349 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
11351 (_IO_old_proc_close): Call __close, __waitpid directly.
11352 * libio/put.c: Assume weak_alias is defined.
11353 * libio/stdfiles.c: Assume _LIBC is defined.
11354 * libio/stdio.c: Likewise.
11355 * libio/wfileops.c: Likewise.
11356 (_IO_wfile_sync): Assume ESPIPE is defined.
11357 * libio/wgenops.c: Assume _LIBC is defined.
11358 (save_for_wbackup): Remove internal_function.
11360 2017-08-31 Florian Weimer <fweimer@redhat.com>
11362 * malloc/malloc.c (top_check): Change return type to void. Remove
11364 * malloc/hooks.c (top_check): Likewise.
11365 (malloc_check, realloc_check, memalign_check): Adjust.
11367 2017-08-30 Joseph Myers <joseph@codesourcery.com>
11370 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
11371 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
11372 sigcontext and namespace requirements.
11373 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
11374 * sysdeps/m68k/sys/ucontext.h: Likewise.
11375 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
11376 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
11377 <bits/sigcontext.h>.
11378 (__ctx): Define earlier.
11379 (mcontext_t): Define structure contents rather than using struct
11381 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
11382 __glibc_reserved1 instead of __reserved.
11383 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
11384 <bits/sigcontext.h>.
11385 (__ctx): Define earlier.
11386 (mcontext_t): Define structure contents rather than using struct
11388 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
11389 mcontext_t instead of struct sigcontext.
11390 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
11391 <bits/sigcontext.h>.
11392 (__ctx): Define earlier.
11393 (mcontext_t): Define structure contents rather than using struct
11395 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
11396 <bits/sigcontext.h>.
11397 (__ctx): Define earlier.
11398 (mcontext_t): Define structure contents rather than using struct
11400 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
11401 mcontext_t instead of struct sigcontext.
11402 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
11403 mcontext_t instead of struct sigcontext.
11404 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
11405 <bits/sigcontext.h>.
11406 (__ctx): New macro.
11407 (struct __ia64_fpreg_mcontext): New type.
11408 (mcontext_t): Define structure contents rather than using struct
11410 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
11411 (uc_sigmask): Define using __ctx.
11412 (uc_stack): Likewise.
11413 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
11414 <bits/sigcontext.h>.
11415 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11416 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
11417 <bits/sigcontext.h>.
11418 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
11419 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
11420 <bits/sigcontext.h>.
11421 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
11422 <bits/sigcontext.h>.
11423 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
11424 <bits/sigcontext.h>.
11425 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
11426 <bits/sigcontext.h>.
11427 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
11428 <bits/sigcontext.h>.
11429 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
11430 <bits/sigcontext.h>.
11431 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
11432 <bits/sigcontext.h>.
11433 (__ctx): Define earlier.
11434 (mcontext_t): Define structure contents rather than using struct
11436 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
11437 <bits/sigcontext.h>. Include <bits/types.h>.
11438 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
11439 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
11440 (test-xfail-XPG42/ucontext.h/conform): Likewise.
11441 (test-xfail-UNIX98/signal.h/conform): Likewise.
11442 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11443 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11444 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11445 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11446 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11447 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11448 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11449 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11450 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11452 2017-08-30 Florian Weimer <fweimer@redhat.com>
11454 * malloc/dynarray_emplace_enlarge.c
11455 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
11456 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
11457 * malloc/tst-dynarray.c (test_long_overflow): New function.
11458 (do_test): Call it.
11460 2017-08-30 Florian Weimer <fweimer@redhat.com>
11462 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
11463 (set_arena_corrupt): Remove definitions.
11464 (mtrim): Do not check for corrupt arena.
11465 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
11468 2017-08-30 Florian Weimer <fweimer@redhat.com>
11471 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
11473 (ptmalloc_init): Do not set or use check_action.
11474 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
11475 call to malloc_printerr. Remove return statement.
11476 (free_check): Likewise. Remove arena unlock.
11477 (top_check): Update comment. Adjust call to malloc_printerr.
11478 Remove heap repair code.
11479 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
11480 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
11481 (sysmalloc): Adjust call to malloc_printerr.
11482 (munmap_chunk, __libc_realloc): Likewise. Remove return
11484 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
11485 Remove errout label and corresponding gotos.
11486 (_int_free): Likewise. Remove arena unlock.
11487 (do_set_mallopt_check): Do not set check_action.
11488 (malloc_printerr): Adjust parameter list. Do not mark arena as
11490 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
11492 * manual/probes.texi (Memory Allocation Probes): Remove
11493 memory_mallopt_check_action.
11495 2017-08-30 Steve Ellcey <sellcey@cavium.com>
11497 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
11498 Use pointer to uint64_t instead of long int for sp.
11500 2017-08-30 Florian Weimer <fweimer@redhat.com>
11503 * malloc/malloc.c (malloc_printerr): Always terminate the process,
11504 without printing a backtrace. Do not leak any information in the
11506 * manual/memory.texi (Heap Consistency Checking): Update.
11507 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
11509 2017-08-30 Florian Weimer <fweimer@redhat.com>
11511 Do not scale NPTL tests with available number of CPUs.
11512 * nptl/tst-cond16.c (count): Set to constant value of 8.
11513 * nptl/tst-cond18.c (count): Likewise.
11515 2017-08-29 Joseph Myers <joseph@codesourcery.com>
11518 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
11519 Define to take a second argument that is a macro that
11520 concatentates a suffix, not the suffix itself.
11521 (__CONCAT_d): New macro.
11522 (__CONCAT_f): Likewise.
11523 (__CONCAT_l): Likewise.
11525 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
11527 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
11530 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11531 Aurelien Jarno <aurelien@aurel32.net>
11532 Maciej W. Rozycki <macro@imgtec.com>
11535 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
11536 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
11537 `mips16-syscall6' and `mips16-syscall7'.
11538 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
11539 (CFLAGS-mips16-syscall7.c): Remove.
11540 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
11541 Remove `__mips16_syscall5', `__mips16_syscall6' and
11542 `__mips16_syscall7'.
11543 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
11544 (__mips16_syscall0): Rename `__mips16_syscall_return' to
11545 `__mips_syscall_return'.
11546 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
11547 (__mips16_syscall1): Likewise.
11548 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
11549 (__mips16_syscall2): Likewise.
11550 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
11551 (__mips16_syscall3): Likewise.
11552 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
11553 (__mips16_syscall4): Likewise.
11554 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
11556 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
11558 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
11560 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
11561 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
11562 `__mips16_syscall5'. Remove prototype.
11563 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
11564 `__mips16_syscall6'. Remove prototype.
11565 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
11566 `__mips16_syscall7'. Remove prototype.
11567 (__nomips16, __mips16_syscall_return): Move to...
11568 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
11569 (__nomips16, __mips_syscall_return): ... here.
11570 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
11571 `__mips16_syscall_return' to `__mips_syscall_return'.
11572 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
11573 `internal_syscall##nr'.
11574 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
11575 `internal_syscall##nr'.
11576 (FORCE_FRAME_POINTER): Remove.
11577 (__mips_syscall5): New prototype.
11578 (internal_syscall5): Rewrite to call `__mips_syscall5'.
11579 (__mips_syscall6): New prototype.
11580 (internal_syscall6): Rewrite to call `__mips_syscall6'.
11581 (__mips_syscall7): New prototype.
11582 (internal_syscall7): Rewrite to call `__mips_syscall7'.
11583 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
11584 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
11585 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
11586 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
11587 (sysdep_routines): Add libc-do-syscall.
11588 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
11589 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
11591 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11594 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
11595 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
11596 (advise_stack_range): New function.
11597 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
11598 stack non required to advise_stack_range at allocatestack.c
11600 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
11602 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
11604 2017-08-29 Florian Weimer <fweimer@redhat.com>
11607 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
11608 __end_fct. Mangle __end_fct after setting it to NULL.
11609 * iconv/Makefile (tests): Add tst-gconv-init-failure.
11610 (modules-names, modules-names-tests): Add
11611 tst-gconv-init-failure-mod.
11612 (gconv-modules): New target.
11613 (tst-gconv-init-failure-mod.so): Link against libsupport.
11614 (tst-gconv-init-failure): Depend on gconv-modules,
11615 tst-gconv-init-failure-mod.so.
11616 * iconv/tst-gconv-init-failure-mod.c: New file.
11617 * iconv/tst-gconv-init-failure.c: Likewise.
11618 * iconv/test-gconv-modules: Likewise.
11620 2017-08-29 Florian Weimer <fweimer@redhat.com>
11623 * iconv/gconv_db.c (free_derivation): Remove redundant
11625 (gen_steps): Unconditionally mangle __btowc_fct after
11627 (increment_counter): Likewise. Do not call init_fct for internal
11630 2017-08-29 Joseph Myers <joseph@codesourcery.com>
11633 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
11634 (_MSUF_): Remove macro.
11635 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
11637 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
11638 (__REDIRFROM_X): New macro.
11639 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
11641 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
11642 (__REDIRTO_X): Likewise.
11643 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
11645 (__MATH_REDIRCALL_2): Likewise.
11646 (__MATH_REDIRCALL_INTERNAL): Likewise.
11647 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
11648 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
11649 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
11650 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
11651 * math/test-finite-macros.c: New file.
11652 * math/Makefile (tests): Add test-finite-macros.
11653 (CFLAGS-test-finite-macros.c): New variable.
11655 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
11656 Jeff Law <law@redhat.com>
11659 Mangle NULL pointers in iconv/gconv.
11660 * iconv/gconv_cache.c (find_module): Demangle init_fct before
11661 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
11662 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
11663 is non-NULL before demangling the end_fct. Check for NULL
11664 end_fct after demangling.
11665 (__gconv_release_step): Demangle the end_fct before checking
11666 it for NULL. Remove assert on __shlibc_handle != NULL.
11667 (gen_steps): Don't check btowc_fct for NULL before mangling.
11668 Demangle init_fct before checking for NULL.
11669 (increment_counter): Likewise.
11670 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
11671 end_fct for NULL before mangling.
11672 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
11675 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
11678 * locale/iso-639.def: add Morisyen.
11680 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11683 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
11684 (iszero): New C++ implementation that does not use
11685 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
11686 signaling nans are enabled, since __builtin_types_compatible_p
11687 is a C-only feature.
11688 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
11689 defined, include ieee754_float128.h for access to the union and
11690 member ieee854_float128.ieee.
11691 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
11692 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
11693 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
11694 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
11695 options of test-math-zero on powerpc64le.
11697 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
11699 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
11700 Change double to float.
11702 2017-08-28 Joseph Myers <joseph@codesourcery.com>
11704 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
11706 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
11707 conditional code; define contents only for [LIBM_SVID_COMPAT].
11709 2017-08-28 Florian Weimer <fweimer@redhat.com>
11711 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
11712 (abi-lp64_be-options): Remove.
11713 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
11714 (abi-hard-options): Likewise.
11715 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
11716 (abi-o32_hard-options, abi-o32_soft_2008-options)
11717 (abi-o32_hard_2008-options, abi-n32_soft-options)
11718 (abi-n32_hard-options, abi-n32_soft_2008-options)
11719 (abi-n32_hard_2008-options, abi-n64_soft-options)
11720 (abi-n64_hard-options, abi-n64_soft_2008-options)
11721 (abi-n64_hard_2008-options): Likewise.
11722 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
11723 (abi-64-v1-options, abi-64-v2-options): Likewise.
11724 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
11725 (abi-64-options): Likewise.
11726 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
11727 (abi-64-options): Likewise.
11728 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
11729 (abi-64-options): Likewise.
11730 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
11731 (abi-64-options, abi-x32-options): Likewise.
11733 2017-08-28 Florian Weimer <fweimer@redhat.com>
11735 Store supported list of SYS_* system calls in the source tree.
11736 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11737 (bits/syscall.h): Generate from list file.
11738 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
11739 [$(subdir) = misc] (tests): Add tst-syscall-list.
11740 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
11741 [$(subdir) = misc] (tst-syscall-list-macros.list)
11742 [$(subdir) = misc] (tst-syscall-list-nr.list)
11743 (tst-syscall-list-sys.list): Helper targets for new
11744 tst-syscall-list test.
11745 [$(subdir) = misc] (tst-syscall-list.out): Run test script
11746 tst-syscall-list.sh.
11747 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
11748 target. Do not include bits/syscall.d.
11749 [$(subdir) = misc] (generated): Do not update.
11750 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
11751 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
11752 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
11753 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
11755 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
11757 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
11758 (tst-cxa_atexit, tst-on_exit): Likewise.
11759 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
11760 tst-cxa_atexit, and tst-on_exit.
11761 * stdlib/tst-atexit-common.c: New file.
11762 * stdlib/tst-atexit.c: New file.
11763 * stdlib/tst-at_quick_exit.c: New file.
11764 * stdlib/tst-cxa_atexit.c: New file.
11765 * stdlib/tst-on_exit.c: New file.
11767 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11769 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
11770 * mach/stack_chk_fail_local.c: New file.
11771 * hurd/stack_chk_fail_local.c: New file.
11772 * mach/Machrules ($(interface-library)-routines): Add
11773 stack_chk_fail_local.
11774 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
11775 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
11776 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
11777 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
11778 * hurd/Makefile (CFLAGS-hurdstartup.o,
11779 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
11781 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
11783 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
11784 (index_cpu_*, index_arch_*): Removed.
11786 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
11788 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
11789 Use uint64_t instead of unsigned long.
11791 2017-08-25 Joseph Myers <joseph@codesourcery.com>
11793 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
11794 [__HAVE_DISTINCT_FLOAT128].
11796 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
11797 of <bits/math-finite.h>.
11798 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
11799 inclusion of <bits/math-finite.h>.
11800 * math/bits/math-finite.h (__REDIRTO_X): Do not define
11801 conditionally on [__MATH_DECLARING_LDOUBLE && defined
11802 __NO_LONG_DOUBLE_MATH].
11803 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
11804 (__MATH_REDIRCALL_2): Likewise.
11805 (__MATH_REDIRCALL_INTERNAL): Likewise.
11806 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
11807 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
11808 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
11810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
11812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
11814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
11816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
11818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
11820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
11822 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
11823 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
11824 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
11825 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
11826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
11827 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
11828 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
11829 w_sqrtf_compat-ppc32.
11831 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11833 * math/math.h [defined __cplusplus] (issignaling): In the long
11834 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
11835 is not defined. Call __issignaling, otherwise.
11837 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11839 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
11840 syscall definitions and replace __builtin_expect with __glibc_likely.
11841 * sysdeps/unix/syscall-template.S: Update comment about cancellable
11843 (SYSCALL_CANCELLABLE): Removedefinition
11844 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
11846 (PSEUDO_END): Likewise.
11847 [IS_IN (libpthread)] (CENABLE): Likewise.
11848 [IS_IN (libpthread)] (CDISABLE): Likewise.
11849 [IS_IN (libc)] (CENABLE): Likewise.
11850 [IS_IN (libc)] (CENABLE): Likewise.
11851 [IS_IN (librt)] (CDISABLE): Likewise.
11852 [IS_IN (librt)] (CDISABLE): Likewise.
11853 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11854 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
11856 (PSEUDO_END): Likewise.
11857 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
11858 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
11859 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
11860 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
11861 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
11862 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
11863 (CENABLE): Likewise.
11864 (CDISABLE): Likewise.
11865 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11866 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
11868 (PSEUDO_END): Likewise.
11869 [IS_IN (libpthread)] (CENABLE): Likewise.
11870 [IS_IN (libpthread)] (CDISABLE): Likewise.
11871 [IS_IN (libc)] (CENABLE): Likewise.
11872 [IS_IN (libc)] (CENABLE): Likewise.
11873 [IS_IN (librt)] (CDISABLE): Likewise.
11874 [IS_IN (librt)] (CDISABLE): Likewise.
11875 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11876 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
11878 (PSEUDO_END): Likewise.
11879 [IS_IN (libpthread)] (CENABLE): Likewise.
11880 [IS_IN (libpthread)] (CDISABLE): Likewise.
11881 [IS_IN (libc)] (CENABLE): Likewise.
11882 [IS_IN (libc)] (CENABLE): Likewise.
11883 [IS_IN (librt)] (CDISABLE): Likewise.
11884 [IS_IN (librt)] (CDISABLE): Likewise.
11885 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11886 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
11888 (PSEUDO_END): Likewise.
11889 [IS_IN (libpthread)] (CENABLE): Likewise.
11890 [IS_IN (libpthread)] (CDISABLE): Likewise.
11891 [IS_IN (libc)] (CENABLE): Likewise.
11892 [IS_IN (libc)] (CENABLE): Likewise.
11893 [IS_IN (librt)] (CDISABLE): Likewise.
11894 [IS_IN (librt)] (CDISABLE): Likewise.
11895 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11896 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
11898 (PSEUDO_END): Likewise.
11899 [IS_IN (libpthread)] (CENABLE): Likewise.
11900 [IS_IN (libpthread)] (CDISABLE): Likewise.
11901 [IS_IN (libc)] (CENABLE): Likewise.
11902 [IS_IN (libc)] (CENABLE): Likewise.
11903 [IS_IN (librt)] (CDISABLE): Likewise.
11904 [IS_IN (librt)] (CDISABLE): Likewise.
11905 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11906 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
11908 (PSEUDO_END): Likewise.
11909 [IS_IN (libpthread)] (CENABLE): Likewise.
11910 [IS_IN (libpthread)] (CDISABLE): Likewise.
11911 [IS_IN (libc)] (CENABLE): Likewise.
11912 [IS_IN (libc)] (CENABLE): Likewise.
11913 [IS_IN (librt)] (CDISABLE): Likewise.
11914 [IS_IN (librt)] (CDISABLE): Likewise.
11915 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11916 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
11918 (PSEUDO_END): Likewise.
11919 [IS_IN (libpthread)] (CENABLE): Likewise.
11920 [IS_IN (libpthread)] (CDISABLE): Likewise.
11921 [IS_IN (libc)] (CENABLE): Likewise.
11922 [IS_IN (libc)] (CENABLE): Likewise.
11923 [IS_IN (librt)] (CDISABLE): Likewise.
11924 [IS_IN (librt)] (CDISABLE): Likewise.
11925 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11926 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
11928 (PSEUDO_END): Likewise.
11929 [IS_IN (libpthread)] (CENABLE): Likewise.
11930 [IS_IN (libpthread)] (CDISABLE): Likewise.
11931 [IS_IN (libc)] (CENABLE): Likewise.
11932 [IS_IN (libc)] (CENABLE): Likewise.
11933 [IS_IN (librt)] (CDISABLE): Likewise.
11934 [IS_IN (librt)] (CDISABLE): Likewise.
11935 (SINGLE_THREAD_P): Likewise.
11936 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
11938 (PSEUDO_END): Likewise.
11939 [IS_IN (libpthread)] (CENABLE): Likewise.
11940 [IS_IN (libpthread)] (CDISABLE): Likewise.
11941 [IS_IN (libc)] (CENABLE): Likewise.
11942 [IS_IN (libc)] (CENABLE): Likewise.
11943 [IS_IN (librt)] (CDISABLE): Likewise.
11944 [IS_IN (librt)] (CDISABLE): Likewise.
11945 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11946 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
11948 (PSEUDO_END): Likewise.
11949 [IS_IN (libpthread)] (CENABLE): Likewise.
11950 [IS_IN (libpthread)] (CDISABLE): Likewise.
11951 [IS_IN (libc)] (CENABLE): Likewise.
11952 [IS_IN (libc)] (CENABLE): Likewise.
11953 [IS_IN (librt)] (CDISABLE): Likewise.
11954 [IS_IN (librt)] (CDISABLE): Likewise.
11955 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11956 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
11957 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11958 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
11959 * sysdeps/unix/sysv/linux/s390/s390-32/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/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
11971 (PSEUDO_END): Likewise.
11972 [IS_IN (libpthread)] (CENABLE): Likewise.
11973 [IS_IN (libpthread)] (CDISABLE): Likewise.
11974 [IS_IN (libc)] (CENABLE): Likewise.
11975 [IS_IN (libc)] (CENABLE): Likewise.
11976 [IS_IN (librt)] (CDISABLE): Likewise.
11977 [IS_IN (librt)] (CDISABLE): Likewise.
11978 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11979 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
11981 (PSEUDO_END): Likewise.
11982 [IS_IN (libpthread)] (CENABLE): Likewise.
11983 [IS_IN (libpthread)] (CDISABLE): Likewise.
11984 [IS_IN (libc)] (CENABLE): Likewise.
11985 [IS_IN (libc)] (CENABLE): Likewise.
11986 [IS_IN (librt)] (CDISABLE): Likewise.
11987 [IS_IN (librt)] (CDISABLE): Likewise.
11988 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11989 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
11990 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11991 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
11992 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
11994 (PSEUDO_END): Likewise.
11995 [IS_IN (libpthread)] (CENABLE): Likewise.
11996 [IS_IN (libpthread)] (CDISABLE): Likewise.
11997 [IS_IN (libc)] (CENABLE): Likewise.
11998 [IS_IN (libc)] (CENABLE): Likewise.
11999 [IS_IN (librt)] (CDISABLE): Likewise.
12000 [IS_IN (librt)] (CDISABLE): Likewise.
12001 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
12002 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
12004 (PSEUDO_END): Likewise.
12005 [IS_IN (libpthread)] (CENABLE): Likewise.
12006 [IS_IN (libpthread)] (CDISABLE): Likewise.
12007 [IS_IN (libc)] (CENABLE): Likewise.
12008 [IS_IN (libc)] (CENABLE): Likewise.
12009 [IS_IN (librt)] (CDISABLE): Likewise.
12010 [IS_IN (librt)] (CDISABLE): Likewise.
12011 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
12013 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
12015 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
12017 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
12019 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12021 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
12024 * string/stratcliff.c (do_test): Declare size, nchars, inner,
12025 middle and outer with size_t instead of int. Repleace %d and
12026 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
12027 "MAX (outer, nchars - 64)" to support unsigned outer and
12028 nchars. Also exit loop when outer == 0.
12030 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12032 * include/fcntl.h (__fcntl_nocancel): Remove definition.
12033 * include/signal.h (__sigsuspend_nocancel): Likewise.
12034 * include/time.h (__nanosleep_nocancel): Likewise.
12035 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
12036 * login/utmp_file.c: Include non cancellable syscall header.
12037 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
12040 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
12042 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
12043 .byte sequences with AVX512F instructions.
12044 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
12045 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
12046 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
12047 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
12049 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
12052 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
12053 Steve Ellcey <sellcey@cavium.com>
12055 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
12056 Use PTR_REG macro in cmp instruction.
12058 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12060 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
12061 Change the return type of the ifunc resolver to match the return
12062 type of the target function.
12064 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12066 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
12067 (preadv64): Likewise.
12068 (pwrite64(: Likewise.
12069 (pwritev64): Likewise.
12071 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12072 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
12073 (LOAD_ARGS_0): Likewise.
12074 (LOAD_ARGS_1): Likewise.
12075 (LOAD_ARGS_2): Likewise.
12076 (LOAD_ARGS_3): Likewise.
12077 (LOAD_ARGS_4): Likewise.
12078 (LOAD_ARGS_5): Likewise.
12079 (LOAD_ARGS_6): Likewise.
12080 (LOAD_REGS_0): Likewise.
12081 (LOAD_REGS_1): Likewise.
12082 (LOAD_REGS_2): Likewise.
12083 (LOAD_REGS_3): Likewise.
12084 (LOAD_REGS_4): Likewise.
12085 (LOAD_REGS_5): Likewise.
12086 (LOAD_REGS_6): Likewise.
12087 (ASM_ARGS_0): Likewise.
12088 (ASM_ARGS_1): Likewise.
12089 (ASM_ARGS_2): Likewise.
12090 (ASM_ARGS_3): Likewise.
12091 (ASM_ARGS_4): Likewise.
12092 (ASM_ARGS_5): Likewise.
12093 (ASM_ARGS_6): Likewise.
12094 (LOAD_ARGS_TYPES_1): Likewise.
12095 (LOAD_ARGS_TYPES_2): Likewise.
12096 (LOAD_ARGS_TYPES_3): Likewise.
12097 (LOAD_ARGS_TYPES_4): Likewise.
12098 (LOAD_ARGS_TYPES_5): Likewise.
12099 (LOAD_ARGS_TYPES_6): Likewise.
12100 (LOAD_REGS_TYPES_1): Likewise.
12101 (LOAD_REGS_TYPES_2): Likewise.
12102 (LOAD_REGS_TYPES_3): Likewise.
12103 (LOAD_REGS_TYPES_4): Likewise.
12104 (LOAD_REGS_TYPES_5): Likewise.
12105 (LOAD_REGS_TYPES_6): Likewise.
12106 (TYPEFY): New define.
12107 (ARGIFY): Likewise.
12108 (internal_syscall0): Likewise.
12109 (internal_syscall1): Likewise.
12110 (internal_syscall2): Likewise.
12111 (internal_syscall3): Likewise.
12112 (internal_syscall4): Likewise.
12113 (internal_syscall5): Likewise.
12114 (internal_syscall6): Likewise.
12115 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
12116 (INTERNAL_SYSCALL_NCS): Remove define.
12117 (internal_syscall1): Add define.
12119 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12121 * math/w_remainder_compat.c: Remove duplicate inclusion of
12122 math-svid-compat.h.
12123 * math/w_remainderf_compat.c: Likewise.
12124 * math/w_remainderl_compat.c: Likewise.
12126 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12130 2017-08-22 Joseph Myers <joseph@codesourcery.com>
12133 * math/tgmath.h (__floating_type): Simplify definitions.
12134 (__real_integer_type): New macro.
12135 (__complex_integer_type): Likewise.
12136 (__expr_is_real): Likewise.
12137 (__tgmath_real_type_sub): Update comment to describe handling of
12139 (__tgmath_complex_type_sub): New macro.
12140 (__tgmath_complex_type): Likewise.
12141 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
12142 (__TGMATH_CF128): Use __expr_is_real.
12143 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
12145 (__TGMATH_BINARY_REAL_IMAG): Likewise.
12146 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
12147 * math/gen-tgmath-tests.py (Type.create_type): Create complex
12150 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12152 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
12154 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
12156 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
12159 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
12160 nanosleep_not_cancel with __nanosleep_nocancel.
12161 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
12162 (__nanosleep_nocancel): New macro.
12163 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
12165 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
12167 (__nanosleep_nocancel): New prototype.
12169 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
12170 pause_not_cancel with __pause_nocancel.
12171 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
12172 (__pause_nocancel): New macro.
12173 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
12175 (__pause_nocancel): New prototype.
12176 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
12178 2017-08-22 Martin Sebor <msebor@redhat.com>
12180 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
12181 to return a pointer to the same type as the target function.
12183 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
12187 * include/printf.h (__printf_fphex): Add attribute_hidden.
12188 (__guess_grouping): New prototype.
12189 * stdio-common/printf_fp.c (__guess_grouping): Removed.
12190 * stdio-common/reg-printf.c (__register_printf_specifier): Add
12191 libc_hidden_proto and libc_hidden_def.
12192 * stdlib/strfmon_l.c (__guess_grouping): Removed.
12193 (__vstrfmon_l): Remove the third argument passed to
12196 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12198 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
12199 definition for issignaling that does not rely on __MATH_TG,
12200 since __MATH_TG uses __builtin_types_compatible_p, which is only
12201 available in C mode.
12202 (CFLAGS-test-math-issignaling.cc): New variable.
12203 * math/Makefile [CXX] (tests): Add test-math-issignaling.
12204 * math/test-math-issignaling.cc: New test for C++ implementation
12205 of type-generic issignaling.
12206 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
12207 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
12208 options of test-math-issignaling on powerpc64le.
12210 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
12212 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
12214 (hidden_proto): Likewise.
12215 (hidden_tls_proto): Likewise.
12216 (__hidden_proto): Likewise.
12218 2017-08-22 Florian Weimer <fweimer@redhat.com>
12220 math: Statically link tests of internal functionality.
12221 * math/Makefile (tests): Remove atest-exp, atest-sincos,
12223 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
12224 (gmp-objs): Remove assignment.
12225 (atest-exp, atest-sincos, atest-exp2): Remove targets.
12227 2017-08-22 Joseph Myers <joseph@codesourcery.com>
12230 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
12232 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
12234 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
12237 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
12238 variable definitions above inclusion of ../Rules.
12240 2017-08-21 Joseph Myers <joseph@codesourcery.com>
12242 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
12243 case calling __builtin_unreachable.
12245 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12247 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
12248 __waitpid_nocancel.
12249 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
12250 (__waitpid_nocancel): New macro.
12251 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
12253 (__waitpid_nocancel): Replace macro with a function.
12254 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
12257 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
12259 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
12260 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
12262 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
12263 __writev_nocancel_nostatus.
12264 (write_call_graph): Likewise.
12265 (write_bb_counts): Likewise.
12266 * resolv/herror.c (herror): Likewise.
12267 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
12269 (__writev_nocancel_nostatus): New macro.
12270 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
12272 (__writev_nocancel_nostatus): New function.
12274 2017-08-21 Joseph Myers <joseph@codesourcery.com>
12277 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12279 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
12281 (hidden_proto): Likewise.
12282 (hidden_tls_proto): Likewise.
12283 (__hidden_proto): Likewise.
12286 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
12287 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
12288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
12290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
12292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
12294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
12296 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
12297 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
12298 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
12299 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
12300 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
12301 GLIBC_2.0 sqrtl symbol.
12303 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
12304 [__USE_MISC] (_LIB_VERSION): Likewise.
12305 [__USE_MISC] (struct exception): Likewise.
12306 [__USE_MISC] (matherr): Likewise.
12307 [__USE_MISC] (DOMAIN): Likewise.
12308 [__USE_MISC] (SING): Likewise.
12309 [__USE_MISC] (OVERFLOW): Likewise.
12310 [__USE_MISC] (UNDERFLOW): Likewise.
12311 [__USE_MISC] (TLOSS): Likewise.
12312 [__USE_MISC] (PLOSS): Likewise.
12313 [__USE_MISC] (HUGE): Likewise.
12314 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
12315 * math/math-svid-compat.h: New file.
12316 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
12318 * include/math.h [!_ISOMAC] (__matherr): Remove.
12319 * manual/arith.texi (FP Exceptions): Do not document matherr.
12320 * math/Makefile (tests): Change test-matherr to test-matherr-3.
12321 (tests-internal): New variable.
12322 (install-lib): Do not add libieee.a.
12323 (non-lib.a): Likewise.
12324 (extra-objs): Do not add libieee.a and ieee-math.o.
12325 (CPPFLAGS-s_lib_version.c): Remove variable.
12326 ($(objpfx)libieee.a): Remove rule.
12327 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
12328 * math/ieee-math.c: Remove.
12329 * math/libm-test-support.c (matherr): Remove.
12330 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
12331 and license notices. Include <math-svid-compat.h> and
12333 (matherr): Undefine as macro. Use compat_symbol_reference.
12334 (_LIB_VERSION): Likewise.
12335 * math/test-matherr-2.c: New file.
12336 * math/test-matherr-3.c: Likewise.
12337 * sysdeps/generic/math_private.h (__kernel_standard): Remove
12339 (__kernel_standard_f): Likewise.
12340 (__kernel_standard_l): Likewise.
12341 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
12342 <math_private.h>. Include <math-svid-compat.h>.
12343 (_LIB_VERSION): Undefine as macro.
12344 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
12345 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
12346 [LIBM_SVID_COMPAT], use compat_symbol.
12347 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
12348 <math_private.h>. Include <math-svid-compat.h>.
12349 (matherr): Undefine as macro.
12350 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
12352 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
12353 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
12354 compat_symbol_reference.
12355 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
12356 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
12357 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
12358 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
12359 (MATHERR_D): Remove declaration.
12360 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
12361 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
12362 [LIBM_BUILD] (pmatherrf): Likewise.
12363 [LIBM_BUILD] (pmatherr): Likewise.
12364 [LIBM_BUILD] (pmatherrl): Likewise.
12365 (DOMAIN): Likewise.
12367 (OVERFLOW): Likewise.
12368 (UNDERFLOW): Likewise.
12371 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
12372 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
12374 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
12375 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
12377 * math/lgamma-compat.h: Include <math-svid-compat.h>.
12378 * math/w_acos_compat.c: Likewise.
12379 * math/w_acosf_compat.c: Likewise.
12380 * math/w_acosh_compat.c: Likewise.
12381 * math/w_acoshf_compat.c: Likewise.
12382 * math/w_acoshl_compat.c: Likewise.
12383 * math/w_acosl_compat.c: Likewise.
12384 * math/w_asin_compat.c: Likewise.
12385 * math/w_asinf_compat.c: Likewise.
12386 * math/w_asinl_compat.c: Likewise.
12387 * math/w_atan2_compat.c: Likewise.
12388 * math/w_atan2f_compat.c: Likewise.
12389 * math/w_atan2l_compat.c: Likewise.
12390 * math/w_atanh_compat.c: Likewise.
12391 * math/w_atanhf_compat.c: Likewise.
12392 * math/w_atanhl_compat.c: Likewise.
12393 * math/w_cosh_compat.c: Likewise.
12394 * math/w_coshf_compat.c: Likewise.
12395 * math/w_coshl_compat.c: Likewise.
12396 * math/w_exp10_compat.c: Likewise.
12397 * math/w_exp10f_compat.c: Likewise.
12398 * math/w_exp10l_compat.c: Likewise.
12399 * math/w_exp2_compat.c: Likewise.
12400 * math/w_exp2f_compat.c: Likewise.
12401 * math/w_exp2l_compat.c: Likewise.
12402 * math/w_fmod_compat.c: Likewise.
12403 * math/w_fmodf_compat.c: Likewise.
12404 * math/w_fmodl_compat.c: Likewise.
12405 * math/w_hypot_compat.c: Likewise.
12406 * math/w_hypotf_compat.c: Likewise.
12407 * math/w_hypotl_compat.c: Likewise.
12408 * math/w_j0_compat.c: Likewise.
12409 * math/w_j0f_compat.c: Likewise.
12410 * math/w_j0l_compat.c: Likewise.
12411 * math/w_j1_compat.c: Likewise.
12412 * math/w_j1f_compat.c: Likewise.
12413 * math/w_j1l_compat.c: Likewise.
12414 * math/w_jn_compat.c: Likewise.
12415 * math/w_jnf_compat.c: Likewise.
12416 * math/w_jnl_compat.c: Likewise.
12417 * math/w_lgamma_main.c: Likewise.
12418 * math/w_lgamma_r_compat.c: Likewise.
12419 * math/w_lgammaf_main.c: Likewise.
12420 * math/w_lgammaf_r_compat.c: Likewise.
12421 * math/w_lgammal_main.c: Likewise.
12422 * math/w_lgammal_r_compat.c: Likewise.
12423 * math/w_log10_compat.c: Likewise.
12424 * math/w_log10f_compat.c: Likewise.
12425 * math/w_log10l_compat.c: Likewise.
12426 * math/w_log2_compat.c: Likewise.
12427 * math/w_log2f_compat.c: Likewise.
12428 * math/w_log2l_compat.c: Likewise.
12429 * math/w_log_compat.c: Likewise.
12430 * math/w_logf_compat.c: Likewise.
12431 * math/w_logl_compat.c: Likewise.
12432 * math/w_pow_compat.c: Likewise.
12433 * math/w_powf_compat.c: Likewise.
12434 * math/w_powl_compat.c: Likewise.
12435 * math/w_remainder_compat.c: Likewise.
12436 * math/w_remainderf_compat.c: Likewise.
12437 * math/w_remainderl_compat.c: Likewise.
12438 * math/w_scalb_compat.c: Likewise.
12439 * math/w_scalbf_compat.c: Likewise.
12440 * math/w_scalbl_compat.c: Likewise.
12441 * math/w_sinh_compat.c: Likewise.
12442 * math/w_sinhf_compat.c: Likewise.
12443 * math/w_sinhl_compat.c: Likewise.
12444 * math/w_sqrt_compat.c: Likewise.
12445 * math/w_sqrtf_compat.c: Likewise.
12446 * math/w_sqrtl_compat.c: Likewise.
12447 * math/w_tgamma_compat.c: Likewise.
12448 * math/w_tgammaf_compat.c: Likewise.
12449 * math/w_tgammal_compat.c: Likewise.
12450 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
12451 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
12452 * sysdeps/ieee754/k_standard.c: Likewise.
12453 * sysdeps/ieee754/k_standardf.c: Likewise.
12454 * sysdeps/ieee754/k_standardl.c: Likewise.
12455 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
12456 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
12457 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
12458 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
12459 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
12460 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
12461 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
12462 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
12463 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
12464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
12466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
12468 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
12469 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
12470 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
12471 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
12473 2017-08-21 Florian Weimer <fweimer@redhat.com>
12476 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
12477 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
12478 Move before inclusion of ../Rules.
12480 2017-08-21 Florian Weimer <fweimer@redhat.com>
12483 * assert/assert.h (assert): Use static_cast (bool) for C++.
12484 Use the ternary operator in the warning branch for GNU C.
12485 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
12486 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
12487 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
12488 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
12489 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
12491 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12494 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12495 (__syscall_clock_gettime): Add attribute_hidden.
12496 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
12497 (__start_context): Likewise.
12499 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12501 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
12503 (hidden_proto): Likewise.
12504 (hidden_tls_proto): Likewise.
12505 (__hidden_proto): Likewise.
12507 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12509 * include/libc-symbols.h (attribute_hidden): Enable hidden
12510 visibility in libc.a compiled with PIE.
12512 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12515 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
12516 Add attribute_hidden.
12518 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12521 * Makerules (all-nonlib): Add $(others-extras).
12522 * catgets/Makefile (others-extras): New.
12523 * elf/Makefile (others-extras): Likewise.
12524 * nss/Makefile (others-extras): Likewise.
12526 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12529 * csu/libc-start.c (__libc_multiple_libcs): Removed.
12530 * elf/dl-open.c: Include <libc-internal.h>.
12531 (__libc_multiple_libcs): Removed.
12532 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
12534 * include/libc-internal.h (__libc_multiple_libcs): New.
12535 * misc/sbrk.c: Include <libc-internal.h>.
12536 (__libc_multiple_libcs): Removed.
12538 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12541 * grp/initgroups.c (__nss_group_database): Removed.
12542 (__nss_initgroups_database): Likewise.
12543 * nscd/gai.c (__nss_hosts_database): Likewise.
12544 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
12545 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
12546 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
12547 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
12548 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
12549 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
12551 * nss/nsswitch.c (__nss_database_custom): Define only if
12552 USE_NSCD is defined.
12553 (__nss_configure_lookup): Use __nss_database_custom only if
12554 USE_NSCD is defined.
12555 * nss/nsswitch.h (__nss_database_custom): Declare only if
12556 USE_NSCD is defined. Add attribute_hidden.
12557 (__nss_setent): Add attribute_hidden.
12558 (__nss_endent): Likewise.
12559 (__nss_getent_r): Likewise.
12560 (__nss_getent): Likewise.
12561 (DEFINE_DATABASE): Declare __nss_##arg##_database.
12563 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
12566 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
12567 libc_hidden_proto and libc_hidden_def.
12569 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
12572 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
12573 Add libc_hidden_proto.
12574 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
12575 Add libc_hidden_def.
12577 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
12580 * gmon/Makefile (routines): Remove bb_init_func and
12582 (elide-routines.os): Removed.
12583 * gmon/bb_exit_func.c: Likewise.
12584 * gmon/bb_init_func.c: Likewise.
12585 * include/sys/gmon.h (__bb): Likewise.
12586 (__bb_init_func): Likewise.
12587 (__bb_exit_func): Likewise.
12588 * sysdeps/alpha/bb_init_func.S: Likewise.
12590 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
12592 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
12593 * include/setjmp.h (____longjmp_chk): Here. Add
12596 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
12599 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
12601 (__strspn_sse2): Likewise.
12603 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12605 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
12606 (close_not_cancel_no_status): Likewise.
12607 (__close_nocancel): New macro.
12608 (__close_nocancel_nostatus): Likewise.
12609 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
12611 (close_not_cancel): Likewise.
12612 (close_not_cancel_no_status): Likewise.
12613 (__close_nocancel): New prototype.
12614 (__close_nocancel_nostatus): New function.
12615 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
12616 * catgets/open_catalog.c (__open_catalog): Replace
12617 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
12618 * gmon/gmon.c (write_gmon): Likewise.
12619 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12620 * intl/loadmsgcat.c (close): Likewise.
12621 * io/ftw.c (open_dir_stream): Likewise.
12622 (ftw_startup): Likewise.
12623 * libio/fileops.c (_IO_file_open): Likewise.
12624 (_IO_file_close_mmap): Likewise.
12625 (_IO_file_close): Likewise.
12626 * libio/iopopen.c (_IO_dup2): Likewise.
12627 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12628 * locale/loadlocale.c (_nl_load_locale): Likewise.
12629 * login/utmp_file.c (pututline_file): Likewise.
12630 (endutent_file): Likewise.
12631 * misc/daemon.c (daemon): Likewise.
12632 * nscd/nscd_getai.c (__nscd_getai): Likewise.
12633 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12634 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
12635 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12636 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12637 * nscd/nscd_helper.c (open_socket): Likewise.
12638 (__nscd_open_socket): Likewise.
12639 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
12640 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
12641 (__nscd_innetgr): Likewise.
12642 * nss/nss_db/db-open.c (internal_setent): Likewise.
12643 * resolv/res-close.c (__res_iclose): Likewise.
12644 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
12645 * sysdeps/posix/closedir.c (__closedir): Likewise.
12646 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
12647 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
12648 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
12649 (opendir_tail): Likewise.
12650 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
12651 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
12652 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
12653 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12654 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
12655 (gethostid): Likewise.
12656 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
12657 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12659 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12660 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
12661 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
12662 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
12664 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
12665 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
12666 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
12668 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
12669 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12671 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
12673 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
12674 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
12675 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
12678 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
12679 (openat_not_cancel_3): Likewise.
12680 (openat64_not_cancel_3): Likewise).
12681 (openat_not_cancel_3): Likewise).
12682 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
12684 (openat_not_cancel_3): Likewise.
12685 (openat64_not_cancel): Likewise.
12686 (openat64_not_cancel_3): Likewise.
12687 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
12688 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
12689 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
12690 __open{64}_nocancel.
12691 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
12692 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
12693 * sysdeps/posix/opendir.c (__opendirat): Likewise.
12695 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
12698 * include/argz.h (__argz_create_sep): New function prototype.
12699 (__argz_append): Likewise.
12700 (__argz_add): Likewise.
12701 (__argz_add_sep): Likewise.
12702 (__argz_delete): Likewise.
12703 (__argz_insert): Likewise.
12704 (__argz_replace): Likewise.
12705 * string/argz.h (__argz_create_sep): Removed.
12706 (__argz_append): Likewise.
12707 (__argz_add): Likewise.
12708 (__argz_add_sep): Likewise.
12709 (__argz_delete): Likewise.
12710 (__argz_insert): Likewise.
12711 (__argz_replace): Likewise.
12713 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
12715 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
12716 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
12717 (GNU_PROPERTY_STACK_SIZE): Likewie.
12718 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
12719 (GNU_PROPERTY_LOPROC): Likewise.
12720 (GNU_PROPERTY_HIPROC): Likewise.
12721 (GNU_PROPERTY_LOUSER): Likewise.
12722 (GNU_PROPERTY_HIUSER): Likewise.
12723 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
12724 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
12725 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
12726 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
12727 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
12728 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
12729 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
12730 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
12731 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
12732 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
12733 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
12734 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
12735 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
12736 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
12737 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
12738 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
12739 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
12740 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
12741 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
12742 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
12743 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
12744 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
12745 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
12747 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12749 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
12752 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12755 * math/math.h (isinf): Check if in C or C++ mode before using
12756 __builtin_types_compatible_p, since this is a C mode feature.
12758 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12760 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
12761 (__write_nocancel): New macro.
12762 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
12763 Rewrite as a function prototype.
12764 (write_not_cancel): Remove macro.
12765 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
12766 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
12767 (write_gmon): Likewise.
12768 * libio/fileops.c (_IO_new_file_write): Likewise.
12769 * login/utmp_file.c (pututline_file): Likewise.
12770 (updwtmp_file): Likewise.
12771 * stdio-common/psiginfo.c (psiginfo): Likewise.
12772 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
12773 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
12774 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
12776 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
12779 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
12780 (__read_nocancel): New macro.
12781 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
12783 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
12785 (__read_nocancel): New prototype.
12786 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
12787 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
12788 with __read_nocancel.
12789 * intl/loadmsgcat.c (read): Likewise.
12790 * libio/fileops.c (_IO_file_read): Likewise.
12791 * locale/loadlocale.c (_nl_load_locale): Likewise.
12792 * login/utmp_file.c (getutent_r_file): Likewise.
12793 (internal_getut_r): Likewise.
12794 (getutline_r_file): Likewise.
12795 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
12796 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12797 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
12798 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12800 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
12801 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
12802 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
12804 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
12806 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
12808 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12810 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
12812 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
12815 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
12816 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
12819 2017-08-17 DJ Delorie <dj@redhat.com>
12821 * bug17079.c: Update to new test harness.
12822 * test-digits-dots.c: Likewise.
12823 * test-netdb.c: Likewise.
12824 * tst-field.c: Likewise.
12825 * tst-nss-getpwent.c: Likewise.
12826 * tst-nss-static.c: Likewise.
12827 * tst-nss-test1.c: Likewise.
12828 * tst-nss-test2.c: Likewise.
12829 * tst-nss-test3.c: Likewise.
12830 * tst-nss-test4.c: Likewise.
12831 * tst-nss-test5.c: Likewise.
12833 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12835 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
12836 (open_not_cancel_2): Likewise.
12837 (open_nocancel): New macro.
12838 (open64_nocancel): Likewise.
12839 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
12840 (open_not_cancel_2): Likewise.
12841 (__open_nocancel): New prototype.
12842 (__open64_nocancel): Likewise.
12843 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
12845 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
12846 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
12847 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
12848 with __open_nocancel.
12849 * csu/check_fds.c (check_one_fd): Likewise.
12850 * gmon/gmon.c (write_gmon): Likewise.
12851 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
12852 * intl/loadmsgcat.c (open): Likewise.
12853 * libio/fileops.c (_IO_file_open): Likewise.
12854 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12855 * locale/loadlocale.c (_nl_load_locale): Likewise.
12856 * login/utmp_file.c (setutent_file): Likewise.
12857 * misc/daemon.c (daemon): Likewise.
12858 * nss/nss_db/db-open.c (internal_setent): Likewise.
12859 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
12860 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
12861 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
12862 (__opendir): Likewise.
12863 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
12864 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
12865 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
12866 (gethostid): Likewise.
12867 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
12868 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12870 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12871 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
12872 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
12873 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
12875 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
12877 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
12879 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
12881 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12883 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
12885 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
12886 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
12888 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
12890 * benchtests/bench-skeleton.c (main): Add support for
12891 latency benchmarking.
12892 * benchtests/scripts/bench.py: Add support for latency benchmarking.
12894 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
12896 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
12897 the startup object.
12899 2017-08-17 Florian Weimer <fweimer@redhat.com>
12901 * include/sys/socket.h (__opensock): Remove internal_function.
12902 * socket/opensock.c (__opensock): Likewise.
12903 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
12905 2017-08-16 Joseph Myers <joseph@codesourcery.com>
12908 * signal/bits/types/__sigval_t.h: New file.
12909 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
12910 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
12911 and define sigval_t using __sigval_t.
12912 * include/bits/types/__sigval_t.h: New file.
12913 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
12914 instead of <bits/types/__sigval_t.h>.
12915 (struct sigevent): Use __sigval_t instead of sigval_t.
12916 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
12917 instead of <bits/types/__sigval_t.h>.
12918 (siginfo_t): Use __sigval_t instead of sigval_t.
12919 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
12920 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
12921 (struct sigevent): Use __sigval_t instead of sigval_t.
12922 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
12923 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
12924 (siginfo_t): Use __sigval_t instead of sigval_t.
12925 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
12927 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
12929 * NEWS: Remove "[Add new features here]" for 2.27.
12931 2017-08-16 Joseph Myers <joseph@codesourcery.com>
12933 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
12936 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
12938 * NEWS: Mention x86-64 FMA optimization.
12940 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
12943 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12945 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
12946 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
12947 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
12949 2017-08-16 Andreas Schwab <schwab@suse.de>
12953 * elf/ldd.bash.in: Never run file directly.
12955 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
12958 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
12959 (L(SP_INF_0)): Likewise.
12961 2017-08-15 Florian Weimer <fweimer@redhat.com>
12963 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
12966 2017-08-15 Florian Weimer <fweimer@redhat.com>
12968 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
12969 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
12970 BROKEN_THREAD_SIGNALS code.
12971 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
12972 request_list): Remove caller_pid member used for
12973 BROKEN_THREAD_SIGNALS.
12974 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
12975 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
12976 Remove BROKEN_THREAD_SIGNALS support.
12977 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
12978 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
12980 2017-08-15 Florian Weimer <fweimer@redhat.com>
12982 * gmon/Makefile (tests): Add tst-gmon.
12983 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
12985 (tests-special): Add tst-gmon-prof.out.
12986 (tst-gmon.out): Depend on clean-tst-gmon-data.
12987 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
12988 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
12989 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
12991 * aclocal.m4 (GPROF): Set and substitute.
12992 * config.amke.in (GPROF): Set.
12993 * configure: Regenerate.
12995 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
12997 * elf/elf.h A (NT_PPC_TAR): New macro.
12998 (NT_PPC_PPR): Likewise.
12999 (NT_PPC_DSCR): Likewise.
13000 (NT_PPC_EBB): Likewise.
13001 (NT_PPC_PMU): Likewise.
13002 (NT_PPC_TM_CGPR): Likewise.
13003 (NT_PPC_TM_CFPR): Likewise.
13004 (NT_PPC_TM_CVMX): Likewise.
13005 (NT_PPC_TM_CVSX): Likewise.
13006 (NT_PPC_TM_SPR): Likewise.
13007 (NT_PPC_TM_CTAR): Likewise.
13008 (NT_PPC_TM_CPPR): Likewise.
13009 (NT_PPC_TM_CDSCR): Likewise.
13011 2017-08-15 Florian Weimer <fweimer@redhat.com>
13013 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
13014 regparm (2) instead of internal_function.
13015 (_MCOUNT_DECL): Adjust.
13017 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
13019 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
13020 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
13022 2017-08-14 Joseph Myers <joseph@codesourcery.com>
13024 * conform/data/sys/wait.h-data (si_value): Do not expect for
13027 2017-08-14 Florian Weimer <fweimer@redhat.com>
13030 NSS: Create stubs for accidentally exported lookup functions.
13031 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
13032 Remove declaration.
13033 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
13034 (ether_hostton): Call __nss_ethers_lookup2 instead.
13035 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
13036 (ether_ntohost): Call __nss_ethers_lookup2 instead.
13037 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
13038 (setup): Call __nss_netgroup_lookup2 instead.
13039 * nss/Makefile (routines): Add compat-lookup.
13040 * nss/Versions (GLIBC_2.27): Add symbol version.
13041 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
13042 (DB_COMPAT_FCT): Remove.
13043 * nss/compat-lookup.c: New file.
13044 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
13045 from databases.def.
13046 * nss/service-lookup.c (NO_COMPAT): Remove definition.
13047 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
13048 (netname2user): Call __nss_publickey_lookup2 instead.
13049 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
13050 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
13053 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13054 Sergei Trofimovich <slyfox@inbox.ru>
13057 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
13058 Rename to MMAP2_PAGE_UNIT.
13059 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
13060 __OFF_T_MATCHES_OFF64_T is not defined.
13061 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
13063 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
13064 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
13066 2017-08-14 Florian Weimer <fweimer@redhat.com>
13068 i386: Do not set internal_function.
13069 * config.h.in (USE_REGPARMS, internal_function): Remove.
13070 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
13071 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
13073 2017-08-14 Florian Weimer <fweimer@redhat.com>
13075 * elf/dl-init.c (_dl_init): Remove internal_function.
13076 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
13077 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
13079 2017-08-14 Florian Weimer <fweimer@redhat.com>
13081 * elf/rtld.c (_dl_start): Remove internal_function.
13082 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
13085 2017-08-14 Florian Weimer <fweimer@redhat.com>
13087 * elf/dl-fini.c (_dl_fini): Remove internal_function
13088 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
13090 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
13092 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
13093 (bit_cpu_SHSTK): Likewise.
13094 (index_cpu_IBT): Likewise.
13095 (index_cpu_SHSTK): Likewise.
13096 (reg_IBT): Likewise.
13097 (reg_SHSTK): Likewise.
13098 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
13099 Handle index_cpu_IBT and index_cpu_SHSTK.
13101 2017-08-14 Mike FABIAN <mfabian@redhat.com>
13104 * po/fr.po: Fix spelling mistake.
13106 2017-08-13 Florian Weimer <fweimer@redhat.com>
13108 * elf/dl-addr.c (_dl_addr): Remove internal_function.
13109 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
13110 (_dl_catch_error, _dl_receive_error): Likewise.
13111 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
13112 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
13113 (_dl_deallocate_tls): Likewise.
13114 * include/dlfcn.h (_dl_addr): Likewise.
13115 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
13116 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
13117 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
13120 2017-08-13 Florian Weimer <fweimer@redhat.com>
13122 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
13123 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
13125 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
13127 2017-08-13 Florian Weimer <fweimer@redhat.com>
13129 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
13131 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
13132 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
13133 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
13134 internal_function from _dl_make_stack_executable_hook member.
13135 (_dl_make_stack_executable): Remove internal_function.
13136 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
13138 * sysdeps/unix/sysv/linux/dl-execstack.c
13139 (_dl_make_stack_executable): Likewise.
13141 2017-08-13 Florian Weimer <fweimer@redhat.com>
13143 * sysdeps/unix/sysv/linux/netlinkaccess.h
13144 (__netlink_assert_response): Remove internal_function.
13145 * sysdeps/unix/sysv/linux/netlink_assert_response.c
13146 (__netlink_assert_response): Likewise.
13148 2017-08-13 Florian Weimer <fweimer@redhat.com>
13150 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
13152 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
13154 2017-08-13 Florian Weimer <fweimer@redhat.com>
13156 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
13158 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
13159 * inet/netgroup.h (__internal_setnetgrent)
13160 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
13161 * inet/getnetgrent_r.c (__internal_setnetgrent)
13162 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
13163 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
13164 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
13165 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
13166 * nss/nsswitch.h (db_lookup_function): Likewise.
13168 2017-08-13 Florian Weimer <fweimer@redhat.com>
13170 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
13171 Remove internal_function.
13172 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
13173 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
13174 message argument on the stack.
13175 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
13178 2017-08-12 Mike FABIAN <mfabian@redhat.com>
13180 Adapt test case data to the changes in the thousands
13184 * localedata/tst-langinfo.sh: Adapt test case data.
13185 * stdlib/tst-strfmon_l.c: Likewise.
13186 * stdlib/tst-strtod4.c: Likewise.
13187 * stdlib/tst-strtod5i.c: Likewise.
13189 2017-08-11 Florian Weimer <fweimer@redhat.com>
13192 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
13193 Suppress pedantic warning resulting from statement expression.
13194 (__ASSERT_FUNCTION): Add missing __extension__.
13196 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13198 * benchtests/bench-memmove-large.c: Print output in JSON
13200 * benchtests/bench-memmove.c: Likewise.
13202 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
13203 * benchtests/bench-memchr.c (do_one_test): Likewise.
13204 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
13205 * benchtests/bench-memcpy.c (do_one_test): Likewise.
13206 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
13207 * benchtests/bench-memmove.c (do_one_test): Likewise.
13208 * benchtests/bench-memset-large.c (do_one_test): Likewise.
13209 * benchtests/bench-memset.c (do_one_test): Likewise.
13210 * benchtests/bench-string.h (test_init): Remove memsets.
13212 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
13215 (Computing the Width of an Integer Data Type): Rename section to
13216 "Width of an Integer Type". Remove inaccurate statement regarding
13217 lack of C language facilities for determining width of integer
13218 types, and reorder content to improve flow and context of
13221 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
13223 * lang.texi (va_copy): Change standard from ISO to C99.
13224 (__va_copy): Add standard and header annotation.
13225 Update description for clarity of origins and current use.
13227 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13230 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
13231 xssqrtqp requires operands to be in Vector Registers
13232 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
13233 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
13234 (__ieee754_sqrtf128): Likewise.
13236 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13238 * sysdeps/aarch64/memcmp.S (memcmp):
13239 Rewrite of optimized memcmp.
13241 2017-08-10 Florian Weimer <fweimer@redhat.com>
13243 Introduce ld.so exceptions.
13244 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
13245 (_dl_exception_create, _dl_exception_create_format)
13246 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
13247 (_dl_catch_exception): Declare.
13248 (_dl_catch_error): Update comment.
13249 * elf/dl-error-skeleton.c (struct catch): Replace objname,
13250 errstring, malloced members with exception member.
13251 (_dl_out_of_memory): Remove.
13252 (fatal_error): New function, extracted from _dl_signal_error.
13253 (_dl_signal_exception, _dl_signal_cexception): New functions.
13254 (_dl_signal_error): Call _dl_exception_create to allocate an
13256 (_dl_catch_exception): New function, based on _dl_catch_error.
13257 (_dl_catch_error): Implement using _dl_catch_exception.
13258 * elf/dl-exception.c: New file.
13259 * elf/Makefile (dl-routines): Add dl-exception.
13260 (elide-routines.os): Likewise.
13261 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
13262 _dl_exception_create_format, _dl_exception_free.
13263 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
13264 _dl_signal_exception.
13265 * elf/dl-lookup.c (make_string): Remove.
13266 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
13267 _dl_signal_cexception, _dl_exception_free.
13268 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
13269 _dl_signal_exception.
13270 * elf/dl-sym.c (do_sym): Likewise.
13271 * elf/dl-version.c (make_string): Remove.
13272 (match_symbol): Use _dl_exception_create_format,
13273 _dl_signal_cexception, _dl_exception_free.
13274 (_dl_check_map_versions): Likewise.
13275 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
13276 _dl_catch_exception.
13277 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13278 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13279 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13280 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13281 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13282 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13283 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13284 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
13286 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13293 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13294 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13295 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
13297 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
13299 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13301 2017-08-10 Florian Weimer <fweimer@redhat.com>
13303 * inet/net-internal.h (__inet6_scopeid_pton): Remove
13304 attribute_hidden, internal_function.
13305 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
13308 2017-08-10 Florian Weimer <fweimer@redhat.com>
13310 * malloc/malloc.c (get_max_fast): Reimplement as an inline
13311 function which calls __builtin_unreachable.
13313 2017-08-10 Mike FABIAN <mfabian@redhat.com>
13315 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
13316 Indian monetary formatting
13317 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
13320 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
13322 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
13323 Fix typo in comment.
13326 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
13327 PTRACE_SEIZE_DEVEL): Remove.
13328 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
13329 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13330 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13331 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13332 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13334 2017-08-09 Joseph Myers <joseph@codesourcery.com>
13336 * posix/bits/types.h (__qaddr_t): Remove.
13339 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
13340 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
13342 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
13343 (ucontext_t): Use __ctx with uc_flags.
13344 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
13345 (__ctxt): Likewise.
13346 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
13348 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
13349 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
13351 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
13352 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
13354 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
13356 (ucontext_t): Use __ctx with uc_flags.
13357 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
13358 (ucontext_t): Use __ctx with uc_flags.
13359 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
13360 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
13361 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
13362 (ucontext_t): Use __ctx with uc_flags.
13363 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
13364 undefine further down.
13365 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
13367 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
13368 undefine further down.
13369 (ucontext_t): Use __ctx with uc_flags.
13370 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
13371 undefine further down.
13372 (ucontext_t): Use __ctx with uc_flags.
13373 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
13374 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
13375 Rename uc_pad to __glibc_reserved1.
13376 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
13377 undefine further down.
13378 (ucontext_t): Use __ctx with uc_flags.
13379 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
13381 (ucontext_t): Use __ctx with uc_flags.
13382 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
13383 __ctx with uc_flags.
13384 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
13385 (ucontext_t): Use __ctx with uc_flags.
13386 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
13387 __ctx with uc_flags.
13389 2017-08-09 Florian Weimer <fweimer@redhat.com>
13392 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
13393 before early return.
13395 2017-08-09 Andreas Schwab <schwab@suse.de>
13398 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
13402 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
13403 tst-compat-forwarder.
13404 (modules-names): Add tst-compat-forwarder-mod.
13405 ($(objpfx)tst-compat-forwarder): Depend on
13406 $(objpfx)tst-compat-forwarder-mod.so.
13407 * nptl/tst-compat-forwarder.c: New file.
13408 * nptl/tst-compat-forwarder-mod.c: New file.
13410 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
13412 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
13415 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
13416 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
13418 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
13420 (__libc_ifunc_impl_list): Add __memcpy_falkor.
13421 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
13422 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
13423 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
13425 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
13428 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13431 * manual/setjmp.texi (getcontex): Document uc_stack value
13432 compatibility differences.
13434 2017-08-08 Joseph Myers <joseph@codesourcery.com>
13436 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
13437 (old_malloc_hook): Likewise.
13438 (old_memalign_hook): Likewise.
13439 (old_realloc_hook): Likewise.
13440 (struct hdr): Likewise.
13442 (freehook): Likewise.
13443 (mallochook): Likewise.
13444 (memalignhook): Likewise.
13445 (reallochook): Likewise.
13446 (mprobe): Likewise.
13447 * malloc/mtrace.c (mallwatch): Likewise.
13448 (tr_old_free_hook): Likewise.
13449 (tr_old_malloc_hook): Likewise.
13450 (tr_old_realloc_hook): Likewise.
13451 (tr_old_memalign_hook): Likewise.
13452 (tr_where): Likewise.
13453 (lock_and_info): Likewise.
13454 (tr_freehook): Likewise.
13455 (tr_mallochook): Likewise.
13456 (tr_reallochook): Likewise.
13457 (tr_memalignhook): Likewise.
13458 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
13459 * misc/mmap.c (__mmap): Likewise.
13460 * misc/mmap64.c (__mmap64): Likewise.
13461 * misc/mprotect.c (__mprotect): Likewise.
13462 * misc/msync.c (msync): Likewise.
13463 * misc/munmap.c (__munmap): Likewise.
13464 * posix/posix_madvise.c (posix_madvise): Likewise.
13465 * socket/send.c (__send): Likewise.
13466 * socket/sendto.c (__sendto): Likewise.
13467 * socket/setsockopt.c (__setsockopt): Likewise.
13468 * string/memcmp.c (__ptr_t): Remove macro.
13469 (MEMCMP): Use void * instead of ptr_t.
13470 * string/memrchr.c (__ptr_t): Remove macro.
13471 (__memrchr): Use void * instead of ptr_t.
13472 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
13473 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
13474 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
13475 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
13476 * sysdeps/mach/msync.c (msync): Likewise.
13477 * sysdeps/mach/munmap.c (__munmap): Likewise.
13478 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
13480 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
13481 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
13482 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
13483 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
13484 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
13485 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13486 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
13487 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
13489 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13490 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
13491 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
13492 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
13493 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
13494 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
13495 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
13496 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
13497 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
13499 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
13500 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
13501 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
13502 (MEMCMP): Use void * instead of ptr_t.
13503 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
13504 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
13506 2017-08-08 Florian Weimer <fweimer@redhat.com>
13508 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
13511 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
13514 * csu/libc-tls.c: Include <startup.h> first.
13515 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
13516 * elf/dl-tunables.c: Include <startup.h> first.
13517 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
13518 * sysdeps/generic/startup.h: New file.
13519 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
13520 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
13521 (I386_USE_SYSENTER): New. Defined to 0.
13523 2017-08-08 Andreas Schwab <schwab@suse.de>
13526 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
13527 * nptl/pt-system.c (system): Likewise.
13529 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13532 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
13534 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
13535 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
13536 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
13537 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
13538 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
13539 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
13540 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
13542 2017-08-07 Joseph Myers <joseph@codesourcery.com>
13545 * bits/sigaction.h (struct sigaction): Define sa_handler and
13546 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
13547 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13548 [__USE_XOPEN_EXTENDED].
13549 (SA_RESTART): Likewise.
13550 (SA_NODEFER): Likewise.
13551 (SA_RESETHAND): Likewise.
13552 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
13553 (struct sigaction): Define sa_handler and sa_sigaction using union
13554 also for [__USE_XOPEN_EXTENDED].
13555 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13556 [__USE_XOPEN_EXTENDED].
13557 (SA_RESTART): Likewise.
13558 (SA_NODEFER): Likewise.
13559 (SA_RESETHAND): Likewise.
13560 * sysdeps/unix/sysv/linux/bits/sigaction.h
13561 (struct sigaction): Define sa_handler and sa_sigaction using union
13562 also for [__USE_XOPEN_EXTENDED].
13563 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13564 [__USE_XOPEN_EXTENDED].
13565 (SA_RESTART): Likewise.
13566 (SA_NODEFER): Likewise.
13567 (SA_RESETHAND): Likewise.
13568 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
13569 (struct sigaction): Define sa_handler and sa_sigaction using union
13570 also for [__USE_XOPEN_EXTENDED].
13571 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13572 [__USE_XOPEN_EXTENDED].
13573 (SA_RESTART): Likewise.
13574 (SA_NODEFER): Likewise.
13575 (SA_RESETHAND): Likewise.
13576 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
13577 (struct sigaction): Define sa_handler and sa_sigaction using union
13578 also for [__USE_XOPEN_EXTENDED].
13579 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13580 [__USE_XOPEN_EXTENDED].
13581 (SA_RESTART): Likewise.
13582 (SA_NODEFER): Likewise.
13583 (SA_RESETHAND): Likewise.
13584 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
13585 (struct sigaction): Define sa_handler and sa_sigaction using union
13586 also for [__USE_XOPEN_EXTENDED].
13587 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13588 [__USE_XOPEN_EXTENDED].
13589 (SA_RESTART): Likewise.
13590 (SA_NODEFER): Likewise.
13591 (SA_RESETHAND): Likewise.
13592 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13593 (struct sigaction): Define sa_handler and sa_sigaction using union
13594 also for [__USE_XOPEN_EXTENDED].
13595 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13596 [__USE_XOPEN_EXTENDED].
13597 (SA_RESTART): Likewise.
13598 (SA_NODEFER): Likewise.
13599 (SA_RESETHAND): Likewise.
13600 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13601 (struct sigaction): Define sa_handler and sa_sigaction using union
13602 also for [__USE_XOPEN_EXTENDED].
13603 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13604 [__USE_XOPEN_EXTENDED].
13605 (SA_RESTART): Likewise.
13606 (SA_NODEFER): Likewise. Define directly rather than as alias.
13607 (SA_RESETHAND): Likewise.
13608 (SA_INTERRUPT): Define only for [__USE_MISC].
13609 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
13610 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
13612 (SA_STACK): Define only for [__USE_MISC].
13613 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
13614 (struct sigaction): Define sa_handler and sa_sigaction using union
13615 also for [__USE_XOPEN_EXTENDED].
13616 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13617 [__USE_XOPEN_EXTENDED].
13618 (SA_RESTART): Likewise.
13619 (SA_NODEFER): Likewise.
13620 (SA_RESETHAND): Likewise.
13621 (SA_NOPTRACE): Define only for [__USE_MISC].
13623 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
13624 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
13625 (struct catalog_info): Likewise.
13626 * inet/htontest.c (lo): Likewise.
13628 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13629 * inet/inet_net.c (inet_network): Likewise.
13630 * inet/inet_netof.c (inet_netof): Likewise.
13631 * inet/rcmd.c (__ivaliduser): Likewise.
13632 (iruserok): Likewise.
13633 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
13634 * locale/programs/locale-spec.c (locale_special): Likewise.
13635 * nis/nis_findserv.c (struct findserv_req): Likewise.
13636 (__nis_findfastest_with_timeout): Likewise.
13637 * nss/test-netdb.c (test_network): Likewise.
13638 * resolv/inet_neta.c (inet_neta): Likewise.
13639 * resolv/ns_date.c (ns_datetosecs): Likewise.
13640 (SECS_PER_DAY): Likewise.
13641 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
13643 * resolv/res_comp.c (__putlong): Likewise.
13644 (__putshort): Likewise.
13645 (_getlong): Likewise.
13646 (_getshort): Likewise.
13647 * resolv/res_debug.c (p_time): Likewise.
13648 (precsize_ntoa): Likewise.
13649 (precsize_aton): Likewise.
13650 (latlon2ul): Likewise.
13651 (loc_aton): Likewise.
13652 (loc_ntoa): Likewise.
13653 * resolv/res_hconf.c (struct netaddr): Likewise.
13654 (_res_hconf_reorder_addrs): Likewise.
13655 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
13656 (clnttcp_control): Likewise.
13657 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13658 (clntudp_control): Likewise.
13659 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
13660 (clntunix_control): Likewise.
13661 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
13662 * sunrpc/rpc/auth.h (union des_block): Likewise.
13663 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
13664 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
13665 (xdrrec_create): Likewise.
13666 (xdrrec_endofrecord): Likewise.
13667 (flush_out): Likewise.
13668 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
13669 (xdrstdio_putlong): Likewise.
13670 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
13673 * misc/sys/cdefs.h (__long_double_t): Remove.
13674 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
13675 instead of __long_double_t,
13676 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
13678 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13680 * benchtests/scripts/compare_strings.py: Avoid display error when
13681 running on a text terminal.
13683 * benchtests/scripts/compare_strings.py (main): Add an
13684 optional -base option.
13685 (process_results): New argument base_func.
13687 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
13689 * benchtests/bench-memcpy-large.c (test_name): Likewise.
13690 * benchtests/bench-memcpy-random.c (test_name): Likewise.
13692 2017-08-07 Andreas Schwab <schwab@suse.de>
13694 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
13695 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
13696 * intl/Makefile ($(objpfx)tst-gettext.out)
13697 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
13698 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
13699 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
13700 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
13701 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
13702 * posix/Makefile ($(objpfx)globtest.out)
13703 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
13704 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
13705 ($(objpfx)tst-printf.out): Likewise.
13706 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
13707 ($(objpfx)tst-setcontext3.out): Likewise.
13709 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
13711 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13712 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
13713 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
13714 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
13715 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
13717 (CFLAGS-doasin-fma.c): New.
13718 (CFLAGS-dosincos-fma.c): Likewise.
13719 (CFLAGS-e_asin-fma.c): Likewise.
13720 (CFLAGS-e_atan2-fma.c): Likewise.
13721 (CFLAGS-e_exp-fma.c): Likewise.
13722 (CFLAGS-e_log-fma.c): Likewise.
13723 (CFLAGS-e_pow-fma.c): Likewise.
13724 (CFLAGS-halfulp-fma.c): Likewise.
13725 (CFLAGS-mpa-fma.c): Likewise.
13726 (CFLAGS-mpatan-fma.c): Likewise.
13727 (CFLAGS-mpatan2-fma.c): Likewise.
13728 (CFLAGS-mpexp-fma.c): Likewise.
13729 (CFLAGS-mplog-fma.c): Likewise.
13730 (CFLAGS-mpsqrt-fma.c): Likewise.
13731 (CFLAGS-mptan-fma.c): Likewise.
13732 (CFLAGS-s_atan-fma.c): Likewise.
13733 (CFLAGS-sincos32-fma.c): Likewise.
13734 (CFLAGS-slowexp-fma.c): Likewise.
13735 (CFLAGS-slowpow-fma.c): Likewise.
13736 (CFLAGS-s_sin-fma.c): Likewise.
13737 (CFLAGS-s_tan-fma.c): Likewise.
13738 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
13739 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
13740 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
13741 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
13742 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
13743 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
13744 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
13745 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
13746 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
13747 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
13748 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
13749 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
13750 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
13751 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
13752 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
13753 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
13754 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
13755 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
13756 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
13757 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
13758 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
13759 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
13760 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
13761 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
13762 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13763 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13764 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13765 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
13766 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13767 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13768 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13770 2017-08-04 Joseph Myers <joseph@codesourcery.com>
13772 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
13773 (min_of_type_f): New macro.
13774 (min_of_type_): Likewise.
13775 (min_of_type_l): Likewise.
13776 (min_of_type_f128): Likewise.
13777 (min_of_type): Define using __MATH_TG and taking an expression
13779 (math_check_force_underflow): Pass expression instead of type to
13781 (math_check_force_underflow_nonneg): Likewise.
13783 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
13785 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
13786 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
13787 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
13789 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
13791 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13792 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
13793 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
13794 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
13795 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
13796 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
13797 memcpy_chk-nonshared, mempcpy_chk-nonshared,
13798 memmove_chk-nonshared and memset_chk-nonshared
13799 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
13800 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
13801 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
13802 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
13803 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
13804 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
13805 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
13806 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
13807 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
13808 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
13809 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
13810 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
13811 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
13812 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
13813 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
13814 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
13815 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
13816 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
13817 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
13818 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
13819 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
13820 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
13821 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
13822 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
13823 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
13824 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
13825 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
13826 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
13827 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
13828 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
13829 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
13830 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
13831 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
13832 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
13833 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
13834 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
13835 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
13836 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
13837 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
13838 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
13839 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
13840 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
13841 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
13842 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
13843 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
13844 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
13845 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
13846 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
13847 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
13848 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
13849 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
13850 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
13851 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
13852 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
13853 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
13854 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
13855 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
13856 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
13857 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
13858 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
13859 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
13860 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
13861 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
13862 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
13863 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
13864 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
13865 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
13866 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
13867 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
13868 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
13869 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
13870 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13871 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13872 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13873 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13874 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13875 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13876 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13877 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13878 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13879 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13880 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13881 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13882 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13883 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13884 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13885 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13886 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13887 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13888 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13889 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13890 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13891 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13892 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13893 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13894 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13895 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13896 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13897 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13898 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13899 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13900 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13901 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13902 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13903 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13904 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13905 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13906 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13908 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
13910 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
13911 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
13912 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
13913 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
13914 svml_d_log2_core-sse2, svml_d_log4_core-sse,
13915 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
13916 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
13917 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
13918 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
13919 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
13920 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
13921 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
13922 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
13923 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
13924 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
13925 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
13926 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
13927 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
13928 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
13929 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
13930 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
13931 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
13932 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
13933 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
13934 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
13935 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
13936 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
13937 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
13938 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
13939 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
13940 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
13941 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
13942 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
13943 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
13944 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
13945 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
13946 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
13947 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
13948 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
13949 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
13950 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
13951 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
13952 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
13953 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
13954 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
13955 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
13956 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
13957 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
13958 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
13959 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
13960 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
13961 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
13962 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
13963 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
13964 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
13965 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
13966 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
13967 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
13968 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
13970 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
13971 Don't include <sysdep.h> nor <init-arch.h>.
13972 (_ZGVbN2v_cos): Removed.
13973 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
13975 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
13976 Don't include <sysdep.h> nor <init-arch.h>.
13977 (_ZGVdN4v_cos): Removed.
13978 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
13980 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
13981 Don't include <sysdep.h> nor <init-arch.h>.
13982 (_ZGVeN8v_cos): Removed.
13983 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
13985 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
13986 Don't include <sysdep.h> nor <init-arch.h>.
13987 (_ZGVbN2v_exp): Removed.
13988 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
13990 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
13991 Don't include <sysdep.h> nor <init-arch.h>.
13992 (_ZGVdN4v_exp): Removed.
13993 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
13995 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
13996 Don't include <sysdep.h> nor <init-arch.h>.
13997 (_ZGVeN8v_exp): Removed.
13998 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
14000 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
14001 Don't include <sysdep.h> nor <init-arch.h>.
14002 (_ZGVbN2v_log): Removed.
14003 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
14005 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
14006 Don't include <sysdep.h> nor <init-arch.h>.
14007 (_ZGVdN4v_log): Removed.
14008 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
14010 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
14011 Don't include <sysdep.h> nor <init-arch.h>.
14012 (_ZGVeN8v_log): Removed.
14013 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
14015 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
14016 Don't include <sysdep.h> nor <init-arch.h>.
14017 (_ZGVbN2vv_pow): Removed.
14018 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
14020 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
14021 Don't include <sysdep.h> nor <init-arch.h>.
14022 (_ZGVdN4vv_pow): Removed.
14023 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
14025 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
14026 Don't include <sysdep.h> nor <init-arch.h>.
14027 (_ZGVeN8vv_pow): Removed.
14028 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
14030 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
14031 Don't include <sysdep.h> nor <init-arch.h>.
14032 (_ZGVbN2v_sin): Removed.
14033 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
14035 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
14036 Don't include <sysdep.h> nor <init-arch.h>.
14037 (_ZGVbN4v_sin): Removed.
14038 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
14040 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
14041 Don't include <sysdep.h> nor <init-arch.h>.
14042 (_ZGVbN8v_sin): Removed.
14043 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
14045 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
14046 Don't include <sysdep.h> nor <init-arch.h>.
14047 (_ZGVbN2vvv_sincos): Removed.
14048 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
14050 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
14051 Don't include <sysdep.h> nor <init-arch.h>.
14052 (_ZGVdN4vvv_sincos): Removed.
14053 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
14055 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
14056 Don't include <sysdep.h> nor <init-arch.h>.
14057 (_ZGVeN8vvv_sincos): Removed.
14058 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
14060 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
14061 Don't include <sysdep.h> nor <init-arch.h>.
14062 (_ZGVeN16v_cosf): Removed.
14063 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
14065 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
14066 Don't include <sysdep.h> nor <init-arch.h>.
14067 (_ZGVbN4v_cosf): Removed.
14068 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
14070 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
14071 Don't include <sysdep.h> nor <init-arch.h>.
14072 (_ZGVdN8v_cosf): Removed.
14073 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
14075 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
14076 Don't include <sysdep.h> nor <init-arch.h>.
14077 (_ZGVeN16v_expf): Removed.
14078 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
14080 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
14081 Don't include <sysdep.h> nor <init-arch.h>.
14082 (_ZGVbN4v_expf): Removed.
14083 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
14085 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
14086 Don't include <sysdep.h> nor <init-arch.h>.
14087 (_ZGVdN8v_expf): Removed.
14088 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
14090 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
14091 Don't include <sysdep.h> nor <init-arch.h>.
14092 (_ZGVeN16v_logf): Removed.
14093 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
14095 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
14096 Don't include <sysdep.h> nor <init-arch.h>.
14097 (_ZGVbN4v_logf): Removed.
14098 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
14100 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
14101 Don't include <sysdep.h> nor <init-arch.h>.
14102 (_ZGVdN8v_logf): Removed.
14103 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
14105 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
14106 Don't include <sysdep.h> nor <init-arch.h>.
14107 (_ZGVeN16vv_powf): Removed.
14108 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
14110 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
14111 Don't include <sysdep.h> nor <init-arch.h>.
14112 (_ZGVbN4vv_powf): Removed.
14113 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
14115 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
14116 Don't include <sysdep.h> nor <init-arch.h>.
14117 (_ZGVdN8vv_powf): Removed.
14118 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
14120 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
14121 Don't include <sysdep.h> nor <init-arch.h>.
14122 (_ZGVeN16vvv_sincosf): Removed.
14123 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
14125 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
14126 Don't include <sysdep.h> nor <init-arch.h>.
14127 (_ZGVbN4vvv_sincosf): Removed.
14128 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
14130 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
14131 Don't include <sysdep.h> nor <init-arch.h>.
14132 (_ZGVdN8vvv_sincosf): Removed.
14133 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
14135 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
14136 Don't include <sysdep.h> nor <init-arch.h>.
14137 (_ZGVeN16v_sinf): Removed.
14138 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
14140 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
14141 Don't include <sysdep.h> nor <init-arch.h>.
14142 (_ZGVbN4v_sinf): Removed.
14143 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
14145 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
14146 Don't include <sysdep.h> nor <init-arch.h>.
14147 (_ZGVdN8v_sinf): Removed.
14149 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14151 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14152 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
14153 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
14154 s_rint-sse4_1 and s_rintf-sse4_1.
14155 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
14156 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
14157 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
14158 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
14159 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
14160 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
14161 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
14162 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
14163 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
14164 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
14165 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
14166 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14168 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
14169 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
14170 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14171 (__ceilf): Removed.
14172 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
14173 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
14174 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14175 (__floor): Removed.
14176 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
14177 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
14178 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14179 (__floorf): Removed.
14180 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
14181 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
14182 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14183 (__nearbyint): Removed.
14184 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
14185 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
14186 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14187 (__nearbyintf): Removed.
14188 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
14189 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
14190 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14192 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
14193 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
14194 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14195 (__rintf): Removed.
14197 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14199 * sysdeps/i386/start.S (_start): Check Check PIC instead of
14200 SHARED. Avoid dynamic relocation against main in static PIE.
14202 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14205 * elf/Makefile (CFLAGS-tst-prelink.c): New.
14206 (LDFLAGS-tst-prelink): Likewise.
14208 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14210 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
14211 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
14212 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
14213 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
14214 (INTERNAL_SYSCALL_NCS): Likewise.
14215 (LOADARGS_1): Likewise.
14216 (LOADARGS_5): Likewise.
14217 (RESTOREARGS_1): Likewise.
14218 (RESTOREARGS_5): Likewise.
14220 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14222 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
14223 (MEMPCPY_SYMBOL): Likewise.
14224 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14225 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
14226 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
14228 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14229 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
14231 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
14232 (__hidden_ver1): Don't use in libc.a.
14233 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
14234 (__mempcpy): Don't create a weak alias in libc.a.
14235 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
14237 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
14238 (__hidden_ver1): Don't use in libc.a.
14240 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14242 * config.make.in (have-insert): New.
14243 * configure.ac (libc_cv_insert): New. Set to yes if linker
14244 supports INSERT in linker script.
14245 (AC_SUBST(libc_cv_insert): New.
14246 * configure: Regenerated.
14247 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
14248 if $(have-insert) == yes.
14250 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14252 * elf/Makefile (tests): Add vismain only if
14253 $(have-protected-data) == yes.
14254 (tests-pie): Likewise.
14256 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14259 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14260 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
14262 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14265 * sysdeps/i386/i586/memset.S
14266 (__memset_zero_constant_len_parameter): Removed.
14267 * sysdeps/i386/i686/memset.S
14268 (__memset_zero_constant_len_parameter): Likewise.
14269 * sysdeps/i386/i686/multiarch/memset_chk.S
14270 (__memset_zero_constant_len_parameter): Likewise.
14271 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
14274 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
14276 * stdlib/getentropy.c (getentropy): Change return type to int.
14278 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
14280 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
14282 2017-08-03 Joseph Myers <joseph@codesourcery.com>
14284 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
14286 * math/s_nexttowardf.c (__nexttowardf): Likewise.
14287 * sysdeps/generic/math_private.h (ieee_double_shape_type):
14289 (ieee_float_shape_type): Likewise.
14290 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
14291 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
14292 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14293 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14294 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14295 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
14296 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
14297 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
14298 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
14300 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14301 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14302 (__ieee754_yn): Likewise.
14303 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
14304 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
14305 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
14307 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14308 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
14309 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
14310 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
14311 (__erfc): Likewise.
14312 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
14313 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
14314 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
14315 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
14316 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
14317 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
14319 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
14320 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
14321 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
14322 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
14323 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
14324 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
14325 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
14326 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
14327 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
14328 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
14329 (__issignaling): Likewise.
14330 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
14331 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
14332 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14334 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14335 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
14336 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
14337 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
14339 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
14341 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
14342 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
14343 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
14344 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
14345 (__erfcf): Likewise.
14346 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
14347 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
14348 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
14349 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
14351 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
14352 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
14354 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
14355 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
14356 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
14357 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
14358 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
14359 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
14360 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
14361 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
14363 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
14365 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
14367 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
14368 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14370 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14372 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14373 (__ieee754_ynl): Likewise.
14374 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14375 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
14377 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
14379 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
14380 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
14381 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14383 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
14384 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
14385 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
14386 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
14387 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
14388 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
14389 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
14390 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
14392 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
14393 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
14394 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
14396 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
14397 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
14398 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
14399 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
14400 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
14401 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14403 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14405 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14407 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14409 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
14410 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
14411 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14412 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
14413 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
14414 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
14415 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
14417 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14419 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14420 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14422 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
14423 (__ieee754_remainderl): Likewise.
14424 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14425 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14426 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14427 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14429 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14430 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14432 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14433 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
14434 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14435 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
14436 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14437 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14439 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14440 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
14441 (__ieee754_y0l): Likewise.
14444 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14445 (__ieee754_y1l): Likewise.
14448 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14449 (__ieee754_ynl): Likewise.
14450 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
14451 (__ieee754_lgammal_r): Likewise.
14452 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
14454 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
14455 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
14456 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
14457 (__erfcl): Likewise.
14458 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
14459 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
14461 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
14462 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
14463 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
14464 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
14465 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
14466 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14467 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14469 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
14470 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
14471 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
14472 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
14473 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14475 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
14476 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
14478 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
14479 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
14480 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
14481 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14482 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
14484 2017-08-03 Florian Weimer <fweimer@redhat.com>
14487 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
14488 on memory allocation failure.
14490 2017-08-03 Alan Modra <amodra@gmail.com>
14492 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
14493 tst-tlsopt-powerpc.c with function name change and no test harness.
14494 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
14495 Call tls_get_addr_opt_test.
14496 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
14497 (modules-names): Add mod-tlsopt-powerpc.
14498 (mod-tlsopt-powerpc.so-no-z-defs): Define.
14499 (tst-tlsopt-powerpc): Depend on .so.
14500 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
14501 define. Expand use in TLS_GD and TLS_LD.
14503 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14505 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
14507 * sysdeps/posix/shm_open.c: Include <pthread.h>.
14509 2017-08-02 Joseph Myers <joseph@codesourcery.com>
14512 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
14513 comparing size with that of double.
14514 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
14515 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
14516 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
14517 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
14518 (__TGMATH_BINARY_REAL_IMAG): Likewise.
14519 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
14520 unsigned __int128 types.
14522 2017-08-02 Steve Ellcey <sellcey@cavium.com>
14524 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
14525 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
14526 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
14527 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
14528 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
14530 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
14532 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
14534 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
14536 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
14538 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
14539 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14540 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14541 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14542 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14543 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14544 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14546 2017-08-02 Joseph Myers <joseph@codesourcery.com>
14549 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
14550 bit-field expressions passed to sizeof or typeof.
14551 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
14552 (__TGMATH_F128): Likewise.
14553 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
14554 (__TGMATH_CF128): Likewise.
14555 (__TGMATH_UNARY_REAL_ONLY): Likewise.
14556 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
14557 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
14558 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
14559 (__TGMATH_BINARY_REAL_ONLY): Likewise.
14560 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
14561 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
14562 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
14563 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
14564 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
14565 (__TGMATH_UNARY_REAL_IMAG): Likewise.
14566 (__TGMATH_UNARY_IMAG): Likewise.
14567 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
14568 (__TGMATH_BINARY_REAL_IMAG): Likewise.
14569 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
14571 (define_vars_for_type): Handle bit_field type specially.
14572 (Tests.__init__): Declare structure with bit-field element.
14574 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
14577 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
14578 (MEMCPY_CHK): Define only if SHARED is defined.
14579 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
14581 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
14584 See ChangeLog.18 for earlier changes.