1 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
3 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
5 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
7 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
8 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
11 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
14 Reserve 16 chars to reloc_addr before calling _itoa_word.
16 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
20 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
22 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
23 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
25 * resource/tst-getrlimit.c: Add copyright header.
27 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
31 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
32 Define __GI_getrlimit64 as weak alias of __getrlimit64.
33 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
35 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
36 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
37 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
38 RLIM64_INFINITY): Fix values to match the kernel ones.
39 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
40 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
41 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
42 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
43 getrlimit64@@GLIBC_2_27.
44 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
46 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
47 getrlimit, setrlimit, getrlimit64 and setrlimit64.
48 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
49 setrlimit, getrlimit64 and setrlimit64.
51 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
54 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
55 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
57 2018-01-04 Joseph Myers <joseph@codesourcery.com>
59 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
60 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
61 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
63 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
67 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
68 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
72 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
73 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
74 * sysdeps/alpha/fpu/s_floor.c: Likewise.
75 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
77 2018-01-04 Florian Weimer <fweimer@redhat.com>
80 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
81 Align the stack before calling exit.
82 * stdlib/tst-makecontext-align.c: New file.
83 * stdlib/Makefile (tests): Add tst-makecontext-align.
85 2018-01-04 Florian Weimer <fweimer@redhat.com>
87 Add support for calling dlvsym from libc.so.
88 * include/dlfcn.h (__libc_dlvsym): Declare.
89 * elf/Makefile (tests-static-internal): Add
90 tst-libc_dlvsym-static.
91 (tests-internal): Add tst-libc_dlvsym.
92 (modules-names): Add tst-libc_dlvsym-dso.
93 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
94 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
95 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
96 object tst-libc_dlvsym-dso.so needs to be built before running
98 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
99 * elf/Versions: Export __libc_dlvsym.
100 * elf/dl-libc.c (struct do_dlvsym_args): New.
101 (do_dlvsym, __libc_dlvsym): New functions.
102 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
103 (_dl_open_hook2): New variable.
104 (__libc_register_dl_open_hook): Set it.
105 * elf/tst-libc_dlvsym-dso.c: New file.
106 * elf/tst-libc_dlvsym-static.c: Likewise.
107 * elf/tst-libc_dlvsym.c: Likewise.
108 * elf/tst-libc_dlvsym.h: Likewise.
110 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
112 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
113 include <sys/mount.h>.
115 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
117 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
118 Add __NO_MATH_ERRNO__ check.
120 2018-01-02 Joseph Myers <joseph@codesourcery.com>
122 * sysdeps/mips/mips32/libm-test-ulps: Update.
123 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
125 2018-01-02 Florian Weimer <fweimer@redhat.com>
127 * misc/tst-pselect.c: Add copyright header.
129 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
131 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
133 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
135 (settrlimit): Rename into setrlimit.
136 (__sttrlimit): Rename into __setrlimit.
138 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
139 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
140 never defined in that case.
142 2018-01-02 Joseph Myers <joseph@codesourcery.com>
144 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
146 * sysdeps/arm/libm-test-ulps: Update.
148 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
149 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
151 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
153 * NEWS: Add cosf and sincosf to list of optimized functions.
155 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
158 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
159 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
160 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
161 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
163 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
166 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
168 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
171 2018-01-01 Joseph Myers <joseph@codesourcery.com>
173 * manual/texinfo.tex: Update to version 2017-12-26.21 with
174 trailing whitespace removed.
175 * scripts/config.guess: Update to version 2018-01-01.
176 * scripts/config.sub: Update to version 2018-01-01.
177 * scripts/move-if-change: Update from gnulib.
179 * NEWS: Update copyright dates.
180 * catgets/gencat.c (print_version): Likewise.
181 * csu/version.c (banner): Likewise.
182 * debug/catchsegv.sh: Likewise.
183 * debug/pcprofiledump.c (print_version): Likewise.
184 * debug/xtrace.sh (do_version): Likewise.
185 * elf/ldconfig.c (print_version): Likewise.
186 * elf/ldd.bash.in: Likewise.
187 * elf/pldd.c (print_version): Likewise.
188 * elf/sotruss.sh: Likewise.
189 * elf/sprof.c (print_version): Likewise.
190 * iconv/iconv_prog.c (print_version): Likewise.
191 * iconv/iconvconfig.c (print_version): Likewise.
192 * locale/programs/locale.c (print_version): Likewise.
193 * locale/programs/localedef.c (print_version): Likewise.
194 * login/programs/pt_chown.c (print_version): Likewise.
195 * malloc/memusage.sh (do_version): Likewise.
196 * malloc/memusagestat.c (print_version): Likewise.
197 * malloc/mtrace.pl: Likewise.
198 * manual/libc.texinfo: Likewise.
199 * nptl/version.c (banner): Likewise.
200 * nscd/nscd.c (print_version): Likewise.
201 * nss/getent.c (print_version): Likewise.
202 * nss/makedb.c (print_version): Likewise.
203 * posix/getconf.c (main): Likewise.
204 * scripts/test-installation.pl: Likewise.
205 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
207 * All files with FSF copyright notices: Update copyright dates
208 using scripts/update-copyrights.
209 * locale/programs/charmap-kw.h: Regenerated.
210 * locale/programs/locfile-kw.h: Likewise.
212 2017-12-31 Zack Weinberg <zackw@panix.com>
214 * libio/bits/libio-ldbl.h: Correct check for improper
215 inclusion. Add own multiple include guard.
217 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
218 Dmitry V. Levin <ldv@altlinux.org>
222 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
223 string token expansion. Check for NULL pointer or empty string possibly
224 returned by expand_dynamic_string_token.
225 (decompose_rpath): Check for empty path after dynamic string
228 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
231 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
233 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
234 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
235 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
237 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
238 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
239 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
240 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
241 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
242 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
244 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
245 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
246 __ptrace_peeksiginfo_flags, ptrace): Move to ...
247 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
248 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
249 bits/ptrace-shared.h.
250 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
251 <bits/ptrace-shared.h>.
252 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
253 __ptrace_peeksiginfo_flags, ptrace): Remove.
254 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
255 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
256 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
257 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
258 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
260 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
263 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
264 end of the loop. Improve comments.
266 2017-12-29 Zack Weinberg <zackw@panix.com>
269 * manual/errno.texi (Checking for Errors): Explicitly say that errno
270 might be set on success.
272 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
275 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
276 is unchanged on success.
278 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
280 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
282 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
283 expand_dynamic_string_token): Likewise.
284 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
287 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
290 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
291 is set and name contains ':', and all code depending on these checks.
293 2017-12-24 Zack Weinberg <zackw@panix.com>
295 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
296 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
298 * libio/libio.h: Rename the original version of this file to
299 libio/bits/libio.h. Error out if not included by stdio.h or the
301 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
302 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
303 if not included by bits/libio.h or the stub _G_config.h.
304 * sysdeps/unix/sysv/linux/_G_config.h: Move to
305 sysdeps/unix/sysv/linux/bits. Error out if not included by
306 bits/libio.h or the stub _G_config.h.
307 * libio/stdio.h: Include bits/libio.h, not libio.h.
308 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
309 well as libio.h and _G_config.h.
311 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
312 * libio/strfile.h, stdio-common/vfscanf.c
313 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
314 Include stdio.h, not _G_config.h nor libio.h.
315 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
316 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
318 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
320 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
323 * stdlib/getrandom.c (getrandom): Fix comment.
324 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
326 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
329 * manual/arith.texi (strtoul): Fix a typo.
332 * manual/arith.texi (finite): Fix the description of the return
335 2017-12-22 Eric Blake <ebb9@byu.net>
337 Avoid gcc warnings on cygwin
338 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
339 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
340 Avoid unused variable.
342 2017-12-22 Florian Weimer <fweimer@redhat.com>
344 * io/Makefile (routines): Add copy_file_range.
345 (tests): Add tst-copy_file_range.
346 (tests-static, tests-internal): Add tst-copy_file_range-compat.
347 * io/Versions (GLIBC_2.27): Export copy_file_range.
348 * io/copy_file_range-compat.c: New file.
349 * io/copy_file_range.c: Likewise.
350 * io/tst-copy_file_range-compat.c: Likewise.
351 * io/tst-copy_file_range.c: Likewise.
352 * manual/llio.texi (Copying File Data): New section.
353 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
354 * support/Makefile (libsupport-routines): Add support-xfstat,
356 * support/support-xfstat.c: New file.
357 * support/xftruncate.c: Likewise.
358 * support/xlseek.c: Likewise.
359 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
360 * sysdeps/unix/sysv/linux/**.abilist: Update.
361 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
363 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
365 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
366 disable-multi-arch variant to aarch64-linux-gnu.
368 2017-12-20 Joseph Myers <joseph@codesourcery.com>
370 * manual/texinfo.tex: Update to version 2017-12-18.20 with
371 trailing whitespace removed.
372 * scripts/config.guess: Update to version 2017-12-17.
373 * scripts/config.sub: Update to version 2017-11-23.
374 * scripts/install-sh: Update to version 2017-09-23.17.
375 * scripts/move-if-change: Update to version 2017-09-13 06:45.
377 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
379 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
380 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
381 * sysdeps/tile/_mcount.S (__mcount): Likewise.
382 * sysdeps/tile/crti.S (_init, _fini): Likewise.
383 * sysdeps/tile/crtn.S: Likewise.
384 * sysdeps/tile/dl-start.S (_start): Likewise.
385 * sysdeps/tile/dl-trampoline.S: Likewise.
386 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
387 * sysdeps/tile/start.S (_start): Likewise.
388 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
389 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
390 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
391 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
392 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
393 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
394 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
396 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
398 * sysdeps/tile/preconfigure: Remove tilegx folder.
399 * sysdeps/tile/tilegx/Implies: Move definitions to ...
400 * sysdeps/tile/Implies: ... here.
401 * sysdeps/tile/tilegx/Makefile: Move rules to ...
402 * sysdeps/tile/Makefile: ... here.
403 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
404 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
405 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
406 * sysdeps/tile/bits/wordsize.h: ... here.
407 * sysdeps/tile/tilegx/*: Move to ...
408 * sysdeps/tile/*: ... here.
409 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
410 * sysdeps/tile/tilegx32/Implies: ... here.
411 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
412 * sysdeps/tile/tilegx64/Implies: ... here.
413 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
415 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
416 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
417 * sysdeps/unix/sysv/linux/tile/*: ... here.
418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
419 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
421 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
423 * README: Remove tilepro-*-linux-gnu from supported architecture.
424 * scripts/build-many-glibcs.py: Likewise.
425 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
426 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
427 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
428 elf_machine_matches_host, elf_machine_dynamic,
429 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
430 howto, elf_machine_rela): Likewise.
431 * sysdeps/tile/dl-start.S (_start): Likewise.
432 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
433 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
434 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
435 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
436 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
437 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
439 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
440 * sysdeps/tile/preconfigure: Likewise.
441 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
442 POINTER_CHK_GUARD): Likewise.
443 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
444 * sysdeps/tile/start.S (_start): Likewise.
445 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
447 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
448 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
450 * sysdeps/unix/sysv/linux/tile/bits/environments.h
451 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
452 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
454 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
455 * sysdeps/tile/tilepro/Implies: Remove file.
456 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
457 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
458 * sysdeps/tile/tilepro/memchr.c: Likewise.
459 * sysdeps/tile/tilepro/memcpy.S: Likewise.
460 * sysdeps/tile/tilepro/memset.c: Likewise.
461 * sysdeps/tile/tilepro/memusage.h: Likewise.
462 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
463 * sysdeps/tile/tilepro/strchr.c: Likewise.
464 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
465 * sysdeps/tile/tilepro/strlen.c: Likewise.
466 * sysdeps/tile/tilepro/strrchr.c: Likewise.
467 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
468 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
469 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
470 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
471 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
472 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
474 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
475 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
476 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
477 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
478 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
479 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
480 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
481 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
482 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
483 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
484 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
485 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
486 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
487 tilepro mention in comment.
489 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
490 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
491 * nptl/pthread_join_common.c: New file: common function used on
492 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
493 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
494 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
495 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
496 (cleanup): Move definition to pthread_join_common.c.
497 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
498 Remove superflous checks.
499 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
502 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
504 * sysdeps/aarch64/libm-test-ulps: Update.
506 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
508 * sysdeps/aarch64/memset.S (MEMSET): Define.
510 2017-12-20 Florian Weimer <fweimer@redhat.com>
513 nptl: Provide full implementation of pthread_self in libc.so.
514 * nptl/Makefile (routines): Add pthread_self.
515 (libpthread-routines): Replace pthread_self with
517 * nptl/forward.c (pthread_self): Remove.
518 * nptl/nptl-init.c (pthread_functions): Do not initialize
520 * nptl/pthread_self.c (pthread_self): Remove weak alias.
521 * nptl/compat-pthread_self.c: New file.
522 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
523 Remove ptr_pthread_self.
525 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
527 * posix/regcomp.c: Fix spelling in comments.
528 * posix/regex.h: Likewise.
529 * posix/regex_internal.c: Likewise.
530 * posix/regexec.c: Likewise.
532 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
535 * math/Makefile [C++] (tests): Add test for iseqsig.
536 * math/math.h [C++] (iseqsig): New implementation, which does
537 not rely on __MATH_TG/__builtin_types_compatible_p.
538 * math/test-math-iseqsig.cc: New file.
539 * sysdeps/powerpc/powerpc64le/Makefile
540 (CFLAGS-test-math-iseqsig.cc): New variable.
542 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
544 * elf/dl-load.c (is_trusted_path): Remove.
545 (fillin_rpath): Remove check_trusted argument and its use,
548 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
551 * Makeconfig (link-pie-before-libc): Replace -pie with
552 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
553 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
554 (tst-dlopen-aout-no-pie): New.
555 (LDFLAGS-tst-prelink): Removed.
556 (tst-prelink-no-pie): New.
557 (LDFLAGS-tst-main1): Removed.
558 (tst-main1-no-pie): New.
559 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
560 (tst-gmon-no-pie): New.
562 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
564 * manual/install.texi: Document that --enable-static-pie
566 * INSTALL: Regenerated.
568 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
571 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
574 2017-12-19 Joseph Myers <joseph@codesourcery.com>
578 2017-12-19 Joseph Myers <joseph@codesourcery.com>
580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
582 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
584 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
585 <errno.h>. Include "eexp.tbl".
586 (half): New constant.
588 (__ieee754_exp): Rewrite.
589 (__slowexp): Remove prototype.
590 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
591 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
592 * sysdeps/i386/fpu/slowexp.c: Likewise.
593 * sysdeps/ia64/fpu/slowexp.c: Likewise.
594 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
595 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
596 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
597 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
598 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
599 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
601 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
602 (CPPFLAGS-slowexp.c): Remove variable.
603 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
604 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
605 (CFLAGS-slowexp-fma.c): Remove variable.
606 (CFLAGS-slowexp-fma4.c): Likewise.
607 (CFLAGS-slowexp-avx.c): Likewise.
608 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
610 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
611 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
612 * math/Makefile (type-double-routines): Remove slowexp.
613 * manual/probes.texi (slowexp_p6): Remove.
614 (slowexp_p32): Likewise.
616 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
618 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
621 * lib/glob.c (glob): Do not pass NULL to mempcpy.
623 2017-12-19 Joseph Myers <joseph@codesourcery.com>
625 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
627 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
629 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
630 <errno.h>. Include "eexp.tbl".
631 (half): New constant.
633 (__ieee754_exp): Rewrite.
634 (__slowexp): Remove prototype.
635 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
636 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
637 * sysdeps/i386/fpu/slowexp.c: Likewise.
638 * sysdeps/ia64/fpu/slowexp.c: Likewise.
639 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
640 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
641 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
642 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
643 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
644 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
646 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
647 (CPPFLAGS-slowexp.c): Remove variable.
648 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
649 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
650 (CFLAGS-slowexp-fma.c): Remove variable.
651 (CFLAGS-slowexp-fma4.c): Likewise.
652 (CFLAGS-slowexp-avx.c): Likewise.
653 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
655 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
656 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
657 * math/Makefile (type-double-routines): Remove slowexp.
658 * manual/probes.texi (slowexp_p6): Remove.
659 (slowexp_p32): Likewise.
661 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
662 James Clarke <jrtc27@jrtc27.com>
665 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
668 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
671 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
674 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
677 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
678 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
679 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
680 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
683 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
686 * bits/types/__cancel_jmp_buf_tag.h: New file.
687 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
688 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
689 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
690 * nptl/Makefile (headers): Add
691 bits/types/__cancel_jmp_buf_tag.h.
692 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
693 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
694 * sysdeps/nptl/pthread.h: Include
695 <bits/types/__cancel_jmp_buf_tag.h>.
696 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
698 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
700 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
702 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
703 --enable-static-pie variants to x86_64, x32 and i686.
705 2017-12-19 Joseph Myers <joseph@codesourcery.com>
708 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
709 argument for attrubutes. All callers changed.
710 (__inline_mathop1): Likewise. All callers changed.
711 (__inline_mathop): Likewise. All callers changed.
712 [__USE_MISC] (scalbn): Use __inline_forward instead of
714 [__USE_ISOC99] (scalbln): Likewise.
715 [__USE_ISOC99] (nearbyint): Likewise.
716 [__USE_ISOC99] (lrint): Likewise.
717 [__USE_MISC] (scalbnf): Likewise.
718 [__USE_ISOC99] (scalblnf): Likewise.
719 [__USE_ISOC99] (nearbyintf): Likewise.
720 [__USE_ISOC99] (lrintf): Likewise.
721 [__USE_MISC] (scalbnl): Likewise.
722 [__USE_ISOC99] (scalblnl): Likewise.
723 [__USE_ISOC99] (nearbyintl): Likewise.
724 [__USE_ISOC99] (lrintl): Likewise.
725 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
726 __inline_mathop and __m81_defun changed.
728 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
729 CPU or FPU for ARM hard-float configurations.
731 2017-12-18 Joseph Myers <joseph@codesourcery.com>
733 * nptl/tst-attr3.c: Include <libc-diag.h>.
734 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
736 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
738 * string/tester.c (test_strncat): Also disable -Warray-bounds
739 warnings for two tests.
741 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
744 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
745 $(cc-pie-default) == yes.
746 * config.make.in (cc-pie-default): New.
747 * configure.ac (libc_cv_pie_default): Renamed to ...
748 (libc_cv_cc_pie_default): This.
749 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
750 * configure: Regenerated.
752 2017-12-18 Florian Weimer <fweimer@redhat.com>
755 ld.so: Harden dl-libc/libdl hooks.
756 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
757 (rtld_active): New function.
758 * dlfcn/dladdr.c (__dladdr): Call it.
759 * dlfcn/dladdr1.c (__dladdr1): Likewise.
760 * dlfcn/dlclose.c (__dlcose): Likewise.
761 * dlfcn/dlerror.c (__dlerror): Likewise.
762 * dlfcn/dlinfo.c (__dlinfo): Likewise.
763 * dlfcn/dlmopen.c (__dlmopen): Likewise.
764 * dlfcn/dlopen.c (__dlopen): Likewise.
765 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
766 * dlfcn/dlsym.c (__dlsym): Likewise.
767 * dlfcn/dlvsym.c (__dlvsym): Likewise.
768 * libio/vtables.c (_IO_vtable_check): Likewise.
769 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
770 (__libc_dlclose): Likewise.
771 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
774 2017-12-18 Joseph Myers <joseph@codesourcery.com>
777 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
778 buffers for readlink input and output.
780 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
783 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
784 inhibit_stack_protector.
787 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
788 inhibit_stack_protector.
790 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
793 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
796 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
798 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
800 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
803 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
805 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
807 * sysdeps/s390/fpu/libm-test-ulps: Update.
809 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
813 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
815 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
816 constants to s_sincosf.h file.
817 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
818 * sysdeps/ieee754/flt-32/s_sincosf.c: New
820 * sysdeps/ieee754/flt-32/s_sincosf.h:
823 2017-12-12 Carlos O'Donell <carlos@redhat.com>
826 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
829 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
832 * INSTALL: Regenerated.
833 * Makeconfig (real-static-start-installed-name): New.
834 (pic-default): Updated for --enable-static-pie.
835 (pie-default): New for --enable-static-pie.
836 (default-pie-ldflag): Likewise.
837 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
838 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
839 Replace $(static-start-installed-name) with
840 $(real-static-start-installed-name).
841 (+prectorT): Updated for --enable-static-pie.
842 (+postctorT): Likewise.
843 (CFLAGS-.o): Add $(pie-default).
844 (CFLAGS-.op): Likewise.
845 * NEWS: Mention --enable-static-pie.
846 * config.h.in (ENABLE_STATIC_PIE): New.
847 * configure.ac (--enable-static-pie): New configure option.
848 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
849 (have-static-pie): Likewise.
850 Enable static PIE if linker supports --no-dynamic-linker.
851 (ENABLE_STATIC_PIE): New AC_DEFINE.
852 (enable-static-pie): New LIBC_CONFIG_VAR.
853 * configure: Regenerated.
854 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
855 gr$(start-installed-name) for --enable-static-pie.
856 (extra-objs): Likewise.
857 (install-lib): Likewise.
858 (extra-objs): Add static-reloc.o and static-reloc.os
859 ($(objpfx)$(start-installed-name)): Also depend on
860 $(objpfx)static-reloc.o.
861 ($(objpfx)r$(start-installed-name)): New.
862 ($(objpfx)g$(start-installed-name)): Also depend on
863 $(objpfx)static-reloc.os.
864 ($(objpfx)gr$(start-installed-name)): New.
865 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
867 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
869 * csu/static-reloc.c: New file.
870 * elf/Makefile (routines): Add dl-reloc-static-pie.
871 (elide-routines.os): Likewise.
872 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
873 (tst-tls1-static-non-pie-no-pie): New.
874 * elf/dl-reloc-static-pie.c: New file.
875 * elf/dl-support.c (_dl_get_dl_main_map): New function.
876 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
877 STATIC_PIE_BOOTSTRAP.
878 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
879 * gmon/Makefile (tests): Add tst-gmon-static-pie.
880 (tests-static): Likewise.
881 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
882 (tst-gmon-static-no-pie): New.
883 (CFLAGS-tst-gmon-static-pie.c): Likewise.
884 (CRT-tst-gmon-static-pie): Likewise.
885 (tst-gmon-static-pie-ENV): Likewise.
886 (tests-special): Likewise.
887 ($(objpfx)tst-gmon-static-pie.out): Likewise.
888 (clean-tst-gmon-static-pie-data): Likewise.
889 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
890 * gmon/tst-gmon-static-pie.c: New file.
891 * manual/install.texi: Document --enable-static-pie.
892 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
893 (_dl_get_dl_main_map): Likewise.
894 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
895 * sysdeps/x86_64/configure.ac: Likewise.
896 * sysdeps/i386/configure: Regenerated.
897 * sysdeps/x86_64/configure: Likewise.
898 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
899 (ASFLAGS-.op): Likewise.
901 2017-12-15 Joseph Myers <joseph@codesourcery.com>
903 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
904 * posix/tst-mmap-offset.c (fname): Use /tmp.
905 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
907 2017-12-15 Steve Ellcey <sellcey@cavium.com>
909 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
911 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
913 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
916 2017-12-15 Joseph Myers <joseph@codesourcery.com>
918 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
919 --with-float=hard for arm-linux-gnueabihf configurations.
922 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
923 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
924 ($(mo-installed)): Use $(objpfx)%.mo.
925 (realclean): Remove rule.
927 * po/Makefile (linguas): Remove rule and dependencies.
928 (linguas.mo): Likewise.
929 (.PHONY): Do not depend on linguas and linguas.mo.
930 (podir): Remove variable.
932 [$(pofiles)] (%.po): Remove rule.
934 * sysdeps/sparc/sparc32/Makefile
935 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
936 start-of-line whitespace in argument of echo.
937 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
938 with whitespace. Generate __wrap_.udiv alias.
939 * sysdeps/sparc/sparc32/rem.S: Regenerated.
940 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
941 * sysdeps/sparc/sparc32/udiv.S: Likewise.
942 * sysdeps/sparc/sparc32/urem.S: Likewise.
944 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
946 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
949 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
951 * benchtests/bench-strcmp.c: Print output in JSON format.
953 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
955 2017-12-14 Florian Weimer <fweimer@redhat.com>
959 * elf/dl-load.c (_dl_init_paths): Compute number of components in
960 the expanded path string.
962 2017-12-14 Florian Weimer <fweimer@redhat.com>
966 * elf/dl-load.c (system_dirs): Update comment.
967 (nsystem_dirs_len): Use array_length.
968 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
970 2017-12-14 Florian Weimer <fweimer@redhat.com>
972 Simplify compiling most of support/ outside of glibc.
973 * support/check_addrinfo.c: Include <string.h>.
974 * support/check_dns_packet.c: Likewise.
975 * support/check_hostent.c: Likewise.
976 * support/support_can_chroot.c: Include <support/xunistd.h>.
977 * support/support_format_addrinfo.c: Include <stdlib.h>
978 * support/support_format_dns_packet.c: Include <stdbool.h>.
979 * support/support_format_hostent.c: Include <stdlib.h>.
980 * support/support_format_netent.c: Likewise.
981 * support/support_write_string.c: Include <support/xunistd.h>.
982 * support/xdlfcn.c: Include <stddef.h>.
984 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
986 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
988 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
989 Adhemerval Zanella <adhemerval.zanella@linaro.org>
991 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
992 (sysdeps_routines): Add memset-niagara7.
993 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
995 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
997 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
998 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
999 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
1000 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
1001 Add niagara7 option.
1002 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
1005 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
1006 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
1007 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
1009 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
1011 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
1012 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
1013 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
1014 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
1015 and __memmove_niagara7.
1016 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
1017 Add niagara7 option.
1018 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
1019 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
1020 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
1021 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
1022 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
1024 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1026 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
1027 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
1028 * sysdeps/sparc/sparc64/memmove.S: Likewise.
1029 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
1031 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
1032 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
1033 _dl_sparc_cap_flags array.
1034 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
1036 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
1038 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
1039 time whenever possible.
1041 2017-12-12 Carlos O'Donell <carlos@redhat.com>
1043 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
1044 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
1046 2017-12-12 Joseph Myers <joseph@codesourcery.com>
1048 * soft-fp/fmadf4.c: Move to ....
1049 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
1050 * soft-fp/fmasf4.c: Move to ....
1051 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
1052 * soft-fp/fmatf4.c: Move to ....
1053 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
1054 * sysdeps/ieee754/soft-fp/Makefile: New file.
1055 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
1056 * sysdeps/arm/preconfigure: Regenerated.
1057 * sysdeps/arm/nofpu/Implies: New file.
1058 * sysdeps/arm/s_fma.c: Remove file.
1059 * sysdeps/arm/s_fmaf.c: Likewise.
1060 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
1061 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
1062 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
1063 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
1064 * sysdeps/microblaze/s_fma.c: Remove file.
1065 * sysdeps/microblaze/s_fmaf.c: Likewise.
1066 * sysdeps/mips/mips32/nofpu/Implies: New file.
1067 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
1068 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
1069 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
1070 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
1071 * sysdeps/mips/ieee754/s_fma.c: Remove file.
1072 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
1073 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
1075 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
1076 * sysdeps/nios2/s_fma.c: Remove file.
1077 * sysdeps/nios2/s_fmaf.c: Likewise.
1078 * sysdeps/sh/nofpu/Implies: New file.
1079 * sysdeps/sh/s_fma.c: Remove file.
1080 * sysdeps/sh/s_fmaf.c: Likewise.
1081 * sysdeps/tile/Implies: Add ieee754/soft-fp.
1082 * sysdeps/tile/s_fma.c: Remove file.
1083 * sysdeps/tile/s_fmaf.c: Likewise.
1085 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
1087 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1088 Add s_cosf-sse2 and s_cosf-fma.
1089 (CFLAGS-s_cosf-fma.c): New.
1090 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
1091 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
1092 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
1094 2017-12-12 Steve Ellcey <sellcey@cavium.com>
1096 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
1098 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1100 * libio/Makefile (tests): Add tst-bz22415.
1101 (tst-bz22415-ENV): New rule.
1102 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
1103 (tests-special): Add tst-bz22415-mem.out.
1104 ($(objpfx)tst-bz22415-mem.out): New rule.
1105 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
1106 in case of a successful seek operation.
1107 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1108 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
1110 * libio/tst-bz22415.c: New test.
1112 * sysdeps/ia64/fpu/libm-test-ulps: Update.
1114 2017-12-12 James Clarke <jrtc27@jrtc27.com>
1116 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
1117 __IPC_64 to 0 to avoid IPC_64 being set.
1119 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
1122 * math/bits/mathcalls.h (nextafter): Remove const.
1123 (nexttoward): Likewise.
1125 2017-12-12 Joseph Myers <joseph@codesourcery.com>
1127 * configure.ac (--with-fp): Remove configure option.
1128 (with_fp_cond): New variable.
1129 (libc_cv_with_fp): New configure test. Use this variable instead
1131 * configure: Regenerated.
1132 * config.make.in (with-fp): Use @libc_cv_with_fp@.
1133 * manual/install.texi (Configuring and compiling): Remove
1135 * INSTALL: Regenerated.
1136 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
1137 * sysdeps/mips/preconfigure (with_fp_cond): Define.
1138 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
1139 * sysdeps/sh/preconfigure (with_fp_cond): Define.
1140 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
1141 use --without-fp to configure glibc.
1143 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
1145 * manual/locale.texi (nl_langinfo): Fix a typo.
1147 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
1150 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
1152 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
1154 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
1155 (CFLAGS-argp-parse.c): Likewise.
1156 (CFLAGS-argp-fmtstream.c): Likewise.
1157 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
1158 (CPPFLAGS-sha512-crypt.c): Likewise.
1159 (CPPFLAGS-md5-crypt.c): Likewise.
1160 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
1161 (CFLAGS-stack_chk_fail_local.c): Likewise.
1162 (CFLAGS-backtrace.c): Likewise.
1163 (CFLAGS-sprintf_chk.c): Likewise.
1164 (CFLAGS-snprintf_chk.c): Likewise.
1165 (CFLAGS-vsprintf_chk.c): Likewise.
1166 (CFLAGS-vsnprintf_chk.c): Likewise.
1167 (CFLAGS-asprintf_chk.c): Likewise.
1168 (CFLAGS-vasprintf_chk.c): Likewise.
1169 (CFLAGS-obprintf_chk.c): Likewise.
1170 (CFLAGS-dprintf_chk.c): Likewise.
1171 (CFLAGS-vdprintf_chk.c): Likewise.
1172 (CFLAGS-printf_chk.c): Likewise.
1173 (CFLAGS-fprintf_chk.c): Likewise.
1174 (CFLAGS-vprintf_chk.c): Likewise.
1175 (CFLAGS-vfprintf_chk.c): Likewise.
1176 (CFLAGS-gets_chk.c): Likewise.
1177 (CFLAGS-fgets_chk.c): Likewise.
1178 (CFLAGS-fgets_u_chk.c): Likewise.
1179 (CFLAGS-fread_chk.c): Likewise.
1180 (CFLAGS-fread_u_chk.c): Likewise.
1181 (CFLAGS-swprintf_chk.c): Likewise.
1182 (CFLAGS-vswprintf_chk.c): Likewise.
1183 (CFLAGS-wprintf_chk.c): Likewise.
1184 (CFLAGS-fwprintf_chk.c): Likewise.
1185 (CFLAGS-vwprintf_chk.c): Likewise.
1186 (CFLAGS-vfwprintf_chk.c): Likewise.
1187 (CFLAGS-fgetws_chk.c): Likewise.
1188 (CFLAGS-fgetws_u_chk.c): Likewise.
1189 (CFLAGS-read_chk.c): Likewise.
1190 (CFLAGS-pread_chk.c): Likewise.
1191 (CFLAGS-pread64_chk.c): Likewise.
1192 (CFLAGS-recv_chk.c): Likewise.
1193 (CFLAGS-recvfrom_chk.c): Likewise.
1194 (CFLAGS-tst-longjmp_chk.c): Likewise.
1195 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
1196 (CFLAGS-tst-longjmp_chk2.c): Likewise.
1197 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
1198 (CFLAGS-tst-longjmp_chk3.c): Likewise.
1199 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
1200 (CFLAGS-tst-chk1.c): Likewise.
1201 (CFLAGS-tst-chk2.c): Likewise.
1202 (CFLAGS-tst-chk3.c): Likewise.
1203 (CFLAGS-tst-chk4.cc): Likewise.
1204 (CFLAGS-tst-chk5.cc): Likewise.
1205 (CFLAGS-tst-chk6.cc): Likewise.
1206 (CFLAGS-tst-lfschk1.c): Likewise.
1207 (CFLAGS-tst-lfschk2.c): Likewise.
1208 (CFLAGS-tst-lfschk3.c): Likewise.
1209 (CFLAGS-tst-lfschk4.cc): Likewise.
1210 (CFLAGS-tst-lfschk5.cc): Likewise.
1211 (CFLAGS-tst-lfschk6.cc): Likewise.
1212 (CFLAGS-tst-ssp-1.c): Likewise.
1213 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
1214 (CFLAGS-scandir64.c): Likewise.
1215 (CFLAGS-scandir-tail.c): Likewise.
1216 (CFLAGS-scandir64-tail.c): Likewise.
1217 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
1218 (CFLAGS-dl-tunables.c): Likewise.
1219 (CFLAGS-dl-runtime.c): Likewise.
1220 (CFLAGS-dl-lookup.c): Likewise.
1221 (CFLAGS-dl-iterate-phdr.c): Likewise.
1222 (CFLAGS-vismain.c): Likewise.
1223 (CFLAGS-tst-linkall-static.c): Likewise.
1224 (CFLAGS-tst-linkall-static.c): Likewise.
1225 (CPPFLAGS-dl-load.c): Likewise.
1226 (CFLAGS-ldconfig.c): Likewise.
1227 (CFLAGS-dl-cache.c): Likewise.
1228 (CFLAGS-cache.c): Likewise.
1229 (CFLAGS-rtld.c): Likewise.
1230 (CFLAGS-multiload.c): Likewise.
1231 (CFLAGS-filtmod1.c): Likewise.
1232 (CFLAGS-tst-align.c): Likewise.
1233 (CFLAGS-tst-align2.c): Likewise.
1234 (CFLAGS-tst-alignmod.c): Likewise.
1235 (CFLAGS-tst-alignmod2.c): Likewise.
1236 (CPPFLAGS-tst-execstack.c): Likewise.
1237 (CFLAGS-tst-ptrguard1-static.c): Likewise.
1238 (CFLAGS-tst-latepthreadmod.c): Likewise.
1239 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
1240 (CFLAGS-getgrnam_r.c): Likewise.
1241 (CFLAGS-getgrent_r.c): Likewise.
1242 (CFLAGS-getgrent.c): Likewise.
1243 (CFLAGS-fgetgrent.c): Likewise.
1244 (CFLAGS-fgetgrent_r.c): Likewise.
1245 (CFLAGS-putgrent.c): Likewise.
1246 (CFLAGS-initgroups.c): Likewise.
1247 (CFLAGS-getgrgid.c): Likewise.
1248 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
1249 (CFLAGS-getsgent.c): Likewise.
1250 (CFLAGS-fgetsgent.c): Likewise.
1251 (CFLAGS-fgetsgent_r.c): Likewise.
1252 (CFLAGS-putsgent.c): Likewise.
1253 (CFLAGS-getsgnam.c): Likewise.
1254 (CFLAGS-getsgnam_r.c): Likewise.
1255 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
1256 (CFLAGS-iconv_charmap.c): Likewise.
1257 (CFLAGS-dummy-repertoire.c): Likewise.
1258 (CFLAGS-charmap.c): Likewise.
1259 (CFLAGS-linereader.c): Likewise.
1260 (CFLAGS-simple-hash.c): Likewise.
1261 (CFLAGS-gconv_conf.c): Likewise.
1262 (CFLAGS-iconvconfig.c): Likewise.
1263 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1264 (CFLAGS-gethstbyad.c): Likewise.
1265 (CFLAGS-gethstbynm_r.c): Likewise.
1266 (CFLAGS-gethstbynm.c): Likewise.
1267 (CFLAGS-gethstbynm2_r.c): Likewise.
1268 (CFLAGS-gethstbynm2.c): Likewise.
1269 (CFLAGS-gethstent_r.c): Likewise.
1270 (CFLAGS-gethstent.c): Likewise.
1271 (CFLAGS-rcmd.c): Likewise.
1272 (CFLAGS-getnetbynm_r.c): Likewise.
1273 (CFLAGS-getnetbynm.c): Likewise.
1274 (CFLAGS-getnetbyad_r.c): Likewise.
1275 (CFLAGS-getnetbyad.c): Likewise.
1276 (CFLAGS-getnetent_r.c): Likewise.
1277 (CFLAGS-getnetent.c): Likewise.
1278 (CFLAGS-getaliasent_r.c): Likewise.
1279 (CFLAGS-getaliasent.c): Likewise.
1280 (CFLAGS-getrpcent_r.c): Likewise.
1281 (CFLAGS-getrpcent.c): Likewise.
1282 (CFLAGS-getservent_r.c): Likewise.
1283 (CFLAGS-getservent.c): Likewise.
1284 (CFLAGS-getprtent_r.c): Likewise.
1285 (CFLAGS-getprtent.c): Likewise.
1286 (CFLAGS-either_ntoh.c): Likewise.
1287 (CFLAGS-either_hton.c): Likewise.
1288 (CFLAGS-getnetgrent.c): Likewise.
1289 (CFLAGS-getnetgrent_r.c): Likewise.
1290 (CFLAGS-tst-checks-posix.c): Likewise.
1291 (CFLAGS-tst-sockaddr.c): Likewise.
1292 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
1293 (CFLAGS-tst-translit.c): Likewise.
1294 (CFLAGS-tst-gettext2.c): Likewise.
1295 (CFLAGS-tst-codeset.c): Likewise.
1296 (CFLAGS-tst-gettext3.c): Likewise.
1297 (CFLAGS-tst-gettext4.c): Likewise.
1298 (CFLAGS-tst-gettext5.c): Likewise.
1299 (CFLAGS-tst-gettext6.c): Likewise.
1300 * io/Makefile (CFLAGS-open.c): Likewise.
1301 (CFLAGS-open64.c): Likewise.
1302 (CFLAGS-creat.c): Likewise.
1303 (CFLAGS-creat64.c): Likewise.
1304 (CFLAGS-fcntl.c): Likewise.
1305 (CFLAGS-poll.c): Likewise.
1306 (CFLAGS-ppoll.c): Likewise.
1307 (CFLAGS-lockf.c): Likewise.
1308 (CFLAGS-statfs.c): Likewise.
1309 (CFLAGS-fstatfs.c): Likewise.
1310 (CFLAGS-statvfs.c): Likewise.
1311 (CFLAGS-fstatvfs.c): Likewise.
1312 (CFLAGS-fts.c): Likewise.
1313 (CFLAGS-fts64.c): Likewise.
1314 (CFLAGS-ftw.c): Likewise.
1315 (CFLAGS-ftw64.c): Likewise.
1316 (CFLAGS-lockf.c): Likewise.
1317 (CFLAGS-posix_fallocate.c): Likewise.
1318 (CFLAGS-posix_fallocate64.c): Likewise.
1319 (CFLAGS-fallocate.c): Likewise.
1320 (CFLAGS-fallocate64.c): Likewise.
1321 (CFLAGS-read.c): Likewise.
1322 (CFLAGS-write.c): Likewise.
1323 (CFLAGS-test-stat.c): Likewise.
1324 (CFLAGS-test-lfs.c): Likewise.
1325 * libio/Makefile (CFLAGS-fileops.c): Likewise.
1326 (CFLAGS-fputc.c): Likewise.
1327 (CFLAGS-fputwc.c): Likewise.
1328 (CFLAGS-freopen64.c): Likewise.
1329 (CFLAGS-freopen.c): Likewise.
1330 (CFLAGS-fseek.c): Likewise.
1331 (CFLAGS-fseeko64.c): Likewise.
1332 (CFLAGS-fseeko.c): Likewise.
1333 (CFLAGS-ftello64.c): Likewise.
1334 (CFLAGS-ftello.c): Likewise.
1335 (CFLAGS-fwide.c): Likewise.
1336 (CFLAGS-genops.c): Likewise.
1337 (CFLAGS-getc.c): Likewise.
1338 (CFLAGS-getchar.c): Likewise.
1339 (CFLAGS-getwc.c): Likewise.
1340 (CFLAGS-getwchar.c): Likewise.
1341 (CFLAGS-iofclose.c): Likewise.
1342 (CFLAGS-iofflush.c): Likewise.
1343 (CFLAGS-iofgetpos64.c): Likewise.
1344 (CFLAGS-iofgetpos.c): Likewise.
1345 (CFLAGS-iofgets.c): Likewise.
1346 (CFLAGS-iofgetws.c): Likewise.
1347 (CFLAGS-iofputs.c): Likewise.
1348 (CFLAGS-iofputws.c): Likewise.
1349 (CFLAGS-iofread.c): Likewise.
1350 (CFLAGS-iofsetpos64.c): Likewise.
1351 (CFLAGS-iofsetpos.c): Likewise.
1352 (CFLAGS-ioftell.c): Likewise.
1353 (CFLAGS-iofwrite.c): Likewise.
1354 (CFLAGS-iogetdelim.c): Likewise.
1355 (CFLAGS-iogetline.c): Likewise.
1356 (CFLAGS-iogets.c): Likewise.
1357 (CFLAGS-iogetwline.c): Likewise.
1358 (CFLAGS-ioputs.c): Likewise.
1359 (CFLAGS-ioseekoff.c): Likewise.
1360 (CFLAGS-ioseekpos.c): Likewise.
1361 (CFLAGS-iosetbuffer.c): Likewise.
1362 (CFLAGS-iosetvbuf.c): Likewise.
1363 (CFLAGS-ioungetc.c): Likewise.
1364 (CFLAGS-ioungetwc.c): Likewise.
1365 (CFLAGS-oldfileops.c): Likewise.
1366 (CFLAGS-oldiofclose.c): Likewise.
1367 (CFLAGS-oldiofgetpos64.c): Likewise.
1368 (CFLAGS-oldiofgetpos.c): Likewise.
1369 (CFLAGS-oldiofsetpos64.c): Likewise.
1370 (CFLAGS-oldiofsetpos.c): Likewise.
1371 (CFLAGS-peekc.c): Likewise.
1372 (CFLAGS-putc.c): Likewise.
1373 (CFLAGS-putchar.c): Likewise.
1374 (CFLAGS-putwc.c): Likewise.
1375 (CFLAGS-putwchar.c): Likewise.
1376 (CFLAGS-rewind.c): Likewise.
1377 (CFLAGS-wfileops.c): Likewise.
1378 (CFLAGS-wgenops.c): Likewise.
1379 (CFLAGS-oldiofopen.c): Likewise.
1380 (CFLAGS-iofopen.c): Likewise.
1381 (CFLAGS-iofopen64.c): Likewise.
1382 (CFLAGS-oldtmpfile.c): Likewise.
1383 (CFLAGS-tst_putwc.c): Likewise.
1384 * locale/Makefile (CFLAGS-md5.c): Likewise.
1385 (CFLAGS-charmap.c): Likewise.
1386 (CFLAGS-locfile.c): Likewise.
1387 (CFLAGS-charmap-dir.c): Likewise.
1388 * login/Makefile (CFLAGS-grantpt.c): Likewise.
1389 (CFLAGS-getpt.c): Likewise.
1390 (CFLAGS-pt_chown.c): Likewise.
1391 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
1392 (CFLAGS-obstack.c): Likewise.
1393 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
1394 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
1395 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
1396 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
1397 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
1398 (CFLAGS-test-tgmath.c): Likewise.
1399 (CFLAGS-test-tgmath2.c): Likewise.
1400 (CFLAGS-test-tgmath-ret.c): Likewise.
1401 (CFLAGS-test-powl.c): Likewise.
1402 (CFLAGS-test-snan.c): Likewise.
1403 (CFLAGS-test-signgam-finite.c): Likewise.
1404 (CFLAGS-test-signgam-finite-c99.c): Likewise.
1405 (CFLAGS-test-signgam-finite-c11.c): Likewise.
1406 (CFLAGS-test-signgam-uchar.c): Likewise.
1407 (CFLAGS-test-signgam-uchar-init.c): Likewise.
1408 (CFLAGS-test-signgam-uchar-static.c): Likewise.
1409 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
1410 (CFLAGS-test-signgam-uint.c): Likewise.
1411 (CFLAGS-test-signgam-uint-init.c): Likewise.
1412 (CFLAGS-test-signgam-uint-static.c): Likewise.
1413 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
1414 (CFLAGS-test-signgam-ullong.c): Likewise.
1415 (CFLAGS-test-signgam-ullong-init.c): Likewise.
1416 (CFLAGS-test-signgam-ullong-static.c): Likewise.
1417 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
1418 (CFLAGS-test-math-cxx11.cc): Likewise.
1419 (CFLAGS-test-math-isinff.cc): Likewise.
1420 (CFLAGS-test-math-iszero.cc): Likewise.
1421 (CFLAGS-test-math-issignaling.cc): Likewise.
1422 (CFLAGS-test-math-iscanonical.cc): Likewise.
1423 (CFLAGS-test-iszero-excess-precision.c): Likewise.
1424 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
1425 (CFLAGS-test-flt-eval-method.c): Likewise.
1426 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
1427 (CFLAGS-test-finite-macros.c): Likewise.
1428 * misc/Makefile (CFLAGS-select.c): Likewise.
1429 (CFLAGS-tsearch.c): Likewise.
1430 (CFLAGS-lsearch.c): Likewise.
1431 (CFLAGS-pselect.c): Likewise.
1432 (CFLAGS-readv.c): Likewise.
1433 (CFLAGS-writev.c): Likewise.
1434 (CFLAGS-preadv.c): Likewise.
1435 (CFLAGS-preadv64.c): Likewise.
1436 (CFLAGS-pwritev.c): Likewise.
1437 (CFLAGS-pwritev64.c): Likewise.
1438 (CFLAGS-preadv2.c): Likewise.
1439 (CFLAGS-preadv64v2.c): Likewise.
1440 (CFLAGS-pwritev2.c): Likewise.
1441 (CFLAGS-pwritev64v2.c): Likewise.
1442 (CFLAGS-usleep.c): Likewise.
1443 (CFLAGS-syslog.c): Likewise.
1444 (CFLAGS-error.c): Likewise.
1445 (CFLAGS-getpass.c): Likewise.
1446 (CFLAGS-mkstemp.c): Likewise.
1447 (CFLAGS-mkstemp64.c): Likewise.
1448 (CFLAGS-getsysstats.c): Likewise.
1449 (CFLAGS-getusershell.c): Likewise.
1450 (CFLAGS-err.c): Likewise.
1451 (CFLAGS-tst-tsearch.c): Likewise.
1452 (CFLAGS-msync.c): Likewise.
1453 (CFLAGS-fdatasync.c): Likewise.
1454 (CFLAGS-fsync.c): Likewise.
1455 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
1456 (CFLAGS-unwind.c): Likewise.
1457 (CFLAGS-unwind-forcedunwind.c): Likewise.
1458 (CFLAGS-pthread_cancel.c): Likewise.
1459 (CFLAGS-pthread_setcancelstate.c): Likewise.
1460 (CFLAGS-pthread_setcanceltype.c): Likewise.
1461 (CFLAGS-cancellation.c): Likewise.
1462 (CFLAGS-libc-cancellation.c): Likewise.
1463 (CFLAGS-pthread_exit.c): Likewise.
1464 (CFLAGS-forward.c): Likewise.
1465 (CFLAGS-pthread_testcancel.c): Likewise.
1466 (CFLAGS-pthread_join.c): Likewise.
1467 (CFLAGS-pthread_timedjoin.c): Likewise.
1468 (CFLAGS-pthread_once.c): Likewise.
1469 (CFLAGS-pthread_cond_wait.c): Likewise.
1470 (CFLAGS-sem_wait.c): Likewise.
1471 (CFLAGS-sem_timedwait.c): Likewise.
1472 (CFLAGS-fcntl.c): Likewise.
1473 (CFLAGS-lockf.c): Likewise.
1474 (CFLAGS-pread.c): Likewise.
1475 (CFLAGS-pread64.c): Likewise.
1476 (CFLAGS-pwrite.c): Likewise.
1477 (CFLAGS-pwrite64.c): Likewise.
1478 (CFLAGS-wait.c): Likewise.
1479 (CFLAGS-waitpid.c): Likewise.
1480 (CFLAGS-sigwait.c): Likewise.
1481 (CFLAGS-msgrcv.c): Likewise.
1482 (CFLAGS-msgsnd.c): Likewise.
1483 (CFLAGS-tcdrain.c): Likewise.
1484 (CFLAGS-open.c): Likewise.
1485 (CFLAGS-open64.c): Likewise.
1486 (CFLAGS-pause.c): Likewise.
1487 (CFLAGS-recv.c): Likewise.
1488 (CFLAGS-send.c): Likewise.
1489 (CFLAGS-accept.c): Likewise.
1490 (CFLAGS-sendto.c): Likewise.
1491 (CFLAGS-connect.c): Likewise.
1492 (CFLAGS-recvfrom.c): Likewise.
1493 (CFLAGS-recvmsg.c): Likewise.
1494 (CFLAGS-sendmsg.c): Likewise.
1495 (CFLAGS-close.c): Likewise.
1496 (CFLAGS-read.c): Likewise.
1497 (CFLAGS-write.c): Likewise.
1498 (CFLAGS-nanosleep.c): Likewise.
1499 (CFLAGS-sigsuspend.c): Likewise.
1500 (CFLAGS-msync.c): Likewise.
1501 (CFLAGS-fdatasync.c): Likewise.
1502 (CFLAGS-fsync.c): Likewise.
1503 (CFLAGS-pt-system.c): Likewise.
1504 (CFLAGS-tst-cleanup2.c): Likewise.
1505 (CFLAGS-tst-cleanupx2.c): Likewise.
1506 (CFLAGS-flockfile.c): Likewise.
1507 (CFLAGS-ftrylockfile.c): Likewise.
1508 (CFLAGS-funlockfile.c): Likewise.
1509 (CFLAGS-tst-initializers1.c): Likewise.
1510 (CFLAGS-tst-initializers1-c89.c): Likewise.
1511 (CFLAGS-tst-initializers1-c99.c): Likewise.
1512 (CFLAGS-tst-initializers1-c11.c): Likewise.
1513 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
1514 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
1515 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
1516 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
1517 (CFLAGS-nscd_getgr_r.c): Likewise.
1518 (CFLAGS-nscd_gethst_r.c): Likewise.
1519 (CFLAGS-nscd_getai.c): Likewise.
1520 (CFLAGS-nscd_initgroups.c): Likewise.
1521 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
1522 (CFLAGS-pause.c): Likewise.
1523 (CFLAGS-pread.c): Likewise.
1524 (CFLAGS-pread64.c): Likewise.
1525 (CFLAGS-pwrite.c): Likewise.
1526 (CFLAGS-pwrite64.c): Likewise.
1527 (CFLAGS-sleep.c): Likewise.
1528 (CFLAGS-wait.c): Likewise.
1529 (CFLAGS-waitid.c): Likewise.
1530 (CFLAGS-waitpid.c): Likewise.
1531 (CFLAGS-getopt.c): Likewise.
1532 (CFLAGS-wordexp.c): Likewise.
1533 (CFLAGS-sysconf.c): Likewise.
1534 (CFLAGS-pathconf.c): Likewise.
1535 (CFLAGS-fpathconf.c): Likewise.
1536 (CFLAGS-spawn.c): Likewise.
1537 (CFLAGS-spawnp.c): Likewise.
1538 (CFLAGS-spawni.c): Likewise.
1539 (CFLAGS-glob.c): Likewise.
1540 (CFLAGS-glob64.c): Likewise.
1541 (CFLAGS-getconf.c): Likewise.
1542 (CFLAGS-nanosleep.c): Likewise.
1543 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
1544 (CFLAGS-getpwent.c): Likewise.
1545 (CFLAGS-getpw.c): Likewise.
1546 (CFLAGS-fgetpwent_r.c): Likewise.
1547 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
1548 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
1549 (CFLAGS-mq_timedreceive.c): Likewise.
1550 (CFLAGS-mq_timedsend.c): Likewise.
1551 (CFLAGS-clock_nanosleep.c): Likewise.
1552 (CFLAGS-librt-cancellation.c): Likewise.
1553 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
1554 (CFLAGS-getspent.c): Likewise.
1555 (CFLAGS-fgetspent.c): Likewise.
1556 (CFLAGS-fgetspent_r.c): Likewise.
1557 (CFLAGS-putspent.c): Likewise.
1558 (CFLAGS-getspnam.c): Likewise.
1559 (CFLAGS-getspnam_r.c): Likewise.
1560 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
1561 (CFLAGS-sigsuspend.c): Likewise.
1562 (CFLAGS-sigtimedwait.c): Likewise.
1563 (CFLAGS-sigwait.c): Likewise.
1564 (CFLAGS-sigwaitinfo.c): Likewise.
1565 (CFLAGS-sigreturn.c): Likewise.
1566 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
1567 (CFLAGS-vfwprintf.c): Likewise.
1568 (CFLAGS-tmpfile.c): Likewise.
1569 (CFLAGS-tmpfile64.c): Likewise.
1570 (CFLAGS-tempname.c): Likewise.
1571 (CFLAGS-psignal.c): Likewise.
1572 (CFLAGS-vprintf.c): Likewise.
1573 (CFLAGS-cuserid.c): Likewise.
1574 (CFLAGS-errlist.c): Likewise.
1575 (CFLAGS-siglist.c): Likewise.
1576 (CFLAGS-scanf15.c): Likewise.
1577 (CFLAGS-scanf17.c): Likewise.
1578 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
1579 (CFLAGS-msort.c): Likewise.
1580 (CFLAGS-qsort.c): Likewise.
1581 (CFLAGS-system.c): Likewise.
1582 (CFLAGS-fmtmsg.c): Likewise.
1583 (CFLAGS-strfmon.c): Likewise.
1584 (CFLAGS-strfmon_l.c): Likewise.
1585 (CFLAGS-strfromd.c): Likewise.
1586 (CFLAGS-strfromf.c): Likewise.
1587 (CFLAGS-strfroml.c): Likewise.
1588 (CFLAGS-tst-bsearch.c): Likewise.
1589 (CFLAGS-tst-qsort.c): Likewise.
1590 (CFLAGS-tst-makecontext2.c): Likewise.
1591 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
1592 (CFLAGS-xnlm_prot.c): Likewise.
1593 (CFLAGS-xrstat.c): Likewise.
1594 (CFLAGS-xyppasswd.c): Likewise.
1595 (CFLAGS-xklm_prot.c): Likewise.
1596 (CFLAGS-xrex.c): Likewise.
1597 (CFLAGS-xsm_inter.c): Likewise.
1598 (CFLAGS-xmount.c): Likewise.
1599 (CFLAGS-xrusers.c): Likewise.
1600 (CFLAGS-xspray.c): Likewise.
1601 (CFLAGS-xnfs_prot.c): Likewise.
1602 (CFLAGS-xrquota.c): Likewise.
1603 (CFLAGS-xkey_prot.c): Likewise.
1604 (CFLAGS-auth_unix.c): Likewise.
1605 (CFLAGS-key_call.c): Likewise.
1606 (CFLAGS-pmap_rmt.c): Likewise.
1607 (CFLAGS-clnt_perr.c): Likewise.
1608 (CFLAGS-openchild.c): Likewise.
1609 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
1610 (CFLAGS-msgsnd.c): Likewise.
1611 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
1612 * time/Makefile (CFLAGS-tzfile.c): Likewise.
1613 (CFLAGS-tzset.c): Likewise.
1614 (CFLAGS-getdate.c): Likewise.
1615 (CFLAGS-test_time.c): Likewise.
1616 (CPPFLAGS-tst-tzname.c): Likewise.
1617 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
1618 (CFLAGS-zic.c): Likewise.
1619 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
1620 (CFLAGS-wcswidth.c): Likewise.
1621 (CFLAGS-wcstol.c): Likewise.
1622 (CFLAGS-wcstoul.c): Likewise.
1623 (CFLAGS-wcstoll.c): Likewise.
1624 (CFLAGS-wcstoull.c): Likewise.
1625 (CFLAGS-wcstod.c): Likewise.
1626 (CFLAGS-wcstold.c): Likewise.
1627 (CFLAGS-wcstof128.c): Likewise.
1628 (CFLAGS-wcstof.c): Likewise.
1629 (CFLAGS-wcstol_l.c): Likewise.
1630 (CFLAGS-wcstoul_l.c): Likewise.
1631 (CFLAGS-wcstoll_l.c): Likewise.
1632 (CFLAGS-wcstoull_l.c): Likewise.
1633 (CFLAGS-wcstod_l.c): Likewise.
1634 (CFLAGS-wcstold_l.c): Likewise.
1635 (CFLAGS-wcstof128_l.c): Likewise.
1636 (CFLAGS-wcstof_l.c): Likewise.
1637 (CPPFLAGS-tst-wchar-h.c): Likewise.
1638 (CPPFLAGS-wcstold_l.c): Likewise.
1640 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
1642 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
1644 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1645 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1647 * manual/tunables.texi (Hardware Capability Tunables): Document
1648 glibc.tune.cached_memopt.
1649 * sysdeps/powerpc/cpu-features.c: New file.
1650 * sysdeps/powerpc/cpu-features.h: New file.
1651 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
1652 _dl_powerpc_cpu_features.
1653 * sysdeps/powerpc/dl-tunables.list: New file.
1654 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
1655 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
1656 (INIT_ARCH): Initialize use_aligned_memopt.
1657 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
1658 IS_IN(rtld))]: Restrict dl_platform_init availability and
1659 initialize CPU features used by tunables.
1660 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
1661 Add memcpy-power8-cached.
1662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
1663 __memcpy_power8_cached.
1664 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1665 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
1668 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
1670 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
1671 (CFLAGS-noinl-tester.c): Likewise.
1672 (CFLAGS-tst-strlen.c): Likewise.
1673 (CFLAGS-stratcliff.c): Likewise.
1674 (CFLAGS-test-ffs.c): Likewise.
1675 (CFLAGS-tst-inlcall.c): Likewise.
1676 (CFLAGS-tst-xbzero-opt.c): Likewise.
1677 (CFLAGS-memcpy.c): Likewise.
1678 (CFLAGS-wordcopy.c): Likewise.
1680 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1682 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
1683 Store r15 on stack and add cfi rule.
1684 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
1687 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
1690 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
1693 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
1695 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1696 Add s_sinf-sse2 and s_sinf-fma.
1697 (CFLAGS-s_sinf-fma.c): New.
1698 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
1699 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
1700 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
1702 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
1704 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
1706 2017-12-07 Joseph Myers <joseph@codesourcery.com>
1709 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
1710 part of result to imaginary part of argument if it is zero and the
1711 real part of the argument is not finite.
1712 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
1713 of result to real part of argument if it is zero and the imaginary
1714 part of the argument is not finite.
1716 2017-12-07 Mike FABIAN <mfabian@redhat.com>
1719 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
1720 and to the list of locales to be built for testing.
1721 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
1722 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
1723 and build the collation rules upon that.
1725 2017-12-07 Joseph Myers <joseph@codesourcery.com>
1727 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
1728 * manual/math.texi (Mathematics): Document support for _Float32.
1729 * math/Makefile (test-types): Add float32.
1730 * math/Versions (GLIBC_2.27): Add _Float32 functions.
1731 * stdlib/Versions (GLIBC_2.27): Likewise.
1732 * wcsmbs/Versions (GLIBC_2.27): Likewise.
1733 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
1734 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1735 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1736 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1737 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1738 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1739 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1740 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1741 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1742 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1743 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1744 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1745 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1746 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1747 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1748 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1749 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1750 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1751 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1752 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1753 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
1755 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1756 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1757 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1758 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1759 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1777 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1778 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1779 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1780 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1781 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1782 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1783 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1784 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1785 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1786 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1787 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
1789 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1795 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1796 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1797 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1798 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1799 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1800 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1801 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1802 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1804 2017-12-06 Joseph Myers <joseph@codesourcery.com>
1806 * stdlib/strtof.c: Include <bits/floatn.h>
1807 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
1808 and later undefine as macro. Define as weak alias if
1810 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
1811 and later undefine as macro. Define as weak alias if
1813 * stdlib/strtof_l.c: Include <bits/floatn.h>
1814 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
1815 and later undefine as macro. Define as weak alias if
1817 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
1818 and later undefine as macro. Define as weak alias if
1821 * stdlib/strfromf.c: Include <bits/floatn.h>.
1822 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
1823 and later undefine as macro and define as weak alias.
1825 * math/test-float32.h: New file.
1827 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
1828 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
1829 (libm_alias_float_other_r): Create f32 alias.
1830 (libm_alias_float_r): Use semicolon before call to
1831 libm_alias_float_other_r.
1833 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
1834 second argument to libm_alias_float_other.
1835 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
1836 second argument to libm_alias_float_other.
1837 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
1838 argument to libm_alias_float_other.
1841 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
1842 real part of result for argument 0 + i * NaN.
1843 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
1844 results for tests of 0 + i * NaN.
1846 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1848 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1850 2017-12-06 David S. Miller <davem@davemloft.net>
1852 * sysdeps/sparc/fpu/libm-test-ulps: Update
1853 exp_{downward,towardzero,upward} ulps.
1855 2017-12-06 Joseph Myers <joseph@codesourcery.com>
1857 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
1860 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
1862 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
1864 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
1866 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
1869 2017-12-06 Mike FABIAN <mfabian@redhat.com>
1872 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
1873 and to the list of locales to be built for testing.
1874 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
1875 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
1876 and build the collation rules upon that.
1878 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1880 * NEWS: Add sinf to list of optimized functions.
1882 2017-12-06 Joseph Myers <joseph@codesourcery.com>
1884 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
1885 (__HAVE_FLOAT32X): Likewise.
1886 * manual/math.texi (Mathematics): Document support for _Float64
1888 * math/Makefile (test-types): Add float64 and float32x.
1889 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
1891 * stdlib/Versions (GLIBC_2.27): Likewise.
1892 * wcsmbs/Versions (GLIBC_2.27): Likewise.
1893 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
1894 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1895 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1896 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1897 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1898 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1899 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1900 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1901 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1902 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1903 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1904 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1905 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1906 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1907 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1908 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1909 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1910 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1911 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1912 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1913 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
1915 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1916 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1917 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1918 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1919 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1936 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1937 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1938 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1939 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1940 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1941 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1942 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1943 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1944 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1945 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
1948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1954 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1955 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1956 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1957 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1958 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1959 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1960 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1961 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1963 2017-12-05 Joseph Myers <joseph@codesourcery.com>
1965 * bits/floatn-common.h: Include <bits/long-double.h>.
1966 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
1967 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
1968 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
1969 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
1970 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
1971 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
1972 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
1973 (__builtin_huge_valf64): Use __builtin_huge_vall.
1974 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
1975 (__builtin_inff64): Use __builtin_infl.
1976 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
1977 (__builtin_nanf64): Use __builtin_nanl.
1978 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
1979 (__builtin_nansf64): Use __builtin_nansl.
1981 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>,
1982 Paul E. Murphy <murphyp@linux.vnet.ibm.com>,
1983 Carlos O'Donnell <carlos@redhat.com>
1985 * elf/dl-tunables.list: Add elision parameters.
1986 * manual/tunables.texi: Add entries about elision tunable.
1987 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
1988 Add callback functions to dynamically enable/disable elision.
1989 Add multiple callbacks functions to set elision parameters.
1990 Deleted __libc_enable_secure check.
1991 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
1992 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
1993 * configure: Regenerated.
1994 * configure.ac: Option enable_lock_elision was deleted.
1995 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
1996 * config.make.in: Remove references to enable_lock_elision.
1997 * manual/install.texi: Elision configure option was removed.
1998 * INSTALL: Regenerated to remove enable_lock_elision.
2000 Disable elision so it can verify error case for destroying a mutex.
2001 * sysdeps/powerpc/nptl/elide.h:
2002 Cleanup ENABLE_LOCK_ELISION check.
2003 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
2004 * sysdeps/s390/configure: Regenerated.
2005 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
2006 * nptl/tst-mutex8.c:
2007 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
2008 * sysdeps/powerpc/powerpc32/sysdep.h:
2009 Deleted all ENABLE_LOCK_ELISION checks.
2010 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
2011 * sysdeps/powerpc/sysdep.h: Likewise.
2012 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
2013 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
2014 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2015 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2016 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2017 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
2018 enable-lock-elision.
2020 2017-12-05 Joseph Myers <joseph@codesourcery.com>
2022 * stdlib/strtod.c: Include <bits/floatn.h>.
2023 (BUILD_DOUBLE): New macro.
2024 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
2025 (strtof64): Define and later undefine as macro. Define as weak
2026 alias if [!USE_WIDE_CHAR].
2027 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
2028 (wcstof64): Define and later undefine as macro. Define as weak
2029 alias if [USE_WIDE_CHAR].
2030 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
2031 (strtof32x): Define and later undefine as macro. Define as weak
2032 alias if [!USE_WIDE_CHAR].
2033 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
2034 (wcstof32x): Define and later undefine as macro. Define as weak
2035 alias if [USE_WIDE_CHAR].
2036 * stdlib/strtod_l.c: Include <bits/floatn.h>.
2037 (BUILD_DOUBLE): New macro.
2038 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
2039 (strtof64_l): Define and later undefine as macro. Define as weak
2040 alias if [!USE_WIDE_CHAR].
2041 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
2042 (wcstof64_l): Define and later undefine as macro. Define as weak
2043 alias if [USE_WIDE_CHAR].
2044 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
2045 (strtof32x_l): Define and later undefine as macro. Define as weak
2046 alias if [!USE_WIDE_CHAR].
2047 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
2048 (wcstof32x_l): Define and later undefine as macro. Define as weak
2049 alias if [USE_WIDE_CHAR].
2051 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2053 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
2054 (reduced): Use ones as double instead of integer.
2056 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
2058 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
2060 2017-12-05 Joseph Myers <joseph@codesourcery.com>
2062 * stdlib/strfromd.c: Include <bits/floatn.h>.
2063 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
2064 and later undefine as macro and define as weak alias.
2065 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
2068 * math/test-float32x.h: New file.
2069 * math/test-float64.h: Likewise.
2071 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
2072 (libm_alias_double_other_r_f64): New macro.
2073 (libm_alias_double_other_r_f32x): Likewise.
2074 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
2075 libm_alias_double_other_r_f32x.
2076 (libm_alias_double_r): Use semicolon before call to
2077 libm_alias_double_other_r.
2078 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
2080 (libm_alias_double_other_r_f64): New macro.
2081 (libm_alias_double_other_r_f32x): Likewise.
2082 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
2083 libm_alias_double_other_r_f32x.
2085 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
2087 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
2089 (SINF_FUNC): Likewise. Replace floor with simple casts.
2091 2017-12-05 Mike FABIAN <mfabian@redhat.com>
2094 * localedata/Makefile: Add et_EE.UTF-8 to test-input
2095 and to the list of locales to be built for testing.
2096 * localedata/et_EE.UTF-8.in: New file for testing the collation.
2097 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
2098 and build the collation rules upon that.
2100 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
2102 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
2103 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
2104 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
2105 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
2106 instead of __insn__xxx.
2107 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
2108 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
2109 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
2110 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
2111 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
2112 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
2114 2017-12-05 Florian Weimer <fweimer@redhat.com>
2116 Linux: Implement interfaces for memory protection keys
2117 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
2119 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
2120 * support/xunistd.h (xsysconf): Declare.
2121 * support/xraise.c: New file.
2122 * support/xsigaction.c: Likewise.
2123 * support/xsignal.c: Likewise.
2124 * support/xsysconf.c: Likewise.
2125 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
2126 pkey_set, pkey_get, pkey_mprotect.
2127 [misc] (tests): Add tst-pkey.
2128 (tst-pkey): Link with -lpthread.
2129 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
2130 pkey_free, pkey_set, pkey_get, pkey_mprotect.
2131 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
2132 (PKEY_DISABLE_WRITE): Define.
2133 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
2135 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
2137 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
2138 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
2139 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
2140 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
2142 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
2143 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
2144 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
2145 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
2146 * sysdeps/unix/sysv/linux/**.abilist: Update.
2148 2017-12-05 Florian Weimer <fweimer@redhat.com>
2150 * support/tst-test_compare.c (subprocess): Use long long instead
2151 of long argument for consistent type width across 32-bit and
2152 64-bit architectures.
2153 (do_test): Adjust expected output.
2155 2017-12-05 Joseph Myers <joseph@codesourcery.com>
2157 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
2158 (cosf): Define using libm_alias_float.
2159 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
2160 (fabsf): Define using libm_alias_float.
2161 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
2162 (fmaf): Define using libm_alias_float.
2163 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
2164 (rintf): Define using libm_alias_float.
2165 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
2166 (sinf): Define using libm_alias_float.
2167 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
2168 <libm-alias-float.h>.
2169 (modff): Define using libm_alias_float.
2170 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
2171 <libm-alias-float.h>.
2172 (logbf): Define using libm_alias_float.
2173 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
2174 <libm-alias-float.h>.
2175 (ceilf): Define using libm_alias_float.
2176 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
2177 <libm-alias-float.h>.
2178 (copysignf): Define using libm_alias_float.
2179 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
2180 <libm-alias-float.h>.
2181 (floorf): Define using libm_alias_float.
2182 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
2183 <libm-alias-float.h>.
2184 (llrintf): Define using libm_alias_float.
2185 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
2186 <libm-alias-float.h>.
2187 (llroundf): Define using libm_alias_float.
2188 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
2189 <libm-alias-float.h>.
2190 (lrintf): Define using libm_alias_float.
2191 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
2192 <libm-alias-float.h>.
2193 (lroundf): Define using libm_alias_float.
2194 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
2195 <libm-alias-float.h>.
2196 (nearbyintf): Define using libm_alias_float.
2197 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
2198 <libm-alias-float.h>.
2199 (rintf): Define using libm_alias_float.
2200 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
2201 <libm-alias-float.h>.
2202 (roundf): Define using libm_alias_float.
2203 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
2204 <libm-alias-float.h>.
2205 (truncf): Define using libm_alias_float.
2206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
2207 Include <libm-alias-float.h>.
2208 (ceilf): Define using libm_alias_float.
2209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
2210 Include <libm-alias-float.h>.
2211 (copysignf): Define using libm_alias_float.
2212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
2213 Include <libm-alias-float.h>.
2214 (floorf): Define using libm_alias_float.
2215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
2216 Include <libm-alias-float.h>.
2217 (llrintf): Define using libm_alias_float.
2218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
2219 Include <libm-alias-float.h>.
2220 (llroundf): Define using libm_alias_float.
2221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
2222 Include <libm-alias-float.h>.
2223 (logbf): Define using libm_alias_float.
2224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
2225 Include <libm-alias-float.h>.
2226 (lrintf): Define using libm_alias_float.
2227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
2228 Include <libm-alias-float.h>.
2229 (lroundf): Define using libm_alias_float.
2230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
2231 Include <libm-alias-float.h>.
2232 (modff): Define using libm_alias_float.
2233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
2234 Include <libm-alias-float.h>.
2235 (roundf): Define using libm_alias_float.
2236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
2237 Include <libm-alias-float.h>.
2238 (truncf): Define using libm_alias_float.
2239 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
2240 <libm-alias-float.h>.
2241 (llrintf): Define using libm_alias_float.
2242 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
2243 <libm-alias-float.h>.
2244 (llroundf): Define using libm_alias_float.
2245 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
2246 <libm-alias-float.h>.
2247 (ceilf): Define using libm_alias_float.
2248 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
2249 <libm-alias-float.h>.
2250 (floorf): Define using libm_alias_float.
2251 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
2252 <libm-alias-float.h>.
2253 (llroundf): Define using libm_alias_float.
2254 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
2255 <libm-alias-float.h>.
2256 (lroundf): Define using libm_alias_float.
2257 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
2258 <libm-alias-float.h>.
2259 (roundf): Define using libm_alias_float.
2260 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
2261 <libm-alias-float.h>.
2262 (truncf): Define using libm_alias_float.
2263 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
2264 <libm-alias-float.h>.
2265 (copysignf): Define using libm_alias_float.
2266 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
2267 <libm-alias-float.h>.
2268 (llrintf): Define using libm_alias_float.
2269 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
2270 <libm-alias-float.h>.
2271 (llroundf): Define using libm_alias_float.
2272 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
2273 <libm-alias-float.h>.
2274 (lrintf): Define using libm_alias_float.
2275 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
2276 <libm-alias-float.h>.
2277 (lroundf): Define using libm_alias_float.
2278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
2279 <libm-alias-float.h>.
2280 (ceilf): Define using libm_alias_float.
2281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
2282 <libm-alias-float.h>.
2283 (copysignf): Define using libm_alias_float.
2284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
2285 <libm-alias-float.h>.
2286 (cosf): Define using libm_alias_float.
2287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
2288 <libm-alias-float.h>.
2289 (floorf): Define using libm_alias_float.
2290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
2291 <libm-alias-float.h>.
2292 (llrintf): Define using libm_alias_float.
2293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
2294 <libm-alias-float.h>.
2295 (llroundf): Define using libm_alias_float.
2296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
2297 <libm-alias-float.h>.
2298 (logbf): Define using libm_alias_float.
2299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
2300 <libm-alias-float.h>.
2301 (modff): Define using libm_alias_float.
2302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
2303 <libm-alias-float.h>.
2304 (roundf): Define using libm_alias_float.
2305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
2306 <libm-alias-float.h>.
2307 (sinf): Define using libm_alias_float.
2308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
2309 <libm-alias-float.h>.
2310 (truncf): Define using libm_alias_float.
2311 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
2312 <libm-alias-float.h>.
2313 (ceilf): Define using libm_alias_float.
2314 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
2315 <libm-alias-float.h>.
2316 (copysignf): Define using libm_alias_float.
2317 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
2318 <libm-alias-float.h>.
2319 (floorf): Define using libm_alias_float.
2320 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
2321 <libm-alias-float.h>.
2322 (llrintf): Define using libm_alias_float.
2323 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
2324 <libm-alias-float.h>.
2325 (llroundf): Define using libm_alias_float.
2326 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
2327 <libm-alias-float.h>.
2328 (nearbyintf): Define using libm_alias_float.
2329 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
2330 <libm-alias-float.h>.
2331 (rintf): Define using libm_alias_float.
2332 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
2333 <libm-alias-float.h>.
2334 (roundf): Define using libm_alias_float.
2335 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
2336 <libm-alias-float.h>.
2337 (truncf): Define using libm_alias_float.
2338 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
2339 <libm-alias-float.h>.
2340 (ceilf): Define using libm_alias_float.
2341 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
2342 <libm-alias-float.h>.
2343 (floorf): Define using libm_alias_float.
2344 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
2345 <libm-alias-float.h>.
2346 (llroundf): Define using libm_alias_float.
2347 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
2348 <libm-alias-float.h>.
2349 (roundf): Define using libm_alias_float.
2350 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
2351 <libm-alias-float.h>.
2352 (truncf): Define using libm_alias_float.
2353 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
2354 <libm-alias-float.h>.
2355 (copysignf): Define using libm_alias_float.
2356 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
2357 <libm-alias-float.h>.
2358 (llrintf): Define using libm_alias_float.
2359 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
2360 <libm-alias-float.h>.
2361 (llroundf): Define using libm_alias_float.
2362 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
2363 <libm-alias-float.h>.
2364 (cosf): Define using libm_alias_float.
2365 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
2366 <libm-alias-float.h>.
2367 (llrintf): Define using libm_alias_float.
2368 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
2369 <libm-alias-float.h>.
2370 (llroundf): Define using libm_alias_float.
2371 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
2372 <libm-alias-float.h>.
2373 (sinf): Define using libm_alias_float.
2375 2017-12-04 Florian Weimer <fweimer@redhat.com>
2377 * support/check.h (TEST_COMPARE): Define.
2378 (support_test_compare_failure): Declare.
2379 * support/Makefile (libsupport-routines): Add
2380 support_test_compare_failure.
2381 (tests): Add tst-test_compare.
2382 * support /support_test_compare_failure.c: New file.
2383 * support/tst-test_compare.c: Likewise.
2385 2017-12-04 Mike FABIAN <mfabian@redhat.com>
2388 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
2389 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
2390 available, this rewrite of the collation rules does reproduce
2391 the test file in the same order.
2393 2017-12-04 Mike FABIAN <mfabian@redhat.com>
2396 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
2397 digraphs in the month and day names. Using single code points for
2398 digraphs is deprecated. While there are dedicated Unicode
2399 codepoints, for the digraphs, these are included for backwards
2400 compatibility and modern texts use a sequence of Basic Latin
2401 characters. See: https://www.unicode.org/faq/ligature_digraph.html
2402 This makes the month and day names agree exactly with CLDR now,
2403 CLDR does not use the single code points for the digraphs either.
2405 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
2407 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
2409 2017-12-04 Joseph Myers <joseph@codesourcery.com>
2411 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
2414 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
2416 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
2417 Define only for libc.so.
2419 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
2421 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2422 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
2423 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
2424 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
2425 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2427 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2430 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
2432 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
2435 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
2436 PREINIT_FUNCTION_WEAK is nonzero.
2437 (gmon_initializer): New function. Put procedure label for it in
2438 .init_array section.
2439 (_init): Don't call PREINIT_FUNCTION.
2440 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
2441 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
2442 value when map argument is null.
2444 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
2445 depi instruction from PIC pc-relative sequence.
2446 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
2447 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
2448 (elf_machine_load_address): Likewise.
2449 (elf_machine_runtime_setup): Likewise.
2451 2017-12-02 Joseph Myers <joseph@codesourcery.com>
2453 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
2454 <libm-alias-double.h>.
2455 (logb): Define using libm_alias_double.
2456 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
2457 <libm-alias-double.h>.
2458 (copysign): Define using libm_alias_double.
2459 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
2460 <libm-alias-double.h>.
2461 (llrint): Define using libm_alias_double.
2462 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
2463 <libm-alias-double.h>.
2464 (llround): Define using libm_alias_double.
2465 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
2466 <libm-alias-double.h>.
2467 (lrint): Define using libm_alias_double.
2468 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
2469 <libm-alias-double.h>.
2470 (lround): Define using libm_alias_double.
2471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2472 Include <libm-alias-double.h>.
2473 (copysign): Define using libm_alias_double.
2474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
2475 Include <libm-alias-double.h>.
2476 (llrint): Define using libm_alias_double.
2477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
2478 Include <libm-alias-double.h>.
2479 (llround): Define using libm_alias_double.
2480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
2481 <libm-alias-double.h>.
2482 (logb): Define using libm_alias_double.
2483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
2484 Include <libm-alias-double.h>.
2485 (lrint): Define using libm_alias_double.
2486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
2487 Include <libm-alias-double.h>.
2488 (lround): Define using libm_alias_double.
2489 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
2490 <libm-alias-double.h>.
2491 (llrint): Define using libm_alias_double.
2492 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
2493 <libm-alias-double.h>.
2494 (llround): Define using libm_alias_double.
2495 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
2496 <libm-alias-double.h>.
2497 (llround): Define using libm_alias_double.
2498 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
2499 <libm-alias-double.h>.
2500 (lround): Define using libm_alias_double.
2501 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
2502 <libm-alias-double.h>.
2503 (copysign): Define using libm_alias_double.
2504 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
2505 <libm-alias-double.h>.
2506 (llrint): Define using libm_alias_double.
2507 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
2508 <libm-alias-double.h>.
2509 (llround): Define using libm_alias_double.
2510 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
2511 <libm-alias-double.h>.
2512 (lrint): Define using libm_alias_double.
2513 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
2514 <libm-alias-double.h>.
2515 (lround): Define using libm_alias_double.
2516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
2517 <libm-alias-double.h>.
2518 (copysign): Define using libm_alias_double.
2519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
2520 <libm-alias-double.h>.
2521 (llrint): Define using libm_alias_double.
2523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
2524 <libm-alias-double.h>.
2525 (llround): Define using libm_alias_double.
2527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
2528 <libm-alias-double.h>.
2529 (logb): Define using libm_alias_double.
2530 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
2531 <libm-alias-double.h>.
2532 (copysign): Define using libm_alias_double.
2533 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
2534 <libm-alias-double.h>.
2535 (llrint): Define using libm_alias_double.
2537 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
2538 <libm-alias-double.h>.
2539 (llround): Define using libm_alias_double.
2541 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
2542 <libm-alias-double.h>.
2543 (llround): Define using libm_alias_double.
2545 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
2546 <libm-alias-double.h>.
2547 (copysign): Define using libm_alias_double.
2548 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
2549 <libm-alias-double.h>.
2550 (llrint): Define using libm_alias_double.
2552 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
2553 <libm-alias-double.h>.
2554 (llround): Define using libm_alias_double.
2556 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
2557 <libm-alias-double.h>.
2558 (llrint): Define using libm_alias_double.
2560 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
2561 <libm-alias-double.h>.
2562 (llround): Define using libm_alias_double.
2565 2017-12-01 Joseph Myers <joseph@codesourcery.com>
2567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
2568 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
2569 compat symbol based on llround.
2571 * sysdeps/powerpc/power7/fpu/s_logb.c
2572 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
2573 symbol based on __logb, not on logb.
2574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
2575 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
2576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
2577 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
2579 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
2580 (rint): Define using libm_alias_double.
2581 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
2582 <libm-alias-double.h>.
2583 (modf): Define using libm_alias_double.
2584 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
2585 <libm-alias-double.h>.
2586 (ceil): Define using libm_alias_double.
2587 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
2588 <libm-alias-double.h>.
2589 (floor): Define using libm_alias_double.
2590 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
2591 <libm-alias-double.h>.
2592 (nearbyint): Define using libm_alias_double.
2593 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
2594 <libm-alias-double.h>.
2595 (rint): Define using libm_alias_double.
2596 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
2597 <libm-alias-double.h>.
2598 (round): Define using libm_alias_double.
2599 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
2600 <libm-alias-double.h>.
2601 (trunc): Define using libm_alias_double.
2602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
2603 <libm-alias-double.h>.
2604 (ceil): Define using libm_alias_double.
2605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
2606 Include <libm-alias-double.h>.
2607 (floor): Define using libm_alias_double.
2608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
2609 <libm-alias-double.h>.
2610 (modf): Define using libm_alias_double.
2611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
2612 Include <libm-alias-double.h>.
2613 (round): Define using libm_alias_double.
2614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
2615 Include <libm-alias-double.h>.
2616 (trunc): Define using libm_alias_double.
2617 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
2618 <libm-alias-double.h>.
2619 (ceil): Define using libm_alias_double.
2620 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
2621 <libm-alias-double.h>.
2622 (floor): Define using libm_alias_double.
2623 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
2624 <libm-alias-double.h>.
2625 (round): Define using libm_alias_double.
2626 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
2627 <libm-alias-double.h>.
2628 (trunc): Define using libm_alias_double.
2629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
2630 <libm-alias-double.h>.
2631 (ceil): Define using libm_alias_double.
2632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
2633 <libm-alias-double.h>.
2634 (floor): Define using libm_alias_double.
2635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
2636 <libm-alias-double.h>.
2637 (modf): Define using libm_alias_double.
2638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
2639 <libm-alias-double.h>.
2640 (round): Define using libm_alias_double.
2641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
2642 <libm-alias-double.h>.
2643 (trunc): Define using libm_alias_double.
2644 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
2645 <libm-alias-double.h>.
2646 (ceil): Define using libm_alias_double.
2647 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
2648 <libm-alias-double.h>.
2649 (floor): Define using libm_alias_double.
2650 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
2651 <libm-alias-double.h>.
2652 (nearbyint): Define using libm_alias_double.
2653 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
2654 <libm-alias-double.h>.
2655 (rint): Define using libm_alias_double.
2656 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
2657 <libm-alias-double.h>.
2658 (round): Define using libm_alias_double.
2659 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
2660 <libm-alias-double.h>.
2661 (trunc): Define using libm_alias_double.
2662 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
2663 <libm-alias-double.h>.
2664 (ceil): Define using libm_alias_double.
2665 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
2666 <libm-alias-double.h>.
2667 (floor): Define using libm_alias_double.
2668 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
2669 <libm-alias-double.h>.
2670 (round): Define using libm_alias_double.
2671 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
2672 <libm-alias-double.h>.
2673 (trunc): Define using libm_alias_double.
2675 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
2676 (fabs): Define using libm_alias_double.
2677 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
2678 (fma): Define using libm_alias_double.
2679 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
2680 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
2681 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
2682 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
2684 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2686 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
2688 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
2689 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
2690 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
2692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
2695 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
2697 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
2699 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2701 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
2702 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
2703 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
2704 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
2706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2707 (libm-sysdep_routines): Add s_nearbyintf-generic and
2708 s_nearbyint-generic.
2709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
2711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
2712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
2714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
2716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
2718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
2721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2722 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
2723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
2725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
2726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
2728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
2729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
2730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2733 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
2734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
2736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
2737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
2739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
2740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
2741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
2743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2744 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
2745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
2747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
2748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
2750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
2751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
2752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2755 (sysdep_calls): New rule.
2756 (sysdep_routines): Use sysdep_calls as base.
2757 (libm-sysdep_routines): Add generic rule for symbols shared with
2758 libc. Add s_copysign-generic and s_copysign-generic objects.
2759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
2761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
2762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
2764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
2765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
2766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
2768 2017-12-01 Mike FABIAN <mfabian@redhat.com>
2771 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
2772 the list of locales to be built for testing.
2773 * localedata/is_IS.UTF-8.in: New file.
2774 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
2777 2017-12-01 Joseph Myers <joseph@codesourcery.com>
2779 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
2780 <libm-alias-float.h>.
2781 (fabsf): Define using libm_alias_float.
2783 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
2785 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
2787 2017-11-30 Joseph Myers <joseph@codesourcery.com>
2789 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
2790 <libm-alias-float.h>.
2791 (fabsf): Define using libm_alias_float.
2792 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
2793 <libm-alias-float.h>.
2794 (lrintf): Define using libm_alias_float.
2795 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
2796 <libm-alias-float.h>.
2797 (rintf): Define using libm_alias_float.
2799 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
2800 <libm-alias-double.h>.
2801 (fabs): Define using libm_alias_double.
2802 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
2803 <libm-alias-double.h>.
2804 (lrint): Define using libm_alias_double.
2805 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
2806 <libm-alias-double.h>.
2807 (rint): Define using libm_alias_double.
2809 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
2810 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
2811 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
2812 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
2813 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
2814 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
2815 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
2816 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
2817 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
2818 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
2819 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
2820 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
2821 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
2822 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
2823 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
2824 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
2825 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
2826 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
2828 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
2829 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
2830 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
2832 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
2833 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
2834 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
2836 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
2837 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
2838 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
2840 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
2841 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
2842 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
2844 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
2845 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
2846 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
2848 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
2849 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
2850 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
2852 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
2853 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
2855 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
2856 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
2857 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
2859 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
2860 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
2861 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
2862 s_nearbyint_template.c.
2863 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
2864 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
2865 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
2866 s_remquo_template.c.
2867 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
2868 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
2869 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
2871 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
2872 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
2873 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
2875 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
2876 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
2877 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
2878 s_sincos_template.c.
2879 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
2880 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
2881 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
2883 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
2884 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
2885 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
2887 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
2888 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
2889 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
2891 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
2892 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
2893 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
2894 s_atan.c instead of including s_atan.c.
2895 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
2896 s_atanf.c instead of including s_atanf.c.
2897 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
2898 s_atanl.c instead of including s_atanl.c.
2899 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
2900 instead of s_atan.c.
2901 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
2902 instead of s_atanf.c.
2903 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
2904 instead of s_atanl.c.
2906 * scripts/update-copyrights: Do not handle intl/plural.c
2909 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
2912 * configure.ac (BISON): Require to be present.
2913 * configure: Regenerated.
2914 * intl/Makefile (generated): Add plural.c.
2915 [$(BISON) != no]: Make code unconditional.
2916 (plural.c): Change rule to $(objpfx)plural.c.
2917 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
2918 * intl/plural.c: Remove.
2919 * manual/install.texi (Tools for Compilation): Document bison as
2921 * INSTALL: Regenerated.
2923 2017-11-30 Joseph Myers <joseph@codesourcery.com>
2925 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
2926 <libm-alias-double.h>.
2927 (llrint): Define using libm_alias_double.
2928 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
2929 <libm-alias-float.h>.
2930 (llrintf): Define using libm_alias_float.
2931 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
2932 <libm-alias-ldouble.h>.
2933 (llrintl): Define using libm_alias_ldouble.
2935 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
2936 declare_mgen_alias instead of weak_alias.
2937 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
2938 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
2939 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
2941 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2943 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
2945 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
2946 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
2947 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
2949 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
2950 Add submul_1-generic.
2951 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
2952 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
2953 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
2955 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
2956 Add addmul_1-generic.
2957 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
2958 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
2959 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
2961 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
2963 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
2964 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
2965 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
2967 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
2969 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
2970 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
2971 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
2973 2017-11-30 Mike FABIAN <mfabian@redhat.com>
2975 According to CLDR, collation rules for Serbian and Bosnian
2976 should be the same as for Croatian.
2979 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
2980 and to the list of locales to be built for testing.
2981 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
2982 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
2983 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
2984 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
2986 2017-11-30 Mike FABIAN <mfabian@redhat.com>
2988 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
2989 to make test case pass.
2990 * localedata/hr_HR.UTF-8.in: Add more test strings.
2992 2017-11-30 Mike FABIAN <mfabian@redhat.com>
2994 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
2996 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
2998 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
2999 the list of locales to built for testing.
3000 * localedata/hr_HR.UTF-8.in: New file.
3002 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
3005 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
3007 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
3008 CLDR (except use ligatures for the digraphs, CLDR does not use
3009 the ligatures), add first_workday, some fixes in the date and time
3011 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
3013 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
3014 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
3015 Add int_p_cs_precedes and int_n_cs_precedes.
3016 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
3017 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
3019 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
3020 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
3022 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
3023 and lang_lib. Change postal_fmt.
3025 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
3027 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
3029 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
3030 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
3031 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
3032 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
3033 * sysdeps/generic/setjmpP.h: New file.
3034 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
3035 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
3036 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
3037 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
3038 Add jmp_buf-ssp.sym.
3039 (tests): Add tst-saved_mask-1.
3041 2017-11-30 Arjun Shankar <arjun@redhat.com>
3045 * malloc/malloc.c (__libc_malloc): Use checked_request2size
3046 instead of request2size.
3048 2017-11-30 Joseph Myers <joseph@codesourcery.com>
3050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
3051 (__lllrint): Remove alias.
3052 (lllrint): Likewise.
3053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
3054 (__lllrintf): Likewise.
3055 (lllrintf): Likewise.
3057 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
3058 <libm-alias-float.h>.
3059 (copysignf): Define using libm_alias_float.
3060 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
3061 <libm-alias-float.h>.
3062 (fabsf): Define using libm_alias_float.
3063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3064 Include <libm-alias-float.h>.
3065 (copysignf): Define using libm_alias_float.
3066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
3067 <libm-alias-float.h>.
3068 (fabsf): Define using libm_alias_float.
3069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
3070 <libm-alias-float.h>.
3071 (fdimf): Define using libm_alias_float.
3072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
3073 <libm-alias-float.h>.
3074 (fmaf): Define using libm_alias_float.
3075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
3076 <libm-alias-float.h>.
3077 (llrintf): Define using libm_alias_float.
3078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
3079 Include <libm-alias-float.h>.
3080 (nearbyintf): Define using libm_alias_float.
3081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
3082 <libm-alias-float.h>.
3083 (rintf): Define using libm_alias_float.
3084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
3085 <libm-alias-float.h>.
3086 (llrintf): Define using libm_alias_float.
3087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
3088 <libm-alias-float.h>.
3089 (lrintf): Define using libm_alias_float.
3090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
3091 <libm-alias-float.h>.
3092 (nearbyintf): Define using libm_alias_float.
3093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
3094 <libm-alias-float.h>.
3095 (rintf): Define using libm_alias_float.
3096 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
3097 <libm-alias-float.h>.
3098 (ceilf): Define using libm_alias_float.
3099 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
3100 <libm-alias-float.h>.
3101 (floorf): Define using libm_alias_float.
3102 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
3103 <libm-alias-float.h>.
3104 (fmaf): Define using libm_alias_float.
3105 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
3106 <libm-alias-float.h>.
3107 (lrintf): Define using libm_alias_float.
3108 (llrintf): Likewise.
3109 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
3110 <libm-alias-float.h>.
3111 (nearbyintf): Define using libm_alias_float.
3112 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
3113 <libm-alias-float.h>.
3114 (rintf): Define using libm_alias_float.
3115 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
3116 <libm-alias-float.h>.
3117 (truncf): Define using libm_alias_float.
3118 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
3119 <libm-alias-float.h>.
3120 (copysignf): Define using libm_alias_float.
3121 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
3122 <libm-alias-float.h>.
3123 (fabsf): Define using libm_alias_float.
3124 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
3125 <libm-alias-float.h>.
3126 (lrintf): Define using libm_alias_float.
3127 (llrintf): Likewise.
3128 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
3129 <libm-alias-float.h>.
3130 (nearbyintf): Define using libm_alias_float.
3131 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
3132 <libm-alias-float.h>.
3133 (rintf): Define using libm_alias_float.
3135 2017-11-29 Joseph Myers <joseph@codesourcery.com>
3137 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
3138 <libm-alias-double.h>.
3139 (copysign): Define using libm_alias_double.
3140 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
3141 <libm-alias-double.h>.
3142 (fabs): Define using libm_alias_double.
3143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3144 Include <libm-alias-double.h>.
3145 (copysign): Define using libm_alias_double.
3146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
3147 <libm-alias-double.h>.
3148 (fabs): Define using libm_alias_double.
3149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
3150 <libm-alias-double.h>.
3151 (fdim): Define using libm_alias_double.
3152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
3153 <libm-alias-double.h>.
3154 (fma): Define using libm_alias_double.
3155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
3156 <libm-alias-double.h>.
3157 (llrint): Define using libm_alias_double.
3158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
3159 Include <libm-alias-double.h>.
3160 (nearbyint): Define using libm_alias_double.
3161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
3162 <libm-alias-double.h>.
3163 (rint): Define using libm_alias_double.
3164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
3165 <libm-alias-double.h>.
3166 (fabs): Define using libm_alias_double.
3167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
3168 <libm-alias-double.h>.
3169 (llrint): Define using libm_alias_double.
3170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
3171 <libm-alias-double.h>.
3172 (nearbyint): Define using libm_alias_double.
3173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
3174 <libm-alias-double.h>.
3175 (rint): Define using libm_alias_double.
3176 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
3177 <libm-alias-double.h>.
3178 (ceil): Define using libm_alias_double.
3179 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
3180 <libm-alias-double.h>.
3181 (floor): Define using libm_alias_double.
3182 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
3183 <libm-alias-double.h>.
3184 (fma): Define using libm_alias_double.
3185 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
3186 <libm-alias-double.h>.
3187 (lrint): Define using libm_alias_double.
3189 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
3190 <libm-alias-double.h>.
3191 (nearbyint): Define using libm_alias_double.
3192 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
3193 <libm-alias-double.h>.
3194 (rint): Define using libm_alias_double.
3195 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
3196 <libm-alias-double.h>.
3197 (trunc): Define using libm_alias_double.
3198 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
3199 <libm-alias-double.h>.
3200 (copysign): Define using libm_alias_double.
3201 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
3202 <libm-alias-double.h>.
3203 (fabs): Define using libm_alias_double.
3204 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
3205 <libm-alias-double.h>.
3206 (lrint): Define using libm_alias_double.
3208 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
3209 <libm-alias-double.h>.
3210 (nearbyint): Define using libm_alias_double.
3211 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
3212 <libm-alias-double.h>.
3213 (rint): Define using libm_alias_double.
3216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
3218 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
3220 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
3221 SPARC --disable-multi-arch glibc variants.
3223 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
3224 <libm-alias-float.h>.
3225 (exp2f): Define using libm_alias_float, or libm_alias_float_other
3227 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
3228 <libm-alias-float.h>.
3229 (exp2f): Define using libm_alias_float, or libm_alias_float_other
3231 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
3232 <libm-alias-float.h>.
3233 (exp2f): Define using libm_alias_float, or libm_alias_float_other
3235 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
3236 <libm-alias-float.h>.
3237 (exp2f): Define using libm_alias_float, or libm_alias_float_other
3239 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
3240 <libm-alias-float.h>.
3241 (exp2f): Define using libm_alias_float, or libm_alias_float_other
3243 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
3244 <libm-alias-float.h>.
3245 (ceilf): Define using libm_alias_float.
3246 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
3247 <libm-alias-float.h>.
3248 (floorf): Define using libm_alias_float.
3249 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
3250 <libm-alias-float.h>.
3251 (fmaf): Define using libm_alias_float.
3252 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
3253 <libm-alias-float.h>.
3254 (nearbyintf): Define using libm_alias_float.
3255 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
3256 <libm-alias-float.h>.
3257 (rintf): Define using libm_alias_float.
3258 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
3259 <libm-alias-float.h>.
3260 (truncf): Define using libm_alias_float.
3261 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
3262 (copysignf): Define using libm_alias_float.
3263 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
3264 (cosf): Define using libm_alias_float.
3265 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
3266 (fabsf): Define using libm_alias_float.
3267 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
3268 (fmaxf): Define using libm_alias_float.
3269 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
3270 (fminf): Define using libm_alias_float.
3271 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
3272 (llrintf): Define using libm_alias_float.
3273 [!__ILP32__] (lrintf): Likewise.
3274 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
3275 (sincosf): Define using libm_alias_float.
3276 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
3277 (sinf): Define using libm_alias_float.
3278 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
3279 (lrintf): Define using libm_alias_float.
3281 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
3282 <libm-alias-double.h>.
3283 (atan): Define using libm_alias_double.
3284 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
3285 <libm-alias-double.h>.
3286 (ceil): Define using libm_alias_double.
3287 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
3288 <libm-alias-double.h>.
3289 (floor): Define using libm_alias_double.
3290 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
3291 <libm-alias-double.h>.
3292 (fma): Define using libm_alias_double.
3293 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
3294 <libm-alias-double.h>.
3295 (nearbyint): Define using libm_alias_double.
3296 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
3297 <libm-alias-double.h>.
3298 (rint): Define using libm_alias_double.
3299 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
3300 <libm-alias-double.h>.
3301 (sin): Define using libm_alias_double.
3303 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
3304 <libm-alias-double.h>.
3305 (tan): Define using libm_alias_double.
3306 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
3307 <libm-alias-double.h>.
3308 (trunc): Define using libm_alias_double.
3309 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
3310 (copysign): Define using libm_alias_double.
3311 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
3312 (fabs): Define using libm_alias_double.
3313 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
3314 (fmax): Define using libm_alias_double.
3315 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
3316 (fmin): Define using libm_alias_double.
3317 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
3318 (llrint): Define using libm_alias_double.
3319 [!__ILP32__] (lrint): Likewise.
3320 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
3321 (lrint): Define using libm_alias_double.
3323 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3325 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3326 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
3328 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
3329 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
3330 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
3331 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
3332 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
3333 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3335 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3336 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
3338 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
3339 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
3340 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
3341 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
3342 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
3343 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3345 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3346 (libm-sysdep_routines): Add s_nearbyint-generic and
3347 s_nearbyintf-generic objects.
3348 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
3349 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
3350 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
3351 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
3352 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
3353 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
3355 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
3356 Add s_finitef-generic and s_finite-generic objects.
3357 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
3358 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
3359 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
3360 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
3361 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
3362 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
3364 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
3365 Add s_isinff-generic and s_isinf-generic objects.
3366 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
3367 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
3368 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
3369 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
3370 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
3371 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3373 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
3374 Add s_isnanf-generic and s_isnan-generic objects.
3375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
3376 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
3377 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
3378 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
3379 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
3380 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3382 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
3384 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
3386 (sysdep_routines): Use sysdep_calls as base.
3387 (libm-sysdep_routines): Add generic rule for symbols shared with
3388 libc. Add s_signbit-generic and s_signbitf-generic objects.
3389 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
3390 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
3391 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
3392 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
3393 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
3394 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3396 2017-11-29 Joseph Myers <joseph@codesourcery.com>
3398 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
3399 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
3400 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
3401 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
3402 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
3403 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
3404 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
3405 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
3406 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
3407 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
3408 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
3409 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
3410 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
3412 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
3413 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
3415 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
3416 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
3417 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
3418 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
3419 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
3420 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
3421 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
3422 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
3423 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
3424 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
3426 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
3428 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
3429 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
3430 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
3431 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
3432 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
3433 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
3434 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
3435 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
3436 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
3437 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
3438 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
3439 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
3440 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
3441 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
3442 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
3443 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
3444 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
3445 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
3446 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
3448 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
3449 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
3450 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
3451 * sysdeps/ia64/fpu/w_lgammaf_main.c
3452 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
3453 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
3455 2017-11-28 Mike FABIAN <mfabian@redhat.com>, Alexandre Oliva <aoliva@redhat.com>
3458 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
3459 * localedata/fr_CA.UTF-8.in: New file with test data for backward
3461 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
3463 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
3464 * localedata/locales/de_DE (LC_COLLATE): Likewise.
3465 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
3466 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
3467 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
3468 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
3469 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
3470 instead of “ifdef DIACRIT_BACKWARD”.
3472 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3474 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
3475 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
3476 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
3477 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
3478 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
3479 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
3480 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
3481 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
3482 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
3483 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
3484 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
3485 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
3486 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
3487 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
3488 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
3489 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
3490 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
3491 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
3492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3493 ($(have-as-vis3) == yes): Remove conditional.
3494 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
3496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
3498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
3500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
3502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
3504 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
3505 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
3506 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
3507 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
3508 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
3509 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
3510 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
3511 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
3513 2017-11-29 Joseph Myers <joseph@codesourcery.com>
3515 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
3516 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
3517 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
3518 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
3519 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
3520 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
3521 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
3522 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
3523 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
3524 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
3525 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
3526 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
3527 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
3528 libm_alias_double_r.
3529 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
3531 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
3532 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
3533 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
3534 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
3535 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
3536 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
3537 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
3538 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
3539 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
3540 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
3541 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
3543 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
3545 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
3546 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
3547 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
3548 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
3549 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
3550 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
3551 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
3552 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
3553 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
3554 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
3555 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
3556 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
3557 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
3558 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
3559 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
3560 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
3561 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
3562 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
3564 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
3565 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
3566 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
3567 * sysdeps/ia64/fpu/w_lgamma_main.c
3568 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
3569 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
3571 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
3573 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
3574 address of $global$ into %dp register earlier. Use pc-relative
3575 instruction sequence for PIC case.
3577 2017-11-28 Joseph Myers <joseph@codesourcery.com>
3579 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
3580 (asinhf): Define using libm_alias_float.
3581 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
3582 (atanf): Define using libm_alias_float.
3583 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
3584 (cbrtf): Define using libm_alias_float.
3585 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
3586 (ceilf): Define using libm_alias_float.
3587 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
3588 (copysignf): Define using libm_alias_float.
3589 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
3590 (expm1f): Define using libm_alias_float.
3591 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
3592 (fabsf): Define using libm_alias_float.
3593 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
3594 (floorf): Define using libm_alias_float.
3595 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
3596 (fmaxf): Define using libm_alias_float.
3597 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
3598 (fminf): Define using libm_alias_float.
3599 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
3600 (frexpf): Define using libm_alias_float.
3601 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
3602 (llrintf): Define using libm_alias_float.
3603 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
3604 (logbf): Define using libm_alias_float.
3605 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
3606 (lrintf): Define using libm_alias_float.
3607 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
3608 (nearbyintf): Define using libm_alias_float.
3609 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
3610 (remquof): Define using libm_alias_float.
3611 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
3612 (rintf): Define using libm_alias_float.
3613 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
3614 (truncf): Define using libm_alias_float.
3615 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
3616 <libm-alias-float.h>.
3617 (exp2f): Define using libm_alias_float, or libm_alias_float_other
3619 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
3620 <libm-alias-float.h>.
3621 (expf): Define using libm_alias_float, or libm_alias_float_other
3623 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
3624 <libm-alias-float.h>.
3625 (log2f): Define using libm_alias_float, or libm_alias_float_other
3627 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
3628 <libm-alias-float.h>.
3629 (logf): Define using libm_alias_float, or libm_alias_float_other
3631 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
3632 <libm-alias-float.h>.
3633 (powf): Define using libm_alias_float, or libm_alias_float_other
3635 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
3636 <libm-alias-float.h>.
3637 (cosf): Define using libm_alias_float.
3638 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
3639 <libm-alias-float.h>.
3640 (sincosf): Define using libm_alias_float.
3641 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
3642 <libm-alias-float.h>.
3643 (sinf): Define using libm_alias_float.
3644 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
3645 (fmaxf): Define using libm_alias_float.
3646 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
3647 (fminf): Define using libm_alias_float.
3648 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
3649 <libm-alias-float.h>.
3650 (fmaf): Define using libm_alias_float.
3652 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
3653 (asinh): Define using libm_alias_double.
3654 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
3655 (atan): Define using libm_alias_double.
3656 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
3657 (cbrt): Define using libm_alias_double.
3658 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
3659 (ceil): Define using libm_alias_double.
3660 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
3661 (copysign): Define using libm_alias_double.
3662 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
3663 (expm1): Define using libm_alias_double.
3664 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
3665 (fabs): Define using libm_alias_double.
3666 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
3667 (fdim): Define using libm_alias_double.
3668 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
3669 (floor): Define using libm_alias_double.
3670 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
3671 (fmax): Define using libm_alias_double.
3672 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
3673 (fmin): Define using libm_alias_double.
3674 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
3675 (frexp): Define using libm_alias_double.
3676 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
3677 (llrint): Define using libm_alias_double.
3678 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
3679 (logb): Define using libm_alias_double.
3680 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
3681 (lrint): Define using libm_alias_double.
3682 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
3683 (nearbyint): Define using libm_alias_double.
3684 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
3685 (remquo): Define using libm_alias_double.
3686 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
3687 (rint): Define using libm_alias_double.
3688 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
3689 (trunc): Define using libm_alias_double.
3690 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
3691 (fmax): Define using libm_alias_double.
3692 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
3693 (fmin): Define using libm_alias_double.
3694 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
3695 (fma): Define using libm_alias_double.
3697 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
3700 * elf/dl-hwcaps.c (ROUND): Removed.
3701 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
3702 and ELF_NOTE_NEXT_OFFSET.
3703 * elf/dl-load.c (ROUND): Removed.
3704 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
3705 * elf/readelflib.c (ROUND): Removed.
3706 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
3707 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
3708 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
3709 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
3711 2017-11-28 Joseph Myers <joseph@codesourcery.com>
3713 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
3714 [!__fmaf] (fmaf): Define using libm_alias_float.
3716 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
3717 [!__fma] (fma): Define using libm_alias_double.
3718 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
3720 2017-11-28 Mike FABIAN <mfabian@redhat.com>
3723 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
3724 and implement the collation rules for cs from CLDR on top of that.
3725 * Makefile: Add cs_CZ.UTF-8 to test-input.
3726 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
3728 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
3730 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
3732 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
3733 Icarus Sparry <icarus.w.sparry@intel.com>
3735 * benchtests/Makefile:Add BENCHSET to allow subsets of
3736 benchmarks to be run.
3737 * benchtests/README: Add documentation for: Running subsets of
3740 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
3742 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
3743 range of tests names.
3745 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
3746 result from property and remove "max", min" and "mean" from
3747 required properties based on benchtests/bench-skeleton.c.
3749 2017-11-28 Florian Weimer <fweimer@redhat.com>
3752 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
3753 due to Internet requirement.
3754 * posix/Makefile (tests): Remove tst-getaddrinfo4,
3756 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
3758 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3760 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
3761 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
3762 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
3763 (sysdep_routines): Add memset-ultra1.
3764 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
3766 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
3767 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
3768 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
3769 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
3770 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
3771 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
3772 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
3773 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3775 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
3777 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
3778 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
3779 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
3780 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
3781 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
3782 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
3783 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
3785 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
3786 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
3787 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
3788 (sysdep_routines): Add memcpy-ultra1.
3789 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
3790 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
3792 2017-11-28 Joseph Myers <joseph@codesourcery.com>
3794 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
3795 (cfloat_versions): Take function argument without trailing 'f'.
3796 Call libm_alias_float_other.
3797 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
3798 * sysdeps/alpha/fpu/cargf.c: Likewise.
3799 * sysdeps/alpha/fpu/cimagf.c: Likewise.
3800 * sysdeps/alpha/fpu/conjf.c: Likewise.
3801 * sysdeps/alpha/fpu/crealf.c: Likewise.
3802 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
3803 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
3804 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
3805 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
3806 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
3807 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
3808 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
3809 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
3810 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
3811 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
3812 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
3813 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
3814 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
3815 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
3816 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
3817 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
3818 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
3819 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
3820 (clog10f): Use libm_alias_float_other.
3821 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
3822 (ceilf): Define using libm_alias_float.
3823 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
3824 (copysignf): Define using libm_alias_float.
3825 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
3826 (fabsf): Define using libm_alias_float.
3827 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
3828 (floorf): Define using libm_alias_float.
3829 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
3830 (fmaxf): Define using libm_alias_float.
3831 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
3832 (fminf): Define using libm_alias_float.
3833 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
3834 (lrintf): Define using libm_alias_float.
3835 (llrintf): Likewise.
3836 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
3837 (lroundf): Define using libm_alias_float.
3838 (llroundf): Likewise.
3839 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
3840 (rintf): Define using libm_alias_float.
3841 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
3842 (truncf): Define using libm_alias_float.
3844 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
3845 (ceilf): Define using libm_alias_float.
3846 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
3847 (floorf): Define using libm_alias_float.
3848 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
3849 (fmaf): Define using libm_alias_float.
3850 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
3851 (fmaxf): Define using libm_alias_float.
3852 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
3853 (fminf): Define using libm_alias_float.
3854 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
3855 (llrintf): Define using libm_alias_float.
3856 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
3857 (llroundf): Define using libm_alias_float.
3858 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
3859 (lrintf): Define using libm_alias_float.
3860 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
3861 (lroundf): Define using libm_alias_float.
3862 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
3863 <libm-alias-float.h>.
3864 (nearbyintf): Define using libm_alias_float.
3865 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
3866 (rintf): Define using libm_alias_float.
3867 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
3868 (roundf): Define using libm_alias_float.
3869 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
3870 (truncf): Define using libm_alias_float.
3872 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
3873 (ceil): Define using libm_alias_double.
3874 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
3875 (copysign): Define using libm_alias_double.
3876 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
3877 (fabs): Define using libm_alias_double.
3878 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
3879 (floor): Define using libm_alias_double.
3880 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
3881 (fmax): Define using libm_alias_double.
3882 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
3883 (fmin): Define using libm_alias_double.
3884 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
3885 (lrint): Define using libm_alias_double.
3887 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
3888 (lround): Define using libm_alias_double.
3889 (llround): Likewise.
3890 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
3891 (rint): Define using libm_alias_double.
3892 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
3893 (trunc): Define using libm_alias_double.
3895 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
3896 (libm_alias_double_r): Add semicolon after weak_alias call.
3898 2017-11-27 Joseph Myers <joseph@codesourcery.com>
3900 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
3901 (ceil): Define using libm_alias_double.
3902 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
3903 (floor): Define using libm_alias_double.
3904 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
3905 (fma): Define using libm_alias_double.
3906 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
3907 (fmax): Define using libm_alias_double.
3908 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
3909 (fmin): Define using libm_alias_double.
3910 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
3911 (llrint): Define using libm_alias_double.
3912 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
3913 (llround): Define using libm_alias_double.
3914 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
3915 (lrint): Define using libm_alias_double.
3916 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
3917 (lround): Define using libm_alias_double.
3918 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
3919 (nearbyint): Define using libm_alias_double.
3920 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
3921 (rint): Define using libm_alias_double.
3922 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
3923 (round): Define using libm_alias_double.
3924 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
3925 (trunc): Define using libm_alias_double.
3927 2017-11-27 Florian Weimer <fweimer@redhat.com>
3929 * sysdeps/unix/sysv/linux/mlock2.c: New file.
3930 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
3931 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
3932 (tests): Add tst-mlock2.
3933 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
3934 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
3935 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
3936 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
3937 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
3938 for mlock. Document mlock2.
3940 2017-11-27 Joseph Myers <joseph@codesourcery.com>
3942 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
3943 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
3945 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
3947 * sysdeps/x86/Makeconfig: New file.
3948 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
3949 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
3950 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
3951 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
3952 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
3953 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
3954 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
3956 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
3957 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
3958 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
3959 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
3960 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
3961 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
3962 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
3963 * manual/math.texi (Mathematics): Document support for _Float64x.
3964 * math/Versions (GLIBC_2.27): Add _Float64x functions.
3965 * stdlib/Versions (GLIBC_2.27): Likewise.
3966 * wcsmbs/Versions (GLIBC_2.27): Likewise.
3967 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
3968 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3969 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3970 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3971 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3972 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3973 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3974 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3975 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3976 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3977 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3982 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3983 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3984 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3985 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3986 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3987 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3988 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3989 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3990 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3991 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3992 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3993 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3994 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3995 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3997 2017-11-27 Andreas Schwab <schwab@suse.de>
3999 * elf/Makefile (dl-routines): Add dl-sort-maps.
4000 * elf/dl-sort-maps.c: New file.
4001 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
4002 (_dl_sort_maps): Declare.
4003 * elf/dl-fini.c (_dl_sort_fini): Remove.
4004 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
4005 * elf/dl-close.c (_dl_close_worker): Likewise.
4006 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
4008 * elf/dl-open.c (dl_open_worker): Likewise.
4010 2017-11-24 Joseph Myers <joseph@codesourcery.com>
4012 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
4013 using libm_alias_float128.
4014 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
4016 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
4018 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
4019 (setpayloadsigf128): Likewise.
4020 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
4022 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
4025 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
4026 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
4027 -mfloat128 to CFLAGS.
4029 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
4031 (CFLAGS-libm-test-support-float64x.c): New variable.
4032 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
4033 $(f128-loader-link) to gnulib-tests.
4035 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
4036 (libm_alias_float128_other_r): If
4037 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
4039 (libm_alias_float128_r): Add semicolon after weak_alias call.
4040 * sysdeps/generic/libm-alias-ldouble.h
4041 (libm_alias_ldouble_other_r_f128): New macro.
4042 (libm_alias_ldouble_other_r_f64x): Likewise.
4043 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
4044 and libm_alias_ldouble_other_r_f64x.
4045 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
4046 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
4047 (libm_alias_ldouble_other_r_f128): New macro.
4048 (libm_alias_ldouble_other_r_f64x): Likewise.
4049 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
4050 and libm_alias_ldouble_other_r_f64x.
4052 * stdlib/strfroml.c: Always include <stdlib.h>.
4053 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
4054 undefine as macro and define as weak alias.
4055 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
4056 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
4058 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
4059 Define and later undefine as macro and define as weak alias.
4061 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
4062 Define and later undefine as macro. Define as weak alias if
4064 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
4065 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
4066 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
4067 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
4068 Define and later undefine as macro. Define as weak alias if
4070 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
4071 Define and later undefine as macro. Define as weak alias if
4073 * sysdeps/ieee754/float128/strtof128_l.c
4074 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
4075 Define and later undefine as macro. Define as weak alias if
4077 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
4078 Define and later undefine as macro. Define as weak alias if
4080 * sysdeps/ieee754/ldbl-128/strtold_l.c
4081 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
4082 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
4083 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
4084 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
4085 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
4086 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
4087 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
4088 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
4089 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
4090 * sysdeps/ieee754/ldbl-96/strtold_l.c
4091 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
4092 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
4093 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
4094 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
4096 * math/test-float64x.h: New file.
4097 * math/Makefile (type-float64x-yes): New variable.
4098 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
4100 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
4101 function-like macro.
4102 (min_of_type_): Likewise.
4103 (min_of_type_l): Likewise.
4104 (min_of_type_f128): Likewise.
4105 (min_of_type): Pass () as last argument of __MATH_TG.
4107 * stdlib/tst-strtod-round-skeleton.c
4108 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
4111 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
4112 for combinations of long double with _Float64 and _Float64x.
4114 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
4115 (__DECL_SIMD_cosf32): Likewise.
4116 (__DECL_SIMD_cosf64): Likewise.
4117 (__DECL_SIMD_cosf32x): Likewise.
4118 (__DECL_SIMD_cosf64x): Likewise.
4119 (__DECL_SIMD_cosf128x): Likewise.
4120 (__DECL_SIMD_sinf16): Likewise.
4121 (__DECL_SIMD_sinf32): Likewise.
4122 (__DECL_SIMD_sinf64): Likewise.
4123 (__DECL_SIMD_sinf32x): Likewise.
4124 (__DECL_SIMD_sinf64x): Likewise.
4125 (__DECL_SIMD_sinf128x): Likewise.
4126 (__DECL_SIMD_sincosf16): Likewise.
4127 (__DECL_SIMD_sincosf32): Likewise.
4128 (__DECL_SIMD_sincosf64): Likewise.
4129 (__DECL_SIMD_sincosf32x): Likewise.
4130 (__DECL_SIMD_sincosf64x): Likewise.
4131 (__DECL_SIMD_sincosf128x): Likewise.
4132 (__DECL_SIMD_logf16): Likewise.
4133 (__DECL_SIMD_logf32): Likewise.
4134 (__DECL_SIMD_logf64): Likewise.
4135 (__DECL_SIMD_logf32x): Likewise.
4136 (__DECL_SIMD_logf64x): Likewise.
4137 (__DECL_SIMD_logf128x): Likewise.
4138 (__DECL_SIMD_expf16): Likewise.
4139 (__DECL_SIMD_expf32): Likewise.
4140 (__DECL_SIMD_expf64): Likewise.
4141 (__DECL_SIMD_expf32x): Likewise.
4142 (__DECL_SIMD_expf64x): Likewise.
4143 (__DECL_SIMD_expf128x): Likewise.
4144 (__DECL_SIMD_powf16): Likewise.
4145 (__DECL_SIMD_powf32): Likewise.
4146 (__DECL_SIMD_powf64): Likewise.
4147 (__DECL_SIMD_powf32x): Likewise.
4148 (__DECL_SIMD_powf64x): Likewise.
4149 (__DECL_SIMD_powf128x): Likewise.
4151 * stdlib/Versions (libc): Move entries for wcstof128 and
4153 * wcsmbs/Versions (libc): ... here.
4154 Include <float128-abi.h>.
4156 2017-11-24 Florian Weimer <fweimer@redhat.com>
4158 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4160 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
4161 <bits/mman-shared.h>.
4162 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
4164 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
4165 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
4166 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
4167 <bits/mman-shared.h>.
4169 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4172 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
4173 posix_memalign/free.
4174 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
4176 2017-11-22 Mike FABIAN <mfabian@redhat.com>
4179 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
4180 and implement the collation rules for pl from CLDR on top of that.
4181 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
4182 of locales to be built for testing.
4183 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
4185 2017-11-23 Joseph Myers <joseph@codesourcery.com>
4187 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
4188 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
4189 libm_alias_ldouble_other.
4190 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
4191 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
4192 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
4193 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
4194 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
4195 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
4196 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
4197 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
4198 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
4199 libm_alias_ldouble_r.
4200 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
4201 libm_alias_ldouble_other.
4202 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
4204 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
4205 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
4206 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
4207 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
4208 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
4209 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
4210 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
4212 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
4213 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
4214 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
4216 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
4218 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
4219 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
4220 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
4222 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
4223 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
4224 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
4225 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
4226 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
4227 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
4228 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
4229 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
4230 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
4231 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
4232 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
4234 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
4235 libm_alias_ldouble_other.
4236 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
4237 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
4238 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
4240 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
4241 libm_alias_ldouble_other.
4242 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
4243 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
4244 * sysdeps/ia64/fpu/w_lgammal_main.c
4245 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
4246 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
4248 2017-11-23 Florian Weimer <fweimer@redhat.com>
4250 * malloc/malloc.c (tcache_thread_shutdown): Rename from
4251 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
4252 alike. Remove freeres marker.
4253 * malloc/arena.c (arena_thread_freeres): Call
4254 tcache_thread_shutdown.
4256 2017-11-23 Florian Weimer <fweimer@redhat.com>
4259 Export nscd hash function as __nss_hash.
4260 * include/nss.h (__nss_hash): Declare.
4261 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
4263 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
4264 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
4266 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
4267 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
4268 * nss/Makefiles (routines): Add nss_hash.
4269 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
4270 * nss/nss_hash.c: Rename from nis/nis_hash.c.
4271 (__nss_hash): Rename from __nis_hash. Define hidden alias.
4272 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
4274 2017-11-23 Florian Weimer <fweimer@redhat.com>
4277 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
4278 Return error code, not -1.
4279 * signal/tst-sigwait-eintr.c: New file.
4280 * signal/Makefile (tests): Add tst-sigwait-eintr.
4282 2017-11-23 Florian Weimer <fweimer@redhat.com>
4284 Linux: Add memfd_create system call wrapper
4285 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
4287 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
4288 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
4289 [__USE_GNU] (memfd_create): Declare.
4290 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
4291 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
4292 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
4293 * sysdeps/unix/sysv/linux/**.abilist: Update.
4294 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
4296 2017-11-22 Joseph Myers <joseph@codesourcery.com>
4298 * localedata/gen-locale.sh: Fix typo in variable name.
4300 * resolv/res_debug.c (p_secstodate): Condition definition on
4301 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
4302 directly as __p_secstodate, and as a compat symbol. Do not use
4303 libresolv_hidden_def.
4304 * resolv/resolv.h (p_secstodate): Remove macro and function
4306 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
4308 * include/resolv.h (__p_secstodate): Do not use
4309 libresolv_hidden_proto.
4310 * resolv/Makefile (tests): Move tst-p_secstodate to ....
4311 (tests-internal): ... here.
4312 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
4313 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
4314 and declare and use __p_secstodate and use compat_symbol_reference
4316 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
4317 implementation returning 77.
4320 * resolv/res_debug.c: Include <libc-diag.h>.
4321 (p_secstodate): Assert time_t at least as wide as u_long. On
4322 overflow, use integer seconds since the epoch as output, or use
4323 "<overflow>" as output and set errno to EOVERFLOW if integer
4324 seconds since the epoch would be 14 or more characters.
4325 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
4327 * resolv/tst-p_secstodate.c: New file.
4328 * resolv/Makefile (tests): Add tst-p_secstodate.
4329 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
4331 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
4332 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4333 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
4335 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
4337 * posix/regcomp.c (init_word_char): Add comments.
4339 2017-11-22 Joseph Myers <joseph@codesourcery.com>
4342 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
4343 strlen to compute length of ut_user and set trailing NUL byte of
4346 2017-11-21 Mike FABIAN <mfabian@redhat.com>
4349 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
4350 using “copy "iso14651_t1"” and then implementing the
4351 collation rules for lv from CLDR on top of that.
4352 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
4353 of locales to be built for testing.
4354 * lv_LV.UTF-8.in: New file with test data to test the Latvian
4357 2017-11-21 Joseph Myers <joseph@codesourcery.com>
4359 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
4360 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
4361 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
4362 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
4363 [__USE_MISC] (MADV_HWPOISON): New macro.
4364 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
4366 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4368 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
4369 -Wmissing-braces on GCC 4.9.
4371 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
4373 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
4374 * sysdeps/s390/s390-32/start.S (_start): Likewise
4375 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
4376 (thread_start): Likewise.
4377 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
4378 (thread_start): Likewise.
4379 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
4380 (__makecontext_ret): Likewise.
4381 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
4382 (__makecontext_ret): Likewise.
4384 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
4386 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
4387 __wcschrnul): Remove attribute_hidden.
4389 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
4391 regex: don't assume uint64_t or uint32_t
4392 This avoids -Werror=overflow errors for 32-bit systems in
4393 the 64-bit case. Problem reported by Joseph Myers in:
4394 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
4395 Also, when this code is used in Gnulib it ports to platforms
4396 that lack uint64_t and uint32_t. The C standard doesn't guarantee
4397 them, and on some 32-bit compilers there is no uint64_t.
4398 Problem reported by Gianluigi Tiesi in:
4399 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
4400 * posix/regcomp.c (init_word_char): Don't assume that the types
4401 uint64_t and uint32_t exist. Adapted from Gnulib patch
4402 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
4403 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
4405 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
4407 * sysdeps/aarch64/memset-reg.h: New file.
4408 * sysdeps/aarch64/memset.S: Use it.
4409 (__memset): Rename to MEMSET macro.
4410 [ZVA_MACRO]: Use zva_macro.
4411 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4412 Add memset_generic and memset_falkor.
4413 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4414 (__libc_ifunc_impl_list): Add memset ifuncs.
4415 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
4416 local variable zva_size.
4417 * sysdeps/aarch64/multiarch/memset.c: New file.
4418 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
4419 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
4420 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
4421 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
4422 (DCZID_DZP_MASK): New macro.
4423 (DCZID_BS_MASK): Likewise.
4424 (init_cpu_features): Read and set zva_size.
4425 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
4426 (struct cpu_features): New member zva_size.
4428 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
4429 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
4430 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
4432 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
4433 backwards. Fix timing computation.
4434 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
4435 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
4436 on memset by N at a time. Fix timing computation.
4438 2017-11-20 Florian Weimer <fweimer@redhat.com>
4440 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
4441 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
4443 2017-11-19 Florian Weimer <fweimer@redhat.com>
4445 manual: Document mprotect
4446 * manual/memory.texi (Memory Protection): New section.
4447 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
4448 documentation of PROT_* flags and reference the Memory Protection
4451 2017-11-19 Florian Weimer <fweimer@redhat.com>
4453 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
4454 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
4455 (Scatter-Gather): ... to here. Remove misleading comment.
4457 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
4459 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
4462 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
4463 when /proc/<pid>/setgroups does not exist.
4465 2017-11-18 Florian Weimer <fweimer@redhat.com>
4467 * sysdeps/unix/sysv/linux/tst-ttyname.c
4468 (become_root_in_mount_ns): Remove.
4469 (do_in_chroot_1): Call support_enter_mount_namespace.
4470 (do_in_chroot_2): Likewise.
4471 (do_test): Call support_become_root early.
4473 2017-11-18 Florian Weimer <fweimer@redhat.com>
4475 * support/namespace.h (support_enter_mount_namespace): Declare.
4476 * support/support_enter_mount_namespace.c: New file.
4477 * support/Makefile (libsupport-routines): Add
4478 support_enter_mount_namespace.
4480 2017-11-18 Florian Weimer <fweimer@redhat.com>
4482 * support/temp_file.c (support_create_temp_directory): Use
4483 test_dir and do not rely on the presence of the XXXXXX suffix.
4484 * support/temp_file.h (support_create_temp_directory): Update
4486 * support/tst-xreadlink.c (do_test): Adjust.
4487 * support/support_chroot.c (support_chroot_create): Likewise.
4489 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4491 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
4493 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
4496 2017-11-17 Joseph Myers <joseph@codesourcery.com>
4498 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
4499 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
4500 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
4501 (ceill): Define using libm_alias_ldouble.
4502 * sysdeps/x86_64/fpu/s_copysignl.S: Include
4503 <libm-alias-ldouble.h>.
4504 (copysignl): Define using libm_alias_ldouble.
4505 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
4506 (fabsl): Define using libm_alias_ldouble.
4507 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
4508 (floorl): Define using libm_alias_ldouble.
4509 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
4510 (fmaxl): Define using libm_alias_ldouble.
4511 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
4512 (fminl): Define using libm_alias_ldouble.
4513 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
4514 (llrintl): Define using libm_alias_ldouble.
4516 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
4517 <libm-alias-ldouble.h>.
4518 (nearbyintl): Define using libm_alias_ldouble.
4519 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
4520 (truncl): Define using libm_alias_ldouble.
4521 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
4522 <libm-alias-ldouble.h>.
4523 (lrintl): Define using libm_alias_ldouble.
4525 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
4526 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
4527 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
4528 (asinhl): Define using libm_alias_ldouble.
4529 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
4530 (atanl): Define using libm_alias_ldouble.
4531 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
4532 (cbrtl): Define using libm_alias_ldouble.
4533 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
4534 (ceill): Define using libm_alias_ldouble.
4535 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
4536 (copysignl): Define using libm_alias_ldouble.
4537 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
4538 (fabsl): Define using libm_alias_ldouble.
4539 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
4540 (floorl): Define using libm_alias_ldouble.
4541 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
4542 (fmaxl): Define using libm_alias_ldouble.
4543 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
4544 (fminl): Define using libm_alias_ldouble.
4545 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
4546 (frexpl): Define using libm_alias_ldouble.
4547 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
4548 (llrintl): Define using libm_alias_ldouble.
4549 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
4550 (logbl): Define using libm_alias_ldouble.
4551 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
4552 (lrintl): Define using libm_alias_ldouble.
4553 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
4554 (nearbyintl): Define using libm_alias_ldouble.
4555 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
4556 (nextafterl): Define using libm_alias_ldouble.
4557 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
4558 (remquol): Define using libm_alias_ldouble.
4559 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
4560 (rintl): Define using libm_alias_ldouble.
4561 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
4562 (truncl): Define using libm_alias_ldouble.
4563 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
4564 (fmaxl): Define using libm_alias_ldouble.
4565 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
4566 (fminl): Define using libm_alias_ldouble.
4568 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
4569 to C syntax instead of availability and properties of types.
4570 * bits/floatn.h [!__ASSEMBLER]: Likewise.
4571 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
4572 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
4573 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
4574 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
4575 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
4577 2017-11-17 Florian Weimer <fweimer@redhat.com>
4579 support_become_root: Enable file creation in namespaces.
4580 * support/support_become_root.c (setup_mapping): New function.
4581 (support_become_root): Call it.
4583 2017-11-17 Joseph Myers <joseph@codesourcery.com>
4585 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
4588 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4590 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
4591 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
4593 2017-11-16 Joseph Myers <joseph@codesourcery.com>
4595 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
4597 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4600 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
4602 * INSTALL: Fix botched up regeneration.
4604 * NEWS: Update sourceare link to https.
4605 * configure.ac: Likewise.
4606 * crypt/md5test-giant.c: Likewise.
4607 * dlfcn/bug-atexit1.c: Likewise.
4608 * dlfcn/bug-atexit2.c: Likewise.
4609 * localedata/README: Likewise.
4610 * malloc/tst-mallocfork.c: Likewise.
4611 * manual/install.texi: Likewise.
4612 * nptl/tst-pthread-getattr.c: Likewise.
4613 * stdio-common/tst-fgets.c: Likewise.
4614 * stdio-common/tst-fwrite.c: Likewise.
4615 * sunrpc/Makefile: Likewise.
4616 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
4617 * wcsmbs/tst-mbrtowc2.c: Likewise.
4618 * configure: Regenerate.
4619 * INSTALL: Regenerate.
4621 2017-11-15 Martin Sebor <msebor@redhat.com>
4623 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
4624 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
4625 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
4627 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
4630 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
4631 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
4634 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
4635 Defer is_pty check until end of the function.
4636 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4639 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
4640 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
4641 (ttyname): Likewise.
4642 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
4643 (__ttyname_r): Likewise.
4645 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
4648 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
4650 * manual/terminal.texi (Is It a Terminal):
4651 Mention ENODEV for ttyname and ttyname_r.
4653 2017-11-15 Joseph Myers <joseph@codesourcery.com>
4655 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
4658 * sysdeps/unix/sysv/linux/bits/mman-linux.h
4659 [__USE_MISC] (MADV_WIPEONFORK): New macro.
4660 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
4661 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
4662 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
4663 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
4665 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4667 * signal/sigrelse.c (sigrelse): Optimize implementation.
4669 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
4670 (__sigpause): Rely on __sigsuspend to implement single thread
4671 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
4673 2017-11-15 Joseph Myers <joseph@codesourcery.com>
4675 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4676 kernel version to 4.14.
4678 2017-11-15 Steve Ellcey <sellcey@cavium.com>
4681 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
4682 Check if ifname is too long.
4684 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
4686 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
4688 2017-11-15 Mike FABIAN <mfabian@redhat.com>
4690 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
4691 was accidentally lost.
4693 2017-11-15 Mike FABIAN <mfabian@redhat.com>
4695 * localedata/locales/az_IR: Add standard copyright header.
4697 2017-11-15 Florian Weimer <fweimer@redhat.com>
4700 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
4701 not just the top one. Output a new "subheaps" statistic.
4703 2017-11-15 Florian Weimer <fweimer@redhat.com>
4706 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
4707 under the per-arena lock.
4708 * malloc/Makefile (tests): Add tst-malloc_info.
4709 (tst-malloc_info): Link with libpthread.
4710 * malloc/tst-malloc_info.c: New file.
4712 2017-11-15 Joseph Myers <joseph@codesourcery.com>
4715 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
4716 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
4717 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
4718 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
4719 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
4720 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
4721 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
4722 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
4723 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
4724 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
4725 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
4726 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
4727 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
4728 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
4729 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
4730 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
4731 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
4732 (__floating_type): Likewise.
4733 (__real_integer_type): Likewise.
4734 (__complex_integer_type): Likewise.
4735 (__expr_is_real): Likewise.
4736 (__tgmath_real_type_sub): Likewise.
4737 (__tgmath_real_type): Likewise.
4738 (__tgmath_complex_type_sub): Likewise.
4739 (__tgmath_complex_type): Likewise.
4740 (__TGMATH_F128): Likewise.
4741 (__TGMATH_CF128): Likewise.
4742 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
4744 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
4745 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
4747 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
4749 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
4750 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
4751 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
4752 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
4754 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
4755 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
4757 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
4758 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
4759 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
4761 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
4762 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
4763 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
4767 2017-11-14 Joseph Myers <joseph@codesourcery.com>
4769 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
4770 for stpncpy calls for GCC 8.
4771 (test_strncat): Disable -Wstringop-truncation warning for strncat
4772 calls for GCC 8. Disable -Wstringop-overflow= warning for one
4773 strncat call for GCC 7.
4774 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
4776 (test_memcmp): Use memcpy instead of strncpy for calls not copying
4779 * string/bug-strncat1.c: Include <libc-diag.h>.
4780 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
4782 2017-11-13 Claude Paroz <claude@2xlibre.net>
4785 * localedata/locales/aa_DJ: Improved readibility by replacing
4786 <Uxxxx> sequences in the ASCII printable range by their ASCII
4787 character equivalents.
4788 * localedata/locales/aa_ER: Likewise.
4789 * localedata/locales/aa_ER@saaho: Likewise.
4790 * localedata/locales/aa_ET: Likewise.
4791 * localedata/locales/af_ZA: Likewise.
4792 * localedata/locales/agr_PE: Likewise.
4793 * localedata/locales/ak_GH: Likewise.
4794 * localedata/locales/am_ET: Likewise.
4795 * localedata/locales/anp_IN: Likewise.
4796 * localedata/locales/ar_AE: Likewise.
4797 * localedata/locales/ar_BH: Likewise.
4798 * localedata/locales/ar_DZ: Likewise.
4799 * localedata/locales/ar_EG: Likewise.
4800 * localedata/locales/ar_IN: Likewise.
4801 * localedata/locales/ar_IQ: Likewise.
4802 * localedata/locales/ar_JO: Likewise.
4803 * localedata/locales/ar_KW: Likewise.
4804 * localedata/locales/ar_LB: Likewise.
4805 * localedata/locales/ar_LY: Likewise.
4806 * localedata/locales/ar_MA: Likewise.
4807 * localedata/locales/ar_OM: Likewise.
4808 * localedata/locales/ar_QA: Likewise.
4809 * localedata/locales/ar_SA: Likewise.
4810 * localedata/locales/ar_SD: Likewise.
4811 * localedata/locales/ar_SS: Likewise.
4812 * localedata/locales/ar_SY: Likewise.
4813 * localedata/locales/ar_TN: Likewise.
4814 * localedata/locales/ar_YE: Likewise.
4815 * localedata/locales/as_IN: Likewise.
4816 * localedata/locales/ast_ES: Likewise.
4817 * localedata/locales/ayc_PE: Likewise.
4818 * localedata/locales/az_AZ: Likewise.
4819 * localedata/locales/az_IR: Likewise.
4820 * localedata/locales/be_BY: Likewise.
4821 * localedata/locales/be_BY@latin: Likewise.
4822 * localedata/locales/bem_ZM: Likewise.
4823 * localedata/locales/ber_DZ: Likewise.
4824 * localedata/locales/ber_MA: Likewise.
4825 * localedata/locales/bg_BG: Likewise.
4826 * localedata/locales/bhb_IN: Likewise.
4827 * localedata/locales/bho_IN: Likewise.
4828 * localedata/locales/bi_VU: Likewise.
4829 * localedata/locales/bn_BD: Likewise.
4830 * localedata/locales/bn_IN: Likewise.
4831 * localedata/locales/bo_CN: Likewise.
4832 * localedata/locales/bo_IN: Likewise.
4833 * localedata/locales/br_FR: Likewise.
4834 * localedata/locales/brx_IN: Likewise.
4835 * localedata/locales/bs_BA: Likewise.
4836 * localedata/locales/byn_ER: Likewise.
4837 * localedata/locales/ca_AD: Likewise.
4838 * localedata/locales/ca_ES: Likewise.
4839 * localedata/locales/ca_FR: Likewise.
4840 * localedata/locales/ca_IT: Likewise.
4841 * localedata/locales/ce_RU: Likewise.
4842 * localedata/locales/chr_US: Likewise.
4843 * localedata/locales/cmn_TW: Likewise.
4844 * localedata/locales/crh_UA: Likewise.
4845 * localedata/locales/cs_CZ: Likewise.
4846 * localedata/locales/csb_PL: Likewise.
4847 * localedata/locales/cv_RU: Likewise.
4848 * localedata/locales/cy_GB: Likewise.
4849 * localedata/locales/da_DK: Likewise.
4850 * localedata/locales/de_AT: Likewise.
4851 * localedata/locales/de_BE: Likewise.
4852 * localedata/locales/de_CH: Likewise.
4853 * localedata/locales/de_DE: Likewise.
4854 * localedata/locales/de_IT: Likewise.
4855 * localedata/locales/de_LI: Likewise.
4856 * localedata/locales/de_LU: Likewise.
4857 * localedata/locales/doi_IN: Likewise.
4858 * localedata/locales/dv_MV: Likewise.
4859 * localedata/locales/dz_BT: Likewise.
4860 * localedata/locales/el_CY: Likewise.
4861 * localedata/locales/el_GR: Likewise.
4862 * localedata/locales/en_AG: Likewise.
4863 * localedata/locales/en_AU: Likewise.
4864 * localedata/locales/en_BW: Likewise.
4865 * localedata/locales/en_CA: Likewise.
4866 * localedata/locales/en_DK: Likewise.
4867 * localedata/locales/en_GB: Likewise.
4868 * localedata/locales/en_HK: Likewise.
4869 * localedata/locales/en_IE: Likewise.
4870 * localedata/locales/en_IL: Likewise.
4871 * localedata/locales/en_IN: Likewise.
4872 * localedata/locales/en_NG: Likewise.
4873 * localedata/locales/en_NZ: Likewise.
4874 * localedata/locales/en_PH: Likewise.
4875 * localedata/locales/en_SG: Likewise.
4876 * localedata/locales/en_US: Likewise.
4877 * localedata/locales/en_ZA: Likewise.
4878 * localedata/locales/en_ZM: Likewise.
4879 * localedata/locales/en_ZW: Likewise.
4880 * localedata/locales/eo: Likewise.
4881 * localedata/locales/es_AR: Likewise.
4882 * localedata/locales/es_BO: Likewise.
4883 * localedata/locales/es_CL: Likewise.
4884 * localedata/locales/es_CO: Likewise.
4885 * localedata/locales/es_CR: Likewise.
4886 * localedata/locales/es_CU: Likewise.
4887 * localedata/locales/es_DO: Likewise.
4888 * localedata/locales/es_EC: Likewise.
4889 * localedata/locales/es_ES: Likewise.
4890 * localedata/locales/es_GT: Likewise.
4891 * localedata/locales/es_HN: Likewise.
4892 * localedata/locales/es_MX: Likewise.
4893 * localedata/locales/es_NI: Likewise.
4894 * localedata/locales/es_PA: Likewise.
4895 * localedata/locales/es_PE: Likewise.
4896 * localedata/locales/es_PR: Likewise.
4897 * localedata/locales/es_PY: Likewise.
4898 * localedata/locales/es_SV: Likewise.
4899 * localedata/locales/es_US: Likewise.
4900 * localedata/locales/es_UY: Likewise.
4901 * localedata/locales/es_VE: Likewise.
4902 * localedata/locales/et_EE: Likewise.
4903 * localedata/locales/eu_ES: Likewise.
4904 * localedata/locales/eu_ES@euro: Likewise.
4905 * localedata/locales/fa_IR: Likewise.
4906 * localedata/locales/ff_SN: Likewise.
4907 * localedata/locales/fi_FI: Likewise.
4908 * localedata/locales/fil_PH: Likewise.
4909 * localedata/locales/fo_FO: Likewise.
4910 * localedata/locales/fr_BE: Likewise.
4911 * localedata/locales/fr_CA: Likewise.
4912 * localedata/locales/fr_CH: Likewise.
4913 * localedata/locales/fr_FR: Likewise.
4914 * localedata/locales/fr_LU: Likewise.
4915 * localedata/locales/fur_IT: Likewise.
4916 * localedata/locales/fy_DE: Likewise.
4917 * localedata/locales/fy_NL: Likewise.
4918 * localedata/locales/ga_IE: Likewise.
4919 * localedata/locales/gd_GB: Likewise.
4920 * localedata/locales/gez_ER: Likewise.
4921 * localedata/locales/gez_ET: Likewise.
4922 * localedata/locales/gl_ES: Likewise.
4923 * localedata/locales/gu_IN: Likewise.
4924 * localedata/locales/gv_GB: Likewise.
4925 * localedata/locales/ha_NG: Likewise.
4926 * localedata/locales/hak_TW: Likewise.
4927 * localedata/locales/he_IL: Likewise.
4928 * localedata/locales/hi_IN: Likewise.
4929 * localedata/locales/hif_FJ: Likewise.
4930 * localedata/locales/hne_IN: Likewise.
4931 * localedata/locales/hr_HR: Likewise.
4932 * localedata/locales/hsb_DE: Likewise.
4933 * localedata/locales/ht_HT: Likewise.
4934 * localedata/locales/hu_HU: Likewise.
4935 * localedata/locales/hy_AM: Likewise.
4936 * localedata/locales/i18n: Likewise.
4937 * localedata/locales/ia_FR: Likewise.
4938 * localedata/locales/id_ID: Likewise.
4939 * localedata/locales/ig_NG: Likewise.
4940 * localedata/locales/ik_CA: Likewise.
4941 * localedata/locales/is_IS: Likewise.
4942 * localedata/locales/it_CH: Likewise.
4943 * localedata/locales/it_IT: Likewise.
4944 * localedata/locales/iu_CA: Likewise.
4945 * localedata/locales/ja_JP: Likewise.
4946 * localedata/locales/ka_GE: Likewise.
4947 * localedata/locales/kk_KZ: Likewise.
4948 * localedata/locales/kl_GL: Likewise.
4949 * localedata/locales/kn_IN: Likewise.
4950 * localedata/locales/ko_KR: Likewise.
4951 * localedata/locales/kok_IN: Likewise.
4952 * localedata/locales/ks_IN: Likewise.
4953 * localedata/locales/ks_IN@devanagari: Likewise.
4954 * localedata/locales/ku_TR: Likewise.
4955 * localedata/locales/kw_GB: Likewise.
4956 * localedata/locales/ky_KG: Likewise.
4957 * localedata/locales/lb_LU: Likewise.
4958 * localedata/locales/lg_UG: Likewise.
4959 * localedata/locales/li_BE: Likewise.
4960 * localedata/locales/li_NL: Likewise.
4961 * localedata/locales/lij_IT: Likewise.
4962 * localedata/locales/ln_CD: Likewise.
4963 * localedata/locales/lo_LA: Likewise.
4964 * localedata/locales/lt_LT: Likewise.
4965 * localedata/locales/lv_LV: Likewise.
4966 * localedata/locales/lzh_TW: Likewise.
4967 * localedata/locales/mag_IN: Likewise.
4968 * localedata/locales/mai_IN: Likewise.
4969 * localedata/locales/mg_MG: Likewise.
4970 * localedata/locales/mhr_RU: Likewise.
4971 * localedata/locales/mi_NZ: Likewise.
4972 * localedata/locales/mk_MK: Likewise.
4973 * localedata/locales/ml_IN: Likewise.
4974 * localedata/locales/mn_MN: Likewise.
4975 * localedata/locales/mni_IN: Likewise.
4976 * localedata/locales/mr_IN: Likewise.
4977 * localedata/locales/ms_MY: Likewise.
4978 * localedata/locales/mt_MT: Likewise.
4979 * localedata/locales/my_MM: Likewise.
4980 * localedata/locales/nan_TW: Likewise.
4981 * localedata/locales/nan_TW@latin: Likewise.
4982 * localedata/locales/nb_NO: Likewise.
4983 * localedata/locales/nds_DE: Likewise.
4984 * localedata/locales/nds_NL: Likewise.
4985 * localedata/locales/ne_NP: Likewise.
4986 * localedata/locales/nhn_MX: Likewise.
4987 * localedata/locales/niu_NU: Likewise.
4988 * localedata/locales/niu_NZ: Likewise.
4989 * localedata/locales/nl_AW: Likewise.
4990 * localedata/locales/nl_BE: Likewise.
4991 * localedata/locales/nl_NL: Likewise.
4992 * localedata/locales/nn_NO: Likewise.
4993 * localedata/locales/nr_ZA: Likewise.
4994 * localedata/locales/nso_ZA: Likewise.
4995 * localedata/locales/oc_FR: Likewise.
4996 * localedata/locales/om_ET: Likewise.
4997 * localedata/locales/om_KE: Likewise.
4998 * localedata/locales/or_IN: Likewise.
4999 * localedata/locales/os_RU: Likewise.
5000 * localedata/locales/pa_IN: Likewise.
5001 * localedata/locales/pa_PK: Likewise.
5002 * localedata/locales/pap_AW: Likewise.
5003 * localedata/locales/pap_CW: Likewise.
5004 * localedata/locales/pl_PL: Likewise.
5005 * localedata/locales/ps_AF: Likewise.
5006 * localedata/locales/pt_BR: Likewise.
5007 * localedata/locales/pt_PT: Likewise.
5008 * localedata/locales/quz_PE: Likewise.
5009 * localedata/locales/raj_IN: Likewise.
5010 * localedata/locales/ro_RO: Likewise.
5011 * localedata/locales/ru_RU: Likewise.
5012 * localedata/locales/ru_UA: Likewise.
5013 * localedata/locales/rw_RW: Likewise.
5014 * localedata/locales/sa_IN: Likewise.
5015 * localedata/locales/sat_IN: Likewise.
5016 * localedata/locales/sc_IT: Likewise.
5017 * localedata/locales/sd_IN: Likewise.
5018 * localedata/locales/sd_IN@devanagari: Likewise.
5019 * localedata/locales/se_NO: Likewise.
5020 * localedata/locales/sgs_LT: Likewise.
5021 * localedata/locales/shs_CA: Likewise.
5022 * localedata/locales/si_LK: Likewise.
5023 * localedata/locales/sid_ET: Likewise.
5024 * localedata/locales/sk_SK: Likewise.
5025 * localedata/locales/sl_SI: Likewise.
5026 * localedata/locales/sm_WS: Likewise.
5027 * localedata/locales/so_DJ: Likewise.
5028 * localedata/locales/so_ET: Likewise.
5029 * localedata/locales/so_KE: Likewise.
5030 * localedata/locales/so_SO: Likewise.
5031 * localedata/locales/sq_AL: Likewise.
5032 * localedata/locales/sq_MK: Likewise.
5033 * localedata/locales/sr_ME: Likewise.
5034 * localedata/locales/sr_RS: Likewise.
5035 * localedata/locales/sr_RS@latin: Likewise.
5036 * localedata/locales/ss_ZA: Likewise.
5037 * localedata/locales/st_ZA: Likewise.
5038 * localedata/locales/sv_FI: Likewise.
5039 * localedata/locales/sv_SE: Likewise.
5040 * localedata/locales/sw_KE: Likewise.
5041 * localedata/locales/sw_TZ: Likewise.
5042 * localedata/locales/szl_PL: Likewise.
5043 * localedata/locales/ta_IN: Likewise.
5044 * localedata/locales/ta_LK: Likewise.
5045 * localedata/locales/tcy_IN: Likewise.
5046 * localedata/locales/te_IN: Likewise.
5047 * localedata/locales/tg_TJ: Likewise.
5048 * localedata/locales/th_TH: Likewise.
5049 * localedata/locales/the_NP: Likewise.
5050 * localedata/locales/ti_ER: Likewise.
5051 * localedata/locales/ti_ET: Likewise.
5052 * localedata/locales/tig_ER: Likewise.
5053 * localedata/locales/tk_TM: Likewise.
5054 * localedata/locales/tl_PH: Likewise.
5055 * localedata/locales/tn_ZA: Likewise.
5056 * localedata/locales/to_TO: Likewise.
5057 * localedata/locales/tpi_PG: Likewise.
5058 * localedata/locales/tr_CY: Likewise.
5059 * localedata/locales/tr_TR: Likewise.
5060 * localedata/locales/ts_ZA: Likewise.
5061 * localedata/locales/tt_RU: Likewise.
5062 * localedata/locales/tt_RU@iqtelif: Likewise.
5063 * localedata/locales/ug_CN: Likewise.
5064 * localedata/locales/uk_UA: Likewise.
5065 * localedata/locales/unm_US: Likewise.
5066 * localedata/locales/ur_IN: Likewise.
5067 * localedata/locales/ur_PK: Likewise.
5068 * localedata/locales/uz_UZ: Likewise.
5069 * localedata/locales/uz_UZ@cyrillic: Likewise.
5070 * localedata/locales/ve_ZA: Likewise.
5071 * localedata/locales/vi_VN: Likewise.
5072 * localedata/locales/wa_BE: Likewise.
5073 * localedata/locales/wae_CH: Likewise.
5074 * localedata/locales/wal_ET: Likewise.
5075 * localedata/locales/wo_SN: Likewise.
5076 * localedata/locales/xh_ZA: Likewise.
5077 * localedata/locales/yi_US: Likewise.
5078 * localedata/locales/yo_NG: Likewise.
5079 * localedata/locales/yue_HK: Likewise.
5080 * localedata/locales/yuw_PG: Likewise.
5081 * localedata/locales/zh_CN: Likewise.
5082 * localedata/locales/zh_HK: Likewise.
5083 * localedata/locales/zh_SG: Likewise.
5084 * localedata/locales/zh_TW: Likewise.
5085 * localedata/locales/zu_ZA: Likewise.
5087 2017-11-13 Florian Weimer <fweimer@redhat.com>
5089 * support/next_to_fault.h, support/next_to_fault.c: New files.
5090 * support/Makefile (libsupport-routines): Add next_to_fault.
5091 * resolv/tst-inet_pton.c (struct next_to_fault)
5092 (next_to_fault_allocate, next_to_fault_free): Remove.
5093 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
5095 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
5097 * elf/dl-support.c: Include <dl-procruntime.c>.
5098 * include/link.h: Include <link_map.h>.
5099 * sysdeps/generic/dl-procruntime.c: New file.
5100 * sysdeps/generic/link_map.h: Likewise.
5101 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
5102 the writable ld.so namespace.
5104 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
5106 timezone: pacify GCC -Wstringop-truncation
5107 Problem reported by Martin Sebor in:
5108 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
5109 * timezone/zic.c (writezone): Use memcpy, not strncpy.
5111 2017-11-12 Florian Weimer <fweimer@redhat.com>
5113 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
5115 (tests): Add tst-xreadlink.
5116 * support/support.h (xstrndup): Declare.
5117 * support/xunistd.h (xunlink, xreadlink): Declare.
5118 * support/temp_file.h (support_create_temp_directory): Declare.
5119 * support/temp_file.c (support_create_temp_directory): New function.
5120 * support/support_chroot.c (support_chroot_create): Use it.
5121 * support/xreadlink.c: New file.
5122 * support/xstrndup.c: Likewise.
5123 * support/xunlink.c: Likewise.
5124 * support/tst-xreadlink.c: Likewise.
5126 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
5128 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
5130 2017-11-11 Florian Weimer <fweimer@redhat.com>
5134 * resolv/res_comp.c (printable_string, binary_hnok)
5135 (binary_leading_dash): New functions.
5136 (res_hnok): Reimplement using these functions and ns_name_pton.
5137 (res_ownok): Likewise.
5138 (res_mailok): Reimplement using printable_string, ns_name_pton and
5140 (res_dnok): Reimplement using printable_string and ns_name_pton.
5141 * resolv/tst-res_hnok.c (tests): Add additional tests.
5142 (LETTERDIGITS, PRINTABLE): Define.
5143 (do_test): Adjust one_char results.
5145 2017-11-11 Florian Weimer <fweimer@redhat.com>
5148 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
5149 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
5151 2017-11-11 Florian Weimer <fweimer@redhat.com>
5153 * resolv/tst-ns_name_pton.c: New file.
5154 * resolv/Makefile (tests): Add tst-ns_name_pton.
5155 (tst-ns_name_pton): Link against libresolv.
5157 2017-11-11 Florian Weimer <fweimer@redhat.com>
5159 * resolv/tst-res_hnok.c: New file.
5160 * resolv/Makefile (tests): Add tst-res_hnok.
5161 (tst-res_hnok): Link against libresolv.
5163 2017-11-11 Florian Weimer <fweimer@redhat.com>
5165 * resolv/tst-resolv-network.c: Use test framework instead explicit
5168 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
5170 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
5172 [!_ISOMAC] (STR_HELPER): New.
5173 [!_ISOMAC] (STR): Likewise.
5174 [!_ISOMAC] (TEST_SIZE): Likewise.
5175 [!_ISOMAC] (TEST_ALIGN): Likewise.
5176 [!_ISOMAC] (TEST_OFFSET): Likewise.
5177 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
5178 field offsets of jmp_buf as well as sigjmp_buf.
5179 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
5180 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
5181 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
5182 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
5183 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
5184 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
5185 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
5186 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
5187 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
5188 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
5190 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
5192 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
5193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
5195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
5197 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
5198 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
5199 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
5200 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
5201 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
5202 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
5204 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
5206 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
5207 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
5208 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
5210 2017-11-07 Joseph Myers <joseph@codesourcery.com>
5213 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5214 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
5215 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5216 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
5217 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5218 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
5219 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5220 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
5221 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5222 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
5223 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5224 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
5225 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5226 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
5227 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5228 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
5229 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5230 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
5231 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5232 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
5233 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5234 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
5235 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5236 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
5237 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5238 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
5239 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5240 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
5241 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5242 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
5243 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5244 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
5245 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5246 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
5247 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5248 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
5249 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5250 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
5251 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5252 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
5253 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5254 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
5255 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5256 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
5257 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5258 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
5259 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5260 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
5261 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5262 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
5263 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5264 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
5265 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5266 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
5267 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5268 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
5269 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5270 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
5271 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5272 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
5273 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5274 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
5275 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5276 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
5277 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5278 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
5279 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5280 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
5281 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5282 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
5283 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5284 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
5285 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5286 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
5287 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5288 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
5289 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5290 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
5291 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5292 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
5293 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5294 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
5295 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5296 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
5297 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5298 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
5299 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5300 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
5302 * stdlib/tst-strtod.h (F16): New macro.
5308 (IF_FLOAT16): Likewise.
5309 (IF_FLOAT32): Likewise.
5310 (IF_FLOAT64): Likewise.
5311 (IF_FLOAT32X): Likewise.
5312 (IF_FLOAT64X): Likewise.
5313 (IF_FLOAT128X): Likewise.
5314 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
5315 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
5316 (STRTOD_TEST_FOREACH): Likewise.
5317 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
5318 (CHOOSE_f64): Likewise.
5319 (CHOOSE_f32x): Likewise.
5320 (CHOOSE_f64x): Likewise.
5322 2017-11-07 Andreas Schwab <schwab@suse.de>
5324 * nptl/Makefile (tests-internal): Remove tst-typesizes.
5326 2017-11-07 Mike FABIAN <mfabian@redhat.com>
5329 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
5331 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
5334 2017-11-07 Claude Paroz <claude@2xlibre.net>
5337 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
5339 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
5341 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
5344 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5347 * nptl/allocatestack.c (allocate_stack): Check if
5348 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
5349 __PTHREAD_MUTEX_HAVE_PREV is defined.
5350 * nptl/descr.h (pthread): Likewise.
5351 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5353 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
5354 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5355 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
5356 * sysdeps/nptl/bits/thread-shared-types.h
5357 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
5359 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
5360 of __WORDSIZE for internal layout.
5361 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
5362 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
5363 instead of __WORDSIZE whether to use an union for __spins and __list
5365 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
5367 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
5368 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
5370 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
5371 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
5373 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
5374 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
5376 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
5377 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
5379 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
5380 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
5382 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
5383 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
5385 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
5386 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
5388 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
5389 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
5391 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
5392 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
5394 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
5395 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
5397 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
5398 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
5400 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
5401 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
5403 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
5404 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
5406 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
5407 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
5409 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
5410 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
5413 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
5415 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
5416 checks for expected input type size.
5417 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
5418 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
5420 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
5421 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
5422 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
5423 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
5424 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
5425 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
5426 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
5427 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
5428 superflous runtime assert check.
5429 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
5431 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
5433 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
5435 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
5437 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
5439 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
5441 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
5442 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
5443 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
5445 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
5447 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
5449 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
5451 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
5453 * nptl/pthread_attr_setinheritsched.c
5454 (__pthread_attr_setinheritsched): Likewise.
5455 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
5457 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
5459 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
5460 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
5461 __old_pthread_attr_setstack): Likewise.
5462 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
5464 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
5466 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
5468 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
5469 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
5471 * nptl/tst-typesizes.c: Remove file.
5473 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
5474 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
5475 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
5476 checks for internal pthread_mutex_t offsets.
5477 * sysdeps/aarch64/nptl/pthread-offsets.h
5478 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
5479 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
5480 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
5481 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
5482 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
5483 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
5484 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
5485 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
5486 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
5487 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
5488 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
5489 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
5490 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
5491 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
5492 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
5493 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
5494 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
5495 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
5497 2017-11-07 Florian Weimer <fweimer@redhat.com>
5499 * bits/mman-linux.h: Move ...
5500 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
5502 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
5505 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5507 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
5508 Redefine STRNLEN as __strnlen_power8.
5510 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5512 * signal/sighold.c (sighold): Optimize implementation.
5514 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
5515 __NR_rt_sigqueueinfo.
5517 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
5519 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
5520 assume __NR_rt_sigtimedwait.
5521 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
5522 and add LIBC_CANCEL_HANDLED for cancellation marking.
5523 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5525 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
5526 (sysdeps_routines): Add memchr_noneon.
5527 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
5528 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
5529 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
5530 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
5531 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
5532 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
5533 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
5535 * sysdeps/arm/arm-ifunc.h: New file.
5536 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
5537 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
5538 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
5539 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
5540 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
5541 (__memcpy_neon): Avoid create hidden alias.
5542 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
5543 (__memcpy_vfp): Likewise.
5544 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
5545 (sysdep_routines): Add memcpy_arm.
5546 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
5548 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
5551 * Makerules (make-link-multidir): New.
5552 * config.make.in (multidir): New.
5553 * configure.ac (libc_cv_multidir): New. AC_SUBST.
5554 * configure: Regenerated.
5555 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
5556 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
5557 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
5560 2017-11-06 Joseph Myers <joseph@codesourcery.com>
5563 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
5564 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
5566 2017-11-04 Mike FABIAN <mfabian@redhat.com>
5568 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
5571 2017-11-04 Florian Weimer <fweimer@redhat.com>
5573 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
5575 2017-11-03 Joseph Myers <joseph@codesourcery.com>
5577 * math/math.h [__HAVE_DISTINCT_FLOAT16
5578 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
5579 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
5580 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
5581 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
5582 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
5583 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
5584 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
5585 (__MATH_TG_F32): New macro.
5586 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
5587 (__MATH_TG_F64X): Likewise.
5588 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
5589 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
5591 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
5593 * po/de.po: Update translations.
5594 * po/ru.po: Likewise.
5596 2017-11-03 Florian Weimer <fweimer@redhat.com>
5598 * manual/filesys.texi (Hard Links): Document linkat.
5600 2017-11-03 Joseph Myers <joseph@codesourcery.com>
5602 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
5603 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
5604 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
5605 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
5606 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
5607 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
5608 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
5609 the same as _Float128.
5610 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
5611 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
5612 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
5615 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
5617 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
5619 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
5621 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5622 (strtof32x): Likewise.
5623 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5624 (strtof64x): Likewise.
5625 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5626 (strtof128x): Likewise.
5627 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5628 (strfromf16): Likewise.
5629 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5630 (strfromf32): Likewise.
5631 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5632 (strfromf64): Likewise.
5633 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5634 (strfromf32x): Likewise.
5635 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5636 (strfromf64x): Likewise.
5637 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5638 (strfromf128x): Likewise.
5639 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
5640 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
5641 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
5642 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
5643 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
5644 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
5646 2017-11-03 Richard Henderson <rth@twiddle.net>
5648 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
5650 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5652 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
5654 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5656 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
5657 DT_TLSDESC_GOT initialization.
5658 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
5659 (_dl_tlsdesc_resolve_hold): Likewise.
5660 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
5661 (_dl_tlsdesc_resolve_hold): Likewise.
5662 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
5663 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
5665 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5667 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
5669 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5672 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
5673 non-lazily for R_ARM_TLS_DESC.
5675 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5678 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
5679 R_ARM_TLS_DESC case.
5680 (elf_machine_lazy_rel): Remove the prelink check.
5682 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5684 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
5685 DT_TLSDESC_GOT initialization.
5686 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
5687 (_dl_tlsdesc_resolve_rela): Likewise.
5688 (_dl_tlsdesc_resolve_hold): Likewise.
5689 (_dl_tlsdesc_undefweak): Remove ldar.
5690 (_dl_tlsdesc_dynamic): Likewise.
5691 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
5692 (_dl_tlsdesc_resolve_rela): Likewise.
5693 (_dl_tlsdesc_resolve_hold): Likewise.
5694 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
5695 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
5696 (_dl_tlsdesc_resolve_rela): Likewise.
5697 (_dl_tlsdesc_resolve_hold): Likewise.
5699 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5701 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
5702 binding and initialization non-lazily for R_AARCH64_TLSDESC.
5704 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5706 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
5707 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
5709 2017-11-02 Joseph Myers <joseph@codesourcery.com>
5711 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
5713 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
5714 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
5715 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
5716 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
5717 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
5718 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
5719 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
5720 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
5721 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
5722 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
5723 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
5725 2017-11-02 Mike FABIAN <mfabian@redhat.com>
5728 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
5729 * localedata/locales/tpi_PG: Add standard header.
5731 2017-11-02 Florian Weimer <fweimer@redhat.com>
5733 test-errno-linux: quotactl can fail with EPERM in containers.
5734 * sysdeps/unix/sysv/linux/test-errno-linux.c
5735 (LIST, LIST_FORWARD): New macros.
5736 (check_error_in_list): New function.
5737 (test_wrp_rv): Accept list of permitted error codes.
5738 (test_wrp_rv2): Remove.
5739 (test_wrp): Call test_wrp_rv with list of error codes.
5740 (test_wrp2): Accept list of error codes.
5741 (do_test): Adjust. Allow EPERM for quotactl.
5743 2017-11-02 Florian Weimer <fweimer@redhat.com>
5745 * stdio-common/bug16.c (do_test): Use array_length.
5746 * stdio-common/errlist.c (_sys_nerr): Likewise.
5747 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
5748 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
5749 * stdio-common/psiginfo.c (psiginfo): Use array_length.
5750 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
5751 (do_test): Use array_length.
5752 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
5753 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
5754 * stdio-common/tst-printf-round.c (do_test): Likewise.
5755 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
5756 (CHECK): Use array_length.
5757 * stdio-common/tstdiomisc.c (t3, F): Likewise.
5758 * stdio-common/tstscanf.c (main): Likewise.
5759 * stdio-common/vfprintf.c (process_string_arg): Likewise.
5761 2017-11-02 Florian Weimer <fweimer@redhat.com>
5763 Add array_length and array_end macros.
5764 * include/array_length.h: New file.
5766 2017-11-02 Florian Weimer <fweimer@redhat.com>
5769 * posix/tst-glob-tilde.c (do_noescape): New variable.
5770 (one_test): Process it.
5771 (do_test): Set do_noescape. Add unescaping test case.
5773 2017-11-01 Joseph Myers <joseph@codesourcery.com>
5776 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
5777 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
5778 with appropriate macros defined and undefined.
5779 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
5780 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
5781 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
5782 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
5783 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
5784 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
5785 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
5786 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
5787 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
5788 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
5791 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
5792 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
5793 that for long double. Do not condition define and undefine of
5794 _Mdouble_complex_ on [__CFLOAT128].
5796 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
5798 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
5799 of <sysdeps/generic/sysdep.h>.
5800 (ALIGNARG): Removed.
5801 (ASM_SIZE_DIRECTIVE): Likewise.
5804 (ENTRY_CHK): Likewise.
5805 (END_CHK): Likewise.
5806 (syscall_error): Likewise.
5808 (PSEUDO_END): Likewise.
5810 (atom_text_section): Likewise.
5811 * sysdeps/x86/sysdep.h: New file.
5812 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
5813 of <sysdeps/generic/sysdep.h>.
5814 (ALIGNARG): Removed.
5815 (ASM_SIZE_DIRECTIVE): Likewise.
5818 (ENTRY_CHK): Likewise.
5819 (END_CHK): Likewise.
5820 (syscall_error): Likewise.
5822 (PSEUDO_END): Likewise.
5824 (atom_text_section): Likewise.
5826 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
5828 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
5829 category of LC_CTYPE set to "i18n:2012".
5830 * localedata/locales/i18n_ctype: Regenerate.
5832 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
5834 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
5835 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
5836 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5837 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5839 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
5840 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
5841 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
5842 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
5844 2017-10-31 Joseph Myers <joseph@codesourcery.com>
5847 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
5849 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
5851 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
5853 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5854 (CMPLXF32X): Likewise.
5855 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5856 (CMPLXF64X): Likewise.
5857 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5858 (CMPLXF128X): Likewise.
5861 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
5862 (__MATH_EVAL_FMT2): Define to add 0.0f.
5864 2017-10-31 Alan Modra <amodra@gmail.com>
5866 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
5868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
5869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
5870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
5871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
5872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
5873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
5874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
5875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
5876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
5877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
5878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
5879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
5880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
5881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
5882 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
5883 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
5884 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
5885 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
5886 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
5887 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
5888 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
5889 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
5890 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
5891 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
5892 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5893 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
5894 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
5895 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
5896 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
5897 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
5898 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5899 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5900 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
5901 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
5902 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
5903 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
5904 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
5905 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
5906 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
5907 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5908 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
5909 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
5910 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
5911 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
5912 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
5913 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
5914 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
5915 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
5916 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
5917 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5918 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
5919 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
5920 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
5921 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
5922 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5923 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
5924 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
5925 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
5926 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
5927 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
5928 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5929 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
5930 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
5931 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5932 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
5933 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
5934 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
5935 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
5936 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
5938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
5939 include sysdep.h and math_ldbl_opt.h.
5941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
5942 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
5943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
5944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
5945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
5946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
5947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
5948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
5949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
5950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
5951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
5952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
5953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
5954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
5955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
5956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
5957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
5958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
5959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
5960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
5961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
5962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
5963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
5964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
5965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
5966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
5968 2017-10-31 Alan Modra <amodra@gmail.com>
5970 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
5971 string/strncase_l.c, not string/strncase.c.
5972 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
5973 (libc_hidden_def): Redefine.
5975 2017-10-31 Alan Modra <amodra@gmail.com>
5977 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
5978 (__STRCMP, STRCMP, __strcasecmp_l): Define.
5979 (__strcasecmp): Don't define.
5981 2017-10-31 Alan Modra <amodra@gmail.com>
5983 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
5985 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
5986 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
5987 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
5989 2017-10-31 Alan Modra <amodra@gmail.com>
5991 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
5994 2017-10-31 Alan Modra <amodra@gmail.com>
5996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
5997 Redefine only when SHARED.
5999 2017-10-30 Joseph Myers <joseph@codesourcery.com>
6001 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
6002 Include <bits/math-finite.h> with appropriate macros defined and
6004 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
6005 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
6006 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
6007 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
6008 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
6010 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
6011 [!_Mlong_double_] (_Mlong_double_): Likewise.
6012 [!_Mfloat16_] (_Mfloat16_): Likewise.
6013 [!_Mfloat32_] (_Mfloat32_): Likewise.
6014 [!_Mfloat64_] (_Mfloat64_): Likewise.
6015 [!_Mfloat128_] (_Mfloat128_): Likewise.
6016 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
6017 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
6018 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
6019 (_Mdouble_): Define without indirection through those macros.
6020 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
6021 [!_Mfloat128_] (_Mfloat128_): Likewise.
6022 [_Mlong_double_] (_Mlong_double_): Likewise.
6023 (_Mdouble_): Define without indirection through those macros.
6024 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
6025 not add -D_Mlong_double_=double.
6026 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
6027 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
6029 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
6031 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
6033 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
6035 * sysdeps/x86/libc-start.c: Reformat.
6037 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
6040 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
6044 (L(Src2)): Likewise.
6045 (L(1)): Renamed to ...
6048 2017-10-30 Joseph Myers <joseph@codesourcery.com>
6050 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
6051 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
6052 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
6053 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
6054 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
6055 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
6056 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
6057 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
6058 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
6059 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
6060 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
6061 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
6062 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
6063 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
6064 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
6065 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
6066 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
6067 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
6068 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
6069 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
6070 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
6071 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
6072 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
6073 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
6074 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
6075 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
6076 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
6077 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
6078 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
6079 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
6080 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
6081 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
6082 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
6083 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
6084 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
6085 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
6086 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
6087 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
6088 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
6089 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
6090 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
6091 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
6092 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
6093 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
6094 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
6095 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
6096 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
6097 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
6098 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
6099 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
6100 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
6101 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
6102 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
6103 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
6104 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
6105 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
6106 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
6107 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
6108 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
6109 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
6110 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
6111 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
6112 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
6113 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
6114 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
6115 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
6117 2017-10-30 Florian Weimer <fweimer@redhat.com>
6119 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
6121 * io/tst-mkdirat.c (do_test): Likewise.
6122 * io/tst-mkfifoat.c (do_test): Likewise.
6123 * io/tst-mknodat.c (do_test): Likewise.
6124 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
6125 * locale/programs/locale.c (select_dirs): Likewise.
6126 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
6127 * posix/bug-glob2.c (my_readdir): Likewise.
6128 * posix/tst-dir.c (main): Likewise.
6129 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
6130 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
6132 2017-10-30 Florian Weimer <fweimer@redhat.com>
6134 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
6137 2017-10-30 Florian Weimer <fweimer@redhat.com>
6139 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
6140 Convert to support/test-driver.c.
6141 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
6142 New macro parameters.
6143 (PRINTF): Remove macro. Use test_verbose conditionals instead.
6144 * posix/tst-gnuglob.c: New file.
6145 * posix/tst-gnuglob64.c: Likewise.
6146 * posix/Makefile (tests): Add tst-gnuglob64.
6148 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
6151 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
6152 and use a better translation for March in “mon”.
6153 * localedata/locales/csb_PL: Use more ASCII to improve the
6154 readability of the source.
6156 2017-10-30 Mike FABIAN <mfabian@redhat.com>
6159 * localedata/locales/km_KH: Use ASCII as much
6160 as possible for better readability of the source and
6161 remove useless comments.
6162 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
6163 was commented out and apparently wrong anyway because it was
6164 using Lao characters. If Buddhist era should be used
6165 for km_KH, a native speaker should write the correct formaat
6167 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
6168 (According to CLDR, the first weekday for Cambodia is Sunday).
6169 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
6170 (These were using Lao characters which must be wrong. If we get
6171 the correct data from a native speaker, we could add it back, until
6172 then it is better not to have name_mr and name_mrs at all than
6175 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
6177 * locale/loadlocale.c: Correct size of
6178 _nl_value_type_LC_<category> arrays.
6180 2017-10-27 Joseph Myers <joseph@codesourcery.com>
6182 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
6183 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
6184 with appropriate macros defined and undefined.
6185 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
6186 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
6187 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
6188 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
6189 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
6191 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
6193 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
6196 2017-10-27 Mike FABIAN <mfabian@redhat.com>
6198 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
6199 with lowercase letters to make it agree with CLDR.
6201 2017-10-27 Mike FABIAN <mfabian@redhat.com>
6204 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
6205 first letters of yesstr and nostr in yesexpr and noexpr,
6206 not for the full words.
6207 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
6208 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
6209 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
6210 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
6211 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
6212 first letters of yesstr and nostr in yesexpr and noexpr,
6213 until now only English was matched in yesexpr and noexpr.
6214 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
6215 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
6216 fil but not for tl. As tl and fil are very similar, using fil
6217 is probably better than using English.
6219 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
6222 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
6223 in yesstr and nostr.
6225 2017-10-26 Joseph Myers <joseph@codesourcery.com>
6227 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
6228 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
6229 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
6231 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
6233 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
6235 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
6237 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6238 (SNANF128X): Likewise.
6240 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
6241 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
6242 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6243 (HUGE_VAL_F32): Likewise.
6244 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6245 (HUGE_VAL_F64): Likewise.
6246 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6247 (HUGE_VAL_F32X): Likewise.
6248 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6249 (HUGE_VAL_F64X): Likewise.
6250 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6251 (HUGE_VAL_F128X): Likewise.
6253 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
6255 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
6256 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
6257 for the br_FR locale.
6259 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
6262 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
6264 2017-10-25 Carlos O'Donell <carlos@redhat.com>
6266 * locale/programs/record-status.h: Define globals, and function
6267 prototypes. Move function bodies...
6268 * locale/programs/record-status.c: ... to here. New file.
6269 * iconv/Makefile (iconv_prog-modules): Add record-status.
6270 * locale/Makefile (lib-modules): Likewise.
6271 * iconv/iconv_prog.c: Remove verbose.
6272 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
6273 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
6274 record a warning about ASCII compatibility.
6275 * locale/programs/ld-monetary.c (monetary_finish): If
6276 warn_int_curr_symbol is true then record a warning about the symbol
6277 not being in our ISO 4217 list.
6278 * locale/programs/locale.c: Include record-status.h. Remove verbose.
6279 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
6280 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
6281 (OPT_NO_WARN): Define.
6283 (options): Add entry for --no-warnings, and --warnings.
6284 (set_warnings): New function to enable/disable warnings.
6285 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
6286 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
6287 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
6288 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
6289 Pass flags to generate_locale.
6290 (generate_locale): Accept new flag argument and pass it to localedef
6292 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
6293 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
6295 * localedata/Makefile (test-input-data): Use full file name.
6296 * localedata/da_DK.in: Rename to...
6297 * localedata/da_DK.ISO-8859-1.in: ...this.
6298 * localedata/de_DE.in: Rename to...
6299 * localedata/de_DE.ISO-8859-1.in: ...this.
6300 * localedata/en_US.in: Rename to...
6301 * localedata/en_US.ISO-8859-1.in: ...this.
6302 * localedata/fr_FR.in: Rename to...
6303 * localedata/fr_FR.UTF-8.in: ... this.
6304 * localedata/hr_HR.in: Rename to...
6305 * localedata/hr_HR.ISO-8859-2.in: ...this.
6306 * localedata/hu_HU.in: Rename to...
6307 * localedata/hu_HU.UTF-8.in: ...this.
6308 * localedata/si_LK.in: Rename to...
6309 * localedata/si_LK.UTF-8.in: ...this.
6310 * localedata/sv_SE.in: Rename to...
6311 * localedata/sv_SE.ISO-8859-1.in: ...this.
6312 * localedata/tr_TR.in: Rename to...
6313 * localedata/tr_TR.UTF-8.in: ...this.
6314 * localedata/uk_UA.in: Rename to...
6315 * localedata/uk_UA.UTF-8.in: ...this.
6316 * localedata/sort-test.sh: Test file is locale name with the
6319 * localedata/unicode-gen/Makefile (check_i18n): Rename to
6320 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
6322 * localedata/locales/i18n_ctype: Regenerate.
6323 * localedata/locales/tr_TR: Likewise.
6324 * localedata/locales/translit_circle: Likewise.
6325 * localedata/locales/translit_cjk_compat: Likewise.
6326 * localedata/locales/translit_combining: Likewise.
6327 * localedata/locales/translit_compat: Likewise.
6328 * localedata/locales/translit_font: Likewise.
6329 * localedata/locales/translit_fraction: Likewise.
6331 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6333 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
6334 lxvd2x/stxvd2x with lvx/stvx.
6335 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
6337 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
6339 * include/alloc_buffer.h: Replace "if if " with "if " in
6341 * sysdeps/mips/memcpy.S: Likkewise.
6342 * sysdeps/mips/memset.S: Likewise.
6343 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
6345 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
6347 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
6350 2017-10-25 Mike FABIAN <mfabian@redhat.com>
6353 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
6355 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
6356 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
6357 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
6358 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
6359 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
6360 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
6361 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
6363 2017-10-25 Mike FABIAN <mfabian@redhat.com>
6365 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
6366 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
6367 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
6368 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
6369 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
6370 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
6371 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
6372 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
6373 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
6374 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
6375 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
6376 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
6378 2017-10-25 Mike FABIAN <mfabian@redhat.com>
6380 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
6381 as possible for better readability of the source.
6382 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
6383 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
6384 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
6385 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
6386 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
6387 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
6388 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
6389 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
6390 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
6391 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
6392 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
6393 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
6394 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
6395 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
6396 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
6397 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
6398 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
6399 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
6400 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
6401 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
6402 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
6403 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
6404 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
6405 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
6406 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
6407 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
6408 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
6409 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
6410 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
6411 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
6412 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
6413 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
6414 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
6415 * localedata/locales/en_US (LC_MESSAGES): Likewise.
6416 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
6417 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
6418 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
6419 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
6420 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
6421 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
6422 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
6423 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
6424 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
6425 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
6426 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
6427 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
6428 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
6429 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
6430 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
6431 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
6432 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
6433 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
6434 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
6435 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
6436 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
6437 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
6438 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
6439 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
6440 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
6441 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
6442 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
6443 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
6444 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
6445 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
6446 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
6447 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
6448 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
6449 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
6450 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
6451 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
6452 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
6453 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
6454 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
6455 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
6456 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
6457 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
6458 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
6459 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
6460 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
6461 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
6462 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
6463 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
6464 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
6465 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
6466 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
6467 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
6468 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
6469 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
6470 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
6471 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
6472 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
6473 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
6474 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
6475 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
6476 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
6477 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
6478 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
6479 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
6480 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
6481 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
6482 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
6483 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
6484 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
6485 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
6486 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
6487 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
6488 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
6489 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
6490 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
6491 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
6492 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
6493 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
6494 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
6495 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
6496 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
6497 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
6498 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
6499 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
6500 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
6501 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
6502 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
6503 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
6504 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
6505 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
6506 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
6507 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
6508 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
6509 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
6510 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
6511 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
6512 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
6513 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
6514 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
6515 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
6516 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
6517 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
6518 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
6519 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
6520 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
6521 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
6522 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
6523 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
6524 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
6525 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
6526 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
6527 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
6528 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
6529 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
6530 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
6531 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
6532 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
6533 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
6534 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
6535 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
6536 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
6537 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
6538 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
6539 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
6540 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
6541 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
6542 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
6543 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
6544 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
6545 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
6546 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
6547 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
6548 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
6549 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
6550 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
6551 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
6552 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
6553 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
6554 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
6555 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
6557 2017-10-25 Mike FABIAN <mfabian@redhat.com>
6559 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
6560 (Use first letters of yesstr and nostr correctly instead of using
6563 2017-10-25 Mike FABIAN <mfabian@redhat.com>
6565 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
6566 (Use first letters of yesstr and nostr correctly).
6568 2017-10-25 Mike FABIAN <mfabian@redhat.com>
6570 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
6571 also check for the first characters of yesstr and nostr.
6572 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
6573 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
6575 2017-10-25 Mike FABIAN <mfabian@redhat.com>
6577 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
6578 also check for Chinese characters.
6580 2017-10-25 Mike FABIAN <mfabian@redhat.com>
6582 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
6583 match also for the contents of yesstr and nostr. As the first letter
6584 of yesstr and nostr is equal, checking only for the first letter
6587 2017-10-25 Mike FABIAN <mfabian@redhat.com>
6589 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
6590 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
6592 2017-10-25 Mike FABIAN <mfabian@redhat.com>
6594 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
6595 of main contributor.
6597 2017-10-25 Mike FABIAN <mfabian@redhat.com>
6599 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
6600 instead of using English.
6602 2017-10-25 Mike FABIAN <mfabian@redhat.com>
6604 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
6605 by including the first letters of nostr and yesexpr in the regexp.
6606 Also make it more readable by using ASCII where possible.
6608 2017-10-25 Mike FABIAN <mfabian@redhat.com>
6610 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
6611 the first letter of nostr in the regexp. It agrees with CLDR now.
6612 Also make it more readable by using ASCII where possible.
6614 2017-10-24 Mike FABIAN <mfabian@redhat.com>
6616 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
6617 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
6618 these strings contain a U+17D6 (which somewhat looks like a colon)
6619 instead of a real colon to separate the full words for “yes”
6620 and “no” from the single letter responses.
6622 2017-10-24 Mike FABIAN <mfabian@redhat.com>
6624 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
6625 it agree with CLDR (include the first letter of yesstr).
6626 Also make it more readable by using ASCII where possible.
6628 2017-10-24 Mike FABIAN <mfabian@redhat.com>
6630 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
6631 and improve yesexpr and noexpr. The yesstr and nostr apparently
6632 came from CLDR. And CLDR has a bug there: these strings contain
6633 a U+0903 (which looks like a colon) instead of a real colon
6634 to separate the full words for “yes” and “no” from the single
6637 2017-10-24 Mike FABIAN <mfabian@redhat.com>
6639 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
6640 letters of the full yesstr and nostr in yesexpr and noexpr.
6642 2017-10-24 Mike FABIAN <mfabian@redhat.com>
6644 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
6645 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
6646 * localedata/locales/an_ES: Make source more readable by using ASCII
6649 2017-10-24 Mike FABIAN <mfabian@redhat.com>
6652 * localedata/locales/yuw_PG: New file.
6653 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
6654 * locale/iso-639.def: Add Yau (Uruwa).
6656 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6658 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
6660 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6662 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
6663 (__libc_realloc): Likewise.
6664 (_mid_memalign): Likewise.
6665 (__libc_calloc): Likewise.
6667 2017-10-23 Mike FABIAN <mfabian@redhat.com>
6669 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
6670 by adding the generic +1 and -0 as in all other locales.
6671 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
6672 day names and make it more readable by using ASCII where possible.
6674 2017-10-24 Joseph Myers <joseph@codesourcery.com>
6676 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
6677 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
6679 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6681 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
6682 WNOHANG in waitpid call.
6684 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
6686 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
6687 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
6689 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
6690 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
6691 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
6692 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
6693 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
6694 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
6695 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
6696 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
6699 2017-10-23 Michael Collison <michael.collison@arm.com>
6701 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
6702 with __builtin_sqrt.
6703 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
6704 with __builtin_sqrtf.
6705 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
6706 with __builtin_ceil.
6707 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
6708 with __builtin_ceilf.
6709 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
6710 with __builtin_floor.
6711 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
6712 with __builtin_floorf.
6713 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
6715 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
6716 with __builtin_fmaf.
6717 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
6718 with __builtin_fmax.
6719 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
6720 with __builtin_fmaxf.
6721 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
6722 with __builtin_fmin.
6723 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
6724 with __builtin_fminf.
6725 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
6726 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
6727 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
6728 with builtin_rint and conversion to int.
6729 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
6730 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
6731 with builtin_llround.
6732 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
6733 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
6734 with builtin_rint and conversion to long int.
6735 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
6736 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
6737 with builtin_lround.
6738 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
6739 with builtin_lroundf.
6740 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
6741 statements with __builtin_nearbyint.
6742 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
6743 statements with __builtin_nearbyintf.
6744 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
6745 with __builtin_rint.
6746 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
6747 with __builtin_rintf.
6748 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
6749 with __builtin_round.
6750 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
6751 with __builtin_roundf.
6752 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
6753 with __builtin_trunc.
6754 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
6755 with __builtin_truncf.
6756 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
6757 and s_l[l]round[f].c too.
6759 2017-10-23 Alan Modra <amodra@gmail.com>
6761 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
6762 Adjust stack after restoring regs. Add missing LR cfi_restore.
6764 2017-10-23 Alan Modra <amodra@gmail.com>
6766 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
6767 Move LR save and frame setup/teardown and LR restore to
6768 immediately around memset call. Provide cfi.
6770 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6772 * sysdeps/i386/fpu/e_powf.S: Removed.
6773 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
6774 * sysdeps/i386/fpu/w_powf.c: Likewise.
6775 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
6776 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6777 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
6779 (CFLAGS-e_powf-sse2.c): New.
6780 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
6781 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
6783 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6785 * sysdeps/i386/fpu/e_log2f.S: Removed.
6786 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
6787 * sysdeps/i386/fpu/w_log2f.c: Likewise.
6788 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
6789 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6790 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
6792 (CFLAGS-e_log2f-sse2.c): New.
6793 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
6794 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
6796 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6798 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6800 (CFLAGS-e_powf-fma.c): New.
6801 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
6802 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
6804 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6806 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6808 (CFLAGS-e_log2f-fma.c): New.
6809 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
6810 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
6812 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6814 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6816 (CFLAGS-e_logf-fma.c): New.
6817 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
6818 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
6820 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6822 * sysdeps/i386/fpu/e_logf.S: Removed.
6823 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
6824 * sysdeps/i386/fpu/w_logf.c: Likewise.
6825 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
6826 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
6827 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6828 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
6830 (CFLAGS-e_logf-sse2.c): New.
6831 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
6832 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
6834 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6836 * sysdeps/i386/fpu/e_exp2f.S: Removed.
6837 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
6838 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
6839 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6840 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
6842 (CFLAGS-e_exp2f-sse2.c): New.
6843 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
6844 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
6846 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6848 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6850 (CFLAGS-e_exp2f-fma.c): New.
6851 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
6852 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
6854 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6856 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
6857 * sysdeps/i386/fpu/e_expf.S: Likewise.
6858 * sysdeps/i386/fpu/math_errf.c: Likewise.
6859 * sysdeps/i386/fpu/w_expf.c: Likewise.
6860 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
6861 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6862 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
6863 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
6864 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6865 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
6867 (CFLAGS-e_expf-sse2.c): New.
6868 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
6869 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
6871 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6873 * sysdeps/x86_64/fpu/e_expf.S: Removed.
6874 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
6875 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
6876 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
6878 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
6880 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
6881 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
6883 (__redirect_expf): This.
6884 (SYMBOL_NAME): Changed to expf.
6885 (__ieee754_expf): Renamed to ...
6887 (__GI___expf): This.
6888 (__ieee754_expf): Add strong_alias.
6889 (__expf_finite): Likewise.
6891 Include <sysdeps/ieee754/flt-32/e_expf.c>.
6893 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
6896 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
6899 2017-10-21 Florian Weimer <fweimer@redhat.com>
6901 * posix/Makefile (tests): Add tst-glob-tilde.
6902 (tests-special): Add tst-glob-tilde-mem.out
6903 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
6904 (tst-glob-tilde-mem.out): Add mtrace check.
6905 * posix/tst-glob-tilde.c: New file.
6907 2017-10-20 Joseph Myers <joseph@codesourcery.com>
6909 * bits/floatn-common.h: New file.
6910 * math/Makefile (headers): Add bits/floatn-common.h.
6911 * bits/floatn.h: Include <bits/floatn-common.h>.
6912 * sysdeps/ia64/bits/floatn.h: Likewise.
6913 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
6914 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
6915 * sysdeps/powerpc/bits/floatn.h: Likewise.
6916 * sysdeps/x86/bits/floatn.h: Likewise.
6918 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6920 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
6921 indicates whether compiler emits an warning for alias for
6922 functions with incompatible types.
6925 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
6926 the auxiliary process is terminated by a signal before calling _exit
6929 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
6932 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
6934 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
6935 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
6936 and bit_arch_XSAVEC_Usable if needed.
6937 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
6938 and bit_arch_Use_dl_runtime_resolve_opt.
6939 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
6941 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
6942 (bit_arch_Prefer_No_AVX512): Updated.
6943 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
6944 (bit_arch_XSAVEC_Usable): New.
6945 (STATE_SAVE_OFFSET): Likewise.
6946 (STATE_SAVE_MASK): Likewise.
6947 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
6948 (cpu_features): Add xsave_state_size and xsave_state_full_size.
6949 (index_arch_Use_dl_runtime_resolve_opt): Removed.
6950 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
6951 (index_arch_XSAVEC_Usable): New.
6952 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
6953 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
6954 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
6956 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
6957 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
6958 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
6959 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
6960 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
6961 _dl_runtime_resolve_xsavec.
6962 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
6964 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
6965 instead of VEC_SIZE.
6966 (REGISTER_SAVE_BND0): Removed.
6967 (REGISTER_SAVE_BND1): Likewise.
6968 (REGISTER_SAVE_BND3): Likewise.
6969 (REGISTER_SAVE_RAX): Always defined to 0.
6971 (_dl_runtime_resolve_avx): Likewise.
6972 (_dl_runtime_resolve_avx_slow): Likewise.
6973 (_dl_runtime_resolve_avx_opt): Likewise.
6974 (_dl_runtime_resolve_avx512): Likewise.
6975 (_dl_runtime_resolve_avx512_opt): Likewise.
6976 (_dl_runtime_resolve_sse): Likewise.
6977 (_dl_runtime_resolve_sse_vex): Likewise.
6979 (_dl_runtime_resolve_fxsave): Likewise.
6980 (USE_XSAVE): Likewise.
6981 (_dl_runtime_resolve_xsave): Likewise.
6982 (USE_XSAVEC): Likewise.
6983 (_dl_runtime_resolve_xsavec): Likewise.
6984 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
6986 (_dl_runtime_resolve_avx512_opt): Likewise.
6987 (_dl_runtime_resolve_avx): Likewise.
6988 (_dl_runtime_resolve_avx_opt): Likewise.
6989 (_dl_runtime_resolve_sse): Likewise.
6990 (_dl_runtime_resolve_sse_vex): Likewise.
6991 (_dl_runtime_resolve_fxsave): New.
6992 (_dl_runtime_resolve_xsave): Likewise.
6993 (_dl_runtime_resolve_xsavec): Likewise.
6995 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
6999 * posix/glob.c (__glob): Fix one-byte overflow.
7001 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
7003 * malloc/malloc.c (sysdep-cancel.h): Add include.
7005 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
7007 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
7009 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
7011 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
7012 (tests): Remove $(objpfx)ga_test depdendency.
7013 * resolv/ga_test.c: Remove file.
7015 2017-10-20 Mike FABIAN <mfabian@redhat.com>
7018 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
7019 * localedata/locales/kab_DZ: New file.
7021 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
7023 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
7024 _dl_relocate_static_pie instead of _dl_start to compute load
7025 address in static PIE.
7027 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
7029 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
7031 2017-10-20 Mike FABIAN <mfabian@redhat.com>
7034 * localedata/SUPPORTED: Add shn_MM/UTF-8.
7035 * localedata/locales/shn_MM: New file.
7037 2017-10-20 Florian Weimer <fweimer@redhat.com>
7040 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
7041 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
7042 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
7043 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
7044 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
7045 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
7047 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
7049 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7051 2017-10-19 Joseph Myers <joseph@codesourcery.com>
7053 * sysdeps/mips/ieee754/bits/floatn.h: New file.
7056 * sysdeps/mips/bits/long-double.h: Move to ....
7057 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
7059 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
7061 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
7063 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
7064 H.J. Lu <hongjiu.lu@intel.com>
7067 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
7068 GLRO(dl_platform) to NULL.
7069 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
7070 (modules-names): Add tst-platformmod-1 and
7071 x86_64/tst-platformmod-2.
7072 (CFLAGS-tst-platform-1.c): New.
7073 (CFLAGS-tst-platformmod-1.c): Likewise.
7074 (CFLAGS-tst-platformmod-2.c): Likewise.
7075 (LDFLAGS-tst-platformmod-2.so): Likewise.
7076 ($(objpfx)tst-platform-1): Likewise.
7077 ($(objpfx)tst-platform-1.out): Likewise.
7078 (tst-platform-1-ENV): Likewise.
7079 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
7080 * sysdeps/x86_64/tst-platform-1.c: New file.
7081 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
7082 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
7084 2017-10-19 Mike FABIAN <mfabian@redhat.com>
7087 * locale/iso-639.def: Add Karbi.
7088 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
7089 * localedata/locales/mjw_IN: New file.
7091 2017-10-18 Joseph Myers <joseph@codesourcery.com>
7093 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
7094 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
7095 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
7096 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
7097 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
7098 (libm_alias_ldouble_other_r): Also create _Float128 alias.
7099 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
7101 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
7102 (libm_alias_ldouble_other_r): Also create _Float128 alias.
7103 * manual/math.texi (Mathematics): Document additional architecture
7104 support for _Float128.
7105 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
7106 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7107 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7108 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7109 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7110 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7111 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7112 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7113 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7114 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7115 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7116 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7117 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7118 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7119 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7121 2017-10-18 Renlin Li <renlin.li@arm.com>
7123 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
7124 _DYNAMIC symbol to calculate load address.
7126 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
7128 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
7129 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
7131 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
7132 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
7134 2017-10-18 Mike FABIAN <mfabian@redhat.com>
7137 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
7138 and improve readability by using more ASCII.
7139 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
7140 and improve readability by using more ASCII.
7142 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
7144 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
7145 not all targets support atomics on bool.
7147 2017-10-17 Joseph Myers <joseph@codesourcery.com>
7149 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
7150 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
7152 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
7153 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
7154 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
7155 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
7156 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
7157 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
7159 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7161 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
7164 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
7167 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
7168 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
7169 (do_check_remalloced_chunk): Fix build bug.
7170 (do_check_malloc_state): Add assert that checks arena->top.
7171 (malloc_consolidate): Remove initialization.
7172 (int_mallinfo): Remove call to malloc_consolidate.
7173 (__libc_mallopt): Clarify why malloc_consolidate is needed.
7175 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
7177 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
7178 (have_fastchunks): Remove.
7179 (clear_fastchunks): Remove.
7180 (set_fastchunks): Remove.
7181 (malloc_state): Add have_fastchunks.
7182 (malloc_init_state): Use have_fastchunks.
7183 (do_check_malloc_state): Remove incorrect invariant checks.
7184 (_int_malloc): Use have_fastchunks.
7185 (_int_free): Likewise.
7186 (malloc_consolidate): Likewise.
7188 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
7190 * malloc/malloc.c (tcache_put): Inline.
7191 (tcache_get): Inline.
7193 2017-10-17 Jordi Mallach <jordi@gnu.org>
7195 Aurelien Jarno <aurelien@aurel32.net>
7197 * localedata/locales/ca_ES@valencia: New file.
7198 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
7200 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
7203 * math/math.h: Let signbit use the builtin in C++ mode with gcc
7206 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7208 * scripts/build-many-glibcs.py (Context.add_all_configs):
7209 Add arm-linux-gnueabihf multiarch extra_glibcs.
7211 * sysdeps/generic/ifunc-init.h: New file.
7212 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
7214 2017-10-17 Mike FABIAN <mfabian@redhat.com>
7217 * localedata/locales/el_GR: Set n_cs_precedes to 0.
7218 * localedata/locales/el_CY: copy "el_GR" because it is identical.
7219 * stdlib/tst-strfmon_l.c: adapt test case.
7221 2017-10-16 Joseph Myers <joseph@codesourcery.com>
7223 * sysdeps/generic/float128-abi.h: New file.
7224 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
7225 non-__prefixed symbols to ....
7226 * math/Versions: ... here. Include <float128-abi.h>.
7227 * stdlib/Versions ... and here. Include <float128-abi.h>
7229 2017-10-16 Florian Weimer <fweimer@redhat.com>
7231 * version.h (VERSION): Switch to ".9000" as the development
7234 2017-10-16 Florian Weimer <fweimer@redhat.com>
7237 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
7238 compat_symbol_reference to access non-default version.
7240 2017-10-16 Florian Weimer <fweimer@redhat.com>
7242 * malloc/Makefile (others-extras): Set to mcheck-init.o.
7244 2017-10-16 Carlos O'Donell <carlos@redhat.com>
7246 * include/shlib-compat.h (compat_symbol_reference): Update
7249 2017-10-16 Joseph Myers <joseph@codesourcery.com>
7251 * math/Makefile (test-types): Add
7252 $(type-float128-$(float128-alias-fcts)).
7253 * math/test-float128.h (TYPE_STR): Define conditional on
7254 [FLT128_MANT_DIG == LDBL_MANT_DIG].
7255 (ULP_IDX): Likewise.
7256 (ULP_I_IDX): Likewise.
7258 * stdlib/strtold.c: Include <bits/floatn.h>
7259 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
7260 and later undefine as macro. Define as weak alias if
7262 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
7263 and later undefine as macro. Define as weak alias if
7265 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
7266 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
7267 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
7268 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
7269 Define and later undefine as macro. Define as weak alias if
7271 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
7273 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
7274 Define and later undefine as macro. Define as weak alias if
7276 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
7277 Define and later undefine as macro. Define as weak alias if
7280 2017-10-15 Carlos O'Donell <carlos@redhat.com>
7282 * localedata/collate-test.c (allocate_arrays): Don't use \n in
7283 record_verbose messages.
7285 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
7288 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
7289 to silence -O3 -Wall warning with GCC 7.
7291 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
7293 * Makeconfig (+link-static-before-libc): Use the first of
7294 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
7295 * gmon/Makefile (tests): Add tst-gmon-static.
7296 (tests-static): Likewise.
7297 (CFLAGS-tst-gmon-static.c): New.
7298 (CRT-tst-gmon-static): Likewise.
7299 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
7300 (tst-gmon-static-ENV): Likewise.
7301 (tests-special): Likewise.
7302 ($(objpfx)tst-gmon-static.out): Likewise.
7303 (clean-tst-gmon-static-data): Likewise.
7304 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
7305 * gmon/tst-gmon-static-gprof.sh: New file.
7306 * gmon/tst-gmon-static.c: Likewise.
7308 2017-10-13 Carlos O'Donell <carlos@redhat.com>
7311 * locale/programs/linereader.c (get_string): Don't warn on
7312 non-symbolic character.
7315 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
7319 * locale/programs/record-status.h: New file
7320 * locale/programs/locale.c: Add comment.
7321 * locale/programs/charmap-dir.c: Don't include error.h.
7322 (charmap_opendir): Use record_error.
7323 * locale/programs/charmap.c: Don't include error.h.
7324 (charmap_read): Use record_error, and record_warning.
7325 (parse_charmap): Likewise.
7326 * locale/programs/ld-address.c: Don't include error.h.
7327 (address_finish): Use record_error, and record_warning.
7328 * locale/programs/ld-collate.c: Don't include error.h.
7329 (collate_finish): Use record_error, and record_error_at_line.
7330 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
7331 (ctype_class_new): Likewise.
7332 (ctype_map_new): Likewise.
7333 (set_one_default): Likewise.
7334 (set_class_defaults): Likewise.
7335 (translit_flatten): Likewise.
7336 (allocate_arrays): Use record_error, and record_verbose.
7337 * locale/programs/ld-identification.c: Don't include error.h.
7338 (indentation_finish): Use record_error and record_warning.
7339 * locale/programs/ld-measurement.c: Don't include error.h.
7340 (measurement_finish): Use record_error.
7341 * locale/programs/ld-messages.c
7342 (message_finish): Likewise.
7343 * locale/programs/ld-monetary.c
7344 (monetary_finish): Likewise.
7345 * locale/programs/ld-name.c (name_finish): Use record_error
7347 * locale/programs/ld-numeric.c
7348 (numeric_finish): Use record_error.
7349 * locale/programs/ld-paper.c: Don't include error.h.
7350 (paper_finish): Use record_error.
7351 * locale/programs/ld-telephone.c: Don't include error.h.
7352 (telephone_finish): Use record_error.
7353 * locale/programs/ld-time.c (time_finish): Likewise.
7354 * locale/programs/linereader.h (lr_error): Make inline func.
7355 * locale/programs/localedef.c: Define recorded_warning_count,
7356 and recorded_error_count.
7357 (main): Use record_error. Use recorded_error_count and
7358 recorded_warning_count to issue correct error returns.
7359 (add_to_readlist): Use record_error.
7360 (find_locale): Likewise.
7361 (load_locale): Likewise.
7362 * locale/programs/localedef.h: Remove be_quiet
7363 and WITH_CUR_LOCALE.
7364 * locale/programs/locarchive.c (compare_from_file): Use
7366 * locale/programs/locfile.c (write_locale_data): Use
7368 * locale/programs/repertoire.c: Dont include error.h.
7369 (repertoire_complain): Use record_error.
7370 * localedata/tst-fmon.sh: Expect failures from localedef.
7371 * localedata/tst-locale.sh: Likewise.
7372 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
7374 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
7375 (REPORTS): Likewise.
7377 (i18n): Rename to...
7378 (i18n_ctype): ...this.
7379 (i18n-report): Rename to...
7380 (i18n_ctype-report): ...this.
7381 * localedata/locales/i18n_ctype: Regenerate.
7382 * localedata/locales/i18n: copy i18n_ctype.
7384 2017-10-13 Joseph Myers <joseph@codesourcery.com>
7386 * stdlib/strfroml.c: Include <bits/floatn.h>.
7387 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
7388 Define before include of <stdlib.h> and undefine afterwards, then
7389 define as weak alias.
7391 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
7392 Undefine and restore default definition. Use
7393 libm_alias_ldouble_other.
7395 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
7398 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
7401 2017-10-13 James Clarke <jrtc27@jrtc27.com>
7403 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7404 Assign sym_map to be map for local symbols, as TLS relocations
7405 use sym_map to determine whether the symbol is defined and to
7406 extract the TLS information.
7407 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7408 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7410 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7413 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
7414 (math_force_eval): Add powerpc version.
7417 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
7419 (do_test): Likewise.
7420 * stdio-common/tst-printf.sh: Likewise.
7421 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
7422 ifdef clause in order to set the carry bit right. Replace r0 by
7423 0 without changing the behavior.
7425 2017-10-13 Joseph Myers <joseph@codesourcery.com>
7427 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
7428 <libm-alias-ldouble.h>.
7429 (fabsl): Define using libm_alias_ldouble.
7430 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
7431 <libm-alias-ldouble.h>.
7432 (fabsl): Define using libm_alias_ldouble.
7434 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
7435 Remove conditional code.
7437 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
7438 Rename to __clog10_internal_l.
7439 (__clog10_internal_l): Define aliases using
7440 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
7443 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7445 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
7446 * benchtests/sincosf-inputs: New file.
7447 * benchtests/cosf-inputs: New file.
7448 * benchtests/sinf-inputs: New file.
7450 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7452 * posix/tst-spawn.c (do_test): Wait for both children.
7454 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
7457 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
7458 tests-pie): Add tst-gmon-pie.
7459 (CFLAGS-tst-gmon-pie.c): New.
7460 (CRT-tst-gmon-pie): Likewise.
7461 (tst-gmon-pie-ENV): Likewise.
7462 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
7463 ($(objpfx)tst-gmon-pie.out): Likewise.
7464 (clean-tst-gmon-pie-data): Likewise.
7465 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
7466 * gmon/gmon.c [PIC]: Include <link.h>.
7467 [PIC] (callback): New function.
7468 (write_hist): Add an argument for load address. Subtract load
7470 (write_call_graph): Likewise.
7471 (write_gmon): Call __dl_iterate_phdr to get load address, pass
7472 it to write_hist and write_call_graph.
7473 * gmon/tst-gmon-pie.c: New file.
7475 2017-10-11 Joseph Myers <joseph@codesourcery.com>
7477 * math/Makefile (test-types-basic): New variable.
7478 (test-types): Likewise.
7479 (libm-test-support): Use $(test-types) instead of $(types).
7480 (libm-tests-base-normal): Likewise.
7481 (libm-tests-base-finite): Likewise.
7482 (libm-tests-base-inline): Likewise.
7483 (generated): Likewise.
7484 ($(objpfx)libm-test-support-$(t).c): Likewise.
7485 (libm-tests-for-type iterator): Likewise.
7486 (libm-test-support iterator): Likewise.
7487 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
7488 (ulp_idx): Use ULP_IDX.
7489 * math/test-ldouble.h: Include <float.h>.
7490 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
7491 (ULP_IDX): New macro.
7492 (ULP_I_IDX): Likewise.
7493 * math/test-double.h (ULP_IDX): Likewise.
7494 (ULP_I_IDX): Likewise.
7495 * math/test-float.h (ULP_IDX): Likewise.
7496 (ULP_I_IDX): Likewise.
7497 * math/test-float128.h (ULP_IDX): Likewise.
7498 (ULP_I_IDX): Likewise.
7500 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7502 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
7503 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7504 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7505 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
7506 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7507 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
7508 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
7509 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7510 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7511 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7512 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
7513 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7514 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7515 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7516 (SINGLE_THREAD_BY_GLOBAL): Define.
7517 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
7519 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
7521 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
7523 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
7525 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
7526 (SINGLE_THREAD_BY_GLOBAL): Likewise.
7527 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
7530 2017-10-11 Andreas Schwab <schwab@suse.de>
7532 * nis/Makefile (aux): Remove.
7533 * nscd/Makefile (aux): Add nscd_hash.
7534 (nscd-modules): Likewise.
7535 ($(objpfx)nscd): Don't depend on libnsl.
7536 * nscd/nscd_hash.c: New file.
7537 * nscd/nscd_hash.h: Likewise.
7538 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
7539 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
7540 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
7541 instead of <nis/rpcsvc/nis.h>.
7542 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
7544 2017-10-11 Florian Weimer <fweimer@redhat.com>
7547 Avoid large NSS buffers with many addresses, aliases.
7548 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
7549 using dynarrays and struct alloc_buffer.
7550 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
7551 (tst-nss-files-hosts-multi): Link with -ldl.
7552 * nss/tst-nss-files-hosts-multi.c: New file.
7554 2017-10-11 Florian Weimer <fweimer@redhat.com>
7557 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
7558 scratch_buffer. Eliminate gotos.
7560 2017-10-11 Joseph Myers <joseph@codesourcery.com>
7562 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
7563 libm_alias_ldouble_other.
7564 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
7565 undefine and redefine.
7566 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
7567 (exp10l): Do not define here.
7568 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
7569 (weak_alias): Undefine and redefine.
7570 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
7571 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
7572 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
7573 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
7575 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
7576 [!__fma] (fma): Define using libm_alias_double.
7577 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
7578 [!__fmaf] (fmaf): Define using libm_alias_float.
7579 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
7580 (fmal): Define using libm_alias_ldouble.
7582 2017-10-10 Joseph Myers <joseph@codesourcery.com>
7584 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
7586 (libm_alias_double_other): Likewise.
7587 (libm_alias_double_r): Use libm_alias_double_other_r.
7588 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
7590 (libm_alias_float_other): Likewise.
7591 (libm_alias_float_r): Use libm_alias_float_other_r.
7592 * sysdeps/generic/libm-alias-float128.h
7593 (libm_alias_float128_other_r): New macro.
7594 (libm_alias_float128_other): Likewise.
7595 (libm_alias_float128_r): Use libm_alias_float128_other_r.
7596 * sysdeps/generic/libm-alias-ldouble.h
7597 (libm_alias_ldouble_other_r): New macro.
7598 (libm_alias_ldouble_other): Likewise.
7599 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
7600 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
7601 (libm_alias_double_other_r): New macro.
7602 (libm_alias_double_other): Likewise.
7603 (libm_alias_double_r): Use libm_alias_double_other_r.
7604 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
7605 (libm_alias_ldouble_other_r): New macro.
7606 (libm_alias_ldouble_other): Likewise.
7607 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
7608 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
7609 [!USE_AS_COMPAT]: Use libm_alias_double_other.
7610 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
7611 [!USE_AS_COMPAT]: Use libm_alias_float_other.
7612 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
7613 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
7614 * math/w_exp2f.c: Use libm_alias_float_other.
7615 * math/w_expf.c: Likewise.
7616 * math/w_log2f.c: Likewise.
7617 * math/w_logf.c: Likewise.
7618 * math/w_powf.c: Likewise.
7619 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
7620 [!__exp2f]: Use libm_alias_float_other.
7621 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
7622 [!__expf]: Use libm_alias_float_other.
7623 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
7624 [!__log2f]: Use libm_alias_float_other.
7625 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
7626 [!__logf]: Use libm_alias_float_other.
7627 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
7628 [!__powf]: Use libm_alias_float_other.
7630 2017-10-10 Florian Weimer <fweimer@redhat.com>
7632 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
7634 (_nss_files_gethostbyname3_r): Call it.
7636 2017-10-09 Joseph Myers <joseph@codesourcery.com>
7638 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
7639 error. Remove default definition of declare_mgen_alias.
7640 [!declare_mgen_alias_r]: Likewise.
7641 * sysdeps/generic/math-type-macros-double.h
7642 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
7643 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
7644 (declare_mgen_alias_r): Likewise.
7645 * sysdeps/generic/math-type-macros-float128.h
7646 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
7647 * sysdeps/generic/math-type-macros-ldouble.h
7648 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
7649 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
7651 (declare_mgen_alias_r_s): Likewise.
7652 (declare_mgen_alias_r): Likewise.
7653 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
7654 (lgamma_r): Define using libm_alias_double_r.
7655 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
7656 (lgammaf_r): Define using libm_alias_float_r.
7657 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
7658 (lgammal_r): Define using libm_alias_ldouble_r.
7659 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
7660 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
7662 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7664 * lib/glob.c (__glob_pattern_type): Remove now-spurious
7667 2017-10-09 Joseph Myers <joseph@codesourcery.com>
7669 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
7671 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
7674 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
7675 [__cplusplus >= 201103] (__USE_ISOC99): Define.
7676 * math/Makefile (test-math-cxx11): New test.
7677 * math/test-math-cxx11.cc: New file.
7679 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
7681 * login/openpty.c (openpty): Close slave pty file descriptor on error.
7683 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
7684 call to allocate the slave pty file descriptor.
7686 2017-10-06 Joseph Myers <joseph@codesourcery.com>
7688 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
7689 [!__fma] (fma): Define using libm_alias_double.
7690 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
7691 [!__fma] (fma): Define using libm_alias_double.
7693 * sysdeps/ieee754/float128/float128_private.h: Include
7694 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
7695 (libm_alias_ldouble_r): Undefine and redefine.
7696 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
7697 <libm-alias-ldouble.h>.
7698 (asinhl): Define using libm_alias_ldouble.
7699 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
7700 <libm-alias-ldouble.h>.
7701 (atanl): Define using libm_alias_ldouble.
7702 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
7703 <libm-alias-ldouble.h>.
7704 (cbrtl): Define using libm_alias_ldouble.
7705 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
7706 <libm-alias-ldouble.h>.
7707 (ceill): Define using libm_alias_ldouble.
7708 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
7709 <libm-alias-ldouble.h>.
7710 (copysignl): Define using libm_alias_ldouble.
7711 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
7712 <libm-alias-ldouble.h>.
7713 (cosl): Define using libm_alias_ldouble.
7714 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
7715 <libm-alias-ldouble.h>.
7716 (erfl): Define using libm_alias_ldouble.
7718 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
7719 <libm-alias-ldouble.h>.
7720 (expm1l): Define using libm_alias_ldouble.
7721 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
7722 <libm-alias-ldouble.h>.
7723 (fabsl): Define using libm_alias_ldouble.
7724 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
7725 <libm-alias-ldouble.h>.
7726 (floorl): Define using libm_alias_ldouble.
7727 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
7728 <libm-alias-ldouble.h>.
7729 (fmal): Define using libm_alias_ldouble.
7730 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
7731 <libm-alias-ldouble.h>.
7732 (frexpl): Define using libm_alias_ldouble.
7733 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
7735 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
7736 <libm-alias-ldouble.h>.
7737 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
7739 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
7740 <libm-alias-ldouble.h>.
7741 (getpayloadl): Define using libm_alias_ldouble.
7742 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
7743 <libm-alias-ldouble.h>.
7744 (llrintl): Define using libm_alias_ldouble.
7745 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
7746 <libm-alias-ldouble.h>.
7747 (llroundl): Define using libm_alias_ldouble.
7748 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
7749 <libm-alias-ldouble.h>.
7750 (logbl): Define using libm_alias_ldouble.
7751 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
7752 <libm-alias-ldouble.h>.
7753 (lrintl): Define using libm_alias_ldouble.
7754 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
7755 <libm-alias-ldouble.h>.
7756 (lroundl): Define using libm_alias_ldouble.
7757 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
7758 <libm-alias-ldouble.h>.
7759 (modfl): Define using libm_alias_ldouble.
7760 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
7761 <libm-alias-ldouble.h>.
7762 (nearbyintl): Define using libm_alias_ldouble.
7763 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
7764 <libm-alias-ldouble.h>.
7765 (nextafterl): Define using libm_alias_ldouble.
7766 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
7767 <libm-alias-ldouble.h>.
7768 (nextupl): Define using libm_alias_ldouble.
7769 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
7770 <libm-alias-ldouble.h>.
7771 (remquol): Define using libm_alias_ldouble.
7772 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
7773 <libm-alias-ldouble.h>.
7774 (rintl): Define using libm_alias_ldouble.
7775 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
7776 <libm-alias-ldouble.h>.
7777 (roundevenl): Define using libm_alias_ldouble.
7778 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
7779 <libm-alias-ldouble.h>.
7780 (roundl): Define using libm_alias_ldouble.
7781 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
7782 using libm_alias_ldouble.
7783 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
7784 <libm-alias-ldouble.h>.
7785 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
7786 Define using libm_alias_ldouble.
7787 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
7788 <libm-alias-ldouble.h>.
7789 (sincosl): Define using libm_alias_ldouble.
7790 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
7791 <libm-alias-ldouble.h>.
7792 (sinl): Define using libm_alias_ldouble.
7793 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
7794 <libm-alias-ldouble.h>.
7795 (tanhl): Define using libm_alias_ldouble.
7796 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
7797 <libm-alias-ldouble.h>.
7798 (tanl): Define using libm_alias_ldouble.
7799 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
7800 <libm-alias-ldouble.h>.
7801 (totalorderl): Define using libm_alias_ldouble.
7802 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
7803 <libm-alias-ldouble.h>.
7804 (totalordermagl): Define using libm_alias_ldouble.
7805 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
7806 <libm-alias-ldouble.h>.
7807 (truncl): Define using libm_alias_ldouble.
7808 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
7810 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
7812 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
7813 <libm-alias-ldouble.h>.
7814 (weak_alias): Do not undefine and redefine.
7815 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
7816 (copysignl): Define with long_double_symbol only if [IS_IN
7818 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
7819 <libm-alias-ldouble.h>.
7820 (weak_alias): Do not undefine and redefine.
7821 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
7822 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
7823 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
7824 <libm-alias-ldouble.h>.
7825 (weak_alias): Do not undefine and redefine.
7826 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
7827 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
7828 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
7829 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
7830 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
7831 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
7832 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
7833 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
7834 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
7835 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
7836 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
7837 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
7838 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
7839 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
7840 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
7841 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
7842 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
7843 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
7844 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
7845 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
7846 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
7847 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
7848 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
7849 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
7850 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
7851 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
7853 2017-10-06 Carlos O'Donell <carlos@redhat.com>
7856 * malloc/malloc.c (tcache_shutting_down): Use bool type.
7857 (tcache_thread_freeres): Set tcache_shutting_down before
7859 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
7860 * malloc/tst-malloc-tcache-leak.c: New file.
7862 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7864 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
7865 back to powerpc32 file.
7866 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
7867 (memrchr): Add __memrchr_power8 to ifunc list.
7868 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
7869 extra bytes for unaligned inputs.
7871 2017-10-06 Joseph Myers <joseph@codesourcery.com>
7873 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
7874 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
7875 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
7876 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
7877 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
7879 2017-10-05 Joseph Myers <joseph@codesourcery.com>
7881 * sysdeps/arm/libm-test-ulps: Update.
7883 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
7884 <libm-alias-ldouble.h>.
7885 (asinhl): Define using libm_alias_ldouble.
7886 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
7887 <libm-alias-ldouble.h>.
7888 (cbrtl): Define using libm_alias_ldouble.
7889 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
7890 <libm-alias-ldouble.h>.
7891 (copysignl): Define using libm_alias_ldouble.
7892 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
7893 <libm-alias-ldouble.h>.
7894 (cosl): Define using libm_alias_ldouble.
7895 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
7896 <libm-alias-ldouble.h>.
7897 (erfl): Define using libm_alias_ldouble.
7899 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
7900 <libm-alias-ldouble.h>.
7901 (fmal): Define using libm_alias_ldouble.
7902 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
7903 <libm-alias-ldouble.h>.
7904 (frexpl): Define using libm_alias_ldouble.
7905 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
7907 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
7908 <libm-alias-ldouble.h>.
7909 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
7911 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
7912 <libm-alias-ldouble.h>.
7913 (getpayloadl): Define using libm_alias_ldouble.
7914 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
7915 <libm-alias-ldouble.h>.
7916 (llrintl): Define using libm_alias_ldouble.
7917 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
7918 <libm-alias-ldouble.h>.
7919 (llroundl): Define using libm_alias_ldouble.
7920 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
7921 <libm-alias-ldouble.h>.
7922 (lrintl): Define using libm_alias_ldouble.
7923 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
7924 <libm-alias-ldouble.h>.
7925 (lroundl): Define using libm_alias_ldouble.
7926 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
7927 <libm-alias-ldouble.h>.
7928 (modfl): Define using libm_alias_ldouble.
7929 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
7930 <libm-alias-ldouble.h>.
7931 (nextupl): Define using libm_alias_ldouble.
7932 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
7933 <libm-alias-ldouble.h>.
7934 (remquol): Define using libm_alias_ldouble.
7935 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
7936 <libm-alias-ldouble.h>.
7937 (roundevenl): Define using libm_alias_ldouble.
7938 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
7939 <libm-alias-ldouble.h>.
7940 (roundl): Define using libm_alias_ldouble.
7941 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
7942 using libm_alias_ldouble.
7943 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
7944 <libm-alias-ldouble.h>.
7945 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
7946 <libm-alias-ldouble.h>.
7947 (setpayloadsigl): Define using libm_alias_ldouble.
7948 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
7949 <libm-alias-ldouble.h>.
7950 (sincosl): Define using libm_alias_ldouble.
7951 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
7952 <libm-alias-ldouble.h>.
7953 (sinl): Define using libm_alias_ldouble.
7954 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
7955 <libm-alias-ldouble.h>.
7956 (tanhl): Define using libm_alias_ldouble.
7957 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
7958 <libm-alias-ldouble.h>.
7959 (tanl): Define using libm_alias_ldouble.
7960 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
7961 <libm-alias-ldouble.h>.
7962 (totalorderl): Define using libm_alias_ldouble.
7963 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
7964 <libm-alias-ldouble.h>.
7965 (totalordermagl): Define using libm_alias_ldouble.
7966 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
7968 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
7971 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
7973 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7975 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7976 (__libc_ifunc_impl_list): Likewise.
7977 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
7978 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
7980 * benchtests/bench-memmove-walk.c: New file.
7981 * benchtests/Makefile (string-benchset): Add it.
7983 * benchtests/bench-memset-walk.c: New file.
7984 * benchtests/Makefile (string-benchset): Add it.
7986 * benchtests/bench-memcpy-walk.c: New file.
7987 * benchtests/Makefile (string-benchset): Add it.
7989 2017-10-05 Florian Weimer <fweimer@redhat.com>
7991 nscd: Eliminate compilation time dependency in the build output.
7992 * nscd/nscd_stat.c (STATDATA_VERSION)
7993 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
7994 (STATDATA_VERSION_FULL): New macro definitions.
7995 (compilation): Remove.
7996 (struct statdata): Adjust version member.
7997 (send_stats): Set version from STATDATA_VERSION_FULL.
7998 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
8000 2017-10-05 Joseph Myers <joseph@codesourcery.com>
8002 * configure.ac (--enable-add-ons): Remove option.
8003 (machine): Do not mention add-ons in comment.
8004 (LIBC_PRECONFIGURE): Likewise.
8005 (add_ons): Remove variable and sanity checks and logic to locate
8007 (add_ons_automatic): Remove variable.
8008 (configured_add_ons): Likewise.
8009 (add_ons_sfx): Likewise.
8010 (add_ons_pfx): Likewise.
8011 (add_on_subdirs): Likewise.
8012 (sysnames_add_ons): Likewise. Remove loop over add-ons and
8013 consideration of add-ons in Implies handling.
8014 (sysdeps_add_ons): Likewise.
8015 * configure: Regenerated.
8016 * libidn/configure.ac: Remove.
8017 * libidn/configure: Likewise.
8018 * sysdeps/unix/inet/configure.ac: New file.
8019 * sysdeps/unix/inet/configure: New generated file.
8020 * sysdeps/unix/inet/Subdirs: Add libidn.
8021 * Makeconfig (sysdeps-srcdirs): Remove variable.
8022 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
8023 ($(common-objpfx)config.status): Do not depend on add-on files.
8024 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
8026 (all-subdirs): Do not include $(add-on-subdirs).
8027 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
8028 * config.make.in (add-ons): Remove variable.
8029 (add-on-subdirs): Likewise.
8030 (sysdeps-add-ons): Likewise.
8031 * manual/Makefile (add-chapters): Remove.
8032 ($(objpfx)texis): Do not depend on $(add-chapters).
8033 (nonexamples): Do not handle $(add-chapters).
8034 (examples): Do not handle $(add-ons).
8035 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
8037 * manual/install.texi (Installation): Do not mention add-ons.
8038 (--enable-add-ons): Do not document configure option.
8039 * INSTALL: Regenerated.
8040 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
8041 * manual/maint.texi (Hierarchy Conventions): Do not mention
8043 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
8045 * scripts/gen-sorted.awk: Do not handle Subdirs files from
8047 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
8048 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
8050 2017-10-05 Andreas Schwab <schwab@suse.de>
8053 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
8054 (_IO_flush_all_lockp): Always lock list_all_lock.
8055 (_IO_flush_all_linebuffered): Likewise.
8056 (_IO_unbuffer_all): Likewise.
8058 2017-10-05 Florian Weimer <fweimer@redhat.com>
8061 Do not flush stdio streams on abort.
8062 * stdlib/abort.c (fflush): Remove macro definition.
8063 (abort): Remove stages related to stdio flushing.
8065 2017-10-05 Florian Weimer <fweimer@redhat.com>
8067 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
8069 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
8071 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8073 2017-10-05 Florian Weimer <fweimer@redhat.com>
8075 * support/support_format_hostent.c (support_format_hostent): Add
8076 more error information for NETDB_INTERNAL.
8078 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
8080 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
8081 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
8082 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
8083 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
8084 AC_DEFINE if multi-arch is enabled.
8085 * sysdeps/i386/configure: Regenerated.
8087 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
8089 * Makeconfig (+link-static-before-libc): Use
8090 $(DEFAULT-LDFLAGS-$(@F)).
8091 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
8092 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
8093 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
8095 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
8097 * elf/Makefile (tests): Add tst-main1.
8098 (modules-names): Add tst-main1mod.
8099 ($(objpfx)tst-main1): New.
8100 (CRT-tst-main1): Likewise.
8101 (LDFLAGS-tst-main1): Likewise.
8102 (LDLIBS-tst-main1): Likewise.
8103 (tst-main1mod.so-no-z-defs): Likewise.
8104 * elf/tst-main1.c: New file.
8105 * elf/tst-main1mod.c: Likewise.
8107 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
8109 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
8111 2017-10-04 Joseph Myers <joseph@codesourcery.com>
8113 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
8114 (fma): Define using libm_alias_double.
8115 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
8116 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
8118 (fmal): Do not define as compat symbol here.
8119 * sysdeps/alpha/fpu/s_fma.c: New file.
8121 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
8123 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
8125 2017-10-04 Joseph Myers <joseph@codesourcery.com>
8128 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
8130 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
8132 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
8133 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
8134 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
8135 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
8136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8137 Include <math_ldbl_opt.h>
8138 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
8140 (compat_symbol): Undefine and redefine.
8141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
8143 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
8144 (compat_symbol): Undefine and redefine.
8145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
8146 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
8147 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
8149 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
8150 GLIBC_2.0 copysignl symbol.
8151 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8152 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
8154 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
8156 2017-10-04 Florian Weimer <fweimer@redhat.com>
8158 * scripts/check-local-headers.sh: Ignore nspr4 header file
8159 directory in addition to nspr.
8161 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
8164 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
8165 * configure: Regenerate.
8166 * crypt/Makefile (nss-cpp-flags): New variable.
8167 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
8168 (CPPFLAGS-md5-crypt.c): Use it.
8169 * scripts/check-local-headers.sh: Ignore nspr header file
8172 2017-10-04 Andreas Schwab <schwab@suse.de>
8174 * nis/Makefile (services): Remove compat.
8175 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
8176 ($(objpfx)libnss_compat.so): Remove rule.
8177 * nis/Versions (libnss_compat): Remove.
8178 * nss/Makefile (services): Add compat.
8179 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
8180 * nss/Versions (libnss_compat): Define.
8181 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
8182 Don't include <rpc/types.h>. Replace bool_t by bool.
8183 * nss/nss_compat/compat-initgroups.c: Likewise.
8184 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
8185 instead of <rpcsrv/ypclnt.h>.
8186 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
8187 yp_get_default_domain.
8188 * nss/nss_compat/compat-pwd.c: Likewise.
8189 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
8190 yp_get_default_domain.
8191 * nss/nss_compat/nisdomain.c: New file.
8192 * nss/nss_compat/nisdomain.h: Likewise.
8194 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
8197 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
8198 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8200 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
8203 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
8204 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
8206 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
8208 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
8209 "movl main@GOTOFF(%ebx), %eax".
8211 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
8213 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
8214 allow undefined _DYNAMIC in PIE libc.a.
8215 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
8218 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
8220 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
8223 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
8225 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
8228 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
8230 * math/test-math-iscanonical.cc (error): Replace bool with int.
8232 2017-10-03 Joseph Myers <joseph@codesourcery.com>
8234 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
8235 (modf): Define using libm_alias_double, only if [!__modf].
8236 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
8237 <libm-alias-double.h>.
8238 (modf): Define using libm_alias_double, only if [!__modf].
8239 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
8241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
8242 (weak_alias): Do not undefine and redefine.
8243 (strong_alias): Likewise.
8244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
8245 (weak_alias): Likewise.
8246 (strong_alias): Likewise.
8248 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
8249 (logb): Define using libm_alias_double, only if [!__logb].
8250 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
8251 <libm-alias-double.h>.
8252 (logb): Define using libm_alias_double, only if [!__logb].
8253 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
8254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
8255 (weak_alias): Do not undefine and redefine.
8256 (strong_alias): Likewise.
8257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
8258 (weak_alias): Likewise.
8259 (strong_alias): Likewise.
8261 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
8263 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
8264 Check SHARED instead PIC.
8266 2017-10-03 Joseph Myers <joseph@codesourcery.com>
8268 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
8269 [!__fmaf] (fmaf): Define using libm_alias_float.
8271 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
8272 (frexp): Define using libm_alias_double.
8273 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
8274 <libm-alias-double.h>.
8275 (frexp): Define using libm_alias_double.
8276 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
8279 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8282 * math/math.h: Trivial fix for unbalanced parentheses in comment.
8283 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
8284 (CFLAGS-test-math-iscanonical.cc): New variable.
8285 * math/test-math-iscanonical.cc: New file.
8286 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
8287 Provide a C++ implementation based on function overloading,
8288 rather than using __MATH_TG, which uses C-only builtins.
8289 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
8291 * sysdeps/powerpc/powerpc64le/Makefile
8292 (CFLAGS-test-math-iscanonical.cc): New variable.
8294 2017-10-03 Joseph Myers <joseph@codesourcery.com>
8296 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
8297 (ceil): Define using libm_alias_double.
8298 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
8299 (floor): Define using libm_alias_double.
8300 * sysdeps/ieee754/dbl-64/s_llround.c: Include
8301 <libm-alias-double.h>.
8302 (llround): Define using libm_alias_double.
8303 * sysdeps/ieee754/dbl-64/s_lround.c: Include
8304 <libm-alias-double.h>.
8305 (lround): Define using libm_alias_double.
8306 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
8307 <libm-alias-double.h>.
8308 (nearbyint): Define using libm_alias_double.
8309 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
8310 <libm-alias-double.h>.
8311 (remquo): Define using libm_alias_double.
8312 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
8313 (rint): Define using libm_alias_double.
8314 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
8315 (round): Define using libm_alias_double.
8316 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
8317 (trunc): Define using libm_alias_double.
8318 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
8319 <libm-alias-double.h>.
8320 (ceil): Define using libm_alias_double.
8321 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
8322 <libm-alias-double.h>.
8323 (floor): Define using libm_alias_double.
8324 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
8325 <libm-alias-double.h>.
8326 (llround): Define using libm_alias_double.
8327 [_LP64] (lround): Likewise.
8328 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
8329 <libm-alias-double.h>.
8330 [!_LP64] (lround): Define using libm_alias_double.
8331 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
8332 <libm-alias-double.h>.
8333 (nearbyint): Define using libm_alias_double.
8334 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
8335 <libm-alias-double.h>.
8336 (remquo): Define using libm_alias_double.
8337 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
8338 <libm-alias-double.h>.
8339 (rint): Define using libm_alias_double.
8340 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
8341 <libm-alias-double.h>.
8342 (round): Define using libm_alias_double.
8343 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
8344 <libm-alias-double.h>.
8345 (trunc): Define using libm_alias_double.
8346 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
8347 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
8348 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
8349 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
8350 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
8351 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
8352 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
8353 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
8354 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
8356 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8358 * math/w_remainder.c: New file.
8359 * math/w_remainderf.c: New file.
8360 * math/w_remainderl.c: New file.
8362 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
8364 * elf/rtld.c (BOOTSTRAP_MAP): New.
8365 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
8366 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
8368 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
8370 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
8373 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8375 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
8376 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
8377 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
8378 rtld_hidden_data_ver): Define to empty.
8379 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
8380 __assert_perror_fail): Likewise.
8381 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
8382 (__rewinddir): Likewise.
8383 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
8384 (__profile_frequency): Likewise.
8385 * include/setjmp.h (__sigsetjmp): Likewise.
8386 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
8387 __libc_sigaction): Likewise.
8388 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
8389 not set hidden attribute.
8390 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
8391 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
8392 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
8393 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
8394 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
8395 __fxstatat64): Likewise.
8396 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
8397 (__uname): Likewise.
8398 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
8399 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
8400 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
8401 (NO_RTLD_HIDDEN): Set.
8402 * sysdeps/mach/hurd/configure: Refresh.
8403 * config.h.in: Refresh.
8405 2017-10-02 Joseph Myers <joseph@codesourcery.com>
8407 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
8408 (atan): Define using libm_alias_double.
8409 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
8410 (tan): Define using libm_alias_double.
8411 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
8412 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
8414 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
8415 define as weak alias of __atan. Do not define any aliases if
8417 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
8418 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
8419 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
8420 as weak alias of __tan. Do not define any aliases if [__tan].
8421 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
8422 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
8423 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
8425 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
8426 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
8427 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
8428 and define as weak alias of __atan.
8429 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
8431 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
8432 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
8433 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
8434 define as weak alias of __tan.
8436 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
8438 * math/w_lgamma.c: New file.
8439 * math/w_lgammaf.c: New file.
8440 * math/w_lgammal.c: New file.
8442 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
8444 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
8445 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
8446 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
8447 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
8448 * sysdeps/ieee754/flt-32/w_logf.c: New file.
8449 * sysdeps/ieee754/flt-32/w_powf.c: New file.
8450 * sysdeps/i386/fpu/w_log2f.c: New file.
8451 * sysdeps/i386/fpu/w_logf.c: New file.
8452 * sysdeps/i386/fpu/w_powf.c: New file.
8453 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
8454 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
8455 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
8457 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
8458 H.J. Lu <hongjiu.lu@intel.com>
8460 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
8461 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
8462 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
8463 * sysdeps/ieee754/flt-32/w_expf.c: New file.
8464 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
8466 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
8467 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
8468 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
8469 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
8470 * sysdeps/i386/fpu/w_exp2f.c: New file.
8471 * sysdeps/i386/fpu/w_expf.c: New file.
8472 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
8473 * sysdeps/x86_64/fpu/w_expf.c: New file.
8475 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
8477 * math/Versions (logf): New libm symbol at GLIBC_2.27.
8480 * math/w_log2f.c: New file.
8481 * math/w_logf.c: New file.
8482 * math/w_powf.c: New file.
8483 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
8484 * math/w_logf_compat.c (__logf_compat): Likewise.
8485 * math/w_powf_compat.c (__powf_compat): Likewise.
8486 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
8487 * sysdeps/ia64/fpu/e_logf.S: Likewise.
8488 * sysdeps/ia64/fpu/e_powf.S: Likewise.
8489 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8490 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8491 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8492 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8493 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8494 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8495 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8496 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8497 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8498 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8499 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8500 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8509 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8510 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8511 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8512 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8513 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8518 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8519 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8520 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8522 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8524 * sysdeps/powerpc/powerpc64/multiarch/Makefile
8525 (sysdep_routines): Add memrchr_power8.
8526 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8527 (memrchr): Add __memrchr_power8 to list of memrchr functions.
8528 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
8530 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
8531 (memrchr): Add __memrchr_power8 to ifunc list.
8532 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
8534 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8537 * sysdeps/unix/sysv/linux/posix_fadvise64.c
8538 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
8540 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8541 (__posix_fallocate64_l64): Likewise.
8543 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8546 * sysdeps/unix/sysv/linux/sched_setaffinity.c
8547 (__sched_setaffinity_new): Add libc_hidden_proto and
8550 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8553 * include/glob.h (__glob64): Add libc_hidden_proto.
8554 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
8557 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8560 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
8563 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8566 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
8568 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8571 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
8574 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8577 * csu/version.c (__libc_print_version): Add attribute_hidden.
8579 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8582 * include/libc-internal.h (__init_misc): Add attribute_hidden.
8584 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8587 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
8589 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8592 * nscd/nscd_helper.c (__nis_hash): New prototype.
8594 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8597 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
8598 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
8600 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8601 * termios/tcgetattr.c (__tcgetattr): Likewise.
8603 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8606 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
8607 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
8608 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
8609 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
8610 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
8612 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8615 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
8617 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8620 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
8621 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
8623 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8626 * intl/hash-string.h (__hash_string): Add attribute_hidden.
8628 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8631 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
8632 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
8634 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8637 * include/ifreq.h: New file.
8638 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
8639 (__ifreq): Likewise.
8640 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
8641 (__ifreq): Likewise.
8643 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8646 * include/idna.h: New file.
8647 * inet/getnameinfo.c: Include <idna.h> instead of
8649 (__idna_to_unicode_lzlz): Removed.
8650 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
8652 (__idna_to_ascii_lz): Removed.
8653 (__idna_to_unicode_lzlz): Likewise.
8655 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8658 * include/plural-exp.h: New file.
8659 * intl/plural-exp.c: Include <plural-exp.h> instead of
8662 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8665 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
8666 "getsourcefilter.h".
8667 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
8668 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
8669 "getsourcefilter.h".
8670 (__get_sol): Removed.
8672 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8675 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
8677 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
8679 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8682 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
8685 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8688 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
8690 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8693 * include/search.h (__tdestroy): Add libc_hidden_proto.
8694 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
8696 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8699 * include/assert.h (__assert_fail_base): Add attribute_hidden.
8701 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8704 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
8707 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8710 * include/signal.h (__kill): Add libc_hidden_proto.
8711 (__sigblock): Likewise.
8712 (__sigprocmask): Likewise.
8713 (__sigaltstack): Likewise.
8714 * signal/kill.c (__kill): Add libc_hidden_def.
8715 * signal/sigblock.c (__sigblock): Likewise.
8716 * signal/sigprocmask.c (__sigprocmask): Likewise.
8717 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
8718 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
8719 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
8720 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
8721 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
8723 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
8725 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
8726 (__sigprocmask): Likewise.
8727 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
8729 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
8730 (__sigprocmask): Likewise.
8731 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
8734 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8737 * include/string.h (__strsep): Add libc_hidden_proto.
8738 * string/strsep.c (__strsep): Add libc_hidden_def.
8740 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8743 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
8745 (__spawni): Likewise.
8747 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8750 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
8751 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
8754 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8757 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
8759 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8762 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
8763 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
8764 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
8765 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
8766 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
8768 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
8769 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
8771 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8774 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
8775 (__dcigettext): Likewise.
8777 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8780 * include/sys/sysinfo.h (__get_nprocs_conf): Add
8782 (__get_nprocs): Likewise.
8783 (__get_phys_pages): Likewise.
8784 (__get_avphys_pages): Likewise.
8785 (__get_child_max): Add attribute_hidden.
8786 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
8787 (__get_nprocs): Likewise.
8788 (__get_phys_pages): Likewise.
8789 (__get_avphys_pages): Likewise.
8790 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
8792 (__get_nprocs): Likewise.
8793 (__get_phys_pages): Likewise.
8794 (__get_avphys_pages): Likewise.
8795 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
8797 (__get_nprocs_conf): Likewise.
8798 (__get_phys_pages): Likewise.
8799 (__get_avphys_pages): Likewise.
8801 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8804 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
8806 (__netlink_close): Likewise.
8807 (__netlink_free_handle): Likewise.
8808 (__netlink_request): Likewise.
8810 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8813 * include/rpc/rpc.h (__rpc_thread_variables): Add
8815 (__rpc_thread_svc_cleanup): Likewise.
8816 (__rpc_thread_clnt_cleanup): Likewise.
8817 (__rpc_thread_key_cleanup): Likewise.
8819 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8822 * include/sys/uio.h (__readv): Add libc_hidden_proto.
8823 (__writev): Likewise.
8824 * misc/readv.c (__readv): Add libc_hidden_def.
8825 * misc/writev.c (__writev): Likewise.
8826 * sysdeps/posix/readv.c (__readv): Likewise.
8827 * sysdeps/posix/writev.c (__writev): Likewise.
8828 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
8829 (__readv): Likewise.
8830 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
8831 (__writev): Likewise.
8833 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8836 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
8837 (__regcomp): Add libc_hidden_proto.
8838 (__regexec): Likewise.
8839 (__regfree): Likewise.
8840 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
8841 (__regfree): Likewise.
8842 * posix/regexec.c (__regexec): Likewise.
8844 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8847 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
8848 (__getutent): Likewise.
8849 (__getutid): Likewise.
8850 (__getutline): Likewise.
8851 (__pututline): Likewise.
8852 (__getutent_r): Likewise.
8853 (__getutid_r): Likewise.
8854 (__getutline_r): Likewise.
8855 (__utmpname): Add attribute_hidden.
8856 (__setutent): Likewise.
8857 (__endutent): Likewise.
8858 * login/getutent.c (__getutent): Add libc_hidden_def.
8859 * login/getutent_r.c (__getutent_r): Likewise.
8860 (__pututline): Likewise.
8861 * login/getutid.c (__getutid): Likewise.
8862 * login/getutid_r.c (__getutid_r): Likewise.
8863 * login/getutline.c (__getutline): Likewise.
8864 * login/getutline_r.c (__getutline_r): Likewise.
8865 * login/updwtmp.c (__updwtmp): Likewise.
8867 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8870 * include/dirent.h (__opendir): Always add attribute_hidden.
8871 (__fdopendir): Likewise.
8872 (__closedir): Likewise.
8873 (__readdir): Likewise.
8874 (__readdir64): Add libc_hidden_proto.
8875 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
8876 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
8877 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
8878 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
8881 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8884 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
8885 * include/netdb.h (__gethostbyaddr_r): Likewise.
8886 (__gethostbyname_r): Likewise.
8887 (__gethostbyname2_r): Likewise.
8888 (__getnetbyaddr_r): Likewise.
8889 (__getnetbyname_r): Likewise.
8890 (__getservbyname_r): Likewise.
8891 (__getservbyport_r): Likewise.
8892 (__getprotobyname_r): Likewise.
8893 (__getprotobynumber_r): Likewise.
8894 (__getnetgrent_r): Likewise.
8895 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
8896 (__getrpcbynumber_r): Likewise.
8897 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
8899 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8902 * include/stdio.h (__fcloseall): Add attribute_hidden.
8903 (__getline): Likewise.
8904 (__path_search): Likewise.
8905 (__gen_tempname): Likewise.
8906 (__libc_message): Likewise.
8907 (__flockfile): Likewise.
8908 (__funlockfile): Likewise.
8909 (__fxprintf): Likewise.
8910 (__fxprintf_nocancel): Likewise.
8912 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8915 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
8916 (__sgetsgent_r): Likewise.
8918 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8921 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
8922 (__statfs64): Likewise.
8923 (__fstatfs64): Likewise.
8924 * include/sys/statvfs.h (__statvfs64): Likewise.
8925 (__fstatvfs64): Likewise.
8926 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
8927 (__statfs_filesize_max): Likewise.
8928 (__statfs_symlinks): Likewise.
8929 (__statfs_chown_restricted): Likewise.
8931 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8934 * include/time.h (__tzstring): Add attribute_hidden.
8935 (__tzfile_read): Likewise.
8936 (__tzfile_compute): Likewise.
8937 (__tzfile_default): Likewise.
8938 (__tzset_parse_tz): Likewise.
8939 (__offtime): Likewise.
8940 (__asctime_r): Likewise.
8941 (__tzset): Likewise.
8942 (__tz_convert): Likewise.
8943 (__getdate_r): Likewise.
8944 (__getclktck): Likewise.
8946 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8949 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
8950 (__nscd_unmap): Likewise.
8951 (__nscd_cache_search): Likewise.
8952 (__nscd_get_nl_timestamp): Likewise.
8953 (__nscd_getpwnam_r): Likewise.
8954 (__nscd_getpwuid_r): Likewise.
8955 (__nscd_getgrnam_r): Likewise.
8956 (__nscd_getgrgid_r): Likewise.
8957 (__nscd_gethostbyname_r): Likewise.
8958 (__nscd_gethostbyname2_r): Likewise.
8959 (__nscd_gethostbyaddr_r): Likewise.
8960 (__nscd_getai): Likewise.
8961 (__nscd_getgrouplist): Likewise.
8962 (__nscd_getservbyname_r): Likewise.
8963 (__nscd_getservbyport_r): Likewise.
8964 (__nscd_innetgr): Likewise.
8965 (__nscd_setnetgrent): Likewise.
8967 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8970 * include/gmp.h: Declare internal functions only if _ISOMAC is
8972 (__mpn_extract_double): Add attribute_hidden.
8973 (__mpn_extract_long_double): Likewise.
8974 (__mpn_extract_float128): Likewise.
8975 (__mpn_construct_float): Likewise.
8976 (__mpn_construct_double): Likewise.
8977 (__mpn_construct_long_double): Likewise.
8978 (__mpn_construct_float128): Likewise.
8979 (mpn_add_1): Likewise.
8980 (mpn_addmul_1): Likewise.
8981 (mpn_add_n): Likewise.
8982 (mpn_cmp): Likewise.
8983 (mpn_divrem): Likewise.
8984 (mpn_lshift): Likewise.
8985 (mpn_mul): Likewise.
8986 (mpn_mul_1): Likewise.
8987 (mpn_rshift): Likewise.
8988 (mpn_sub_1): Likewise.
8989 (mpn_submul_1): Likewise.
8990 (mpn_sub_n): Likewise.
8992 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8995 * include/wchar.h (__wcsnlen): Add attribute_hidden.
8996 (__wcscat): Likewise.
8997 (__btowc): Likewise.
8998 (__wcrtomb): Likewise.
8999 (__mbsrtowcs): Likewise.
9000 (__wcsrtombs): Likewise.
9001 (__mbsnrtowcs): Likewise.
9002 (__wcsnrtombs): Likewise.
9003 (__wcsncpy): Likewise.
9004 (__wcpncpy): Likewise.
9005 (__wmemcpy): Likewise.
9006 (__wmempcpy): Likewise.
9007 (__wmemmove): Likewise.
9008 (__wcschrnul): Likewise.
9009 (__vfwscanf): Likewise.
9010 (__vswprintf): Likewise.
9011 (__fwprintf): Likewise.
9012 (__vfwprintf): Likewise.
9014 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9017 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
9018 (__getgrgid_r): Likewise.
9019 (__getgrnam_r): Likewise.
9020 * include/pwd.h (__getpwuid_r): Likewise.
9021 (__getpwnam_r): Likewise.
9022 (__fgetpwent_r): Likewise.
9023 * include/shadow.h (__getspnam_r): Likewise.
9024 (__sgetspent_r): Likewise.
9025 (__fgetspent_r): Likewise.
9027 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9030 * include/unistd.h (__access): Add attribute_hidden.
9031 (__lseek64): Likewise.
9032 (__libc_pread64): Likewise.
9033 (__pipe2): Likewise.
9034 (__sleep): Likewise.
9035 (__chdir): Likewise.
9036 (__fchdir): Likewise.
9037 (__getcwd): Likewise.
9038 (__rmdir): Likewise.
9039 (__execvpe): Likewise.
9040 (__execve): Likewise.
9041 (__setsid): Likewise.
9042 (__getuid): Likewise.
9043 (__geteuid): Likewise.
9044 (__getgid): Likewise.
9045 (__getegid): Likewise.
9046 (__getgroups): Likewise.
9047 (__group_member): Likewise.
9048 (__ttyname_r): Likewise.
9049 (__isatty): Likewise.
9050 (__readlink): Likewise.
9051 (__unlink): Likewise.
9052 (__gethostname): Likewise.
9053 (__profil): Likewise.
9054 (__getdtablesize): Likewise.
9056 (__ftruncate): Likewise.
9057 (__ftruncate64): Likewise.
9059 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9062 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
9063 * argp/argp-fs-xinl.c: Likewise.
9064 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
9065 * argp/argp-parse.c: Include <argp.h>.
9066 * argp/argp-xinl.c: Likewise.
9067 * include/argp-fmtstream.h: New file.
9068 * include/argp.h (__argp_error): Add attribute_hidden.
9069 (__argp_failure): Likewise.
9070 (__argp_input): Likewise.
9071 (__argp_state_help): Likewise.
9073 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9076 * include/wchar.h (____wcstof_l_internal): New prototype.
9077 (____wcstod_l_internal): Likewise.
9078 (____wcstold_l_internal): Likewise.
9079 (____wcstol_l_internal): Likewise.
9080 (____wcstoul_l_internal): Likewise.
9081 (____wcstoll_l_internal): Likewise.
9082 (____wcstoull_l_internal): Likewise.
9083 (____wcstof128_l_internal): Likewise.
9084 * sysdeps/ieee754/float128/wcstof128.c
9085 (____wcstof128_l_internal): Removed.
9086 * sysdeps/ieee754/float128/wcstof128_l.c
9087 (____wcstof128_l_internal): Likewise.
9088 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
9089 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
9090 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
9091 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
9092 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
9093 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
9094 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
9095 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
9096 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
9097 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
9099 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9102 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
9103 instead of <sys/statvfs.h>.
9104 (__internal_statvfs): Removed.
9105 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
9106 instead of <sys/statvfs.h>.
9107 (__internal_statvfs64): Removed.
9108 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
9109 "internal_statvfs.h" instead of <sys/statvfs.h>.
9110 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
9111 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
9112 instead of <sys/statvfs.h>.
9113 (__internal_statvfs): Removed.
9114 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
9115 instead of <sys/statvfs.h>.
9116 (__internal_statvfs64): Removed.
9118 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9121 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
9122 (__gconv_close): Likewise.
9123 (__gconv): Likewise.
9124 (__gconv_find_transform): Likewise.
9125 (__gconv_lookup_cache): Likewise.
9126 (__gconv_compare_alias_cache): Likewise.
9127 (__gconv_load_cache): Likewise.
9128 (__gconv_get_path): Likewise.
9129 (__gconv_close_transform): Likewise.
9130 (__gconv_release_cache): Likewise.
9131 (__gconv_find_shlib): Likewise.
9132 (__gconv_release_shlib): Likewise.
9133 (__gconv_get_builtin_trans): Likewise.
9134 (__gconv_compare_alias): Likewise.
9135 * include/dlfcn.h (_dlerror_run): Likewise.
9136 * include/stdio.h (__fortify_fail_abort): Likewise.
9137 * include/time.h (__tz_compute): Likewise.
9138 (__strptime_internal): Likewise.
9139 * intl/gettextP.h (_nl_find_domain): Likewise.
9140 (_nl_load_domain): Likewise.
9141 (_nl_find_msg): Likewise.
9142 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
9143 (EXTRACT_PLURAL_EXPRESSION): Likewise.
9144 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
9145 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
9146 (__gai_find_request): Likewise.
9147 (__gai_remove_request): Likewise.
9148 (__gai_notify): Likewise.
9149 (__gai_notify_only): Likewise.
9150 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
9151 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
9152 (_dl_non_dynamic_init): Likewise.
9153 (_dl_aux_init): Likewise.
9154 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
9155 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
9157 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
9158 (__wcsmbs_clone_conv): Likewise.
9159 (__wcsmbs_named_conv): Likewise.
9161 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9164 * include/stdlib.h (__random): Add attribute_hidden.
9165 (__random_r): Likewise.
9166 (__srandom_r): Likewise.
9167 (__initstate_r): Likewise.
9168 (__setstate_r): Likewise.
9169 (__erand48_r): Likewise.
9170 (__nrand48_r): Likewise.
9171 (__jrand48_r): Likewise.
9172 (__srand48_r): Likewise.
9173 (__seed48_r): Likewise.
9174 (__lcong48_r): Likewise.
9175 (__drand48_iterate): Likewise.
9176 (__setenv): Likewise.
9177 (__unsetenv): Likewise.
9178 (__clearenv): Likewise.
9179 (__ptsname_r): Likewise.
9180 (__posix_openpt): Likewise.
9181 (__add_to_environ): Likewise.
9182 (__realpath): Add libc_hidden_proto.
9183 (__ecvt_r): Likewise.
9184 (__fcvt_r): Likewise.
9185 (__qecvt_r): Likewise.
9186 (__qfcvt_r): Likewise.
9187 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
9188 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
9190 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9193 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
9194 * include/time.h (__mktime_internal): Likewise.
9195 * libio/iolibio.h (__fopen_internal): Likewise.
9197 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
9199 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
9201 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
9202 Correct offset used to restore PIC register.
9204 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
9207 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
9208 code to load address of __getcontext_ret when generating PIC code.
9210 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
9212 * elf/Makefile (tests-static-internal): Add
9213 tst-tls1-static-non-pie.
9214 (LDFLAGS-tst-tls1-static-non-pie): New.
9215 * elf/tst-tls1-static-non-pie.c: New file.
9217 2017-09-29 Joseph Myers <joseph@codesourcery.com>
9219 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
9220 (asinh): Define using libm_alias_double.
9221 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
9222 (cbrt): Define using libm_alias_double.
9223 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
9224 <libm-alias-double.h>.
9225 (copysign): Define using libm_alias_double.
9226 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
9227 (erf): Define using libm_alias_double.
9229 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
9230 (expm1): Define using libm_alias_double.
9231 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
9232 (fabs): Define using libm_alias_double.
9233 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
9235 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
9236 <libm-alias-double.h>.
9237 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
9239 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
9240 <libm-alias-double.h>.
9241 (getpayload): Define using libm_alias_double.
9242 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
9243 <libm-alias-double.h>.
9244 (llrint): Define using libm_alias_double.
9245 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
9246 (lrint): Define using libm_alias_double.
9247 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
9248 <libm-alias-double.h>.
9249 (nextup): Define using libm_alias_double.
9250 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
9251 <libm-alias-double.h>.
9252 (roundeven): Define using libm_alias_double.
9253 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
9255 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
9256 <libm-alias-double.h>.
9257 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
9258 using libm_alias_double.
9259 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
9260 (cos): Define using libm_alias_double.
9262 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
9263 <libm-alias-double.h>.
9264 (sincos): Define using libm_alias_double.
9265 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
9266 (tanh): Define using libm_alias_double.
9267 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
9268 <libm-alias-double.h>.
9269 (totalorder): Define using libm_alias_double.
9270 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
9271 <libm-alias-double.h>.
9272 (totalordermag): Define using libm_alias_double.
9273 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
9275 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
9277 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
9278 <libm-alias-double.h>.
9279 (getpayload): Define using libm_alias_double.
9280 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
9281 <libm-alias-double.h>.
9282 (roundeven): Define using libm_alias_double.
9283 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
9284 <libm-alias-double.h>.
9285 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
9286 <libm-alias-double.h>.
9287 (totalorder): Define using libm_alias_double.
9288 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
9289 <libm-alias-double.h>.
9290 (totalordermag): Define using libm_alias_double.
9291 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
9292 libc compat symbol here.
9293 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
9294 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
9295 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
9296 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
9297 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
9298 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
9299 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
9300 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
9301 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
9302 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
9304 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
9306 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
9307 _dl_relocate_static_pie instead of _dl_start to compute load
9308 address in static PIE. Return 0 if _DYNAMIC is undefined for
9311 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
9313 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
9314 _DYNAMIC is undefined for static executable.
9316 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
9318 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
9320 2017-09-29 Joseph Myers <joseph@codesourcery.com>
9322 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9324 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
9326 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
9327 (__ieee754_lgamma_r): Use fabs rather than __fabs.
9328 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9329 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9330 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
9331 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
9332 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
9333 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
9334 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
9335 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
9336 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
9337 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
9338 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
9339 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
9340 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9341 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9342 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
9344 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
9346 * math/bits/cmathcalls.h (cimag): Remove inline.
9347 (creal): Remove inline.
9348 (conj): Remove inline.
9350 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
9352 * math/Makefile (type-float-routines): Add e_powf_log2_data.
9353 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
9354 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
9355 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
9356 (issignalingf_inline): Likewise.
9357 (POWF_LOG2_TABLE_BITS): Likewise.
9358 (POWF_LOG2_POLY_ORDER): Likewise.
9359 (POWF_SCALE_BITS): Likewise.
9360 (POWF_SCALE): Likewise.
9361 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
9362 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
9363 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
9365 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
9367 * math/Makefile (type-float-routines): Add e_log2f_data.
9368 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
9369 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
9370 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
9371 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
9372 * sysdeps/i386/fpu/e_log2f_data.c: New file.
9373 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
9374 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
9376 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
9378 * math/Makefile (type-float-routines): Add e_logf_data.
9379 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
9380 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
9381 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
9382 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
9383 * sysdeps/i386/fpu/e_logf_data.c: New file.
9384 * sysdeps/ia64/fpu/e_logf_data.c: New file.
9385 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
9387 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
9389 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
9390 undefined _DYNAMIC in PIE libc.a.
9391 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
9394 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
9396 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
9397 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
9398 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
9399 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
9400 (__signbit): Remove.
9401 (__signbitl): Remove.
9402 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
9403 (__signbit): Remove.
9404 (__signbitl): Remove.
9405 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
9406 (__signbit): Remove.
9407 (__signbitl): Remove.
9408 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
9409 (__signbit): Remove.
9410 (__signbitl): Remove.
9411 * sysdeps/tile/bits/mathinline.h: Delete file.
9412 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
9413 (__signbit): Remove.
9414 (__signbitl): Remove.
9416 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
9418 * math/math.h: Improve handling of C99 isgreater macros.
9419 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
9420 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
9421 * sysdeps/powerpc/bits/mathinline.h: Likewise.
9422 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9423 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
9425 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
9427 * sysdeps/aarch64/libm-test-ulps: Update.
9429 2017-09-28 Joseph Myers <joseph@codesourcery.com>
9432 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9433 math_opt_barrier on argument when doing arithmetic on it.
9434 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9435 Likewise. Use math_force_eval not math_opt_barrier after
9437 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
9438 math_opt_barrier on argument when doing arithmetic on it.
9439 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
9442 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
9444 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
9446 (__freeifaddrs): Likewise.
9448 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9450 * include/dirent.h (__dirfd): New declaration.
9451 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
9453 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
9454 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
9455 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
9456 * include/unistd.h (__revoke): New declaration.
9457 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
9459 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
9460 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
9462 * include/dirent.h (__seekdir): New declaration.
9463 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
9464 redefine as weak alias.
9465 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
9467 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
9468 and use libc_hidden_def on them.
9469 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
9471 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
9472 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
9473 instead of getifaddrs and freeifaddrs.
9475 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
9478 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
9479 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
9480 (__dso_handle): Remove declaration.
9481 * dlfcn/tstatexit.c (__dso_handle): Removed.
9482 (main): Don't check __dso_handle.
9483 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
9484 (main): Don't check __dso_handle.
9485 * include/dso_handle.h: New file.
9486 * malloc/mtrace.c: Include <dso_handle.h>.
9487 (mtrace): Pass __dso_handle directly.
9488 * nptl/pthread_atfork.c: Include <dso_handle.h>.
9489 (__dso_handle): Remove declaration.
9490 (__pthread_atfork): Pass __dso_handle directly.
9491 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
9492 (__dso_handle): Removed.
9493 * posix/wordexp-test.c: Include <dso_handle.h>.
9494 (__dso_handle): Remove declaration.
9495 (__app_register_atfork): Pass __dso_handle directly.
9496 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
9497 (__dso_handle): Remove declaration.
9498 (at_quick_exit): Pass __dso_handle directly.
9499 * stdlib/atexit.c: Include <dso_handle.h>.
9500 (__dso_handle): Remove declaration.
9501 (atexit): Pass __dso_handle directly.
9502 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
9503 (__dso_handle): Removed.
9505 2017-09-26 Joseph Myers <joseph@codesourcery.com>
9507 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
9510 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
9512 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
9513 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
9514 values to correct default value for given type.
9516 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
9519 * elf/Makefile (tests): Add tst-debug1.
9520 ($(objpfx)tst-debug1): New.
9521 ($(objpfx)tst-debug1.out): Likewise.
9522 ($(objpfx)tst-debug1mod1.so): Likewise.
9523 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
9525 * elf/tst-debug1.c: New file.
9527 2017-09-26 Joseph Myers <joseph@codesourcery.com>
9529 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
9530 Define using __ifunc.
9532 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9534 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
9537 2017-09-26 Joseph Myers <joseph@codesourcery.com>
9540 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
9542 2017-09-26 Florian Weimer <fweimer@redhat.com>
9544 * resolv/Makefile (tests-internal): Fix typo in comment.
9546 2017-09-26 Florian Weimer <fweimer@redhat.com>
9548 * resolv/nss_dns/dns-host.c: Fix typo in comment.
9550 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9552 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
9553 Use an union instead of a max_align_t array for __space,
9554 so that __space is the same size on all platforms.
9555 * malloc/scratch_buffer_grow_preserve.c
9556 (__libc_scratch_buffer_grow_preserve): Likewise.
9559 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
9561 * posix/Makefile (routines): Add glob-lstat-compat and
9562 glob64-lstat-compat.
9563 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
9564 * posix/glob-lstat-compat.c: New file.
9565 * posix/glob64-lstat-compat.c: Likewise.
9566 * posix/tst-glob_lstat_compat.c: Likewise.
9567 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
9568 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
9569 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
9570 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
9572 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
9573 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
9574 * posix/glob.c (glob_lstat): New function.
9575 (glob): Rename to __glob and add versioned symbol to 2.27.
9576 (glob_in_dir): Use glob_lstat.
9577 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
9578 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9579 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
9581 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
9582 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
9583 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
9584 gl_lstat on glob call.
9585 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
9587 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9588 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9589 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9590 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9591 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9592 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9593 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9594 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9595 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9596 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9597 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9598 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9601 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
9602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9603 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9604 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9605 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9606 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9607 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9610 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9611 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9612 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9614 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
9616 * configure.ac (AS): Require binutils 2.25 or later.
9617 * configure: Regenerated.
9619 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
9622 * stdlib/test-atexit-race-common.c (do_test): Minimize required
9625 2017-09-25 DJ Delorie <dj@redhat.com>
9628 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
9631 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9633 * sysdeps/ieee754/dbl-64/sincos32.h
9634 [SINCCOS32_H]: Remove define.
9635 [SINCOS32_H]: Define.
9637 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
9639 * math/Versions (expf): New libm symbol at GLIBC_2.27.
9641 * math/w_exp2f.c: New file.
9642 * math/w_expf.c: New file.
9643 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
9644 * math/w_expf_compat.c (__expf_compat): Likewise.
9645 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
9646 * sysdeps/ia64/fpu/e_expf.S: Likewise.
9647 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9648 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9649 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9650 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9651 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9652 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9653 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9654 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9655 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9656 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9657 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9658 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9667 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9668 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9669 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9670 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9671 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9676 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9677 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9678 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9680 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
9682 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
9683 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
9684 (roundtoint, converttoint): Likewise.
9685 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
9686 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
9687 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
9688 * sysdeps/ieee754/flt-32/math_config.h: New file.
9689 * sysdeps/ieee754/flt-32/math_errf.c: New file.
9690 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
9691 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
9692 * sysdeps/i386/fpu/math_errf.c: New file.
9693 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
9694 * sysdeps/ia64/fpu/math_errf.c: New file.
9695 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
9696 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
9698 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
9700 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
9701 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
9702 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
9703 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
9704 to make sure that these symbols are defined.
9705 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
9707 (__need_NULL): Do not define.
9708 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
9710 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
9711 CMGROUP_MAX, cmsgcred): Do not define.
9712 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
9714 * bits/socket.h: Likewise.
9715 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
9716 __gettimeofday instead of gettimeofday.
9717 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
9718 instead of settimeofday.
9720 2017-09-22 Joseph Myers <joseph@codesourcery.com>
9722 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
9723 (asinhf): Define using libm_alias_float.
9724 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
9725 (atanf): Define using libm_alias_float.
9726 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
9727 (cbrtf): Define using libm_alias_float.
9728 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
9729 (ceilf): Define using libm_alias_float.
9730 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
9731 <libm-alias-float.h>.
9732 (copysignf): Define using libm_alias_float.
9733 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
9734 (cosf): Define using libm_alias_float.
9735 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
9736 (erff): Define using libm_alias_float.
9738 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
9739 (expm1f): Define using libm_alias_float.
9740 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
9741 (fabsf): Define using libm_alias_float.
9742 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
9743 (floorf): Define using libm_alias_float.
9744 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
9745 (frexpf): Define using libm_alias_float.
9746 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
9748 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
9749 <libm-alias-float.h>.
9750 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
9752 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
9753 <libm-alias-float.h>.
9754 (getpayloadf): Define using libm_alias_float.
9755 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
9756 <libm-alias-float.h>.
9757 (llrintf): Define using libm_alias_float.
9758 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
9759 <libm-alias-float.h>.
9760 (llroundf): Define using libm_alias_float.
9761 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
9762 (logbf): Define using libm_alias_float.
9763 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
9764 (lrintf): Define using libm_alias_float.
9765 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
9766 (lroundf): Define using libm_alias_float.
9767 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
9768 (modff): Define using libm_alias_float.
9769 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
9770 <libm-alias-float.h>.
9771 (nearbyintf): Define using libm_alias_float.
9772 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
9773 <libm-alias-float.h>.
9774 (nextafterf): Define using libm_alias_float.
9775 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
9776 <libm-alias-float.h>.
9777 (nextupf): Define using libm_alias_float.
9778 * sysdeps/ieee754/flt-32/s_remquof.c: Include
9779 <libm-alias-float.h>.
9780 (remquof): Define using libm_alias_float.
9781 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
9782 (rintf): Define using libm_alias_float.
9783 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
9784 <libm-alias-float.h>.
9785 (roundevenf): Define using libm_alias_float.
9786 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
9787 (roundf): Define using libm_alias_float.
9788 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
9789 using libm_alias_float.
9790 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
9791 <libm-alias-float.h>.
9792 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
9793 Define using libm_alias_float.
9794 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
9795 <libm-alias-float.h>.
9796 (sincosf): Define using libm_alias_float.
9797 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
9798 (sinf): Define using libm_alias_float.
9799 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
9800 (tanf): Define using libm_alias_float.
9801 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
9802 (tanhf): Define using libm_alias_float.
9803 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
9804 <libm-alias-float.h>.
9805 (totalorderf): Define using libm_alias_float.
9806 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
9807 <libm-alias-float.h>.
9808 (totalordermagf): Define using libm_alias_float.
9809 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
9810 (truncf): Define using libm_alias_float.
9811 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
9813 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
9816 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9819 math/math.h: Let fpclassify use the builtin in C++ mode, even
9820 when optimazing for size.
9822 2017-09-22 Joseph Myers <joseph@codesourcery.com>
9824 * csu/Makefile (generated): Do not add version-info.h.
9825 (before-compile): Likewise.
9826 (all-Banner-files): Remove variable.
9827 ($(objpfx)version-info.h): Remove rule.
9828 * csu/version.c (banner): Do not include "version-info.h".
9829 * libidn/Banner: Remove.
9830 * manual/contrib.texi (Simon Josefsson): New entry.
9832 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9834 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9835 Remove conditionals on LDBL_MANT_DIG.
9836 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
9837 (__ieee754_lgammal_r): Likewise.
9839 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9841 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
9843 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
9844 _Float128 and L(). Replace _Float128 with long double and L(x)
9845 with xL, throughout the file.
9846 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9847 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
9848 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
9849 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
9851 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9853 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
9854 sysdeps/ieee754/ldbl-128ibm.
9855 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
9856 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
9857 of including it. Keep _Float128 and L() intact. These will be
9858 reviewed by a separate patch.
9859 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9860 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
9861 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
9862 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
9864 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
9867 (__finitef128): Define to __redirect___finitef128.
9868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
9869 (__isinff128): Define to __redirect___isinff128.
9870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
9871 (__isnanf128): Define to __redirect___isnanf128.
9873 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9875 * sysdeps/powerpc/powerpc64le/Makefile
9876 (CFLAGS-tst-strtod-nan-locale.c): New variable.
9877 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
9879 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
9880 Carlos O'Donell <carlos@redhat.com>
9883 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
9884 * stdlib/test-dlclose-exit-race.c: New file.
9885 * stdlib/test-dlclose-exit-race-helper.c: New file.
9886 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
9888 2017-09-21 Joseph Myers <joseph@codesourcery.com>
9890 * crypt/Banner: Remove file.
9891 * nptl/Banner: Likewise.
9892 * resolv/Banner: Likewise.
9893 * soft-fp/Banner: Likewise.
9894 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
9895 ($(objpfx)version.d): Remove dependency on banner.h.
9896 ($(objpfx)version.os): Likewise.
9897 * nptl/version.c (banner): Do not include banner.h.
9898 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
9899 Jelinek and BIND code.
9901 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
9902 Carlos O'Donell <carlos@redhat.com>
9904 * support/xdlfcn.h: New file.
9905 * support/xdlfcn.c: New file.
9906 * support/Makefile (libsupport-routines): Add xdlfcn.
9907 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
9909 2017-09-20 Joseph Myers <joseph@codesourcery.com>
9912 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9913 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
9914 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
9915 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
9916 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
9917 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
9918 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
9919 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
9921 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
9922 Ricky Zhou <rickyz@google.com>
9923 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
9926 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
9928 (__new_exitfn): Fail registration when we finished at_exit processing.
9929 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9930 * stdlib/on_exit.c (__on_exit): Likewise.
9931 * stdlib/exit.c (__exit_funcs_done): New variable.
9932 (__run_exit_handlers): Use __exit_funcs_lock.
9933 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
9935 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
9936 (test-cxa_atexit-race, test-on_exit-race): New tests.
9937 * stdlib/test-atexit-race-common.c: New file.
9938 * stdlib/test-atexit-race.c: New file.
9939 * stdlib/test-at_quick_exit-race.c: New file.
9940 * stdlib/test-cxa_atexit-race.c: New file.
9941 * stdlib/test-on_exit-race.c: New file.
9943 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
9945 * benchtests/Makefile: Add exp2f and log2f benchmarks.
9946 * benchtests/exp2f-inputs: Copy of expf-inputs.
9947 * benchtests/log2f-inputs: Copy of logf-inputs.
9949 2017-09-19 Joseph Myers <joseph@codesourcery.com>
9951 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
9952 Explicitly take address of first element of array arguments in
9953 call to INLINE_SYSCALL.
9955 2017-09-19 Andreas Schwab <schwab@suse.de>
9958 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
9960 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
9962 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
9963 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
9964 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9965 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
9966 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9967 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
9968 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9969 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
9970 * posix/Makefile (tests): Add tst-fexecve.
9971 * posix/tst-fexecve.c: New file.
9973 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9975 * benchtests/Makefile: Add logf benchmark.
9976 * benchtests/logf-inputs: Add reduced trace from wrf_r.
9978 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9980 * benchtests/Makefile: Add expf benchmark.
9981 * benchtests/expf-inputs: Add reduced trace from wrf_r.
9983 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9985 * csu/Makefile: Add -funwind-tables to libc-start.c.
9986 * debug/Makefile: Add -funwind-tables to backtrace.c.
9987 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
9988 * sysdeps/arm/Makefile: Likewise.
9989 * sysdeps/i386/Makefile: Likewise.
9990 * sysdeps/m68k/Makefile: Likewise.
9991 * sysdeps/mips/Makefile: Likewise.
9992 * sysdeps/nios2/Makefile: Likewise.
9993 * sysdeps/sh/Makefile: Likewise.
9994 * sysdeps/sparc/Makefile: Likewise.
9996 2017-09-19 Joseph Myers <joseph@codesourcery.com>
9998 * benchtests/Makefile (bench-math): Add trunc and truncf.
9999 (CFLAGS-bench-trunc.c): New variable.
10000 (CFLAGS-bench-truncf.c): Likewise.
10001 * benchtests/trunc-inputs: New file.
10002 * benchtests/truncf-inputs: Likewise.
10004 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10006 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
10008 2017-09-18 Joseph Myers <joseph@codesourcery.com>
10010 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
10011 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
10013 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
10014 (exp10l): Define as weak alias.
10015 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
10016 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
10018 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
10019 (remainderl): Define as weak alias.
10021 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
10022 (fmal): Define using libm_alias_ldouble.
10023 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
10024 (acoshl): Define using libm_alias_ldouble.
10025 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
10026 (acosl): Define using libm_alias_ldouble.
10027 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
10028 (asinl): Define using libm_alias_ldouble.
10029 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
10030 (atan2l): Define using libm_alias_ldouble.
10031 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
10032 (atanhl): Define using libm_alias_ldouble.
10033 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
10034 (coshl): Define using libm_alias_ldouble.
10035 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
10036 (exp10l): Define using libm_alias_ldouble.
10037 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
10038 (exp2l): Define using libm_alias_ldouble.
10039 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
10040 (expl): Define using libm_alias_ldouble.
10041 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
10042 (fmodl): Define using libm_alias_ldouble.
10043 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
10044 (hypotl): Define using libm_alias_ldouble.
10045 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
10046 (j0l): Define using libm_alias_ldouble.
10048 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
10049 (j1l): Define using libm_alias_ldouble.
10051 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
10052 (jnl): Define using libm_alias_ldouble.
10054 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
10055 (log10l): Define using libm_alias_ldouble.
10056 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
10057 (log2l): Define using libm_alias_ldouble.
10058 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
10059 (logl): Define using libm_alias_ldouble.
10060 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
10061 (powl): Define using libm_alias_ldouble.
10062 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
10063 (remainderl): Define using libm_alias_ldouble.
10064 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
10065 (sinhl): Define using libm_alias_ldouble.
10066 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
10067 (sqrtl): Define using libm_alias_ldouble.
10068 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
10069 (tgammal): Define using libm_alias_ldouble.
10070 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
10071 (exp10l): Do not use long_double_symbol here.
10072 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
10073 [LIBM_SVID_COMPAT] (remainderl): Likewise.
10074 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
10075 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
10076 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
10077 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
10078 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
10079 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
10080 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
10081 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
10082 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
10083 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
10084 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
10085 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
10086 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
10087 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
10088 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
10089 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
10090 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
10091 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
10092 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
10093 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
10095 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
10097 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
10098 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
10100 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
10102 * io/read.c (read): Add libc_hidden_weak.
10103 * sysdeps/mach/hurd/read.c (read): Likewise.
10104 * io/write.c (write): Likewise.
10105 * sysdeps/mach/hurd/write.c (write): Likewise.
10106 * io/pread64.c (__pread64): Likewise.
10107 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
10108 * posix/pread64.c (__pread64): Add libc_hidden_def.
10110 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
10112 * benchtests/scripts/compare_strings.py: New option -g.
10113 (draw_graph): Print a message that a graph is being generated.
10114 (process_results): Generate graph only if -g is passed.
10115 (main): Process option -g.
10117 * benchtests/scripts/compare_strings.py (process_results):
10118 Better spacing for output.
10120 * benchtests/scripts/compare_strings.py: Use argparse.
10121 * benchtests/README: Document existence of compare_strings.py.
10123 2017-09-15 Joseph Myers <joseph@codesourcery.com>
10125 * math/s_fma.c: Include <libm-alias-double.h>.
10126 (fma): Define using libm_alias_double.
10127 * math/s_nextafter.c: Include <libm-alias-double.h>.
10128 (nextafter): Define using libm_alias_double.
10129 * math/w_acos_compat.c: Include <libm-alias-double.h>.
10130 (acos): Define using libm_alias_double.
10131 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
10132 (aocsh): Define using libm_alias_double.
10133 * math/w_asin_compat.c: Include <libm-alias-double.h>.
10134 (asin): Define using libm_alias_double.
10135 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
10136 (atan2): Define using libm_alias_double.
10137 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
10138 (atanh): Define using libm_alias_double.
10139 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
10140 (cosh): Define using libm_alias_double.
10141 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
10142 (exp10): Define using libm_alias_double.
10143 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
10144 (exp2): Define using libm_alias_double.
10145 * math/w_exp_compat.c: Include <libm-alias-double.h>.
10146 (exp): Define using libm_alias_double.
10147 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
10148 (fmod): Define using libm_alias_double.
10149 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
10150 (hypot): Define using libm_alias_double.
10151 * math/w_j0_compat.c: Include <libm-alias-double.h>.
10152 (j0): Define using libm_alias_double.
10154 * math/w_j1_compat.c: Include <libm-alias-double.h>.
10155 (j1): Define using libm_alias_double.
10157 * math/w_jn_compat.c: Include <libm-alias-double.h>.
10158 (jn): Define using libm_alias_double.
10160 * math/w_log10_compat.c: Include <libm-alias-double.h>.
10161 (log10): Define using libm_alias_double.
10162 * math/w_log2_compat.c: Include <libm-alias-double.h>.
10163 (log2): Define using libm_alias_double.
10164 * math/w_log_compat.c: Include <libm-alias-double.h>.
10165 (log): Define using libm_alias_double.
10166 * math/w_pow_compat.c: Include <libm-alias-double.h>.
10167 (pow): Define using libm_alias_double.
10168 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
10169 (remainder): Define using libm_alias_double.
10170 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
10171 (sinh): Define using libm_alias_double.
10172 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
10173 (sqrt): Define using libm_alias_double.
10174 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
10175 (tgamma): Define using libm_alias_double.
10176 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
10177 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
10178 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
10179 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
10180 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
10181 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
10182 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
10183 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
10184 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
10185 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
10186 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
10187 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
10188 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
10189 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
10190 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
10191 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
10192 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
10193 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
10194 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
10195 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
10196 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
10197 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
10198 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
10199 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
10200 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
10202 * math/e_acoshl.c: Remove.
10203 * math/e_acosl.c: Likewise.
10204 * math/e_asinl.c: Likewise.
10205 * math/e_atan2l.c: Likewise.
10206 * math/e_atanhl.c: Likewise.
10207 * math/e_coshl.c: Likewise.
10208 * math/e_expl.c: Likewise.
10209 * math/e_fmodl.c: Likewise.
10210 * math/e_gammal_r.c: Likewise.
10211 * math/e_hypotl.c: Likewise.
10212 * math/e_j0l.c: Likewise.
10213 * math/e_j1l.c: Likewise.
10214 * math/e_jnl.c: Likewise.
10215 * math/e_lgammal_r.c: Likewise.
10216 * math/e_log10l.c: Likewise.
10217 * math/e_log2l.c: Likewise.
10218 * math/e_logl.c: Likewise.
10219 * math/e_powl.c: Likewise.
10220 * math/e_rem_pio2l.c: Likewise.
10221 * math/e_sinhl.c: Likewise.
10222 * math/e_sqrtf128.c: Likewise.
10223 * math/e_sqrtl.c: Likewise.
10224 * math/k_cosl.c: Likewise.
10225 * math/k_sinl.c: Likewise.
10226 * math/k_tanl.c: Likewise.
10227 * math/s_asinhl.c: Likewise.
10228 * math/s_atanl.c: Likewise.
10229 * math/s_cbrtl.c: Likewise.
10230 * math/s_erfl.c: Likewise.
10231 * math/s_expm1l.c: Likewise.
10232 * math/s_log1pl.c: Likewise.
10233 * math/s_tanhl.c: Likewise.
10235 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10238 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
10239 [$(subdir) = math] (sysdep_calls): New variable. Has the
10240 previous contents of sysdep_routines, but re-sorted..
10241 [$(subdir) = math] (sysdep_routines): Re-use the contents from
10243 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
10244 defined in sysdep_calls and replace by the respective m_* names.
10245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
10246 (compat_symbol): Undefine to avoid duplicated compat symbols in
10249 2017-09-15 Joseph Myers <joseph@codesourcery.com>
10251 * math/s_fmaf.c: Include <libm-alias-float.h>.
10252 (fmaf): Define using libm_alias_float.
10253 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
10254 (acosf): Define using libm_alias_float.
10255 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
10256 (acoshf): Define using libm_alias_float.
10257 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
10258 (asinf): Define using libm_alias_float.
10259 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
10260 (atan2f): Define using libm_alias_float.
10261 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
10262 (atanhf): Define using libm_alias_float.
10263 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
10264 (coshf): Define using libm_alias_float.
10265 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
10266 (exp10f): Define using libm_alias_float.
10267 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
10268 (fmodf): Define using libm_alias_float.
10269 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
10270 (hypotf): Define using libm_alias_float.
10271 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
10272 (j0f): Define using libm_alias_float.
10274 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
10275 (j1f): Define using libm_alias_float.
10277 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
10278 (jnf): Define using libm_alias_float.
10280 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
10281 (log10f): Define using libm_alias_float.
10282 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
10283 (log2f): Define using libm_alias_float.
10284 * math/w_logf_compat.c: Include <libm-alias-float.h>.
10285 (logf): Define using libm_alias_float.
10286 * math/w_powf_compat.c: Include <libm-alias-float.h>.
10287 (powf): Define using libm_alias_float.
10288 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
10289 (remainderf): Define using libm_alias_float.
10290 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
10291 (sinhf): Define using libm_alias_float.
10292 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
10293 (sqrtf): Define using libm_alias_float.
10294 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
10295 (tgammaf): Define using libm_alias_float.
10297 2017-09-14 Joseph Myers <joseph@codesourcery.com>
10299 * include/math.h (roundeven): Change hidden_proto call to
10301 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
10303 [NO_LONG_DOUBLE] (__j0l): New strong alias.
10304 (y0): Rename to __y0 and define as weak alias.
10305 [NO_LONG_DOUBLE] (__y0l): New strong alias.
10306 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
10308 (y0f): Rename to __y0f and define as weak alias.
10309 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
10311 [NO_LONG_DOUBLE] (__j1l): New strong alias.
10312 (y1): Rename to __y1 and define as weak alias.
10313 [NO_LONG_DOUBLE] (__y1l): New strong alias.
10314 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
10316 (y1f): Rename to __y1f and define as weak alias.
10317 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
10319 [NO_LONG_DOUBLE] (__jnl): New strong alias.
10320 (yn): Rename to __yn and define as weak alias.
10321 [NO_LONG_DOUBLE] (__ynl): New strong alias.
10322 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
10324 (ynf): Rename to __ynf and define as weak alias.
10325 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
10326 (fromfp): Define as weak alias.
10327 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
10328 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
10329 (fromfpx): Define as weak alias.
10330 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
10331 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
10332 __getpayload and define as weak alias.
10333 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
10334 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
10335 __roundeven and define as weak alias.
10336 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
10337 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
10339 (setpayload): Define as weak alias.
10340 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
10341 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
10343 (setpayloadsig): Define as weak alias.
10344 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
10345 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
10346 __totalorder and define as weak alias.
10347 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
10348 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
10349 to __totalordermag and define as weak alias.
10350 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
10351 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
10352 (ufromfp): Define as weak alias.
10353 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
10354 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
10356 (ufromfpx): Define as weak alias.
10357 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
10358 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
10359 Rename to __getpayload and define as weak alias.
10360 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
10361 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
10362 Rename to __roundeven and define as weak alias.
10363 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
10364 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
10365 Rename to __totalorder and define as weak alias.
10366 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
10367 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
10368 (totalordermag): Rename to __totalordermag and define as weak
10370 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
10371 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
10373 (__roundevenl): Likewise.
10374 (__totalorderl): Likewise.
10375 (__totalordermagl): Likewise
10376 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
10378 (fromfpf128): Define as weak alias.
10379 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
10381 (fromfpxf128): Define as weak alias.
10382 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
10384 (setpayloadf128): Define as weak alias.
10385 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
10386 __setpayloadsigf128.
10387 (setpayloadsigf128): Define as weak alias.
10388 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
10390 (ufromfpf128): Define as weak alias.
10391 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
10393 (ufromfpxf128): Define as weak alias.
10394 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
10395 (fromfpf): Define as weak alias.
10396 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
10398 (fromfpxf): Define as weak alias.
10399 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
10400 __getpayloadf and define as weak alias.
10401 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
10402 __roundevenf and define as weak alias.
10403 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
10405 (setpayloadf): Define as weak alias.
10406 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
10408 (setpayloadsigf): Define as weak alias.
10409 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
10410 __totalorderf and define as weak alias.
10411 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
10412 Rename to __totalordermagf and define as weak alias.
10413 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
10415 (ufromfpf): Define as weak alias.
10416 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
10418 (ufromfpxf): Define as weak alias.
10419 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
10421 (fromfpl): Define as weak alias.
10422 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
10424 (fromfpxl): Define as weak alias.
10425 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
10426 to __getpayloadl and define as weak alias.
10427 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
10428 __roundevenl and define as weak alias.
10429 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
10431 (setpayloadl): Define as weak alias.
10432 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
10434 (setpayloadsigl): Define as weak alias.
10435 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
10436 to __totalorderl and define as weak alias.
10437 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
10438 Rename to __totalordermagl and define as weak alias.
10439 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
10441 (ufromfpl): Define as weak alias.
10442 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
10444 (ufromfpxl): Define as weak alias.
10445 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
10447 (fromfpl): Define as weak alias.
10448 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
10450 (fromfpxl): Define as weak alias.
10451 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
10452 Rename to __getpayloadl and define as weak alias.
10453 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
10454 to __roundevenl and define as weak alias. Call __roundeven
10455 instead of roundeven.
10456 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
10458 (setpayloadl): Define as weak alias.
10459 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
10461 (setpayloadsigl): Define as weak alias.
10462 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
10463 Rename to __totalorderl and define as weak alias.
10464 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
10465 Rename to __totalordermagl and define as weak alias.
10466 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
10468 (ufromfpl): Define as weak alias.
10469 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
10471 (ufromfpxl): Define as weak alias.
10472 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
10474 (fromfpl): Define as weak alias.
10475 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
10477 (fromfpxl): Define as weak alias.
10478 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
10479 __getpayloadl and define as weak alias.
10480 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
10481 __roundevenl and define as weak alias.
10482 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
10484 (setpayloadl): Define as weak alias.
10485 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
10487 (setpayloadsigl): Define as weak alias.
10488 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
10489 __totalorderl and define as weak alias.
10490 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
10491 Rename to __totalordermagl and define as weak alias.
10492 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
10494 (ufromfpl): Define as weak alias.
10495 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
10497 (ufromfpxl): Define as weak alias.
10499 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
10501 * benchtests/bench-string.h (realloc_bufs): New function.
10502 (test_init): Call it.
10503 * benchtests/bench-memset-large.c (do_test): Likewise.
10504 * benchtests/bench-memset.c (do_test): Likewise.
10506 * benchtests/bench-memset-large.c: Print output in JSON
10508 * benchtests/bench-memset.c: Likewise.
10510 2017-09-14 Mike FABIAN <mfabian@redhat.com>
10513 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
10514 * iconvdata/Makefile: Add IBM858.
10515 * iconvdata/gconv-modules: Likewise.
10516 * iconvdata/tst-tables.sh: Likewise.
10517 * iconvdata/ibm858.c: New file.
10518 * localedata/charmaps/IBM858: Likewise.
10520 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
10523 * locales/niu_NZ (LC_TIME): copy "niu_NU".
10524 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
10526 2017-09-14 Mike FABIAN <mfabian@redhat.com>
10529 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
10530 and add tel_int_fmt.
10532 2017-09-14 Joseph Myers <joseph@codesourcery.com>
10534 * sysdeps/generic/libm-alias-float128.h: New file.
10535 * sysdeps/generic/math-type-macros-float128.h: Include
10536 <libm-alias-float128.h>.
10537 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
10539 2017-09-13 Joseph Myers <joseph@codesourcery.com>
10541 * sysdeps/generic/libm-alias-ldouble.h: New file.
10542 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
10543 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
10544 * sysdeps/generic/math-type-macros-ldouble.h: Include
10545 <libm-alias-ldouble.h>.
10546 [!declare_mgen_alias] (declare_mgen_alias): Define to use
10547 libm_alias_ldouble.
10549 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
10551 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
10552 * math/w_exp_compat.c: ... here.
10553 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
10554 * math/w_expf_compat.c: ... here.
10555 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
10556 * math/w_expl_compat.c: ... here.
10557 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
10558 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
10559 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
10560 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
10562 2017-09-13 Joseph Myers <joseph@codesourcery.com>
10564 * math/w_scalbln_template.c (strong_alias): Do not undefine and
10566 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
10568 (ldexpl): Only define as compat symbol for libc, not libm.
10569 (scalbnl): Define as compat symbol for libc here.
10570 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
10571 define for [IS_IN (libc)].
10572 (__ldexpl_2): Remove alias.
10573 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
10574 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
10575 name in long_double_symbol call.
10576 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
10577 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
10578 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
10579 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
10580 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
10582 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
10583 Define as compat symbol.
10585 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10587 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
10588 * sysdeps/unix/sysv/linux/alpha/Makefile
10589 [$(subdir) = csu] (sysdep_routines): Remove rule.
10591 2017-09-13 Joseph Myers <joseph@codesourcery.com>
10593 * sysdeps/generic/libm-alias-double.h: New file.
10594 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
10595 * sysdeps/generic/math-type-macros-double.h: Include
10596 <libm-alias-double.h>.
10597 [declare_mgen_alias] (declare_mgen_alias): Define to use
10599 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
10600 (M_LIBM_NEED_COMPAT): Remove macro.
10601 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
10602 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
10603 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
10605 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10606 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10607 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10608 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10609 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10610 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10611 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10612 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10613 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10614 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10615 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10616 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10617 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10618 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10619 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10620 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10621 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10622 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10623 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10624 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10625 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10626 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10627 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10628 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10629 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10630 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10631 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
10632 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
10633 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
10635 (declare_mgen_alias): New macro.
10636 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
10637 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
10638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
10639 (M_LIBM_NEED_COMPAT): Remove macro.
10640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
10641 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
10642 <first-versions.h>.
10643 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
10644 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
10646 2017-09-12 Joseph Myers <joseph@codesourcery.com>
10648 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
10649 (declare_mgen_alias_2): Remove.
10650 * sysdeps/generic/math-type-macros-double.h
10651 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
10653 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
10655 (ldexp): Define with declare_mgen_alias.
10656 (scalbn): Likewise.
10658 2017-09-12 Steve Ellcey <sellcey@cavium.com>
10660 * grp/initgroups.c: Include config.h.
10661 (DEFAULT_CONFIG): New macro.
10662 (internal_getgrouplist): Use DEFAULT_CONFIG.
10663 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10664 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
10665 (DEFAULT_DEFCONFIG): New macro.
10666 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
10667 * nss/grp-lookup.c: Include config.h
10668 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
10669 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
10670 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
10671 * manual/nss.texi: Update default values section.
10673 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
10676 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
10678 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
10679 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
10680 Handle MathVec_Prefer_No_AVX512.
10681 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
10682 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
10685 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
10687 * posix/sched_primax.c (__sched_get_priority_max): Add
10689 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
10690 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
10691 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
10692 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
10693 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
10694 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
10695 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
10696 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
10699 2017-09-11 Joseph Myers <joseph@codesourcery.com>
10701 * sysdeps/generic/libm-alias-float.h: New file.
10702 * sysdeps/generic/math-type-macros-float.h: Include
10703 <libm-alias-float.h>.
10704 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
10706 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
10709 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
10710 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
10711 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
10712 (HWCAP_IMPORTANT): Likewise.
10713 (HWCAP_X86_64): New enum.
10714 (HWCAP_X86_AVX512_1): Updated.
10715 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
10716 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
10717 (modules-names): Add x86_64/tst-x86_64mod-1.
10718 (LDFLAGS-tst-x86_64mod-1.so): New.
10719 ($(objpfx)tst-x86_64-1): Likewise.
10720 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
10721 (tst-x86_64-1-clean): Likewise.
10722 * sysdeps/x86_64/tst-x86_64-1.c: New file.
10723 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
10725 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10727 * po/sv.po: Update translations.
10728 * po/fr.po: Likewise.
10730 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10732 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
10734 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
10736 * elf/rtld-Rules: Fix $(error) use.
10738 2017-09-09 Mike FABIAN <mfabian@redhat.com>
10741 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
10742 * locale/iso-639.def: Change “Bengali” to “Bangla”.
10743 * localedata/locales/bn_BD: “Bengali” was still used in some
10744 comments. Change it to “Bangla”.
10746 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
10748 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
10750 2017-09-08 Steve Ellcey <sellcey@cavium.com>
10752 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
10753 thunderx2t99p1 to list of cpu names.
10754 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
10755 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
10757 2017-09-08 Steve Ellcey <sellcey@cavium.com>
10759 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
10760 Use strcmp instead of tunable_is_name.
10762 2017-09-08 Joseph Myers <joseph@codesourcery.com>
10764 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10765 (F_GET_RW_HINT): New macro.
10766 [__USE_GNU] (F_SET_RW_HINT): Likewise.
10767 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
10768 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
10769 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
10770 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
10771 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
10772 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
10773 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
10774 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
10776 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10777 (F_ADD_SEALS): New macro.
10778 [__USE_GNU] (F_GET_SEALS): Likewise.
10779 [__USE_GNU] (F_SEAL_SEAL): Likewise.
10780 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
10781 [__USE_GNU] (F_SEAL_GROW): Likewise.
10782 [__USE_GNU] (F_SEAL_WRITE): Likewise.
10784 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10786 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
10787 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
10788 * posix/glob_internal.h (__glob_pattern_type):
10789 * posix/glob.c (glob):
10790 * posix/glob_pattern_p.c (__glob_pattern_p):
10793 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
10794 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10795 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
10796 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
10797 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
10798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
10799 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
10800 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
10801 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
10802 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10803 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
10804 * sysdeps/wordsize-64/glob.c: Likewise.
10805 * sysdeps/wordsize-64/glob64.c: Likewise.
10806 * sysdeps/wordsize-64/globfree.c: Likewise.
10807 * sysdeps/wordsize-64/globfree64.c: Likewise.
10808 * sysdeps/unix/sysv/linux/glob.c: New file.
10809 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
10810 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
10811 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
10812 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
10813 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
10814 adds !GLOB_NO_OLD_VERSION as an extra condition.
10815 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
10816 using relative path instead of absolute one.
10817 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
10818 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10819 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10820 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
10821 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
10822 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
10825 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
10826 (glob): Use the same scratch buffer for both getlogin_r and
10827 getpwnam_r. Don’t require preallocation of the login name. This
10828 simplifies storage allocation, and corrects the handling of
10832 * posix/glob.c (glob): Port recent patches to platforms
10833 lacking getpwnam_r.
10834 (glob): Fix longstanding misuse of errno after getpwnam_r, which
10835 returns an error number rather than setting errno.
10837 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
10838 instead of GCC extension.
10839 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
10840 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
10841 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
10845 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
10846 * posix/bug-glob1.c: Remove file.
10847 * posix/tst-glob_symlinks.c: New file.
10848 * posix/glob.c (__lstat64): New macro.
10849 (is_dir): New function.
10850 (glob, glob_in_dir): Match symlinks even if they are dangling.
10851 (link_stat, link_exists_p): Remove. All uses removed.
10855 * posix/glob.c (struct readdir_result): Remove skip_entry member.
10856 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
10861 * posix/Makefile (routines): Add globfree, globfree64, and
10863 * posix/flexmember.h: New file.
10864 * posix/glob_internal.h: Likewise.
10865 * posix/glob_pattern_p.c: Likewise.
10866 * posix/globfree.c: Likewise.
10867 * posix/globfree64.c: Likewise.
10868 * sysdeps/gnu/globfree64.c: Likewise.
10869 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
10870 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
10871 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
10872 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
10873 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
10874 * sysdeps/wordsize-64/globfree.c: Likewise.
10875 * sysdeps/wordsize-64/globfree64.c: Likewise.
10876 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
10877 [NDEBUG): Remove comments.
10878 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
10879 (dirent_type): New type. Use uint_fast8_t not
10880 uint8_t, as C99 does not require uint8_t.
10881 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
10882 (struct readdir_result): Use dirent_type. Do not define skip_entry
10883 unless it is needed; this saves a byte on platforms lacking d_ino.
10884 (readdir_result_type, readdir_result_skip_entry):
10885 New functions, replacing ...
10886 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
10887 these functions, which were removed. This makes the callers
10888 easier to read. All callers changed.
10889 (D_INO_TO_RESULT): Now empty if there is no d_ino.
10890 (size_add_wrapv, glob_use_alloca): New static functions.
10891 (glob, glob_in_dir): Check for size_t overflow in several places,
10892 and fix some size_t checks that were not quite right.
10893 Remove old code using SHELL since Bash no longer
10895 (glob, prefix_array): Separate MS code better.
10896 (glob_in_dir): Remove old Amiga and VMS code.
10897 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
10899 (glob_in_dir): Do not rely on undefined behavior in accessing
10900 struct members beyond their bounds. Use a flexible array member
10902 (link_stat): Rename from link_exists2_p and return -1/0 instead of
10903 0/1. Caller changed.
10904 (glob): Fix memory leaks.
10905 * posix/glob64 (globfree64): Move to separate file.
10906 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
10907 (globfree64): Remove hidden alias.
10908 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
10910 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
10912 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
10914 Move compat code to separate file.
10915 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
10918 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
10920 * resolv/tst-resolv-qtypes.c (domain): Changed to
10921 "const char domain[] =".
10923 2017-09-07 Joseph Myers <joseph@codesourcery.com>
10925 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
10928 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
10929 (TCP_MD5SIG_EXT): Likewise.
10930 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
10931 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
10932 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
10934 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
10936 2017-09-07 Mike FABIAN <mfabian@redhat.com>
10938 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
10940 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
10943 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
10945 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
10947 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
10948 before assuming that the file is empty. Avoid testing buffer content
10951 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10954 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
10956 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
10958 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
10960 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
10962 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
10964 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
10966 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
10969 2017-09-06 Florian Weimer <fweimer@redhat.com>
10971 * malloc/dynarray_emplace_enlarge.c
10972 (__libc_dynarray_emplace_enlarge): Add missing else.
10974 2017-09-06 Florian Weimer <fweimer@redhat.com>
10977 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
10978 case of failure to obtain the global conf object.
10980 2017-09-06 Florian Weimer <fweimer@redhat.com>
10983 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
10984 dynarray allocation failure.
10986 2017-09-06 Florian Weimer <fweimer@redhat.com>
10988 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
10989 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
10990 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
10992 (response): Call them. Add 'p', '6' flag processing.
10993 (test_reverse): New function.
10994 (test_get2_any): Call it.
10995 (test_no_inet6): Add 'p' test.
10996 (test_inet6): Likewise.
10998 2017-09-06 Florian Weimer <fweimer@redhat.com>
11000 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
11001 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
11003 (test_gai): Adjust query names. Add additional tests.
11004 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
11005 test_get2. Adjust query names. Add additional tests.
11006 (test_no_inet6): New function, extracted from threadfunc.
11007 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
11008 Add additional tests.
11010 2017-09-06 Mike FABIAN <mfabian@redhat.com>
11013 * localedata/unicode-gen/utf8_gen.py: Set the width for
11014 characters with Prepended_Concatenation_Mark property to 1
11015 * localedata/charmaps/UTF-8: Updated using the improved script.
11017 2017-09-06 Mike FABIAN <mfabian@redhat.com>
11020 * localedata/unicode-gen/utf8_gen.py: Improve the script to
11021 use the range notation for all ranges of neighbouring characters
11022 with the same width.
11024 2017-09-05 Joseph Myers <joseph@codesourcery.com>
11026 * sysdeps/generic/math-type-macros-double.h: Include
11027 <math-svid-compat.h>.
11028 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
11029 * sysdeps/generic/math-type-macros-float.h: Include
11030 <math-svid-compat.h>.
11031 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
11032 * sysdeps/generic/math-type-macros-ldouble.h: Include
11033 <math-svid-compat.h>.
11034 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
11035 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
11037 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
11038 * math/w_acosf_compat.c: Likewise.
11039 * math/w_acosh_compat.c: Likewise.
11040 * math/w_acoshf_compat.c: Likewise.
11041 * math/w_acoshl_compat.c: Likewise.
11042 * math/w_acosl_compat.c: Likewise.
11043 * math/w_asin_compat.c: Likewise.
11044 * math/w_asinf_compat.c: Likewise.
11045 * math/w_asinl_compat.c: Likewise.
11046 * math/w_atan2_compat.c: Likewise.
11047 * math/w_atan2f_compat.c: Likewise.
11048 * math/w_atan2l_compat.c: Likewise.
11049 * math/w_atanh_compat.c: Likewise.
11050 * math/w_atanhf_compat.c: Likewise.
11051 * math/w_atanhl_compat.c: Likewise.
11052 * math/w_cosh_compat.c: Likewise.
11053 * math/w_coshf_compat.c: Likewise.
11054 * math/w_coshl_compat.c: Likewise.
11055 * math/w_exp10_compat.c: Likewise.
11056 * math/w_exp10f_compat.c: Likewise.
11057 * math/w_exp10l_compat.c: Likewise.
11058 * math/w_exp2_compat.c: Likewise.
11059 * math/w_exp2f_compat.c: Likewise.
11060 * math/w_exp2l_compat.c: Likewise.
11061 * math/w_fmod_compat.c: Likewise.
11062 * math/w_fmodf_compat.c: Likewise.
11063 * math/w_fmodl_compat.c: Likewise.
11064 * math/w_hypot_compat.c: Likewise.
11065 * math/w_hypotf_compat.c: Likewise.
11066 * math/w_hypotl_compat.c: Likewise.
11067 * math/w_j0_compat.c: Likewise.
11068 * math/w_j0f_compat.c: Likewise.
11069 * math/w_j0l_compat.c: Likewise.
11070 * math/w_j1_compat.c: Likewise.
11071 * math/w_j1f_compat.c: Likewise.
11072 * math/w_j1l_compat.c: Likewise.
11073 * math/w_jn_compat.c: Likewise.
11074 * math/w_jnf_compat.c: Likewise.
11075 * math/w_jnl_compat.c: Likewise.
11076 * math/w_lgamma_r_compat.c: Likewise.
11077 * math/w_lgammaf_r_compat.c: Likewise.
11078 * math/w_lgammal_r_compat.c: Likewise.
11079 * math/w_log10_compat.c: Likewise.
11080 * math/w_log10f_compat.c: Likewise.
11081 * math/w_log10l_compat.c: Likewise.
11082 * math/w_log2_compat.c: Likewise.
11083 * math/w_log2f_compat.c: Likewise.
11084 * math/w_log2l_compat.c: Likewise.
11085 * math/w_log_compat.c: Likewise.
11086 * math/w_logf_compat.c: Likewise.
11087 * math/w_logl_compat.c: Likewise.
11088 * math/w_pow_compat.c: Likewise.
11089 * math/w_powf_compat.c: Likewise.
11090 * math/w_powl_compat.c: Likewise.
11091 * math/w_remainder_compat.c: Likewise.
11092 * math/w_remainderf_compat.c: Likewise.
11093 * math/w_remainderl_compat.c: Likewise.
11094 * math/w_sinh_compat.c: Likewise.
11095 * math/w_sinhf_compat.c: Likewise.
11096 * math/w_sinhl_compat.c: Likewise.
11097 * math/w_sqrt_compat.c: Likewise.
11098 * math/w_sqrtf_compat.c: Likewise.
11099 * math/w_sqrtl_compat.c: Likewise.
11100 * math/w_tgamma_compat.c: Likewise.
11101 * math/w_tgammaf_compat.c: Likewise.
11102 * math/w_tgammal_compat.c: Likewise.
11103 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
11104 [LIBM_SVID_COMPAT].
11105 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
11106 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
11107 [LIBM_SVID_COMPAT].
11108 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
11109 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
11110 [LIBM_SVID_COMPAT].
11111 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
11112 * sysdeps/i386/fpu/w_sqrt.c: New file.
11113 * sysdeps/ia64/fpu/w_acos.c: Likewise.
11114 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
11115 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
11116 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
11117 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
11118 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
11119 * sysdeps/ia64/fpu/w_asin.c: Likewise.
11120 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
11121 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
11122 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
11123 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
11124 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
11125 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
11126 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
11127 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
11128 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
11129 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
11130 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
11131 * sysdeps/ia64/fpu/w_exp.c: Likewise.
11132 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
11133 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
11134 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
11135 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
11136 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
11137 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
11138 * sysdeps/ia64/fpu/w_expf.c: Likewise.
11139 * sysdeps/ia64/fpu/w_expl.c: Likewise.
11140 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
11141 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
11142 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
11143 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
11144 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
11145 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
11146 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
11147 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
11148 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
11149 * sysdeps/ia64/fpu/w_log.c: Likewise.
11150 * sysdeps/ia64/fpu/w_log10.c: Likewise.
11151 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
11152 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
11153 * sysdeps/ia64/fpu/w_log2.c: Likewise.
11154 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
11155 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
11156 * sysdeps/ia64/fpu/w_logf.c: Likewise.
11157 * sysdeps/ia64/fpu/w_logl.c: Likewise.
11158 * sysdeps/ia64/fpu/w_pow.c: Likewise.
11159 * sysdeps/ia64/fpu/w_powf.c: Likewise.
11160 * sysdeps/ia64/fpu/w_powl.c: Likewise.
11161 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
11162 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
11163 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
11164 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
11165 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
11166 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
11167 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
11168 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
11169 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
11170 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
11171 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
11172 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
11173 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
11174 [LIBM_SVID_COMPAT].
11175 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
11176 * sysdeps/ieee754/k_standard.c: Likewise.
11177 * sysdeps/ieee754/k_standardf.c: Likewise.
11178 * sysdeps/ieee754/k_standardl.c: Likewise.
11179 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
11180 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
11181 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
11182 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
11183 long_double_symbol call on [LIBM_SVID_COMPAT].
11184 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
11185 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
11186 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
11187 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
11188 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
11189 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
11190 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
11191 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
11192 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
11193 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
11194 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
11195 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
11196 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
11197 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
11198 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
11199 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
11200 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
11201 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
11202 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
11203 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
11204 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
11205 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
11207 2017-09-05 Steve Ellcey <sellcey@cavium.com>
11209 * include/shlib-compat.h (TEST_COMPAT): New Macro.
11210 * malloc/tst-mallocstate.c: Convert from test-skeleton
11211 to test-driver. Ifdef code using TEST_COMPAT macro.
11212 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
11213 * math/test-matherr.c: Likewise.
11215 2017-09-05 Joseph Myers <joseph@codesourcery.com>
11218 * debug/pcprofiledump.c (main): Use byte-swapped mask when
11219 comparing word with byte-swapped constant.
11221 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
11224 * locale/iso-639.def: add Miskito.
11225 * localedata/SUPPORTED: Add miq_NI/UTF-8.
11226 * localedata/locales/miq_NI: New file.
11228 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
11231 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
11232 (__mkdir): Likewise.
11233 * io/chmod.c (__chmod): Add libc_hidden_def.
11234 * io/mkdir.c (__mkdir): Likewise.
11235 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
11236 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
11237 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
11238 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
11240 2017-09-04 Joseph Myers <joseph@codesourcery.com>
11242 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11246 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
11247 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
11249 2017-09-04 Florian Weimer <fweimer@redhat.com>
11251 * math/math.h: Issue warning if log is defined.
11253 2017-09-04 Joseph Myers <joseph@codesourcery.com>
11255 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11256 kernel version to 4.13.
11258 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11260 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
11261 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
11263 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
11264 just <bits/types.h>.
11265 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
11266 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
11267 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
11268 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
11269 * misc/preadv2.c: Include <errno.h>.
11270 * misc/preadv64v2.c: Include <errno.h>.
11271 * misc/pwritev2.c: Include <errno.h>.
11272 * misc/pwritev64v2.c: Include <errno.h>.
11273 * sysdeps/posix/preadv2.c: Include <errno.h>.
11274 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
11275 Fix <unistd.h> inclusion.
11276 * sysdeps/posix/pwritev2.c: Include <errno.h>.
11277 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
11278 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
11279 __strtoul_internal): New functions.
11280 * sysdeps/posix/pause.c: Include <sigsetops.h>.
11281 * sysdeps/posix/system.c: Include <sigsetops.h>.
11282 * sysdeps/mach/hurd/i386/Makefile
11283 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
11284 [$(subdir) = csu] (sysdep-only-routines): Likewise.
11285 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
11286 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
11287 __feraiseexcept_renamed to feraiseexcept instead of
11288 __GI_feraiseexcept.
11289 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
11290 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
11291 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
11292 RWF_NOWAIT): Define to 0 if undefined already.
11293 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
11295 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
11296 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
11298 2017-09-01 Joseph Myers <joseph@codesourcery.com>
11300 * manual/math.texi (pow10): Do not document.
11301 (pow10f): Likewise.
11302 (pow10l): Likewise.
11303 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
11304 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
11305 * math/libm-test-exp10.inc (pow10_test): Remove.
11306 (do_test): Do not call pow10.
11307 * math/w_exp10_compat.c (pow10): Make into compat symbol.
11308 [NO_LONG_DOUBLE] (pow10l): Likewise.
11309 * math/w_exp10f_compat.c (pow10f): Likewise.
11310 * math/w_exp10l_compat.c (pow10l): Likewise.
11311 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
11312 (pow10): Make into compat symbol.
11313 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
11314 (pow10f): Make into compat symbol.
11315 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
11316 (pow10l): Make into compat symbol.
11317 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
11319 (CFLAGS-nldbl-pow10.c): Remove variable..
11320 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
11321 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
11322 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
11323 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
11324 Undefine and redefine.
11325 (pow10l): Make into compat symbol.
11326 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
11327 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11328 * sysdeps/arm/libm-test-ulps: Likewise.
11329 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
11330 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11331 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
11332 * sysdeps/microblaze/libm-test-ulps: Likewise.
11333 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11334 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11335 * sysdeps/nios2/libm-test-ulps: Likewise.
11336 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11337 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11338 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11339 * sysdeps/sh/libm-test-ulps: Likewise.
11340 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11341 * sysdeps/tile/libm-test-ulps: Likewise.
11342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11344 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
11346 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
11348 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
11350 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
11351 "../ChangeLog.old/ChangeLog.8".
11352 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
11353 "../ChangeLog.old/ChangeLog.14".
11355 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
11357 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
11360 2017-09-01 Joseph Myers <joseph@codesourcery.com>
11362 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
11364 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
11366 * csu/version.c (banner): Remove "by Roland McGrath et al.".
11367 * nptl/Banner: Remove "by Ulrich Drepper et al.".
11369 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
11371 * stdlib/tst-atexit-common.c (do_test): Test support for at least
11372 32 atexit handlers.
11374 2017-09-01 Zack Weinberg <zackw@panix.com>
11376 * math/math.h (HUGE_VAL): Improve commentary.
11378 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11379 Andreas Schwab <schwab@suse.de>
11382 * include/stdio.h (__gen_tempfd): New function.
11383 * stdio-common/Makefile (routines): Add gentempfd.
11384 * stdio-common/gentempfd.c: New file.
11385 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
11386 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
11387 unnamed file first.
11389 2017-09-01 Florian Weimer <fweimer@redhat.com>
11393 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
11394 result to determine success or failure, not the errno value.
11395 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
11396 (tst-nss-files-hosts-erange): Link with -ldl.
11397 * nss/tst-nss-files-hosts-erange.c: New file.
11398 * nss/tst-resolv-basic.c (response): Handle nodata.example.
11399 (do_test): Add NO_DATA tests.
11400 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
11401 (do_test): Call it.
11403 2017-09-01 Florian Weimer <fweimer@redhat.com>
11406 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
11407 coming from gethostbyname2_r.
11409 2017-09-01 Florian Weimer <fweimer@redhat.com>
11411 * support/namespace.h (struct support_chroot_configuration): Add
11413 (struct support_chroot): Add path_hosts, path_host_conf.
11414 * support/support_chroot.c (write_file): New function.
11415 (support_chroot_create): Call it to process /etc/resolv.conf,
11416 /etc/hosts, /etc/host.conf.
11417 (support_chroot_free): Update.
11419 2017-09-01 Florian Weimer <fweimer@redhat.com>
11421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
11422 status indicates it is set.
11424 2017-09-01 Florian Weimer <fweimer@redhat.com>
11426 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
11427 function lookup failures more reliable.
11429 2017-09-01 Florian Weimer <fweimer@redhat.com>
11431 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
11432 (getcanonname): Likewise.
11433 (gaih_inet): Likewise.
11435 2017-09-01 Florian Weimer <fweimer@redhat.com>
11437 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
11438 (getcanonname): Likewise.
11439 (gaih_inet): Likewise.
11441 2017-08-31 Steve Ellcey <sellcey@cavium.com>
11442 Richard Henderson <rth@twiddle.net>
11444 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
11445 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
11446 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
11447 (IREG_SIZE, OREG_SIZE): New macros.
11448 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
11449 (IREG_SIZE, OREG_SIZE): New macros.
11450 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
11451 (IREG_SIZE): New macro.
11452 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
11453 (IREG_SIZE): New macro.
11454 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
11456 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
11457 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
11458 (__CONCATX): Handle exceptions correctly on large values that may
11460 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
11461 Initialize if not already set.
11462 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
11464 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11466 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
11467 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
11469 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
11471 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
11473 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
11475 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
11477 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
11479 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
11481 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
11482 (NO_CANCELLATION): Likewise.
11483 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
11485 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
11487 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
11489 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
11490 (NO_CANCELLATION): Likewise.
11491 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
11492 (NO_CANCELLATION): Likewise.
11493 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
11495 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
11497 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
11499 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
11501 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
11503 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
11504 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
11506 2017-08-31 Steve Ellcey <sellcey@cavium.com>
11508 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
11511 2017-08-31 Florian Weimer <fweimer@redhat.com>
11513 * include/libc-symbols.h (internal_function): Remove.
11515 2017-08-31 Florian Weimer <fweimer@redhat.com>
11517 * stdlib/fmtmsg.c (internal_addseverity): Remove
11520 2017-08-31 Florian Weimer <fweimer@redhat.com>
11522 * stdio-common/printf_fp.c (group_number): Remove
11524 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
11526 2017-08-31 Florian Weimer <fweimer@redhat.com>
11528 * posix/fnmatch.c (internal_function): Remove definition.
11529 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
11530 * posix/regcomp.c (peek_token, init_word_char)
11531 (duplicate_node_closure, fetch_token, peek_token)
11532 (peek_token_bracket, build_range_exp, build_collating_symbol):
11534 * posix/regex_internal.c (re_string_construct_common)
11535 (create_ci_newstate, create_cd_newstate, re_string_allocate)
11536 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
11537 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
11538 (re_string_translate_buffer, re_string_reconstruct)
11539 (re_string_peek_byte_case, re_string_fetch_byte_case)
11540 (re_string_destruct, re_string_context_at, re_node_set_alloc)
11541 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
11542 (re_node_set_add_intersect, re_node_set_init_union)
11543 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
11544 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
11545 (re_dfa_add_node, calc_state_hash, re_acquire_state)
11546 (re_acquire_state_context): Likewise.
11547 * posix/regex_internal.h (internal_function): Remove definition.
11548 (re_string_realloc_buffers, build_wcs_buffer)
11549 (build_wcs_upper_buffer, build_upper_buffer)
11550 (re_string_translate_buffer, re_string_context_at)
11551 (re_string_char_size_at, re_string_wchar_at)
11552 (re_string_elem_size_at): Likewise.
11553 * posix/regexec.c (match_ctx_init, match_ctx_clean)
11554 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
11555 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
11556 (re_search_internal, re_search_2_stub, re_search_stub)
11557 (re_copy_regs, prune_impossible_nodes, check_matching)
11558 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
11559 (free_fail_stack_return, sift_states_iter_mb)
11560 (sift_states_backward, build_sifted_states)
11561 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
11562 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
11563 (check_subexp_limits, sift_states_bkref, merge_state_array)
11564 (find_recover_state, transit_state, merge_state_with_log)
11565 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
11566 (transit_state_mb, transit_state_bkref, get_subexp)
11567 (get_subexp_sub, find_subexp_node, check_arrival)
11568 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
11569 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
11570 (check_node_accept_bytes, find_collation_sequence_value)
11571 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
11572 (acquire_init_state_context, check_halt_node_context)
11573 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
11574 (sub_epsilon_src_nodes): Likewise.
11575 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
11576 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
11577 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
11578 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
11579 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
11580 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
11581 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
11582 * sysdeps/posix/ttyname.c (getttyname): Likewise.
11583 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
11584 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
11585 (PREADV): Likewise.
11586 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
11587 (PREADV): Likewise.
11588 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
11589 (PWRITEV): Likewise.
11590 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
11591 (PWRITEV): Likewise.
11592 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
11593 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
11595 2017-08-31 Florian Weimer <fweimer@redhat.com>
11597 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
11598 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
11599 Remove internal_function.
11600 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
11601 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
11602 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
11603 (__deallocate_stack, __libc_pthread_init)
11604 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
11605 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
11606 (__libc_disable_asynccancel, __librt_disable_asynccancel):
11608 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
11609 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
11610 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
11612 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
11613 (__pthread_mutex_unlock_usercnt): Likewise.
11615 2017-08-31 Florian Weimer <fweimer@redhat.com>
11617 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
11618 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
11619 (fts_safe_changedir): Remove internal_function.
11620 * io/ftw.c (internal_function): Remove definition.
11621 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
11623 2017-08-31 Florian Weimer <fweimer@redhat.com>
11625 * inet/deadline.c (__deadline_current_time)
11626 (__deadline_from_timeval, __deadline_to_ms): Remove
11628 * inet/getnameinfo.c (nrl_domainname): Likewise.
11629 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
11630 * inet/inet6_option.c (add_pad): Likewise.
11631 * inet/net-internal.h (__deadline_current_time)
11632 (__deadline_from_timeval, __deadline_to_ms): Likewise.
11633 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
11634 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
11635 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
11637 2017-08-31 Joseph Myers <joseph@codesourcery.com>
11639 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
11640 include <bits/nan.h>.
11641 * math/Makefile (headers): Remove bits/nan.h.
11642 * bits/nan.h: Remove.
11643 * sysdeps/ieee754/bits/nan.h: Likewise.
11644 * sysdeps/mips/bits/nan.h: Likewise.
11646 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
11647 not include <bits/inf.h>.
11648 * math/Makefile (headers): Remove bits/inf.h.
11649 * bits/inf.h: Remove.
11650 * sysdeps/ieee754/bits/inf.h: Likewise.
11652 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
11653 bits/huge_vall.h or bits/huge_val_flt128.h.
11654 (HUGE_VAL): Define directly here.
11655 [__USE_ISOC99] (HUGE_VALF): Likewise.
11656 [__USE_ISOC99] (HUGE_VALL): Likewise.
11657 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
11658 (HUGE_VAL_F128): Likewise.
11659 * math/Makefile (headers): Remove bits/huge_val.h,
11660 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
11661 * bits/huge_val.h: Remove.
11662 * bits/huge_val_flt128.h: Likewise.
11663 * bits/huge_valf.h: Likewise.
11664 * bits/huge_vall.h: Likewise.
11665 * sysdeps/ia64/bits/huge_vall.h: Likewise.
11666 * sysdeps/ieee754/bits/huge_val.h: Likewise.
11667 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
11668 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
11669 * sysdeps/sh/bits/huge_val.h: Likewise.
11670 * sysdeps/sparc/bits/huge_vall.h: Likewise.
11671 * sysdeps/x86/bits/huge_vall.h: Likewise.
11673 2017-08-31 Florian Weimer <fweimer@redhat.com>
11675 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
11677 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
11679 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
11680 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11681 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
11682 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
11683 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11684 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11685 * elf/dl-libc.c (dlerror_run): Likewise.
11686 * elf/dl-load.c (add_name_to_object, decompose_rpath)
11687 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
11688 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
11689 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
11691 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
11692 (_dl_higher_prime_number, _dl_strtoul): Likewise.
11693 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
11694 * elf/dl-profile.c (_dl_start_profile): Likewise.
11695 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
11696 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
11698 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
11699 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
11700 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
11701 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
11702 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
11703 (_dl_allocate_tls_storage): Likewise.
11704 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
11705 (_dl_check_all_versions): Likewise.
11706 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
11707 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
11708 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
11709 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
11710 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
11711 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
11712 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
11713 internal_function from __dl_start.
11714 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
11715 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
11716 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
11717 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
11718 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
11719 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
11720 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
11721 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
11722 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
11723 (_dl_next_ld_env_entry, _dl_important_hwcaps)
11724 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
11725 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
11726 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
11727 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
11728 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
11730 (struct rtld_global_ro): Remove internal_function from the
11731 _dl_lookup_symbol_x member.
11732 (_dl_symbol_value): Remove. No longer defined anywhere.
11733 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
11735 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
11736 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
11737 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
11738 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
11739 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
11740 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
11741 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
11742 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
11743 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
11744 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
11745 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
11746 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
11748 2017-08-31 Florian Weimer <fweimer@redhat.com>
11750 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
11751 Remove internal_function.
11752 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
11754 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
11757 2017-08-31 Florian Weimer <fweimer@redhat.com>
11759 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
11760 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
11761 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
11763 2017-08-31 Florian Weimer <fweimer@redhat.com>
11765 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
11766 (__gai_enqueue_request): Remove internal_function.
11767 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
11768 (__gai_remove_request, __gai_notify, __gai_notify_only)
11769 (__gai_sigqueue): Likewise.
11770 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
11771 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
11772 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
11773 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11776 2017-08-31 Florian Weimer <fweimer@redhat.com>
11778 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
11779 * include/dirent.h (__opendirat, __getdents, __getdents64)
11780 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
11781 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
11782 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
11783 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
11785 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
11787 2017-08-31 Florian Weimer <fweimer@redhat.com>
11789 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
11791 (GETCWD_RETURN_TYPE): Likewise.
11793 2017-08-31 Florian Weimer <fweimer@redhat.com>
11795 * include/time.h (__tz_compute, __strptime_internal): Remove
11797 * time/strptime_l.c (__strptime_internal): Likewise.
11798 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
11800 2017-08-31 Florian Weimer <fweimer@redhat.com>
11802 * iconv/gconv.c (__gconv): Remove internal_function.
11803 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
11804 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
11805 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
11806 (__gconv_release_cache): Likewise.
11807 * iconv/gconv_close.c (__gconv_close): Likewise.
11808 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
11809 (read_conf_file, __gconv_get_path): Likewise.
11810 * iconv/gconv_db.c (derivation_lookup, add_derivation)
11811 (__gconv_release_step, gen_steps, increment_counter)
11812 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
11813 (__gconv_close_transform, free_modules_db): Likewise.
11814 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
11816 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
11817 (__gconv_find_transform, __gconv_lookup_cache)
11818 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
11819 (__gconv_close_transform, __gconv_release_cache)
11820 (__gconv_loaded_object, __gconv_release_shlib)
11821 (__gconv_compare_alias): Likewise.
11822 * iconv/gconv_open.c (__gconv_open): Likewise.
11823 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
11824 * iconv/iconvconfig.c (add_module): Likewise.
11825 * intl/dcigettext.c (plural_lookup, guess_category_value)
11826 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
11827 * intl/eval-plural.h (plural_eval): Likewise.
11828 * intl/finddomain.c (_nl_find_domain): Likewise.
11829 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
11830 (_nl_load_domain, _nl_find_msg): Likewise.
11831 (internal_function): Remove definition.
11832 * intl/loadinfo.h (internal_function): Likewise.
11833 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
11835 * intl/localealias.c (internal_function): Remove definition.
11836 (read_alias_file): Remove internal_function.
11837 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
11838 * intl/plural-exp.h (internal_function): Remove definition.
11839 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
11841 * intl/plural.c: Regenerate.
11842 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
11843 * locale/coll-lookup.c (__collidx_table_lookup)
11844 (__collseq_table_lookup): Likewise.
11845 * locale/coll-lookup.h (__collidx_table_lookup)
11846 (__collseq_table_lookup): Likewise.
11847 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
11848 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11849 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
11850 (_nl_unload_locale): Likewise.
11851 * locale/localeinfo.h (struct __locale_data): Remove
11852 internal_function from cleanup member.
11853 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
11854 (_nl_remove_locale, _nl_load_locale_from_archive)
11855 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
11856 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
11857 (_nl_cleanup_time): Remove internal_function.
11858 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
11859 (_nl_parse_alt_digit): Likewise.
11860 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
11861 (_nl_select_era_entry): Likewise.
11862 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
11863 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
11864 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
11865 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
11866 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
11868 2017-08-31 Florian Weimer <fweimer@redhat.com>
11870 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
11871 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
11872 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
11873 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
11875 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
11876 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
11877 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
11878 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
11880 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
11882 2017-08-31 Florian Weimer <fweimer@redhat.com>
11884 * misc/getttyent.c (skip, value): Remove internal_function.
11885 * misc/syslog.c (openlog_internal): Likewise.
11886 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
11888 2017-08-31 Florian Weimer <fweimer@redhat.com>
11890 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
11891 (__nss_rewrite_field): Remove internal_function.
11892 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11893 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
11894 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11895 * nss/nsswitch.c (nss_parse_file, nss_getline)
11896 (nss_parse_service_list, nss_new_service): Likewise.
11897 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
11898 * nss/valid_field.c (__nss_valid_field): Likewise.
11899 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
11901 2017-08-31 Florian Weimer <fweimer@redhat.com>
11903 * malloc/arena.c (__malloc_fork_lock_parent)
11904 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
11905 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
11906 internal_function from defintions.
11907 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
11908 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
11909 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
11910 internal_function from declarations.
11911 * malloc/malloc.c (internal_function): Do not define.
11912 (mem2mem_check): Remove internal_function from declaration.
11913 (munmap_chunk, mremap_chunk): Remove internal_function.
11914 * malloc/mtrace.c (tr_where): Likewise.
11916 2017-08-31 Florian Weimer <fweimer@redhat.com>
11918 * include/rpc/pmap_clnt.h (__get_socket): Remove
11920 * sunrpc/auth_des.c (synchronize): Likewise.
11921 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
11922 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
11923 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
11924 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
11925 (key_call): Likewise.
11926 * sunrpc/pm_getport.c (__get_socket): Likewise.
11927 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
11928 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
11929 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
11930 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
11931 (invalidate): Likewise.
11932 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
11933 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
11934 (set_input_fragment, get_input_bytes): Likewise.
11936 2017-08-31 Florian Weimer <fweimer@redhat.com>
11938 * malloc/malloc.c (_int_free): Remove locked variable and related
11941 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
11944 * Makerules (build-module-helper-objlist): Filter out
11945 $(elf-objpfx)sofini.os.
11946 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
11949 2017-08-31 Florian Weimer <fweimer@redhat.com>
11951 * libio/fcloseall.c: Assume weak_alias is defined.
11952 * libio/feof.c: Likewise.
11953 * libio/fileno.c: Likewise.
11954 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
11955 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
11957 (_IO_file_open): Call __open directly.
11958 (_IO_new_file_sync): Assume ESPIPE is defined.
11959 (_IO_file_seekoff_maybe_mmap): Call __read directly.
11960 (_IO_new_file_write): Call __write directly.
11961 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
11962 * libio/ftello64.c (__ftello64): Assume EIO is defined.
11963 * libio/genops.c: Assume _LIBC is defined.
11964 (save_for_backup): Remove internal_function.
11965 * libio/getc.c: Assume weak_alias is defined.
11966 * libio/getwc.c: Likewise.
11967 * libio/iofclose.c: Assume _LIBC is defined.
11968 * libio/iofdopen.c: Likewise.
11969 (_IO_fcntl): Remove macro definition.
11970 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
11971 Call __fcntl directly.
11972 * libio/iofflush.c: Assume weak_alias is defined.
11973 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
11975 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
11976 * libio/iofgets.c: Likewise.
11977 * libio/iofopen.c: Assume _LIBC is defined.
11978 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
11979 * libio/iofputs.c: Assume weak_alias is defined.
11980 * libio/iofread.c: Likewise.
11981 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
11982 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
11983 * libio/ioftell.c: Assume weak_alias is defined.
11984 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
11985 * libio/iofwide.c: Assume _LIBC is defined.
11986 (_IO_fwide): Drop SHARED conditional because it is implied by
11988 * libio/iofwrite.c: Assume weak_alias is defined.
11989 * libio/iogetdelim.c: Likewise.
11990 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
11991 * libio/iogetwline.c (wmemcpy): Remove macro definition.
11992 (_IO_getwline): Call __wmemcpy directly.
11993 * libio/iopopen.c: Assume _LIBC is defined.
11994 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
11995 (_IO_close): Remove macro definitions.
11996 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
11998 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
12000 * libio/ioputs.c: Assume weak_alias is defined.
12001 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
12002 * libio/iosetbuffer.c: Assume weak_alias is defined.
12003 * libio/iosetvbuf.c: Likewise.
12004 * libio/ioungetc.c: Likewise.
12005 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
12006 libc_hidden_def, libc_hidden_weak, NULL are defined.
12007 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
12008 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
12010 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
12012 (_IO_old_file_init_internal): Drop SHARED conditional because it
12013 is implied by SHLIB_COMPAT.
12014 (_IO_old_file_fopen): Call __open directly.
12015 (_IO_old_file_sync): Assume ESPIPE is defined.
12016 (_IO_old_file_write): Call __write directly.
12017 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
12018 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
12019 Call __fcntl directly.
12020 * libio/oldiofgetpos.c: Assume weak_alias is defined.
12021 (_IO_old_fgetpos): Assume EIO is defined.
12022 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
12023 (_IO_old_fgetpos64): Assume EIO is defined.
12024 * libio/oldiofsetpos.c: Assume weak_alias is defined.
12025 (_IO_old_fsetpos): Assume EIO is defined.
12026 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
12027 (_IO_old_fsetpos64): Assume EIO is defined.
12028 * libio/oldiopopen.c: Assume _LIBC is defined.
12029 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
12030 (_IO_close): Remove macro definitions.
12031 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
12033 (_IO_old_proc_close): Call __close, __waitpid directly.
12034 * libio/put.c: Assume weak_alias is defined.
12035 * libio/stdfiles.c: Assume _LIBC is defined.
12036 * libio/stdio.c: Likewise.
12037 * libio/wfileops.c: Likewise.
12038 (_IO_wfile_sync): Assume ESPIPE is defined.
12039 * libio/wgenops.c: Assume _LIBC is defined.
12040 (save_for_wbackup): Remove internal_function.
12042 2017-08-31 Florian Weimer <fweimer@redhat.com>
12044 * malloc/malloc.c (top_check): Change return type to void. Remove
12046 * malloc/hooks.c (top_check): Likewise.
12047 (malloc_check, realloc_check, memalign_check): Adjust.
12049 2017-08-30 Joseph Myers <joseph@codesourcery.com>
12052 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
12053 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
12054 sigcontext and namespace requirements.
12055 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
12056 * sysdeps/m68k/sys/ucontext.h: Likewise.
12057 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
12058 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
12059 <bits/sigcontext.h>.
12060 (__ctx): Define earlier.
12061 (mcontext_t): Define structure contents rather than using struct
12063 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
12064 __glibc_reserved1 instead of __reserved.
12065 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
12066 <bits/sigcontext.h>.
12067 (__ctx): Define earlier.
12068 (mcontext_t): Define structure contents rather than using struct
12070 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
12071 mcontext_t instead of struct sigcontext.
12072 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
12073 <bits/sigcontext.h>.
12074 (__ctx): Define earlier.
12075 (mcontext_t): Define structure contents rather than using struct
12077 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
12078 <bits/sigcontext.h>.
12079 (__ctx): Define earlier.
12080 (mcontext_t): Define structure contents rather than using struct
12082 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
12083 mcontext_t instead of struct sigcontext.
12084 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
12085 mcontext_t instead of struct sigcontext.
12086 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
12087 <bits/sigcontext.h>.
12088 (__ctx): New macro.
12089 (struct __ia64_fpreg_mcontext): New type.
12090 (mcontext_t): Define structure contents rather than using struct
12092 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
12093 (uc_sigmask): Define using __ctx.
12094 (uc_stack): Likewise.
12095 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
12096 <bits/sigcontext.h>.
12097 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12098 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
12099 <bits/sigcontext.h>.
12100 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
12101 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
12102 <bits/sigcontext.h>.
12103 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
12104 <bits/sigcontext.h>.
12105 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
12106 <bits/sigcontext.h>.
12107 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
12108 <bits/sigcontext.h>.
12109 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
12110 <bits/sigcontext.h>.
12111 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
12112 <bits/sigcontext.h>.
12113 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
12114 <bits/sigcontext.h>.
12115 (__ctx): Define earlier.
12116 (mcontext_t): Define structure contents rather than using struct
12118 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
12119 <bits/sigcontext.h>. Include <bits/types.h>.
12120 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
12121 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
12122 (test-xfail-XPG42/ucontext.h/conform): Likewise.
12123 (test-xfail-UNIX98/signal.h/conform): Likewise.
12124 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
12125 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
12126 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
12127 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
12128 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
12129 (test-xfail-POSIX2008/signal.h/conform): Likewise.
12130 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
12131 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
12132 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
12134 2017-08-30 Florian Weimer <fweimer@redhat.com>
12136 * malloc/dynarray_emplace_enlarge.c
12137 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
12138 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
12139 * malloc/tst-dynarray.c (test_long_overflow): New function.
12140 (do_test): Call it.
12142 2017-08-30 Florian Weimer <fweimer@redhat.com>
12144 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
12145 (set_arena_corrupt): Remove definitions.
12146 (mtrim): Do not check for corrupt arena.
12147 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
12150 2017-08-30 Florian Weimer <fweimer@redhat.com>
12153 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
12155 (ptmalloc_init): Do not set or use check_action.
12156 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
12157 call to malloc_printerr. Remove return statement.
12158 (free_check): Likewise. Remove arena unlock.
12159 (top_check): Update comment. Adjust call to malloc_printerr.
12160 Remove heap repair code.
12161 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
12162 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
12163 (sysmalloc): Adjust call to malloc_printerr.
12164 (munmap_chunk, __libc_realloc): Likewise. Remove return
12166 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
12167 Remove errout label and corresponding gotos.
12168 (_int_free): Likewise. Remove arena unlock.
12169 (do_set_mallopt_check): Do not set check_action.
12170 (malloc_printerr): Adjust parameter list. Do not mark arena as
12172 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
12174 * manual/probes.texi (Memory Allocation Probes): Remove
12175 memory_mallopt_check_action.
12177 2017-08-30 Steve Ellcey <sellcey@cavium.com>
12179 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
12180 Use pointer to uint64_t instead of long int for sp.
12182 2017-08-30 Florian Weimer <fweimer@redhat.com>
12185 * malloc/malloc.c (malloc_printerr): Always terminate the process,
12186 without printing a backtrace. Do not leak any information in the
12188 * manual/memory.texi (Heap Consistency Checking): Update.
12189 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
12191 2017-08-30 Florian Weimer <fweimer@redhat.com>
12193 Do not scale NPTL tests with available number of CPUs.
12194 * nptl/tst-cond16.c (count): Set to constant value of 8.
12195 * nptl/tst-cond18.c (count): Likewise.
12197 2017-08-29 Joseph Myers <joseph@codesourcery.com>
12200 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
12201 Define to take a second argument that is a macro that
12202 concatentates a suffix, not the suffix itself.
12203 (__CONCAT_d): New macro.
12204 (__CONCAT_f): Likewise.
12205 (__CONCAT_l): Likewise.
12207 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
12209 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
12212 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12213 Aurelien Jarno <aurelien@aurel32.net>
12214 Maciej W. Rozycki <macro@imgtec.com>
12217 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
12218 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
12219 `mips16-syscall6' and `mips16-syscall7'.
12220 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
12221 (CFLAGS-mips16-syscall7.c): Remove.
12222 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
12223 Remove `__mips16_syscall5', `__mips16_syscall6' and
12224 `__mips16_syscall7'.
12225 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
12226 (__mips16_syscall0): Rename `__mips16_syscall_return' to
12227 `__mips_syscall_return'.
12228 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
12229 (__mips16_syscall1): Likewise.
12230 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
12231 (__mips16_syscall2): Likewise.
12232 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
12233 (__mips16_syscall3): Likewise.
12234 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
12235 (__mips16_syscall4): Likewise.
12236 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
12238 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
12240 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
12242 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
12243 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
12244 `__mips16_syscall5'. Remove prototype.
12245 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
12246 `__mips16_syscall6'. Remove prototype.
12247 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
12248 `__mips16_syscall7'. Remove prototype.
12249 (__nomips16, __mips16_syscall_return): Move to...
12250 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
12251 (__nomips16, __mips_syscall_return): ... here.
12252 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
12253 `__mips16_syscall_return' to `__mips_syscall_return'.
12254 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
12255 `internal_syscall##nr'.
12256 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
12257 `internal_syscall##nr'.
12258 (FORCE_FRAME_POINTER): Remove.
12259 (__mips_syscall5): New prototype.
12260 (internal_syscall5): Rewrite to call `__mips_syscall5'.
12261 (__mips_syscall6): New prototype.
12262 (internal_syscall6): Rewrite to call `__mips_syscall6'.
12263 (__mips_syscall7): New prototype.
12264 (internal_syscall7): Rewrite to call `__mips_syscall7'.
12265 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
12266 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
12267 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
12268 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
12269 (sysdep_routines): Add libc-do-syscall.
12270 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
12271 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
12273 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12276 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
12277 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
12278 (advise_stack_range): New function.
12279 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
12280 stack non required to advise_stack_range at allocatestack.c
12282 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
12284 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
12286 2017-08-29 Florian Weimer <fweimer@redhat.com>
12289 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
12290 __end_fct. Mangle __end_fct after setting it to NULL.
12291 * iconv/Makefile (tests): Add tst-gconv-init-failure.
12292 (modules-names, modules-names-tests): Add
12293 tst-gconv-init-failure-mod.
12294 (gconv-modules): New target.
12295 (tst-gconv-init-failure-mod.so): Link against libsupport.
12296 (tst-gconv-init-failure): Depend on gconv-modules,
12297 tst-gconv-init-failure-mod.so.
12298 * iconv/tst-gconv-init-failure-mod.c: New file.
12299 * iconv/tst-gconv-init-failure.c: Likewise.
12300 * iconv/test-gconv-modules: Likewise.
12302 2017-08-29 Florian Weimer <fweimer@redhat.com>
12305 * iconv/gconv_db.c (free_derivation): Remove redundant
12307 (gen_steps): Unconditionally mangle __btowc_fct after
12309 (increment_counter): Likewise. Do not call init_fct for internal
12312 2017-08-29 Joseph Myers <joseph@codesourcery.com>
12315 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
12316 (_MSUF_): Remove macro.
12317 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
12319 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
12320 (__REDIRFROM_X): New macro.
12321 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
12323 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
12324 (__REDIRTO_X): Likewise.
12325 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
12327 (__MATH_REDIRCALL_2): Likewise.
12328 (__MATH_REDIRCALL_INTERNAL): Likewise.
12329 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
12330 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
12331 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
12332 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
12333 * math/test-finite-macros.c: New file.
12334 * math/Makefile (tests): Add test-finite-macros.
12335 (CFLAGS-test-finite-macros.c): New variable.
12337 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
12338 Jeff Law <law@redhat.com>
12341 Mangle NULL pointers in iconv/gconv.
12342 * iconv/gconv_cache.c (find_module): Demangle init_fct before
12343 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
12344 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
12345 is non-NULL before demangling the end_fct. Check for NULL
12346 end_fct after demangling.
12347 (__gconv_release_step): Demangle the end_fct before checking
12348 it for NULL. Remove assert on __shlibc_handle != NULL.
12349 (gen_steps): Don't check btowc_fct for NULL before mangling.
12350 Demangle init_fct before checking for NULL.
12351 (increment_counter): Likewise.
12352 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
12353 end_fct for NULL before mangling.
12354 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
12357 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
12360 * locale/iso-639.def: add Morisyen.
12362 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12365 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
12366 (iszero): New C++ implementation that does not use
12367 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
12368 signaling nans are enabled, since __builtin_types_compatible_p
12369 is a C-only feature.
12370 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
12371 defined, include ieee754_float128.h for access to the union and
12372 member ieee854_float128.ieee.
12373 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
12374 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
12375 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
12376 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
12377 options of test-math-zero on powerpc64le.
12379 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
12381 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
12382 Change double to float.
12384 2017-08-28 Joseph Myers <joseph@codesourcery.com>
12386 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
12388 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
12389 conditional code; define contents only for [LIBM_SVID_COMPAT].
12391 2017-08-28 Florian Weimer <fweimer@redhat.com>
12393 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
12394 (abi-lp64_be-options): Remove.
12395 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
12396 (abi-hard-options): Likewise.
12397 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
12398 (abi-o32_hard-options, abi-o32_soft_2008-options)
12399 (abi-o32_hard_2008-options, abi-n32_soft-options)
12400 (abi-n32_hard-options, abi-n32_soft_2008-options)
12401 (abi-n32_hard_2008-options, abi-n64_soft-options)
12402 (abi-n64_hard-options, abi-n64_soft_2008-options)
12403 (abi-n64_hard_2008-options): Likewise.
12404 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
12405 (abi-64-v1-options, abi-64-v2-options): Likewise.
12406 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
12407 (abi-64-options): Likewise.
12408 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
12409 (abi-64-options): Likewise.
12410 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
12411 (abi-64-options): Likewise.
12412 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
12413 (abi-64-options, abi-x32-options): Likewise.
12415 2017-08-28 Florian Weimer <fweimer@redhat.com>
12417 Store supported list of SYS_* system calls in the source tree.
12418 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12419 (bits/syscall.h): Generate from list file.
12420 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
12421 [$(subdir) = misc] (tests): Add tst-syscall-list.
12422 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
12423 [$(subdir) = misc] (tst-syscall-list-macros.list)
12424 [$(subdir) = misc] (tst-syscall-list-nr.list)
12425 (tst-syscall-list-sys.list): Helper targets for new
12426 tst-syscall-list test.
12427 [$(subdir) = misc] (tst-syscall-list.out): Run test script
12428 tst-syscall-list.sh.
12429 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
12430 target. Do not include bits/syscall.d.
12431 [$(subdir) = misc] (generated): Do not update.
12432 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
12433 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
12434 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
12435 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
12437 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
12439 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
12440 (tst-cxa_atexit, tst-on_exit): Likewise.
12441 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
12442 tst-cxa_atexit, and tst-on_exit.
12443 * stdlib/tst-atexit-common.c: New file.
12444 * stdlib/tst-atexit.c: New file.
12445 * stdlib/tst-at_quick_exit.c: New file.
12446 * stdlib/tst-cxa_atexit.c: New file.
12447 * stdlib/tst-on_exit.c: New file.
12449 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12451 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
12452 * mach/stack_chk_fail_local.c: New file.
12453 * hurd/stack_chk_fail_local.c: New file.
12454 * mach/Machrules ($(interface-library)-routines): Add
12455 stack_chk_fail_local.
12456 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
12457 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
12458 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
12459 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
12460 * hurd/Makefile (CFLAGS-hurdstartup.o,
12461 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
12463 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
12465 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
12466 (index_cpu_*, index_arch_*): Removed.
12468 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
12470 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
12471 Use uint64_t instead of unsigned long.
12473 2017-08-25 Joseph Myers <joseph@codesourcery.com>
12475 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
12476 [__HAVE_DISTINCT_FLOAT128].
12478 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
12479 of <bits/math-finite.h>.
12480 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
12481 inclusion of <bits/math-finite.h>.
12482 * math/bits/math-finite.h (__REDIRTO_X): Do not define
12483 conditionally on [__MATH_DECLARING_LDOUBLE && defined
12484 __NO_LONG_DOUBLE_MATH].
12485 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
12486 (__MATH_REDIRCALL_2): Likewise.
12487 (__MATH_REDIRCALL_INTERNAL): Likewise.
12488 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
12489 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
12490 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
12492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
12494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
12496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
12498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
12500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
12502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
12504 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
12505 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
12506 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
12507 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
12508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
12509 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
12510 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
12511 w_sqrtf_compat-ppc32.
12513 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12515 * math/math.h [defined __cplusplus] (issignaling): In the long
12516 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
12517 is not defined. Call __issignaling, otherwise.
12519 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12521 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
12522 syscall definitions and replace __builtin_expect with __glibc_likely.
12523 * sysdeps/unix/syscall-template.S: Update comment about cancellable
12525 (SYSCALL_CANCELLABLE): Removedefinition
12526 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
12528 (PSEUDO_END): Likewise.
12529 [IS_IN (libpthread)] (CENABLE): Likewise.
12530 [IS_IN (libpthread)] (CDISABLE): Likewise.
12531 [IS_IN (libc)] (CENABLE): Likewise.
12532 [IS_IN (libc)] (CENABLE): Likewise.
12533 [IS_IN (librt)] (CDISABLE): Likewise.
12534 [IS_IN (librt)] (CDISABLE): Likewise.
12535 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
12536 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
12538 (PSEUDO_END): Likewise.
12539 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
12540 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
12541 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
12542 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
12543 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
12544 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
12545 (CENABLE): Likewise.
12546 (CDISABLE): Likewise.
12547 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
12548 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
12550 (PSEUDO_END): Likewise.
12551 [IS_IN (libpthread)] (CENABLE): Likewise.
12552 [IS_IN (libpthread)] (CDISABLE): Likewise.
12553 [IS_IN (libc)] (CENABLE): Likewise.
12554 [IS_IN (libc)] (CENABLE): Likewise.
12555 [IS_IN (librt)] (CDISABLE): Likewise.
12556 [IS_IN (librt)] (CDISABLE): Likewise.
12557 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
12558 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
12560 (PSEUDO_END): Likewise.
12561 [IS_IN (libpthread)] (CENABLE): Likewise.
12562 [IS_IN (libpthread)] (CDISABLE): Likewise.
12563 [IS_IN (libc)] (CENABLE): Likewise.
12564 [IS_IN (libc)] (CENABLE): Likewise.
12565 [IS_IN (librt)] (CDISABLE): Likewise.
12566 [IS_IN (librt)] (CDISABLE): Likewise.
12567 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
12568 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
12570 (PSEUDO_END): Likewise.
12571 [IS_IN (libpthread)] (CENABLE): Likewise.
12572 [IS_IN (libpthread)] (CDISABLE): Likewise.
12573 [IS_IN (libc)] (CENABLE): Likewise.
12574 [IS_IN (libc)] (CENABLE): Likewise.
12575 [IS_IN (librt)] (CDISABLE): Likewise.
12576 [IS_IN (librt)] (CDISABLE): Likewise.
12577 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
12578 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
12580 (PSEUDO_END): Likewise.
12581 [IS_IN (libpthread)] (CENABLE): Likewise.
12582 [IS_IN (libpthread)] (CDISABLE): Likewise.
12583 [IS_IN (libc)] (CENABLE): Likewise.
12584 [IS_IN (libc)] (CENABLE): Likewise.
12585 [IS_IN (librt)] (CDISABLE): Likewise.
12586 [IS_IN (librt)] (CDISABLE): Likewise.
12587 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
12588 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
12590 (PSEUDO_END): Likewise.
12591 [IS_IN (libpthread)] (CENABLE): Likewise.
12592 [IS_IN (libpthread)] (CDISABLE): Likewise.
12593 [IS_IN (libc)] (CENABLE): Likewise.
12594 [IS_IN (libc)] (CENABLE): Likewise.
12595 [IS_IN (librt)] (CDISABLE): Likewise.
12596 [IS_IN (librt)] (CDISABLE): Likewise.
12597 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
12598 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
12600 (PSEUDO_END): Likewise.
12601 [IS_IN (libpthread)] (CENABLE): Likewise.
12602 [IS_IN (libpthread)] (CDISABLE): Likewise.
12603 [IS_IN (libc)] (CENABLE): Likewise.
12604 [IS_IN (libc)] (CENABLE): Likewise.
12605 [IS_IN (librt)] (CDISABLE): Likewise.
12606 [IS_IN (librt)] (CDISABLE): Likewise.
12607 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
12608 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
12610 (PSEUDO_END): Likewise.
12611 [IS_IN (libpthread)] (CENABLE): Likewise.
12612 [IS_IN (libpthread)] (CDISABLE): Likewise.
12613 [IS_IN (libc)] (CENABLE): Likewise.
12614 [IS_IN (libc)] (CENABLE): Likewise.
12615 [IS_IN (librt)] (CDISABLE): Likewise.
12616 [IS_IN (librt)] (CDISABLE): Likewise.
12617 (SINGLE_THREAD_P): Likewise.
12618 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
12620 (PSEUDO_END): Likewise.
12621 [IS_IN (libpthread)] (CENABLE): Likewise.
12622 [IS_IN (libpthread)] (CDISABLE): Likewise.
12623 [IS_IN (libc)] (CENABLE): Likewise.
12624 [IS_IN (libc)] (CENABLE): Likewise.
12625 [IS_IN (librt)] (CDISABLE): Likewise.
12626 [IS_IN (librt)] (CDISABLE): Likewise.
12627 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
12628 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
12630 (PSEUDO_END): Likewise.
12631 [IS_IN (libpthread)] (CENABLE): Likewise.
12632 [IS_IN (libpthread)] (CDISABLE): Likewise.
12633 [IS_IN (libc)] (CENABLE): Likewise.
12634 [IS_IN (libc)] (CENABLE): Likewise.
12635 [IS_IN (librt)] (CDISABLE): Likewise.
12636 [IS_IN (librt)] (CDISABLE): Likewise.
12637 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
12638 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
12639 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12640 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
12641 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
12643 (PSEUDO_END): Likewise.
12644 [IS_IN (libpthread)] (CENABLE): Likewise.
12645 [IS_IN (libpthread)] (CDISABLE): Likewise.
12646 [IS_IN (libc)] (CENABLE): Likewise.
12647 [IS_IN (libc)] (CENABLE): Likewise.
12648 [IS_IN (librt)] (CDISABLE): Likewise.
12649 [IS_IN (librt)] (CDISABLE): Likewise.
12650 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
12651 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
12653 (PSEUDO_END): Likewise.
12654 [IS_IN (libpthread)] (CENABLE): Likewise.
12655 [IS_IN (libpthread)] (CDISABLE): Likewise.
12656 [IS_IN (libc)] (CENABLE): Likewise.
12657 [IS_IN (libc)] (CENABLE): Likewise.
12658 [IS_IN (librt)] (CDISABLE): Likewise.
12659 [IS_IN (librt)] (CDISABLE): Likewise.
12660 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
12661 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
12663 (PSEUDO_END): Likewise.
12664 [IS_IN (libpthread)] (CENABLE): Likewise.
12665 [IS_IN (libpthread)] (CDISABLE): Likewise.
12666 [IS_IN (libc)] (CENABLE): Likewise.
12667 [IS_IN (libc)] (CENABLE): Likewise.
12668 [IS_IN (librt)] (CDISABLE): Likewise.
12669 [IS_IN (librt)] (CDISABLE): Likewise.
12670 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
12671 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
12672 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12673 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
12674 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
12676 (PSEUDO_END): Likewise.
12677 [IS_IN (libpthread)] (CENABLE): Likewise.
12678 [IS_IN (libpthread)] (CDISABLE): Likewise.
12679 [IS_IN (libc)] (CENABLE): Likewise.
12680 [IS_IN (libc)] (CENABLE): Likewise.
12681 [IS_IN (librt)] (CDISABLE): Likewise.
12682 [IS_IN (librt)] (CDISABLE): Likewise.
12683 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
12684 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
12686 (PSEUDO_END): Likewise.
12687 [IS_IN (libpthread)] (CENABLE): Likewise.
12688 [IS_IN (libpthread)] (CDISABLE): Likewise.
12689 [IS_IN (libc)] (CENABLE): Likewise.
12690 [IS_IN (libc)] (CENABLE): Likewise.
12691 [IS_IN (librt)] (CDISABLE): Likewise.
12692 [IS_IN (librt)] (CDISABLE): Likewise.
12693 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
12695 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
12697 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
12699 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
12701 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12703 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
12706 * string/stratcliff.c (do_test): Declare size, nchars, inner,
12707 middle and outer with size_t instead of int. Repleace %d and
12708 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
12709 "MAX (outer, nchars - 64)" to support unsigned outer and
12710 nchars. Also exit loop when outer == 0.
12712 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12714 * include/fcntl.h (__fcntl_nocancel): Remove definition.
12715 * include/signal.h (__sigsuspend_nocancel): Likewise.
12716 * include/time.h (__nanosleep_nocancel): Likewise.
12717 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
12718 * login/utmp_file.c: Include non cancellable syscall header.
12719 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
12722 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
12724 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
12725 .byte sequences with AVX512F instructions.
12726 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
12727 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
12728 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
12729 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
12731 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
12734 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
12735 Steve Ellcey <sellcey@cavium.com>
12737 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
12738 Use PTR_REG macro in cmp instruction.
12740 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12742 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
12743 Change the return type of the ifunc resolver to match the return
12744 type of the target function.
12746 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12748 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
12749 (preadv64): Likewise.
12750 (pwrite64(: Likewise.
12751 (pwritev64): Likewise.
12753 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12754 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
12755 (LOAD_ARGS_0): Likewise.
12756 (LOAD_ARGS_1): Likewise.
12757 (LOAD_ARGS_2): Likewise.
12758 (LOAD_ARGS_3): Likewise.
12759 (LOAD_ARGS_4): Likewise.
12760 (LOAD_ARGS_5): Likewise.
12761 (LOAD_ARGS_6): Likewise.
12762 (LOAD_REGS_0): Likewise.
12763 (LOAD_REGS_1): Likewise.
12764 (LOAD_REGS_2): Likewise.
12765 (LOAD_REGS_3): Likewise.
12766 (LOAD_REGS_4): Likewise.
12767 (LOAD_REGS_5): Likewise.
12768 (LOAD_REGS_6): Likewise.
12769 (ASM_ARGS_0): Likewise.
12770 (ASM_ARGS_1): Likewise.
12771 (ASM_ARGS_2): Likewise.
12772 (ASM_ARGS_3): Likewise.
12773 (ASM_ARGS_4): Likewise.
12774 (ASM_ARGS_5): Likewise.
12775 (ASM_ARGS_6): Likewise.
12776 (LOAD_ARGS_TYPES_1): Likewise.
12777 (LOAD_ARGS_TYPES_2): Likewise.
12778 (LOAD_ARGS_TYPES_3): Likewise.
12779 (LOAD_ARGS_TYPES_4): Likewise.
12780 (LOAD_ARGS_TYPES_5): Likewise.
12781 (LOAD_ARGS_TYPES_6): Likewise.
12782 (LOAD_REGS_TYPES_1): Likewise.
12783 (LOAD_REGS_TYPES_2): Likewise.
12784 (LOAD_REGS_TYPES_3): Likewise.
12785 (LOAD_REGS_TYPES_4): Likewise.
12786 (LOAD_REGS_TYPES_5): Likewise.
12787 (LOAD_REGS_TYPES_6): Likewise.
12788 (TYPEFY): New define.
12789 (ARGIFY): Likewise.
12790 (internal_syscall0): Likewise.
12791 (internal_syscall1): Likewise.
12792 (internal_syscall2): Likewise.
12793 (internal_syscall3): Likewise.
12794 (internal_syscall4): Likewise.
12795 (internal_syscall5): Likewise.
12796 (internal_syscall6): Likewise.
12797 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
12798 (INTERNAL_SYSCALL_NCS): Remove define.
12799 (internal_syscall1): Add define.
12801 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12803 * math/w_remainder_compat.c: Remove duplicate inclusion of
12804 math-svid-compat.h.
12805 * math/w_remainderf_compat.c: Likewise.
12806 * math/w_remainderl_compat.c: Likewise.
12808 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12812 2017-08-22 Joseph Myers <joseph@codesourcery.com>
12815 * math/tgmath.h (__floating_type): Simplify definitions.
12816 (__real_integer_type): New macro.
12817 (__complex_integer_type): Likewise.
12818 (__expr_is_real): Likewise.
12819 (__tgmath_real_type_sub): Update comment to describe handling of
12821 (__tgmath_complex_type_sub): New macro.
12822 (__tgmath_complex_type): Likewise.
12823 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
12824 (__TGMATH_CF128): Use __expr_is_real.
12825 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
12827 (__TGMATH_BINARY_REAL_IMAG): Likewise.
12828 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
12829 * math/gen-tgmath-tests.py (Type.create_type): Create complex
12832 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12834 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
12836 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
12838 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
12841 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
12842 nanosleep_not_cancel with __nanosleep_nocancel.
12843 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
12844 (__nanosleep_nocancel): New macro.
12845 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
12847 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
12849 (__nanosleep_nocancel): New prototype.
12851 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
12852 pause_not_cancel with __pause_nocancel.
12853 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
12854 (__pause_nocancel): New macro.
12855 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
12857 (__pause_nocancel): New prototype.
12858 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
12860 2017-08-22 Martin Sebor <msebor@redhat.com>
12862 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
12863 to return a pointer to the same type as the target function.
12865 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
12869 * include/printf.h (__printf_fphex): Add attribute_hidden.
12870 (__guess_grouping): New prototype.
12871 * stdio-common/printf_fp.c (__guess_grouping): Removed.
12872 * stdio-common/reg-printf.c (__register_printf_specifier): Add
12873 libc_hidden_proto and libc_hidden_def.
12874 * stdlib/strfmon_l.c (__guess_grouping): Removed.
12875 (__vstrfmon_l): Remove the third argument passed to
12878 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12880 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
12881 definition for issignaling that does not rely on __MATH_TG,
12882 since __MATH_TG uses __builtin_types_compatible_p, which is only
12883 available in C mode.
12884 (CFLAGS-test-math-issignaling.cc): New variable.
12885 * math/Makefile [CXX] (tests): Add test-math-issignaling.
12886 * math/test-math-issignaling.cc: New test for C++ implementation
12887 of type-generic issignaling.
12888 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
12889 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
12890 options of test-math-issignaling on powerpc64le.
12892 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
12894 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
12896 (hidden_proto): Likewise.
12897 (hidden_tls_proto): Likewise.
12898 (__hidden_proto): Likewise.
12900 2017-08-22 Florian Weimer <fweimer@redhat.com>
12902 math: Statically link tests of internal functionality.
12903 * math/Makefile (tests): Remove atest-exp, atest-sincos,
12905 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
12906 (gmp-objs): Remove assignment.
12907 (atest-exp, atest-sincos, atest-exp2): Remove targets.
12909 2017-08-22 Joseph Myers <joseph@codesourcery.com>
12912 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
12914 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
12916 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
12919 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
12920 variable definitions above inclusion of ../Rules.
12922 2017-08-21 Joseph Myers <joseph@codesourcery.com>
12924 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
12925 case calling __builtin_unreachable.
12927 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12929 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
12930 __waitpid_nocancel.
12931 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
12932 (__waitpid_nocancel): New macro.
12933 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
12935 (__waitpid_nocancel): Replace macro with a function.
12936 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
12939 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
12941 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
12942 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
12944 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
12945 __writev_nocancel_nostatus.
12946 (write_call_graph): Likewise.
12947 (write_bb_counts): Likewise.
12948 * resolv/herror.c (herror): Likewise.
12949 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
12951 (__writev_nocancel_nostatus): New macro.
12952 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
12954 (__writev_nocancel_nostatus): New function.
12956 2017-08-21 Joseph Myers <joseph@codesourcery.com>
12959 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12961 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
12963 (hidden_proto): Likewise.
12964 (hidden_tls_proto): Likewise.
12965 (__hidden_proto): Likewise.
12968 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
12969 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
12970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
12972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
12974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
12976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
12978 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
12979 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
12980 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
12981 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
12982 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
12983 GLIBC_2.0 sqrtl symbol.
12985 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
12986 [__USE_MISC] (_LIB_VERSION): Likewise.
12987 [__USE_MISC] (struct exception): Likewise.
12988 [__USE_MISC] (matherr): Likewise.
12989 [__USE_MISC] (DOMAIN): Likewise.
12990 [__USE_MISC] (SING): Likewise.
12991 [__USE_MISC] (OVERFLOW): Likewise.
12992 [__USE_MISC] (UNDERFLOW): Likewise.
12993 [__USE_MISC] (TLOSS): Likewise.
12994 [__USE_MISC] (PLOSS): Likewise.
12995 [__USE_MISC] (HUGE): Likewise.
12996 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
12997 * math/math-svid-compat.h: New file.
12998 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
13000 * include/math.h [!_ISOMAC] (__matherr): Remove.
13001 * manual/arith.texi (FP Exceptions): Do not document matherr.
13002 * math/Makefile (tests): Change test-matherr to test-matherr-3.
13003 (tests-internal): New variable.
13004 (install-lib): Do not add libieee.a.
13005 (non-lib.a): Likewise.
13006 (extra-objs): Do not add libieee.a and ieee-math.o.
13007 (CPPFLAGS-s_lib_version.c): Remove variable.
13008 ($(objpfx)libieee.a): Remove rule.
13009 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
13010 * math/ieee-math.c: Remove.
13011 * math/libm-test-support.c (matherr): Remove.
13012 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
13013 and license notices. Include <math-svid-compat.h> and
13015 (matherr): Undefine as macro. Use compat_symbol_reference.
13016 (_LIB_VERSION): Likewise.
13017 * math/test-matherr-2.c: New file.
13018 * math/test-matherr-3.c: Likewise.
13019 * sysdeps/generic/math_private.h (__kernel_standard): Remove
13021 (__kernel_standard_f): Likewise.
13022 (__kernel_standard_l): Likewise.
13023 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
13024 <math_private.h>. Include <math-svid-compat.h>.
13025 (_LIB_VERSION): Undefine as macro.
13026 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
13027 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
13028 [LIBM_SVID_COMPAT], use compat_symbol.
13029 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
13030 <math_private.h>. Include <math-svid-compat.h>.
13031 (matherr): Undefine as macro.
13032 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
13034 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
13035 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
13036 compat_symbol_reference.
13037 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
13038 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
13039 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
13040 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
13041 (MATHERR_D): Remove declaration.
13042 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
13043 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
13044 [LIBM_BUILD] (pmatherrf): Likewise.
13045 [LIBM_BUILD] (pmatherr): Likewise.
13046 [LIBM_BUILD] (pmatherrl): Likewise.
13047 (DOMAIN): Likewise.
13049 (OVERFLOW): Likewise.
13050 (UNDERFLOW): Likewise.
13053 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
13054 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
13056 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
13057 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
13059 * math/lgamma-compat.h: Include <math-svid-compat.h>.
13060 * math/w_acos_compat.c: Likewise.
13061 * math/w_acosf_compat.c: Likewise.
13062 * math/w_acosh_compat.c: Likewise.
13063 * math/w_acoshf_compat.c: Likewise.
13064 * math/w_acoshl_compat.c: Likewise.
13065 * math/w_acosl_compat.c: Likewise.
13066 * math/w_asin_compat.c: Likewise.
13067 * math/w_asinf_compat.c: Likewise.
13068 * math/w_asinl_compat.c: Likewise.
13069 * math/w_atan2_compat.c: Likewise.
13070 * math/w_atan2f_compat.c: Likewise.
13071 * math/w_atan2l_compat.c: Likewise.
13072 * math/w_atanh_compat.c: Likewise.
13073 * math/w_atanhf_compat.c: Likewise.
13074 * math/w_atanhl_compat.c: Likewise.
13075 * math/w_cosh_compat.c: Likewise.
13076 * math/w_coshf_compat.c: Likewise.
13077 * math/w_coshl_compat.c: Likewise.
13078 * math/w_exp10_compat.c: Likewise.
13079 * math/w_exp10f_compat.c: Likewise.
13080 * math/w_exp10l_compat.c: Likewise.
13081 * math/w_exp2_compat.c: Likewise.
13082 * math/w_exp2f_compat.c: Likewise.
13083 * math/w_exp2l_compat.c: Likewise.
13084 * math/w_fmod_compat.c: Likewise.
13085 * math/w_fmodf_compat.c: Likewise.
13086 * math/w_fmodl_compat.c: Likewise.
13087 * math/w_hypot_compat.c: Likewise.
13088 * math/w_hypotf_compat.c: Likewise.
13089 * math/w_hypotl_compat.c: Likewise.
13090 * math/w_j0_compat.c: Likewise.
13091 * math/w_j0f_compat.c: Likewise.
13092 * math/w_j0l_compat.c: Likewise.
13093 * math/w_j1_compat.c: Likewise.
13094 * math/w_j1f_compat.c: Likewise.
13095 * math/w_j1l_compat.c: Likewise.
13096 * math/w_jn_compat.c: Likewise.
13097 * math/w_jnf_compat.c: Likewise.
13098 * math/w_jnl_compat.c: Likewise.
13099 * math/w_lgamma_main.c: Likewise.
13100 * math/w_lgamma_r_compat.c: Likewise.
13101 * math/w_lgammaf_main.c: Likewise.
13102 * math/w_lgammaf_r_compat.c: Likewise.
13103 * math/w_lgammal_main.c: Likewise.
13104 * math/w_lgammal_r_compat.c: Likewise.
13105 * math/w_log10_compat.c: Likewise.
13106 * math/w_log10f_compat.c: Likewise.
13107 * math/w_log10l_compat.c: Likewise.
13108 * math/w_log2_compat.c: Likewise.
13109 * math/w_log2f_compat.c: Likewise.
13110 * math/w_log2l_compat.c: Likewise.
13111 * math/w_log_compat.c: Likewise.
13112 * math/w_logf_compat.c: Likewise.
13113 * math/w_logl_compat.c: Likewise.
13114 * math/w_pow_compat.c: Likewise.
13115 * math/w_powf_compat.c: Likewise.
13116 * math/w_powl_compat.c: Likewise.
13117 * math/w_remainder_compat.c: Likewise.
13118 * math/w_remainderf_compat.c: Likewise.
13119 * math/w_remainderl_compat.c: Likewise.
13120 * math/w_scalb_compat.c: Likewise.
13121 * math/w_scalbf_compat.c: Likewise.
13122 * math/w_scalbl_compat.c: Likewise.
13123 * math/w_sinh_compat.c: Likewise.
13124 * math/w_sinhf_compat.c: Likewise.
13125 * math/w_sinhl_compat.c: Likewise.
13126 * math/w_sqrt_compat.c: Likewise.
13127 * math/w_sqrtf_compat.c: Likewise.
13128 * math/w_sqrtl_compat.c: Likewise.
13129 * math/w_tgamma_compat.c: Likewise.
13130 * math/w_tgammaf_compat.c: Likewise.
13131 * math/w_tgammal_compat.c: Likewise.
13132 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
13133 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
13134 * sysdeps/ieee754/k_standard.c: Likewise.
13135 * sysdeps/ieee754/k_standardf.c: Likewise.
13136 * sysdeps/ieee754/k_standardl.c: Likewise.
13137 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
13138 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
13139 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
13140 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
13141 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
13142 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
13143 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
13144 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
13145 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
13146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
13148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
13150 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
13151 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
13152 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
13153 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
13155 2017-08-21 Florian Weimer <fweimer@redhat.com>
13158 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
13159 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
13160 Move before inclusion of ../Rules.
13162 2017-08-21 Florian Weimer <fweimer@redhat.com>
13165 * assert/assert.h (assert): Use static_cast (bool) for C++.
13166 Use the ternary operator in the warning branch for GNU C.
13167 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
13168 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
13169 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
13170 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
13171 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
13173 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
13176 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13177 (__syscall_clock_gettime): Add attribute_hidden.
13178 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
13179 (__start_context): Likewise.
13181 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
13183 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
13185 (hidden_proto): Likewise.
13186 (hidden_tls_proto): Likewise.
13187 (__hidden_proto): Likewise.
13189 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
13191 * include/libc-symbols.h (attribute_hidden): Enable hidden
13192 visibility in libc.a compiled with PIE.
13194 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
13197 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
13198 Add attribute_hidden.
13200 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
13203 * Makerules (all-nonlib): Add $(others-extras).
13204 * catgets/Makefile (others-extras): New.
13205 * elf/Makefile (others-extras): Likewise.
13206 * nss/Makefile (others-extras): Likewise.
13208 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
13211 * csu/libc-start.c (__libc_multiple_libcs): Removed.
13212 * elf/dl-open.c: Include <libc-internal.h>.
13213 (__libc_multiple_libcs): Removed.
13214 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
13216 * include/libc-internal.h (__libc_multiple_libcs): New.
13217 * misc/sbrk.c: Include <libc-internal.h>.
13218 (__libc_multiple_libcs): Removed.
13220 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
13223 * grp/initgroups.c (__nss_group_database): Removed.
13224 (__nss_initgroups_database): Likewise.
13225 * nscd/gai.c (__nss_hosts_database): Likewise.
13226 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
13227 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
13228 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
13229 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
13230 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
13231 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
13233 * nss/nsswitch.c (__nss_database_custom): Define only if
13234 USE_NSCD is defined.
13235 (__nss_configure_lookup): Use __nss_database_custom only if
13236 USE_NSCD is defined.
13237 * nss/nsswitch.h (__nss_database_custom): Declare only if
13238 USE_NSCD is defined. Add attribute_hidden.
13239 (__nss_setent): Add attribute_hidden.
13240 (__nss_endent): Likewise.
13241 (__nss_getent_r): Likewise.
13242 (__nss_getent): Likewise.
13243 (DEFINE_DATABASE): Declare __nss_##arg##_database.
13245 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
13248 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
13249 libc_hidden_proto and libc_hidden_def.
13251 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
13254 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
13255 Add libc_hidden_proto.
13256 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
13257 Add libc_hidden_def.
13259 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
13262 * gmon/Makefile (routines): Remove bb_init_func and
13264 (elide-routines.os): Removed.
13265 * gmon/bb_exit_func.c: Likewise.
13266 * gmon/bb_init_func.c: Likewise.
13267 * include/sys/gmon.h (__bb): Likewise.
13268 (__bb_init_func): Likewise.
13269 (__bb_exit_func): Likewise.
13270 * sysdeps/alpha/bb_init_func.S: Likewise.
13272 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
13274 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
13275 * include/setjmp.h (____longjmp_chk): Here. Add
13278 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
13281 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
13283 (__strspn_sse2): Likewise.
13285 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13287 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
13288 (close_not_cancel_no_status): Likewise.
13289 (__close_nocancel): New macro.
13290 (__close_nocancel_nostatus): Likewise.
13291 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
13293 (close_not_cancel): Likewise.
13294 (close_not_cancel_no_status): Likewise.
13295 (__close_nocancel): New prototype.
13296 (__close_nocancel_nostatus): New function.
13297 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
13298 * catgets/open_catalog.c (__open_catalog): Replace
13299 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
13300 * gmon/gmon.c (write_gmon): Likewise.
13301 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13302 * intl/loadmsgcat.c (close): Likewise.
13303 * io/ftw.c (open_dir_stream): Likewise.
13304 (ftw_startup): Likewise.
13305 * libio/fileops.c (_IO_file_open): Likewise.
13306 (_IO_file_close_mmap): Likewise.
13307 (_IO_file_close): Likewise.
13308 * libio/iopopen.c (_IO_dup2): Likewise.
13309 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13310 * locale/loadlocale.c (_nl_load_locale): Likewise.
13311 * login/utmp_file.c (pututline_file): Likewise.
13312 (endutent_file): Likewise.
13313 * misc/daemon.c (daemon): Likewise.
13314 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13315 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13316 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
13317 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13318 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13319 * nscd/nscd_helper.c (open_socket): Likewise.
13320 (__nscd_open_socket): Likewise.
13321 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
13322 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
13323 (__nscd_innetgr): Likewise.
13324 * nss/nss_db/db-open.c (internal_setent): Likewise.
13325 * resolv/res-close.c (__res_iclose): Likewise.
13326 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
13327 * sysdeps/posix/closedir.c (__closedir): Likewise.
13328 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
13329 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
13330 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
13331 (opendir_tail): Likewise.
13332 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
13333 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
13334 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13335 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13336 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
13337 (gethostid): Likewise.
13338 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
13339 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13341 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13342 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
13343 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
13344 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
13346 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
13347 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
13348 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
13350 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
13351 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
13353 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
13355 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
13356 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
13357 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
13360 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
13361 (openat_not_cancel_3): Likewise.
13362 (openat64_not_cancel_3): Likewise).
13363 (openat_not_cancel_3): Likewise).
13364 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
13366 (openat_not_cancel_3): Likewise.
13367 (openat64_not_cancel): Likewise.
13368 (openat64_not_cancel_3): Likewise.
13369 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
13370 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
13371 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
13372 __open{64}_nocancel.
13373 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
13374 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
13375 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13377 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
13380 * include/argz.h (__argz_create_sep): New function prototype.
13381 (__argz_append): Likewise.
13382 (__argz_add): Likewise.
13383 (__argz_add_sep): Likewise.
13384 (__argz_delete): Likewise.
13385 (__argz_insert): Likewise.
13386 (__argz_replace): Likewise.
13387 * string/argz.h (__argz_create_sep): Removed.
13388 (__argz_append): Likewise.
13389 (__argz_add): Likewise.
13390 (__argz_add_sep): Likewise.
13391 (__argz_delete): Likewise.
13392 (__argz_insert): Likewise.
13393 (__argz_replace): Likewise.
13395 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
13397 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
13398 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
13399 (GNU_PROPERTY_STACK_SIZE): Likewie.
13400 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
13401 (GNU_PROPERTY_LOPROC): Likewise.
13402 (GNU_PROPERTY_HIPROC): Likewise.
13403 (GNU_PROPERTY_LOUSER): Likewise.
13404 (GNU_PROPERTY_HIUSER): Likewise.
13405 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
13406 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
13407 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
13408 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
13409 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
13410 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
13411 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
13412 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
13413 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
13414 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
13415 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
13416 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
13417 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
13418 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
13419 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
13420 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
13421 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
13422 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
13423 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
13424 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
13425 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
13426 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
13427 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
13429 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13431 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
13434 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13437 * math/math.h (isinf): Check if in C or C++ mode before using
13438 __builtin_types_compatible_p, since this is a C mode feature.
13440 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13442 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
13443 (__write_nocancel): New macro.
13444 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
13445 Rewrite as a function prototype.
13446 (write_not_cancel): Remove macro.
13447 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
13448 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
13449 (write_gmon): Likewise.
13450 * libio/fileops.c (_IO_new_file_write): Likewise.
13451 * login/utmp_file.c (pututline_file): Likewise.
13452 (updwtmp_file): Likewise.
13453 * stdio-common/psiginfo.c (psiginfo): Likewise.
13454 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
13455 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
13456 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
13458 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
13461 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
13462 (__read_nocancel): New macro.
13463 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
13465 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
13467 (__read_nocancel): New prototype.
13468 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
13469 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
13470 with __read_nocancel.
13471 * intl/loadmsgcat.c (read): Likewise.
13472 * libio/fileops.c (_IO_file_read): Likewise.
13473 * locale/loadlocale.c (_nl_load_locale): Likewise.
13474 * login/utmp_file.c (getutent_r_file): Likewise.
13475 (internal_getut_r): Likewise.
13476 (getutline_r_file): Likewise.
13477 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
13478 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13479 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
13480 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13482 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
13483 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
13484 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
13486 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
13488 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
13490 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
13492 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
13494 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
13497 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
13498 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
13501 2017-08-17 DJ Delorie <dj@redhat.com>
13503 * bug17079.c: Update to new test harness.
13504 * test-digits-dots.c: Likewise.
13505 * test-netdb.c: Likewise.
13506 * tst-field.c: Likewise.
13507 * tst-nss-getpwent.c: Likewise.
13508 * tst-nss-static.c: Likewise.
13509 * tst-nss-test1.c: Likewise.
13510 * tst-nss-test2.c: Likewise.
13511 * tst-nss-test3.c: Likewise.
13512 * tst-nss-test4.c: Likewise.
13513 * tst-nss-test5.c: Likewise.
13515 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13517 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
13518 (open_not_cancel_2): Likewise.
13519 (open_nocancel): New macro.
13520 (open64_nocancel): Likewise.
13521 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
13522 (open_not_cancel_2): Likewise.
13523 (__open_nocancel): New prototype.
13524 (__open64_nocancel): Likewise.
13525 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
13527 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
13528 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
13529 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
13530 with __open_nocancel.
13531 * csu/check_fds.c (check_one_fd): Likewise.
13532 * gmon/gmon.c (write_gmon): Likewise.
13533 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
13534 * intl/loadmsgcat.c (open): Likewise.
13535 * libio/fileops.c (_IO_file_open): Likewise.
13536 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13537 * locale/loadlocale.c (_nl_load_locale): Likewise.
13538 * login/utmp_file.c (setutent_file): Likewise.
13539 * misc/daemon.c (daemon): Likewise.
13540 * nss/nss_db/db-open.c (internal_setent): Likewise.
13541 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
13542 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
13543 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
13544 (__opendir): Likewise.
13545 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
13546 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
13547 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
13548 (gethostid): Likewise.
13549 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
13550 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13552 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13553 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
13554 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
13555 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
13557 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
13559 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
13561 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
13563 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
13565 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
13567 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
13568 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
13570 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
13572 * benchtests/bench-skeleton.c (main): Add support for
13573 latency benchmarking.
13574 * benchtests/scripts/bench.py: Add support for latency benchmarking.
13576 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
13578 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
13579 the startup object.
13581 2017-08-17 Florian Weimer <fweimer@redhat.com>
13583 * include/sys/socket.h (__opensock): Remove internal_function.
13584 * socket/opensock.c (__opensock): Likewise.
13585 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
13587 2017-08-16 Joseph Myers <joseph@codesourcery.com>
13590 * signal/bits/types/__sigval_t.h: New file.
13591 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
13592 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
13593 and define sigval_t using __sigval_t.
13594 * include/bits/types/__sigval_t.h: New file.
13595 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
13596 instead of <bits/types/__sigval_t.h>.
13597 (struct sigevent): Use __sigval_t instead of sigval_t.
13598 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
13599 instead of <bits/types/__sigval_t.h>.
13600 (siginfo_t): Use __sigval_t instead of sigval_t.
13601 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
13602 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
13603 (struct sigevent): Use __sigval_t instead of sigval_t.
13604 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
13605 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
13606 (siginfo_t): Use __sigval_t instead of sigval_t.
13607 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
13609 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
13611 * NEWS: Remove "[Add new features here]" for 2.27.
13613 2017-08-16 Joseph Myers <joseph@codesourcery.com>
13615 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
13618 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
13620 * NEWS: Mention x86-64 FMA optimization.
13622 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
13625 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13627 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
13628 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
13629 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
13631 2017-08-16 Andreas Schwab <schwab@suse.de>
13635 * elf/ldd.bash.in: Never run file directly.
13637 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
13640 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
13641 (L(SP_INF_0)): Likewise.
13643 2017-08-15 Florian Weimer <fweimer@redhat.com>
13645 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
13648 2017-08-15 Florian Weimer <fweimer@redhat.com>
13650 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
13651 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
13652 BROKEN_THREAD_SIGNALS code.
13653 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
13654 request_list): Remove caller_pid member used for
13655 BROKEN_THREAD_SIGNALS.
13656 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
13657 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
13658 Remove BROKEN_THREAD_SIGNALS support.
13659 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
13660 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
13662 2017-08-15 Florian Weimer <fweimer@redhat.com>
13664 * gmon/Makefile (tests): Add tst-gmon.
13665 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
13667 (tests-special): Add tst-gmon-prof.out.
13668 (tst-gmon.out): Depend on clean-tst-gmon-data.
13669 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
13670 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
13671 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
13673 * aclocal.m4 (GPROF): Set and substitute.
13674 * config.amke.in (GPROF): Set.
13675 * configure: Regenerate.
13677 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
13679 * elf/elf.h A (NT_PPC_TAR): New macro.
13680 (NT_PPC_PPR): Likewise.
13681 (NT_PPC_DSCR): Likewise.
13682 (NT_PPC_EBB): Likewise.
13683 (NT_PPC_PMU): Likewise.
13684 (NT_PPC_TM_CGPR): Likewise.
13685 (NT_PPC_TM_CFPR): Likewise.
13686 (NT_PPC_TM_CVMX): Likewise.
13687 (NT_PPC_TM_CVSX): Likewise.
13688 (NT_PPC_TM_SPR): Likewise.
13689 (NT_PPC_TM_CTAR): Likewise.
13690 (NT_PPC_TM_CPPR): Likewise.
13691 (NT_PPC_TM_CDSCR): Likewise.
13693 2017-08-15 Florian Weimer <fweimer@redhat.com>
13695 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
13696 regparm (2) instead of internal_function.
13697 (_MCOUNT_DECL): Adjust.
13699 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
13701 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
13702 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
13704 2017-08-14 Joseph Myers <joseph@codesourcery.com>
13706 * conform/data/sys/wait.h-data (si_value): Do not expect for
13709 2017-08-14 Florian Weimer <fweimer@redhat.com>
13712 NSS: Create stubs for accidentally exported lookup functions.
13713 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
13714 Remove declaration.
13715 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
13716 (ether_hostton): Call __nss_ethers_lookup2 instead.
13717 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
13718 (ether_ntohost): Call __nss_ethers_lookup2 instead.
13719 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
13720 (setup): Call __nss_netgroup_lookup2 instead.
13721 * nss/Makefile (routines): Add compat-lookup.
13722 * nss/Versions (GLIBC_2.27): Add symbol version.
13723 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
13724 (DB_COMPAT_FCT): Remove.
13725 * nss/compat-lookup.c: New file.
13726 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
13727 from databases.def.
13728 * nss/service-lookup.c (NO_COMPAT): Remove definition.
13729 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
13730 (netname2user): Call __nss_publickey_lookup2 instead.
13731 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
13732 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
13735 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13736 Sergei Trofimovich <slyfox@inbox.ru>
13739 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
13740 Rename to MMAP2_PAGE_UNIT.
13741 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
13742 __OFF_T_MATCHES_OFF64_T is not defined.
13743 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
13745 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
13746 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
13748 2017-08-14 Florian Weimer <fweimer@redhat.com>
13750 i386: Do not set internal_function.
13751 * config.h.in (USE_REGPARMS, internal_function): Remove.
13752 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
13753 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
13755 2017-08-14 Florian Weimer <fweimer@redhat.com>
13757 * elf/dl-init.c (_dl_init): Remove internal_function.
13758 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
13759 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
13761 2017-08-14 Florian Weimer <fweimer@redhat.com>
13763 * elf/rtld.c (_dl_start): Remove internal_function.
13764 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
13767 2017-08-14 Florian Weimer <fweimer@redhat.com>
13769 * elf/dl-fini.c (_dl_fini): Remove internal_function
13770 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
13772 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
13774 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
13775 (bit_cpu_SHSTK): Likewise.
13776 (index_cpu_IBT): Likewise.
13777 (index_cpu_SHSTK): Likewise.
13778 (reg_IBT): Likewise.
13779 (reg_SHSTK): Likewise.
13780 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
13781 Handle index_cpu_IBT and index_cpu_SHSTK.
13783 2017-08-14 Mike FABIAN <mfabian@redhat.com>
13786 * po/fr.po: Fix spelling mistake.
13788 2017-08-13 Florian Weimer <fweimer@redhat.com>
13790 * elf/dl-addr.c (_dl_addr): Remove internal_function.
13791 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
13792 (_dl_catch_error, _dl_receive_error): Likewise.
13793 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
13794 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
13795 (_dl_deallocate_tls): Likewise.
13796 * include/dlfcn.h (_dl_addr): Likewise.
13797 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
13798 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
13799 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
13802 2017-08-13 Florian Weimer <fweimer@redhat.com>
13804 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
13805 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
13807 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
13809 2017-08-13 Florian Weimer <fweimer@redhat.com>
13811 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
13813 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
13814 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
13815 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
13816 internal_function from _dl_make_stack_executable_hook member.
13817 (_dl_make_stack_executable): Remove internal_function.
13818 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
13820 * sysdeps/unix/sysv/linux/dl-execstack.c
13821 (_dl_make_stack_executable): Likewise.
13823 2017-08-13 Florian Weimer <fweimer@redhat.com>
13825 * sysdeps/unix/sysv/linux/netlinkaccess.h
13826 (__netlink_assert_response): Remove internal_function.
13827 * sysdeps/unix/sysv/linux/netlink_assert_response.c
13828 (__netlink_assert_response): Likewise.
13830 2017-08-13 Florian Weimer <fweimer@redhat.com>
13832 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
13834 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
13836 2017-08-13 Florian Weimer <fweimer@redhat.com>
13838 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
13840 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
13841 * inet/netgroup.h (__internal_setnetgrent)
13842 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
13843 * inet/getnetgrent_r.c (__internal_setnetgrent)
13844 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
13845 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
13846 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
13847 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
13848 * nss/nsswitch.h (db_lookup_function): Likewise.
13850 2017-08-13 Florian Weimer <fweimer@redhat.com>
13852 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
13853 Remove internal_function.
13854 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
13855 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
13856 message argument on the stack.
13857 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
13860 2017-08-12 Mike FABIAN <mfabian@redhat.com>
13862 Adapt test case data to the changes in the thousands
13866 * localedata/tst-langinfo.sh: Adapt test case data.
13867 * stdlib/tst-strfmon_l.c: Likewise.
13868 * stdlib/tst-strtod4.c: Likewise.
13869 * stdlib/tst-strtod5i.c: Likewise.
13871 2017-08-11 Florian Weimer <fweimer@redhat.com>
13874 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
13875 Suppress pedantic warning resulting from statement expression.
13876 (__ASSERT_FUNCTION): Add missing __extension__.
13878 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13880 * benchtests/bench-memmove-large.c: Print output in JSON
13882 * benchtests/bench-memmove.c: Likewise.
13884 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
13885 * benchtests/bench-memchr.c (do_one_test): Likewise.
13886 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
13887 * benchtests/bench-memcpy.c (do_one_test): Likewise.
13888 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
13889 * benchtests/bench-memmove.c (do_one_test): Likewise.
13890 * benchtests/bench-memset-large.c (do_one_test): Likewise.
13891 * benchtests/bench-memset.c (do_one_test): Likewise.
13892 * benchtests/bench-string.h (test_init): Remove memsets.
13894 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
13897 (Computing the Width of an Integer Data Type): Rename section to
13898 "Width of an Integer Type". Remove inaccurate statement regarding
13899 lack of C language facilities for determining width of integer
13900 types, and reorder content to improve flow and context of
13903 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
13905 * lang.texi (va_copy): Change standard from ISO to C99.
13906 (__va_copy): Add standard and header annotation.
13907 Update description for clarity of origins and current use.
13909 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13912 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
13913 xssqrtqp requires operands to be in Vector Registers
13914 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
13915 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
13916 (__ieee754_sqrtf128): Likewise.
13918 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13920 * sysdeps/aarch64/memcmp.S (memcmp):
13921 Rewrite of optimized memcmp.
13923 2017-08-10 Florian Weimer <fweimer@redhat.com>
13925 Introduce ld.so exceptions.
13926 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
13927 (_dl_exception_create, _dl_exception_create_format)
13928 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
13929 (_dl_catch_exception): Declare.
13930 (_dl_catch_error): Update comment.
13931 * elf/dl-error-skeleton.c (struct catch): Replace objname,
13932 errstring, malloced members with exception member.
13933 (_dl_out_of_memory): Remove.
13934 (fatal_error): New function, extracted from _dl_signal_error.
13935 (_dl_signal_exception, _dl_signal_cexception): New functions.
13936 (_dl_signal_error): Call _dl_exception_create to allocate an
13938 (_dl_catch_exception): New function, based on _dl_catch_error.
13939 (_dl_catch_error): Implement using _dl_catch_exception.
13940 * elf/dl-exception.c: New file.
13941 * elf/Makefile (dl-routines): Add dl-exception.
13942 (elide-routines.os): Likewise.
13943 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
13944 _dl_exception_create_format, _dl_exception_free.
13945 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
13946 _dl_signal_exception.
13947 * elf/dl-lookup.c (make_string): Remove.
13948 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
13949 _dl_signal_cexception, _dl_exception_free.
13950 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
13951 _dl_signal_exception.
13952 * elf/dl-sym.c (do_sym): Likewise.
13953 * elf/dl-version.c (make_string): Remove.
13954 (match_symbol): Use _dl_exception_create_format,
13955 _dl_signal_cexception, _dl_exception_free.
13956 (_dl_check_map_versions): Likewise.
13957 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
13958 _dl_catch_exception.
13959 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13960 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13961 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13962 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13963 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13964 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13965 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13966 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
13968 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13975 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13976 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13977 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
13979 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
13981 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13983 2017-08-10 Florian Weimer <fweimer@redhat.com>
13985 * inet/net-internal.h (__inet6_scopeid_pton): Remove
13986 attribute_hidden, internal_function.
13987 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
13990 2017-08-10 Florian Weimer <fweimer@redhat.com>
13992 * malloc/malloc.c (get_max_fast): Reimplement as an inline
13993 function which calls __builtin_unreachable.
13995 2017-08-10 Mike FABIAN <mfabian@redhat.com>
13997 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
13998 Indian monetary formatting
13999 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
14002 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
14004 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
14005 Fix typo in comment.
14008 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
14009 PTRACE_SEIZE_DEVEL): Remove.
14010 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
14011 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14012 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14013 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14014 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14016 2017-08-09 Joseph Myers <joseph@codesourcery.com>
14018 * posix/bits/types.h (__qaddr_t): Remove.
14021 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
14022 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
14024 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
14025 (ucontext_t): Use __ctx with uc_flags.
14026 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
14027 (__ctxt): Likewise.
14028 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
14030 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
14031 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
14033 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
14034 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
14036 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
14038 (ucontext_t): Use __ctx with uc_flags.
14039 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
14040 (ucontext_t): Use __ctx with uc_flags.
14041 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
14042 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
14043 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
14044 (ucontext_t): Use __ctx with uc_flags.
14045 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
14046 undefine further down.
14047 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
14049 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
14050 undefine further down.
14051 (ucontext_t): Use __ctx with uc_flags.
14052 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
14053 undefine further down.
14054 (ucontext_t): Use __ctx with uc_flags.
14055 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
14056 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
14057 Rename uc_pad to __glibc_reserved1.
14058 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
14059 undefine further down.
14060 (ucontext_t): Use __ctx with uc_flags.
14061 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
14063 (ucontext_t): Use __ctx with uc_flags.
14064 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
14065 __ctx with uc_flags.
14066 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
14067 (ucontext_t): Use __ctx with uc_flags.
14068 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
14069 __ctx with uc_flags.
14071 2017-08-09 Florian Weimer <fweimer@redhat.com>
14074 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
14075 before early return.
14077 2017-08-09 Andreas Schwab <schwab@suse.de>
14080 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
14084 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
14085 tst-compat-forwarder.
14086 (modules-names): Add tst-compat-forwarder-mod.
14087 ($(objpfx)tst-compat-forwarder): Depend on
14088 $(objpfx)tst-compat-forwarder-mod.so.
14089 * nptl/tst-compat-forwarder.c: New file.
14090 * nptl/tst-compat-forwarder-mod.c: New file.
14092 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
14094 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
14097 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
14098 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
14100 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
14102 (__libc_ifunc_impl_list): Add __memcpy_falkor.
14103 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
14104 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
14105 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
14107 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
14110 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14113 * manual/setjmp.texi (getcontex): Document uc_stack value
14114 compatibility differences.
14116 2017-08-08 Joseph Myers <joseph@codesourcery.com>
14118 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
14119 (old_malloc_hook): Likewise.
14120 (old_memalign_hook): Likewise.
14121 (old_realloc_hook): Likewise.
14122 (struct hdr): Likewise.
14124 (freehook): Likewise.
14125 (mallochook): Likewise.
14126 (memalignhook): Likewise.
14127 (reallochook): Likewise.
14128 (mprobe): Likewise.
14129 * malloc/mtrace.c (mallwatch): Likewise.
14130 (tr_old_free_hook): Likewise.
14131 (tr_old_malloc_hook): Likewise.
14132 (tr_old_realloc_hook): Likewise.
14133 (tr_old_memalign_hook): Likewise.
14134 (tr_where): Likewise.
14135 (lock_and_info): Likewise.
14136 (tr_freehook): Likewise.
14137 (tr_mallochook): Likewise.
14138 (tr_reallochook): Likewise.
14139 (tr_memalignhook): Likewise.
14140 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
14141 * misc/mmap.c (__mmap): Likewise.
14142 * misc/mmap64.c (__mmap64): Likewise.
14143 * misc/mprotect.c (__mprotect): Likewise.
14144 * misc/msync.c (msync): Likewise.
14145 * misc/munmap.c (__munmap): Likewise.
14146 * posix/posix_madvise.c (posix_madvise): Likewise.
14147 * socket/send.c (__send): Likewise.
14148 * socket/sendto.c (__sendto): Likewise.
14149 * socket/setsockopt.c (__setsockopt): Likewise.
14150 * string/memcmp.c (__ptr_t): Remove macro.
14151 (MEMCMP): Use void * instead of ptr_t.
14152 * string/memrchr.c (__ptr_t): Remove macro.
14153 (__memrchr): Use void * instead of ptr_t.
14154 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
14155 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
14156 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
14157 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
14158 * sysdeps/mach/msync.c (msync): Likewise.
14159 * sysdeps/mach/munmap.c (__munmap): Likewise.
14160 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
14162 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
14163 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
14164 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
14165 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
14166 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
14167 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
14168 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
14169 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
14171 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
14172 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
14173 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
14174 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
14175 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
14176 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
14177 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
14178 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
14179 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
14181 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
14182 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
14183 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
14184 (MEMCMP): Use void * instead of ptr_t.
14185 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
14186 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
14188 2017-08-08 Florian Weimer <fweimer@redhat.com>
14190 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
14193 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
14196 * csu/libc-tls.c: Include <startup.h> first.
14197 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
14198 * elf/dl-tunables.c: Include <startup.h> first.
14199 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
14200 * sysdeps/generic/startup.h: New file.
14201 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
14202 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
14203 (I386_USE_SYSENTER): New. Defined to 0.
14205 2017-08-08 Andreas Schwab <schwab@suse.de>
14208 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
14209 * nptl/pt-system.c (system): Likewise.
14211 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14214 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
14216 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
14217 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
14218 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
14219 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
14220 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
14221 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
14222 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
14224 2017-08-07 Joseph Myers <joseph@codesourcery.com>
14227 * bits/sigaction.h (struct sigaction): Define sa_handler and
14228 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
14229 (SA_ONSTACK): Change [__USE_UNIX98] condition to
14230 [__USE_XOPEN_EXTENDED].
14231 (SA_RESTART): Likewise.
14232 (SA_NODEFER): Likewise.
14233 (SA_RESETHAND): Likewise.
14234 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
14235 (struct sigaction): Define sa_handler and sa_sigaction using union
14236 also for [__USE_XOPEN_EXTENDED].
14237 (SA_ONSTACK): Change [__USE_UNIX98] condition to
14238 [__USE_XOPEN_EXTENDED].
14239 (SA_RESTART): Likewise.
14240 (SA_NODEFER): Likewise.
14241 (SA_RESETHAND): Likewise.
14242 * sysdeps/unix/sysv/linux/bits/sigaction.h
14243 (struct sigaction): Define sa_handler and sa_sigaction using union
14244 also for [__USE_XOPEN_EXTENDED].
14245 (SA_ONSTACK): Change [__USE_UNIX98] condition to
14246 [__USE_XOPEN_EXTENDED].
14247 (SA_RESTART): Likewise.
14248 (SA_NODEFER): Likewise.
14249 (SA_RESETHAND): Likewise.
14250 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
14251 (struct sigaction): Define sa_handler and sa_sigaction using union
14252 also for [__USE_XOPEN_EXTENDED].
14253 (SA_ONSTACK): Change [__USE_UNIX98] condition to
14254 [__USE_XOPEN_EXTENDED].
14255 (SA_RESTART): Likewise.
14256 (SA_NODEFER): Likewise.
14257 (SA_RESETHAND): Likewise.
14258 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
14259 (struct sigaction): Define sa_handler and sa_sigaction using union
14260 also for [__USE_XOPEN_EXTENDED].
14261 (SA_ONSTACK): Change [__USE_UNIX98] condition to
14262 [__USE_XOPEN_EXTENDED].
14263 (SA_RESTART): Likewise.
14264 (SA_NODEFER): Likewise.
14265 (SA_RESETHAND): Likewise.
14266 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
14267 (struct sigaction): Define sa_handler and sa_sigaction using union
14268 also for [__USE_XOPEN_EXTENDED].
14269 (SA_ONSTACK): Change [__USE_UNIX98] condition to
14270 [__USE_XOPEN_EXTENDED].
14271 (SA_RESTART): Likewise.
14272 (SA_NODEFER): Likewise.
14273 (SA_RESETHAND): Likewise.
14274 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14275 (struct sigaction): Define sa_handler and sa_sigaction using union
14276 also for [__USE_XOPEN_EXTENDED].
14277 (SA_ONSTACK): Change [__USE_UNIX98] condition to
14278 [__USE_XOPEN_EXTENDED].
14279 (SA_RESTART): Likewise.
14280 (SA_NODEFER): Likewise.
14281 (SA_RESETHAND): Likewise.
14282 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14283 (struct sigaction): Define sa_handler and sa_sigaction using union
14284 also for [__USE_XOPEN_EXTENDED].
14285 (SA_ONSTACK): Change [__USE_UNIX98] condition to
14286 [__USE_XOPEN_EXTENDED].
14287 (SA_RESTART): Likewise.
14288 (SA_NODEFER): Likewise. Define directly rather than as alias.
14289 (SA_RESETHAND): Likewise.
14290 (SA_INTERRUPT): Define only for [__USE_MISC].
14291 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
14292 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
14294 (SA_STACK): Define only for [__USE_MISC].
14295 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
14296 (struct sigaction): Define sa_handler and sa_sigaction using union
14297 also for [__USE_XOPEN_EXTENDED].
14298 (SA_ONSTACK): Change [__USE_UNIX98] condition to
14299 [__USE_XOPEN_EXTENDED].
14300 (SA_RESTART): Likewise.
14301 (SA_NODEFER): Likewise.
14302 (SA_RESETHAND): Likewise.
14303 (SA_NOPTRACE): Define only for [__USE_MISC].
14305 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
14306 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
14307 (struct catalog_info): Likewise.
14308 * inet/htontest.c (lo): Likewise.
14310 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14311 * inet/inet_net.c (inet_network): Likewise.
14312 * inet/inet_netof.c (inet_netof): Likewise.
14313 * inet/rcmd.c (__ivaliduser): Likewise.
14314 (iruserok): Likewise.
14315 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
14316 * locale/programs/locale-spec.c (locale_special): Likewise.
14317 * nis/nis_findserv.c (struct findserv_req): Likewise.
14318 (__nis_findfastest_with_timeout): Likewise.
14319 * nss/test-netdb.c (test_network): Likewise.
14320 * resolv/inet_neta.c (inet_neta): Likewise.
14321 * resolv/ns_date.c (ns_datetosecs): Likewise.
14322 (SECS_PER_DAY): Likewise.
14323 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
14325 * resolv/res_comp.c (__putlong): Likewise.
14326 (__putshort): Likewise.
14327 (_getlong): Likewise.
14328 (_getshort): Likewise.
14329 * resolv/res_debug.c (p_time): Likewise.
14330 (precsize_ntoa): Likewise.
14331 (precsize_aton): Likewise.
14332 (latlon2ul): Likewise.
14333 (loc_aton): Likewise.
14334 (loc_ntoa): Likewise.
14335 * resolv/res_hconf.c (struct netaddr): Likewise.
14336 (_res_hconf_reorder_addrs): Likewise.
14337 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
14338 (clnttcp_control): Likewise.
14339 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14340 (clntudp_control): Likewise.
14341 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
14342 (clntunix_control): Likewise.
14343 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
14344 * sunrpc/rpc/auth.h (union des_block): Likewise.
14345 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
14346 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
14347 (xdrrec_create): Likewise.
14348 (xdrrec_endofrecord): Likewise.
14349 (flush_out): Likewise.
14350 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
14351 (xdrstdio_putlong): Likewise.
14352 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
14355 * misc/sys/cdefs.h (__long_double_t): Remove.
14356 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
14357 instead of __long_double_t,
14358 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
14360 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14362 * benchtests/scripts/compare_strings.py: Avoid display error when
14363 running on a text terminal.
14365 * benchtests/scripts/compare_strings.py (main): Add an
14366 optional -base option.
14367 (process_results): New argument base_func.
14369 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
14371 * benchtests/bench-memcpy-large.c (test_name): Likewise.
14372 * benchtests/bench-memcpy-random.c (test_name): Likewise.
14374 2017-08-07 Andreas Schwab <schwab@suse.de>
14376 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
14377 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14378 * intl/Makefile ($(objpfx)tst-gettext.out)
14379 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
14380 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
14381 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14382 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14383 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
14384 * posix/Makefile ($(objpfx)globtest.out)
14385 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
14386 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
14387 ($(objpfx)tst-printf.out): Likewise.
14388 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
14389 ($(objpfx)tst-setcontext3.out): Likewise.
14391 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
14393 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14394 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
14395 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
14396 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
14397 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
14399 (CFLAGS-doasin-fma.c): New.
14400 (CFLAGS-dosincos-fma.c): Likewise.
14401 (CFLAGS-e_asin-fma.c): Likewise.
14402 (CFLAGS-e_atan2-fma.c): Likewise.
14403 (CFLAGS-e_exp-fma.c): Likewise.
14404 (CFLAGS-e_log-fma.c): Likewise.
14405 (CFLAGS-e_pow-fma.c): Likewise.
14406 (CFLAGS-halfulp-fma.c): Likewise.
14407 (CFLAGS-mpa-fma.c): Likewise.
14408 (CFLAGS-mpatan-fma.c): Likewise.
14409 (CFLAGS-mpatan2-fma.c): Likewise.
14410 (CFLAGS-mpexp-fma.c): Likewise.
14411 (CFLAGS-mplog-fma.c): Likewise.
14412 (CFLAGS-mpsqrt-fma.c): Likewise.
14413 (CFLAGS-mptan-fma.c): Likewise.
14414 (CFLAGS-s_atan-fma.c): Likewise.
14415 (CFLAGS-sincos32-fma.c): Likewise.
14416 (CFLAGS-slowexp-fma.c): Likewise.
14417 (CFLAGS-slowpow-fma.c): Likewise.
14418 (CFLAGS-s_sin-fma.c): Likewise.
14419 (CFLAGS-s_tan-fma.c): Likewise.
14420 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
14421 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
14422 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
14423 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
14424 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
14425 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
14426 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
14427 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
14428 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
14429 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
14430 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
14431 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
14432 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
14433 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
14434 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
14435 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
14436 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
14437 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
14438 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
14439 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
14440 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
14441 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
14442 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
14443 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
14444 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14445 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14446 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14447 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
14448 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14449 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14450 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14452 2017-08-04 Joseph Myers <joseph@codesourcery.com>
14454 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
14455 (min_of_type_f): New macro.
14456 (min_of_type_): Likewise.
14457 (min_of_type_l): Likewise.
14458 (min_of_type_f128): Likewise.
14459 (min_of_type): Define using __MATH_TG and taking an expression
14461 (math_check_force_underflow): Pass expression instead of type to
14463 (math_check_force_underflow_nonneg): Likewise.
14465 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14467 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
14468 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
14469 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
14471 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14473 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14474 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
14475 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
14476 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
14477 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
14478 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
14479 memcpy_chk-nonshared, mempcpy_chk-nonshared,
14480 memmove_chk-nonshared and memset_chk-nonshared
14481 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
14482 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
14483 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
14484 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
14485 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
14486 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
14487 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
14488 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
14489 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
14490 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
14491 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
14492 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
14493 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
14494 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
14495 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
14496 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
14497 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
14498 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
14499 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
14500 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
14501 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
14502 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
14503 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
14504 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
14505 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
14506 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
14507 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
14508 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
14509 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
14510 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
14511 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
14512 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
14513 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
14514 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
14515 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
14516 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
14517 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
14518 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
14519 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
14520 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
14521 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
14522 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
14523 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
14524 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
14525 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
14526 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
14527 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
14528 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
14529 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
14530 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
14531 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
14532 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
14533 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
14534 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
14535 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
14536 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
14537 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
14538 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
14539 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
14540 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
14541 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
14542 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
14543 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
14544 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
14545 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
14546 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
14547 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
14548 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
14549 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
14550 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
14551 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
14552 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14553 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14554 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14555 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14556 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14557 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14558 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14559 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14560 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14561 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14562 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14563 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14564 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14565 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14566 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14567 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14568 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14569 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14570 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14571 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14572 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14573 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14574 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14575 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14576 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14577 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14578 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14579 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14580 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14581 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14582 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14583 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14584 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14585 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14586 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14587 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14588 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14590 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14592 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
14593 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
14594 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
14595 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
14596 svml_d_log2_core-sse2, svml_d_log4_core-sse,
14597 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
14598 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
14599 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
14600 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
14601 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
14602 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
14603 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
14604 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
14605 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
14606 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
14607 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
14608 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
14609 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
14610 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
14611 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
14612 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
14613 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
14614 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
14615 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
14616 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
14617 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
14618 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
14619 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
14620 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
14621 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
14622 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
14623 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
14624 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
14625 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
14626 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
14627 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
14628 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
14629 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
14630 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
14631 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
14632 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
14633 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
14634 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
14635 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
14636 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
14637 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
14638 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
14639 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
14640 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
14641 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
14642 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
14643 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
14644 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
14645 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
14646 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
14647 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
14648 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
14649 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
14650 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
14652 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
14653 Don't include <sysdep.h> nor <init-arch.h>.
14654 (_ZGVbN2v_cos): Removed.
14655 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
14657 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
14658 Don't include <sysdep.h> nor <init-arch.h>.
14659 (_ZGVdN4v_cos): Removed.
14660 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
14662 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
14663 Don't include <sysdep.h> nor <init-arch.h>.
14664 (_ZGVeN8v_cos): Removed.
14665 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
14667 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
14668 Don't include <sysdep.h> nor <init-arch.h>.
14669 (_ZGVbN2v_exp): Removed.
14670 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
14672 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
14673 Don't include <sysdep.h> nor <init-arch.h>.
14674 (_ZGVdN4v_exp): Removed.
14675 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
14677 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
14678 Don't include <sysdep.h> nor <init-arch.h>.
14679 (_ZGVeN8v_exp): Removed.
14680 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
14682 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
14683 Don't include <sysdep.h> nor <init-arch.h>.
14684 (_ZGVbN2v_log): Removed.
14685 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
14687 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
14688 Don't include <sysdep.h> nor <init-arch.h>.
14689 (_ZGVdN4v_log): Removed.
14690 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
14692 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
14693 Don't include <sysdep.h> nor <init-arch.h>.
14694 (_ZGVeN8v_log): Removed.
14695 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
14697 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
14698 Don't include <sysdep.h> nor <init-arch.h>.
14699 (_ZGVbN2vv_pow): Removed.
14700 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
14702 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
14703 Don't include <sysdep.h> nor <init-arch.h>.
14704 (_ZGVdN4vv_pow): Removed.
14705 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
14707 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
14708 Don't include <sysdep.h> nor <init-arch.h>.
14709 (_ZGVeN8vv_pow): Removed.
14710 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
14712 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
14713 Don't include <sysdep.h> nor <init-arch.h>.
14714 (_ZGVbN2v_sin): Removed.
14715 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
14717 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
14718 Don't include <sysdep.h> nor <init-arch.h>.
14719 (_ZGVbN4v_sin): Removed.
14720 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
14722 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
14723 Don't include <sysdep.h> nor <init-arch.h>.
14724 (_ZGVbN8v_sin): Removed.
14725 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
14727 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
14728 Don't include <sysdep.h> nor <init-arch.h>.
14729 (_ZGVbN2vvv_sincos): Removed.
14730 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
14732 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
14733 Don't include <sysdep.h> nor <init-arch.h>.
14734 (_ZGVdN4vvv_sincos): Removed.
14735 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
14737 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
14738 Don't include <sysdep.h> nor <init-arch.h>.
14739 (_ZGVeN8vvv_sincos): Removed.
14740 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
14742 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
14743 Don't include <sysdep.h> nor <init-arch.h>.
14744 (_ZGVeN16v_cosf): Removed.
14745 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
14747 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
14748 Don't include <sysdep.h> nor <init-arch.h>.
14749 (_ZGVbN4v_cosf): Removed.
14750 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
14752 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
14753 Don't include <sysdep.h> nor <init-arch.h>.
14754 (_ZGVdN8v_cosf): Removed.
14755 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
14757 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
14758 Don't include <sysdep.h> nor <init-arch.h>.
14759 (_ZGVeN16v_expf): Removed.
14760 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
14762 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
14763 Don't include <sysdep.h> nor <init-arch.h>.
14764 (_ZGVbN4v_expf): Removed.
14765 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
14767 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
14768 Don't include <sysdep.h> nor <init-arch.h>.
14769 (_ZGVdN8v_expf): Removed.
14770 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
14772 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
14773 Don't include <sysdep.h> nor <init-arch.h>.
14774 (_ZGVeN16v_logf): Removed.
14775 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
14777 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
14778 Don't include <sysdep.h> nor <init-arch.h>.
14779 (_ZGVbN4v_logf): Removed.
14780 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
14782 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
14783 Don't include <sysdep.h> nor <init-arch.h>.
14784 (_ZGVdN8v_logf): Removed.
14785 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
14787 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
14788 Don't include <sysdep.h> nor <init-arch.h>.
14789 (_ZGVeN16vv_powf): Removed.
14790 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
14792 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
14793 Don't include <sysdep.h> nor <init-arch.h>.
14794 (_ZGVbN4vv_powf): Removed.
14795 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
14797 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
14798 Don't include <sysdep.h> nor <init-arch.h>.
14799 (_ZGVdN8vv_powf): Removed.
14800 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
14802 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
14803 Don't include <sysdep.h> nor <init-arch.h>.
14804 (_ZGVeN16vvv_sincosf): Removed.
14805 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
14807 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
14808 Don't include <sysdep.h> nor <init-arch.h>.
14809 (_ZGVbN4vvv_sincosf): Removed.
14810 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
14812 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
14813 Don't include <sysdep.h> nor <init-arch.h>.
14814 (_ZGVdN8vvv_sincosf): Removed.
14815 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
14817 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
14818 Don't include <sysdep.h> nor <init-arch.h>.
14819 (_ZGVeN16v_sinf): Removed.
14820 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
14822 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
14823 Don't include <sysdep.h> nor <init-arch.h>.
14824 (_ZGVbN4v_sinf): Removed.
14825 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
14827 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
14828 Don't include <sysdep.h> nor <init-arch.h>.
14829 (_ZGVdN8v_sinf): Removed.
14831 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14833 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14834 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
14835 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
14836 s_rint-sse4_1 and s_rintf-sse4_1.
14837 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
14838 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
14839 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
14840 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
14841 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
14842 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
14843 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
14844 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
14845 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
14846 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
14847 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
14848 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14850 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
14851 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
14852 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14853 (__ceilf): Removed.
14854 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
14855 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
14856 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14857 (__floor): Removed.
14858 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
14859 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
14860 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14861 (__floorf): Removed.
14862 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
14863 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
14864 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14865 (__nearbyint): Removed.
14866 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
14867 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
14868 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14869 (__nearbyintf): Removed.
14870 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
14871 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
14872 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14874 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
14875 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
14876 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14877 (__rintf): Removed.
14879 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14881 * sysdeps/i386/start.S (_start): Check Check PIC instead of
14882 SHARED. Avoid dynamic relocation against main in static PIE.
14884 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14887 * elf/Makefile (CFLAGS-tst-prelink.c): New.
14888 (LDFLAGS-tst-prelink): Likewise.
14890 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14892 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
14893 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
14894 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
14895 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
14896 (INTERNAL_SYSCALL_NCS): Likewise.
14897 (LOADARGS_1): Likewise.
14898 (LOADARGS_5): Likewise.
14899 (RESTOREARGS_1): Likewise.
14900 (RESTOREARGS_5): Likewise.
14902 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14904 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
14905 (MEMPCPY_SYMBOL): Likewise.
14906 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14907 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
14908 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
14910 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14911 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
14913 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
14914 (__hidden_ver1): Don't use in libc.a.
14915 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
14916 (__mempcpy): Don't create a weak alias in libc.a.
14917 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
14919 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
14920 (__hidden_ver1): Don't use in libc.a.
14922 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14924 * config.make.in (have-insert): New.
14925 * configure.ac (libc_cv_insert): New. Set to yes if linker
14926 supports INSERT in linker script.
14927 (AC_SUBST(libc_cv_insert): New.
14928 * configure: Regenerated.
14929 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
14930 if $(have-insert) == yes.
14932 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14934 * elf/Makefile (tests): Add vismain only if
14935 $(have-protected-data) == yes.
14936 (tests-pie): Likewise.
14938 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14941 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14942 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
14944 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14947 * sysdeps/i386/i586/memset.S
14948 (__memset_zero_constant_len_parameter): Removed.
14949 * sysdeps/i386/i686/memset.S
14950 (__memset_zero_constant_len_parameter): Likewise.
14951 * sysdeps/i386/i686/multiarch/memset_chk.S
14952 (__memset_zero_constant_len_parameter): Likewise.
14953 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
14956 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
14958 * stdlib/getentropy.c (getentropy): Change return type to int.
14960 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
14962 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
14964 2017-08-03 Joseph Myers <joseph@codesourcery.com>
14966 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
14968 * math/s_nexttowardf.c (__nexttowardf): Likewise.
14969 * sysdeps/generic/math_private.h (ieee_double_shape_type):
14971 (ieee_float_shape_type): Likewise.
14972 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
14973 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
14974 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14975 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14976 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14977 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
14978 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
14979 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
14980 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
14982 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14983 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14984 (__ieee754_yn): Likewise.
14985 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
14986 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
14987 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
14989 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14990 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
14991 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
14992 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
14993 (__erfc): Likewise.
14994 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
14995 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
14996 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
14997 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
14998 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
14999 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
15001 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
15002 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
15003 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
15004 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
15005 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15006 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
15007 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
15008 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
15009 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
15010 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
15011 (__issignaling): Likewise.
15012 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
15013 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
15014 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15016 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15017 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
15018 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
15019 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
15021 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
15023 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
15024 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
15025 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
15026 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
15027 (__erfcf): Likewise.
15028 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
15029 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
15030 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
15031 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
15033 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
15034 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
15036 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
15037 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
15038 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
15039 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
15040 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
15041 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15042 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
15043 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
15045 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
15047 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
15049 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
15050 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15052 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15054 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15055 (__ieee754_ynl): Likewise.
15056 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15057 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
15059 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
15061 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
15062 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
15063 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15065 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
15066 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
15067 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
15068 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
15069 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
15070 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
15071 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
15072 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
15074 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
15075 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
15076 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
15078 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
15079 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
15080 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
15081 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
15082 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
15083 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15085 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15087 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15089 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15091 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
15092 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15093 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15094 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
15095 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
15096 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
15097 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
15099 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15101 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15102 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15104 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
15105 (__ieee754_remainderl): Likewise.
15106 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15107 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15108 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15109 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15111 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15112 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15114 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15115 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
15116 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15117 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
15118 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
15119 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15121 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15122 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
15123 (__ieee754_y0l): Likewise.
15126 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15127 (__ieee754_y1l): Likewise.
15130 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15131 (__ieee754_ynl): Likewise.
15132 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
15133 (__ieee754_lgammal_r): Likewise.
15134 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
15136 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
15137 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
15138 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
15139 (__erfcl): Likewise.
15140 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
15141 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
15143 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
15144 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
15145 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
15146 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
15147 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
15148 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15149 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15151 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
15152 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15153 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
15154 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
15155 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15157 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
15158 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
15160 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
15161 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
15162 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
15163 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15164 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
15166 2017-08-03 Florian Weimer <fweimer@redhat.com>
15169 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
15170 on memory allocation failure.
15172 2017-08-03 Alan Modra <amodra@gmail.com>
15174 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
15175 tst-tlsopt-powerpc.c with function name change and no test harness.
15176 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
15177 Call tls_get_addr_opt_test.
15178 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
15179 (modules-names): Add mod-tlsopt-powerpc.
15180 (mod-tlsopt-powerpc.so-no-z-defs): Define.
15181 (tst-tlsopt-powerpc): Depend on .so.
15182 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
15183 define. Expand use in TLS_GD and TLS_LD.
15185 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15187 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
15189 * sysdeps/posix/shm_open.c: Include <pthread.h>.
15191 2017-08-02 Joseph Myers <joseph@codesourcery.com>
15194 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
15195 comparing size with that of double.
15196 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
15197 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
15198 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
15199 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
15200 (__TGMATH_BINARY_REAL_IMAG): Likewise.
15201 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
15202 unsigned __int128 types.
15204 2017-08-02 Steve Ellcey <sellcey@cavium.com>
15206 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
15207 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
15208 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
15209 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
15210 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
15212 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
15214 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
15216 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
15218 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
15220 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
15221 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15222 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15223 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15224 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15225 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15226 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15228 2017-08-02 Joseph Myers <joseph@codesourcery.com>
15231 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
15232 bit-field expressions passed to sizeof or typeof.
15233 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
15234 (__TGMATH_F128): Likewise.
15235 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
15236 (__TGMATH_CF128): Likewise.
15237 (__TGMATH_UNARY_REAL_ONLY): Likewise.
15238 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
15239 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
15240 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
15241 (__TGMATH_BINARY_REAL_ONLY): Likewise.
15242 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
15243 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
15244 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
15245 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
15246 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
15247 (__TGMATH_UNARY_REAL_IMAG): Likewise.
15248 (__TGMATH_UNARY_IMAG): Likewise.
15249 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
15250 (__TGMATH_BINARY_REAL_IMAG): Likewise.
15251 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
15253 (define_vars_for_type): Handle bit_field type specially.
15254 (Tests.__init__): Declare structure with bit-field element.
15256 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
15259 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
15260 (MEMCPY_CHK): Define only if SHARED is defined.
15261 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
15263 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
15266 See ChangeLog.18 for earlier changes.