1 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
5 (thread_attr_compare): Move function to...
6 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
7 * sysdeps/nptl/timer_routines.h: ... new header.
9 2018-02-26 Joseph Myers <joseph@codesourcery.com>
11 * string/strcoll_l.c: Include <libc-diag.h>.
12 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
13 declarations of seq1 and seq2.
16 * stdlib/atoi.c (atoi): Use libc_hidden_def.
17 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
19 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
23 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
24 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
25 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
26 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
27 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
28 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
30 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
33 macros used in __ptrace_request.
35 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
38 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
40 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
41 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
42 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
45 2018-02-23 Joseph Myers <joseph@codesourcery.com>
48 * ctype/ctype.c (tolower): Use libc_hidden_def.
50 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
51 [!_ISOMAC] (toupper): Likewise.
53 2018-02-23 Mike FABIAN <mfabian@redhat.com>
55 * localedata/Makefile: Remove --quiet argument when
58 2018-02-23 Mike FABIAN <mfabian@redhat.com>
61 * localedata/locales/pt_BR (LC_TIME): use / instead of -
63 * localedata/locales/pt_PT (LC_TIME): likewise
65 2018-02-23 Mike FABIAN <mfabian@redhat.com>
68 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
69 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
70 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
72 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
74 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76 * nptl/Makefile (routines): Remove unregister-atfork.
77 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
78 (fork_handler_alloc): Remove function.
79 (fork_handlers, fork_handler_init): New variables.
80 (__fork_lock): Rename to atfork_lock.
81 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
82 to use a dynamic array to add/remove atfork handlers.
83 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
84 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
86 (fork_handler): Remove next, refcntr, and need_signal member.
87 (__run_fork_handler_type): New enum.
88 (__run_fork_handlers): New prototype.
89 * nptl/register-atfork.c: Remove file.
90 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
92 * sysdeps/nptl/nptl-signals.h: Move to ...
93 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
95 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
96 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
97 unnecessary check for SIGTIMER.
98 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
99 remove unnecessary removal of SIGTIMER.
100 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
101 include-signals.h rename.
102 * nptl/pthreadP.h: Likewise.
103 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
104 __is_internal_signal instead of __nptl_is_internal_signal.
106 2018-02-22 Andrew Waterman <andrew@sifive.com>
109 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
110 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
111 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
112 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
114 2018-02-22 DJ Delorie <dj@delorie.com>
116 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
118 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
120 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
121 do_misaligned, not misaligned8.
123 2018-02-22 Steve Ellcey <sellcey@cavium.com>
125 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
126 Add memcpy_thunderx2.
127 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
129 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
130 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
131 and IS_THUNDERX2PA checks.
132 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
133 Use macro to set name appropriately.
134 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
135 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
136 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
138 (IS_THUNDERX2): New macro.
140 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
142 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
144 2018-02-21 Zack Weinberg <zackw@panix.com>
146 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
147 Define here, unconditionally.
148 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
149 * libio/libioP.h: Remove #if 0 blocks.
150 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
151 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
152 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
154 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
155 Assume weak_alias is always defined.
157 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
158 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
159 Remove #if 0 and #ifdef TODO blocks.
160 Assume text_set_element is always defined.
162 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
163 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
164 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
166 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
167 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
168 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
169 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
170 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
171 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
172 Reformat bit flags for _flags field to make occupancy clearer.
174 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
175 Keep definitions consistent with those in libio/libio.h.
177 * libio/libio.h (_IO_file_flags): Remove macro.
178 All uses changed to _flags.
180 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
181 (__HAVE_COLUMN, _IO_BE): Don't define.
182 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
183 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
184 * libio/libioP.h (EOF): Don't define.
185 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
186 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
187 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
188 testing _IO_UNIFIED_JUMPTABLES.
190 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
191 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
192 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
193 (_IO_size_t): Delete; all uses changed to size_t.
194 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
195 (_IO_off_t): Delete; all uses changed to off_t.
196 (_IO_off64_t): Delete; all uses changed to off64_t.
197 (_IO_pid_t): Delete; all uses changed to pid_t.
198 (_IO_uid_t): Delete; all uses changed to uid_t.
199 (_IO_wint_t): Delete; all uses changed to wint_t.
200 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
201 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
202 (_IO_cookie_io_functions_t): Delete; all uses changed to
203 cookie_io_functions_t.
204 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
205 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
206 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
207 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
209 * libio/iofopncook.c: Remove unnecessary forward declarations.
210 * libio/iolibio.h: Correct outdated commentary.
211 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
212 * stdio-common/fxprintf.c (__fxprintf_nocancel):
213 Remove unnecessary casts.
214 * stdio-common/getline.c: Use _IO_getdelim directly.
215 Don't redefine ssize_t.
216 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
217 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
218 Remove outdated comments.
219 * stdio-common/vfscanf.c: Don't redefine va_list.
221 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
222 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
223 Remove preprocessor conditionals on _LIBC and __USE_GNU,
224 which are always true, and __cplusplus, which is always false.
226 2018-02-21 Joseph Myers <joseph@codesourcery.com>
230 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
231 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
232 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
233 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
235 [!_ISOMAC] (putc_unlocked): Likewise.
236 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
237 define inline if [__USE_EXTERN_INLINES].
238 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
243 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
244 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
245 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
246 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
247 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
249 * time/tzfile.c (__tzfile_read): Likewise.
251 2018-02-21 Mike FABIAN <mfabian@redhat.com>
254 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
256 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
258 * io/fcntl.h: Fix a typo in a comment.
260 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
263 * include/features.h: Add _ISOC11_SOURCE to test for whether to
264 define _DEFAULT_SOURCE.
265 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
267 2018-02-21 Florian Weimer <fweimer@redhat.com>
270 * elf/cache.c (save_cache): Call fsync on temporary file before
272 (save_aux_cache): Call fdatasync on temporary file before renaming
275 2018-02-21 Florian Weimer <fweimer@redhat.com>
278 * include/caller.h: Remove file.
279 * elf/dl-caller.c: Likewise.
280 * elf/Makefile (dl-routines): Remove dl-caller.
281 (shared-only-routines): Do not add dl-caller.
282 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
284 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
286 (dl_open_worker): Do not call __check_caller.
287 (_dl_open): Do not set caller_dl_open member.
288 * elf/rtld.c (_rtld_global_ro): Do not initialize
289 _dl_check_caller member.
290 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
291 _dl_check_caller member.
292 (_dl_check_caller): Remove declaration.
293 * sysdeps/unix/sysv/linux/dl-execstack.c
294 (_dl_make_stack_executable): Do not call __check_caller.
296 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
298 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
299 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
301 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
303 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
306 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
309 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
310 of 199606L, 200112L, and 200809L.
311 (_XOPEN_SOURCE): Document special values of 600 and 700.
312 (_ISOC11_SOURCE): Document macro.
313 (_ATFILE_SOURCE): Likewise.
314 (_FORTIFY_SOURCE): Likewise.
316 2018-02-19 Joseph Myers <joseph@codesourcery.com>
320 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
321 and define as weak alias of __ferror_unlocked. Use
323 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
325 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
326 function if [__USE_EXTERN_INLINES].
327 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
330 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
333 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
335 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
338 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
339 the GLIBC_2.1 version.
341 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
344 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
345 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
346 intl/tst-gettext-de.po from po/de.po by removing the
347 POT-Creation-Date line.
348 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
350 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
353 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
355 * mach/Makefile (headers): Add mach/param.h.
356 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
357 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
358 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
359 (__ptsname_r): Move implementation to...
360 (__ptsname_internal): ... new function. Add filling the STP
363 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
365 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
368 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
370 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
373 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
375 * nptl/Makefile (tst-mutex8-ENV): Delete.
376 * nptl/tst-mutex8.c (check_type):
377 Add runtime check if mutex will be elided.
379 2018-02-15 Joseph Myers <joseph@codesourcery.com>
383 * manual/install.texi (Configuring and compiling): Describe
384 passing CC and CFLAGS on configure command line, not as
385 environment variables. Use @code markup on those variables.
386 Specify what options go in CC and what go in CFLAGS. Note the
387 requirement to compile with optimization.
388 * INSTALL: Regenerated.
391 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
392 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
393 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
394 __sigprocmask instead of sigprocmask.
395 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
397 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
398 __sigsetjmp and sigprocmask.
401 * include/argz.h (argz_next): Use libc_hidden_proto.
402 (__argz_next): Likewise.
403 * string-argz-next.c (__argz_next): Use libc_hidden_def.
404 (argz_next): Use libc_hidden_weak.
407 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
409 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
413 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
415 * libio/iofputs.c (fputs): Use libc_hidden_weak.
419 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
420 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
421 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
422 (__feof_unlocked): New declaration, and inline function if
423 [__USE_EXTERN_INLINES].
424 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
425 instead of feof_unlocked.
426 * intl/localealias.c [_LIBC] (FEOF): Likewise.
427 * nss/nsswitch.c (nss_parse_file): Likewise.
428 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
430 * time/getdate.c (__getdate_r): Likewise.
431 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
432 Define as macro to call __feof_unlocked.
434 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
436 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
438 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
440 * math/Makefile: Remove mpexp.c and mplog.c
441 * sysdeps/i386/fpu/mpexp.c: Delete file.
442 * sysdeps/i386/fpu/mplog.c: Likewise.
443 * sysdeps/ia64/fpu/mpexp.c: Likewise.
444 * sysdeps/ia64/fpu/mplog.c: Likewise.
445 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
446 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
447 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
448 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
449 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
450 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
451 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
452 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
453 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
454 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
455 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
456 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
457 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
458 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
459 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
460 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
462 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
464 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
466 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
468 * sysdeps/sh/libm-test-ulps: Update.
470 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
472 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
475 2018-02-12 Zack Weinberg <zackw@panix.com>
478 * posix/sys/types.h: Don't include sys/sysmacros.h.
479 * misc/sys/sysmacros.h: Remove the conditional deprecation
480 warnings for the macros defined by this header.
482 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
484 * manual/probes.texi: Remove slowexp probes.
485 * math/Makefile: Remove slowexp.
486 * sysdeps/generic/math_private.h (__slowexp): Remove.
487 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
488 document error bounds.
489 * sysdeps/i386/fpu/slowexp.c: Remove.
490 * sysdeps/ia64/fpu/slowexp.c: Remove.
491 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
492 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
493 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
494 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
495 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
496 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
497 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
498 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
499 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
500 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
501 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
503 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
506 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
507 * benchtests/pow-inputs: Update comment for slow path cases.
508 * manual/probes.texi (slowpow_p10): Delete removed probe.
509 (slowpow_p10): Likewise.
510 * math/Makefile: Remove halfulp.c and slowpow.c.
511 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
512 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
515 * sysdeps/i386/fpu/halfulp.c: Delete file.
516 * sysdeps/i386/fpu/slowpow.c: Likewise.
517 * sysdeps/ia64/fpu/halfulp.c: Likewise.
518 * sysdeps/ia64/fpu/slowpow.c: Likewise.
519 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
520 improve comments and add error analysis.
521 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
522 (power1): Remove function:
523 (log1): Remove error argument, add error analysis.
524 (my_log2): Remove function.
525 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
526 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
527 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
528 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
529 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
530 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
531 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
532 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
533 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
534 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
535 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
536 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
537 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
538 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
540 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
542 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
543 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
545 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
548 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
549 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
550 and PTRACE_SETHBPREGS.
552 2018-02-10 Zack Weinberg <zackw@panix.com>
555 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
557 * malloc/tst-malloc-stats-cancellation.c: New test case.
558 * malloc/Makefile: Add new test case.
560 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
562 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
564 2018-02-10 Joseph Myers <joseph@codesourcery.com>
566 * math/Makefile (libm-narrow-fns): Add add.
567 (libm-test-funcs-narrow): Likewise.
568 * math/Versions (GLIBC_2.28): Add narrowing add functions.
569 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
570 * math/gen-auto-libm-tests.c (test_functions): Add add.
571 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
572 (NARROW_ADD_ROUND_TO_ODD): Likewise.
573 (NARROW_ADD_TRIVIAL): Likewise.
574 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
577 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
579 (CFLAGS-nldbl-dadd.c): New variable.
580 (CFLAGS-nldbl-fadd.c): Likewise.
581 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
583 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
585 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
586 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
587 * math/auto-libm-test-in: Add tests of add.
588 * math/auto-libm-test-out-narrow-add: New generated file.
589 * math/libm-test-narrow-add.inc: New file.
590 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
591 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
592 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
593 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
594 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
595 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
596 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
597 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
598 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
599 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
600 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
601 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
602 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
603 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
604 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
605 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
606 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
607 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
609 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
610 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
611 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
612 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
613 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
614 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
615 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
616 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
617 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
618 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
619 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
620 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
621 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
626 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
627 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
628 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
629 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
630 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
631 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
632 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
633 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
634 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
635 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
637 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
638 (f128-pairs): New variable.
639 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
640 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
642 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
643 Also make tests add $(f128-loader-link) to gnulib-tests.
645 2018-02-09 DJ Delorie <dj@redhat.com>
648 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
649 64-bit ELF type for 64-bit ELF objects.
651 2018-02-09 Joseph Myers <joseph@codesourcery.com>
653 * math/libm-test-driver.c (snan_tests_arg): New variable.
654 * math/libm-test-support.h (snan_tests_arg): New declaration.
655 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
657 * math/Makefile (test-type-pairs): New variable.
658 (test-type-pairs-f64xf128-yes): Likewise.
659 (tests): Add test-narrow-macros.
660 (libm-test-funcs-narrow): New variable.
661 (libm-test-c-narrow): Likewise.
662 (generated): Add $(libm-test-c-narrow).
663 (libm-tests-base-narrow): New variable.
664 (libm-tests-narrow): Likewise.
665 (libm-tests): Add $(libm-tests-narrow).
666 (libm-tests-for-type): Handle $(libm-tests-narrow).
667 (libm-test-c-narrow-obj): New variable.
668 ($(libm-test-c-narrow-obj)): New rule.
669 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
670 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
671 $(o-iterator) to set dependencies and CFLAGS.
672 * math/gen-auto-libm-tests.c: Document use for narrowing
674 (output_for_one_input_case): Take argument NARROW.
675 (generate_output): Likewise. Update call to
676 output_for_one_input_case.
677 (main): Take --narrow option. Update call to generate_output.
678 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
679 (apply_lit): Update call to _apply_lit.
680 (apply_arglit): New function.
681 (parse_args): Handle "a" arguments.
682 (parse_auto_input): Handle format names using ":".
683 * math/README.libm-test: Document "a" parameter type.
684 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
685 (ARG_TYPE_TRUE_MIN): Likewise.
686 (ARG_TYPE_MAX): Likwise.
687 (ARG_MIN_EXP): Likewise.
688 (ARG_MAX_EXP): Likewise.
689 (ARG_MANT_DIG): Likewise.
690 (TEST_COND_arg_ibm128): Likewise.
691 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
692 (TEST_COND_arg_fmt): New macro.
693 (init_max_error): Update prototype.
694 * math/libm-test-support.c (test_ibm128): New variable.
695 (init_max_error): Take argument testing_ibm128 and set test_ibm128
696 instead of using [TEST_COND_ibm128] conditional.
697 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
698 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
699 [TEST_NARROW] (TEST_MSG): New definition.
700 (arg_plus_zero): New macro.
701 (arg_minus_zero): Likewise.
702 (arg_plus_infty): Likewise.
703 (arg_minus_infty): Likewise.
704 (arg_qnan_value_pl): Likewise.
705 (arg_qnan_value): Likewise.
706 (arg_snan_value_pl): Likewise.
707 (arg_snan_value): Likewise.
708 (arg_max_value): Likewise.
709 (arg_min_value): Likewise.
710 (arg_min_subnorm_value): Likewise.
711 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
712 (RUN_TEST_LOOP_aa_f): New macro.
713 (TEST_SUFF): New macro.
714 (TEST_SUFF_STR): Likewise.
715 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
716 (TEST_COND_any_ibm128): New macro.
717 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
718 this_func. Update call to init_max_error.
719 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
720 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
721 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
722 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
723 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
724 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
725 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
726 * math/test-math-scalar.h (TEST_NARROW): Likewise.
727 * math/test-math-vector.h (TEST_NARROW): Likewise.
728 * math/test-arg-double.h: New file.
729 * math/test-arg-float128.h: Likewise.
730 * math/test-arg-float32x.h: Likewise.
731 * math/test-arg-float64.h: Likewise.
732 * math/test-arg-float64x.h: Likewise.
733 * math/test-arg-ldouble.h: Likewise.
734 * math/test-math-narrow.h: Likewise.
735 * math/test-narrow-macros.c: Likewise.
736 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
737 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
738 test-narrow-macros-ldbl-64.
739 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
741 * math/bits/mathcalls-narrow.h: New file.
742 * include/bits/mathcalls-narrow.h: Likewise.
743 * math/math-narrow.h: Likewise.
744 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
745 (__MATHCALL_NARROW_ARGS_2): Likewise.
746 (__MATHCALL_NARROW_ARGS_3): Likewise.
747 (__MATHCALL_NARROW_NORMAL): Likewise.
748 (__MATHCALL_NARROW_REDIR): Likewise.
749 (__MATHCALL_NARROW): Likewise.
750 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
751 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
753 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
754 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
755 (libm-narrow-fns): New variable.
756 (libm-narrow-types-basic): Likewise.
757 (libm-narrow-types-ldouble-yes): Likewise.
758 (libm-narrow-types-float128-yes): Likewise.
759 (libm-narrow-types-float128-alias-yes): Likewise.
760 (libm-narrow-types): Likewise.
761 (libm-routines): Add narrowing functions.
762 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
763 (libc_feholdexcept_setroundf128): New macro.
764 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
765 * sysdeps/ieee754/float128/float128_private.h: Include
766 <math/math-narrow.h>.
767 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
768 Undefine and redefine.
769 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
770 (libm_alias_float_ldouble): Undefine and redefine.
771 (libm_alias_double_ldouble): Likewise.
773 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
775 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
777 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
780 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
782 * manual/creature.texi: Convert references to gcc.info to gcc.
783 * manual/stdio.texi: Likewise.
784 * manual/string.texi: Likewise.
786 2018-02-07 Joseph Myers <joseph@codesourcery.com>
789 * posix/bits/types.h (__int_least8_t): New typedef.
790 (__uint_least8_t): Likewise.
791 (__int_least16_t): Likewise.
792 (__uint_least16_t): Likewise.
793 (__int_least32_t): Likewise.
794 (__uint_least32_t): Likewise.
795 (__int_least64_t): Likewise.
796 (__uint_least64_t): Likewise.
797 * sysdeps/generic/stdint.h (int_least8_t): Define using
799 (int_least16_t): Define using __int_least16_t.
800 (int_least32_t): Define using __int_least32_t.
801 (int_least64_t): Define using __int_least64_t.
802 (uint_least8_t): Define using __uint_least8_t.
803 (uint_least16_t): Define using __uint_least16_t.
804 (uint_least32_t): Define using __uint_least32_t.
805 (uint_least64_t): Define using __uint_least64_t.
806 * wcsmbs/uchar.h: Include <bits/types.h>.
807 (char16_t): Define using __uint_least16_t conditional only on
809 (char32_t): Define using __uint_least32_t conditional only on
811 * wcsmbs/test-char-types.c: New file.
812 * wcsmbs/Makefile (tests): Add test-char-types.
814 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
817 2018-02-07 Zack Weinberg <zackw@panix.com>
819 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
820 Delete all contents except for definitions of _G_HAVE_MMAP and
821 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
822 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
823 sysdeps/unix/sysv/linux/_G_config.h. Make same content
826 * libio/libio.h: Don't include bits/_G_config.h here.
827 Include stddef.h with __need_wchar_t defined. Include
828 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
829 Define _IO_iconv_t here, directly.
830 Don't define _IO_HAVE_ST_BLKSIZE.
831 * libio/libioP.h: Include _G_config.h here. Move include of
832 shlib-compat.h up with rest of includes. Simplify conditionals
833 controlling definition of _IO_JUMPS_OFFSET.
835 * csu/init.c: Remove always-true #if around entire file.
836 Don't include stdio.h. Set _IO_stdin_used to hardwired
837 constant 0x20001, and update commentary.
838 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
839 Replace all uses of _G_va_list with __gnuc_va_list.
840 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
841 instead of #if _IO_HAVE_ST_BLKSIZE.
842 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
843 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
846 * libio/bits/libio.h: Move back to libio/libio.h and adjust
847 multiple-include guard to match.
848 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
850 Remove preprocessor conditionals that are always true and/or
851 redundant to other preprocessor conditionals in the same nest.
852 Include shlib-compat.h unconditionally.
853 Error out if _LIBC is not defined, or if _ISOMAC is defined,
854 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
855 defined after including stdio.h.
856 Use __BEGIN_DECLS/__END_DECLS.
858 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
859 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
860 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
862 2018-02-07 Zack Weinberg <zackw@panix.com>
864 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
865 New single-type headers split from _G_config.h.
866 * libio/bits/types/cookie_io_functions_t.h
867 * libio/bits/types/struct_FILE.h
868 New single-type headers split from libio.h.
870 * libio/Makefile: Install the above new headers. Don't install
871 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
873 * libio/_G_config.h, libio/libio.h: Delete file.
875 * libio/bits/libio.h: Remove improper-inclusion guard.
876 Include stdio.h and don't repeat anything that it does.
877 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
878 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
879 __io_read_fn as cookie_read_function_t,
880 __io_write_fn as cookie_write_function_t,
881 __io_seek_fn as cookie_seek_function_t,
882 __io_close_fn as cookie_close_function_t,
883 and _IO_cookie_io_functions_t as cookie_io_functions_t.
884 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
885 here, in the "compatibility defines" section. Remove an #if 0
886 block. Use the "body" macros from bits/types/struct_FILE.h to
887 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
888 and _IO_ferror_unlocked.
889 Move prototypes of __uflow and __overflow...
891 * libio/stdio.h: ...here. Don't include bits/libio.h.
892 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
893 directly from stdarg.h. Include bits/types/__fpos_t.h,
894 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
895 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
896 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
897 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
898 cookie_io_functions_t, not _IO_cookie_io_functions_t;
899 __ssize_t, not _IO_ssize_t. Unconditionally define
900 BUFSIZ as 8192 and EOF as (-1).
902 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
903 macros from bits/types/struct_FILE.h instead of _IO_* macros
904 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
905 instead of _IO_ssize_t.
906 * libio/bits/stdio2.h: Similarly.
908 * libio/iolibio.h: Add multiple-include guard.
909 Include bits/libio.h after stdio.h.
910 * libio/libioP.h: Add multiple-include guard.
911 Include stdio.h and bits/libio.h before iolibio.h.
913 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
914 * include/bits/types/cookie_io_functions_t.h
915 * include/bits/types/struct_FILE.h: New wrappers.
917 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
918 Get definitions of _G_fpos_t and _G_fpos64_t from
919 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
920 respectively. Remove improper-inclusion guards.
922 * conform/data/stdio.h-data: Update expectations of va_list.
923 * scripts/check-installed-headers.sh: Remove special case for
924 libio.h and _G_config.h.
926 2018-02-07 Joseph Myers <joseph@codesourcery.com>
930 * include/sys/sysmacros.h [!_ISOMAC]
931 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
932 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
933 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
934 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
936 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
937 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
939 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
940 Undefine and redefine to add use __gnu_dev_ prefix.
941 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
943 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
944 and define as hidden inline function.
945 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
947 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
949 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
950 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
951 (gnu_dev_minor): Likewise.
952 (gnu_dev_makedev): Likewise.
953 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
955 * posix/wordexp.c (exec_comm_child): Likewise.
956 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
957 instead of minor and __gnu_dev_major instead of major.
958 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
959 __gnu_dev_major instead of major.
960 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
961 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
962 instead of gnu_dev_minor.
963 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
965 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
966 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
970 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
972 * locale/weightwc.h (findidx): Likewise.
974 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
976 * manual/probes.texi (slowlog): Delete documentation of removed probe.
977 (slowlog_inexact): Likewise
978 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
979 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
981 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
984 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
985 missing second underscore to parameter name.
987 2018-02-06 Joseph Myers <joseph@codesourcery.com>
993 * bits/byteswap.h: Update file comment. Do not include
994 <bits/byteswap-16.h>.
995 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
997 (__bswap_16): Define as inline function.
998 (__bswap_constant_32): Reformat definition.
999 (__bswap_32): Always define as inline function, not macro, using
1000 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
1001 otherwise __bswap_constant_32.
1002 (__bswap_constant_64): Reformat definition. Do not use
1004 (__bswap_64): Always define as inline function, not macro. Use
1005 __extension__ on function definition. Use __builtin_bswap64 if
1006 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
1007 * string/test-endian-file-scope.c: New file.
1008 * string/test-endian-sign-conversion.c: Likewise.
1009 * string/Makefile (headers): Remove bits/byteswap-16.h.
1010 (tests): Add test-endian-file-scope and
1011 test-endian-sign-conversion.
1012 (CFLAGS-test-endian-sign-conversion.c): New variable.
1013 * bits/byteswap-16.h: Remove file.
1014 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
1015 * sysdeps/ia64/bits/byteswap.h: Likewise.
1016 * sysdeps/m68k/bits/byteswap.h: Likewise.
1017 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1018 * sysdeps/s390/bits/byteswap.h: Likewise.
1019 * sysdeps/tile/bits/byteswap.h: Likewise.
1020 * sysdeps/x86/bits/byteswap-16.h: Likewise.
1021 * sysdeps/x86/bits/byteswap.h: Likewise.
1024 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
1025 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
1026 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
1027 199901L] (__restrict): Define to restrict.
1030 * string/testcopy.c: Include <support/support.h>. Do not include
1031 <malloc.h>. Use <support/test-driver.c>.
1032 (main): Rename to do_test. Make static. Use xmalloc instead of
1036 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
1037 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
1038 (SSIZE_MAX): Define to INT_MAX.
1039 * posix/test-ssize-max.c: New file.
1040 * posix/Makefile (tests): Add test-ssize-max.
1043 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
1044 <support/support.h>. Do not include <malloc.h>.
1045 (query_auxv): Use xmalloc instead of malloc.
1048 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
1049 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
1052 2018-02-06 Florian Weimer <fweimer@redhat.com>
1055 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1056 Use scratch_buffer instead of extend_alloca.
1058 2018-02-06 Zack Weinberg <zackw@panix.com>
1060 * libio/stdio.h: Don't define getc or putc as macros.
1061 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
1062 not _IO_getc and _IO_putc.
1064 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
1065 * stdio-common/tstgetln.c: Don't redefine ssize_t.
1067 2018-02-06 Joseph Myers <joseph@codesourcery.com>
1069 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
1070 (TCP_FASTOPEN_NO_COOKIE): Likewise.
1072 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
1075 * elf/elf.h (NT_PRFPREG): New macro.
1076 (NT_S390_VXRS_LOW): Likewise.
1077 (NT_S390_VXRS_HIGH): Likewise.
1078 (NT_S390_GS_CB): Likewise.
1079 (NT_S390_GS_BC): Likewise.
1080 (NT_S390_RI_CB): Likewise.
1082 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
1083 (MAP_SYNC): New macro.
1084 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
1086 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
1087 (MAP_SYNC): Likewise.
1088 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
1089 (MAP_SYNC): Likewise.
1090 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
1091 (MAP_SYNC): Likewise.
1092 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
1093 (MAP_SYNC): Likewise.
1094 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
1095 (MAP_SYNC): Likewise.
1096 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
1097 (MAP_SYNC): Likewise.
1098 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
1100 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
1103 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
1104 (MAP_SHARED_VALIDATE): New macro.
1105 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
1106 (MAP_SHARED_VALIDATE): Likewise.
1108 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
1110 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
1111 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
1112 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
1114 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
1116 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
1117 (DT_NUM): Updated to 35.
1119 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
1121 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
1122 __builtin_expect with __glibc_likely and __glibc_unlikely.
1123 (elf_machine_rela): Likewise.
1124 (elf_machine_lazy_rel): Likewise.
1126 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
1128 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
1129 __builtin_expect with __glibc_likely and __glibc_unlikely.
1130 (elf_machine_lazy_rel): Likewise.
1132 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
1135 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
1137 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
1139 2018-02-05 Andreas Schwab <schwab@suse.de>
1142 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
1145 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1147 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
1148 not check against PTHREAD_STACK_MIN.
1150 2018-02-02 Sean McKean <smckean83@gmail.com>
1153 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
1155 2018-02-02 Florian Weimer <fweimer@redhat.com>
1158 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
1159 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
1160 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
1161 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
1162 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
1163 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
1164 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
1165 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
1166 * manual/llio.texi (Scatter-Gather): Mention offset -1.
1167 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
1168 * misc/tst-preadvwritev2.c (do_test): Call it.
1169 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
1171 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
1173 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
1175 * benchtests/bench-memcmp.c: Print json instead of plain text.
1177 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
1180 2018-02-01 Joseph Myers <joseph@codesourcery.com>
1182 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1184 (s390_sthyi): New syscall.
1186 * sysdeps/generic/ldbl-classify-compat.h: New file.
1187 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
1188 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
1189 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
1190 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
1191 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
1192 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
1193 * sysdeps/ieee754/dbl-64/s_finite.c: Include
1194 <ldbl-classify-compat.h>.
1195 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
1196 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
1197 <ldbl-classify-compat.h>.
1198 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
1199 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
1200 <ldbl-classify-compat.h>.
1201 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
1202 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
1203 <ldbl-classify-compat.h>.
1204 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
1205 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
1206 <ldbl-classify-compat.h>.
1207 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
1208 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
1209 <ldbl-classify-compat.h>.
1210 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
1211 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
1212 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1213 * sysdeps/m68k/coldfire/math_private.h: Remove file.
1214 * sysdeps/microblaze/math_private.h: Likewise.
1215 * sysdeps/nios2/math_private.h: Likewise.
1216 * sysdeps/sh/math_private.h: Likewise.
1218 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
1219 * sysdeps/m68k/coldfire/math_private.h: ... here.
1220 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
1221 * sysdeps/tile/math_private.h: Likewise.
1222 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
1224 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
1227 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
1229 (libc_fetestexcept): Likewise.
1230 (libc_feupdateenv_test): Likewise.
1231 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
1232 (libc_fetestexcept): Likewise.
1233 (libc_feupdateenv_test): Likewise.
1234 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
1235 (libc_fetestexcept): Likewise.
1236 (libc_feupdateenv_test): Likewise.
1237 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
1238 (libc_fetestexcept): Likewise.
1239 (libc_feupdateenv_test): Likewise.
1241 * sysdeps/generic/math_private.h
1242 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
1243 New inline function.
1244 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
1247 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
1248 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
1249 * sysdeps/generic/math_private.h
1250 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
1252 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
1254 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
1256 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
1258 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
1260 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
1262 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
1263 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
1264 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
1265 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
1266 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
1267 (__fegetenv): Likewise.
1268 (fesetenv): Likewise.
1269 (__fesetenv): Likewise.
1270 (feupdateenv): Likewise.
1271 (__feupdateenv): Likewise.
1272 (fegetround): Likewise.
1273 (__fegetround): Likewise.
1274 (fesetround): Likewise.
1275 (__fesetround): Likewise.
1277 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
1278 (feraiseexcept): New macro.
1279 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
1280 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
1282 (__feraiseexcept): Likewise.
1283 (feclearexcept): Likewise.
1284 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
1285 (__feraiseexcept): Likewise.
1286 (feclearexcept): Likewise.
1287 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
1288 (__feraiseexcept): Likewise.
1289 (feclearexcept): Likewise.
1290 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
1291 (__feraiseexcept): Likewise.
1292 (feclearexcept): Likewise.
1293 (fetestexcept): Likewise.
1295 * sysdeps/m68k/coldfire/math-tests.h: New file.
1297 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
1298 * sysdeps/m68k/bits/fenv.h: ... here.
1299 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
1301 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
1303 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
1305 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
1307 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
1309 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
1311 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
1312 (__FE_UNDEFINED): New enum constant.
1313 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
1315 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
1317 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
1319 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
1320 to match generic bits/fenv.h.
1321 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
1324 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
1326 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
1327 * soft-fp/half.h (union _FP_UNION_H): Likewise.
1328 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
1329 * soft-fp/single.h (union _FP_UNION_S): Likewise.
1331 2018-02-01 Carlos O'Donell <carlos@redhat.com>
1332 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
1333 Joseph Myers <joseph@codesourcery.com>
1336 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
1337 (__log1p): Disable -Wmaybe-uninitialized for -Os around
1338 computation using c.
1339 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
1340 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
1341 computation using c.
1343 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
1345 * version.h (RELEASE): Set to "development".
1346 (VERSION): Set to "2.27.9000".
1347 * NEWS (2.28): New section.
1349 * version.h (RELEASE): Set to "stable".
1350 (VERSION): Set to "2.27".
1351 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
1353 * NEWS: Add the list of bugs fixed in 2.27.
1355 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1357 * stdlib/test-atexit-race-common.c (do_test): Check stack size
1358 against PTHREAD_STACK_MIN.
1360 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
1362 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
1364 (Rafal Luzynski, Andreas Schwab): Update.
1366 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
1369 * NEWS: List the languages which actually use the alternative
1370 months feature in this release. Also explain that "alt_mon" and
1371 "ab_alt_mon" are optional.
1373 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
1376 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
1378 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
1380 * manual/install.texi (Tools for Compilation): Update the newest
1381 versions of gcc, binutils, texinfo, gawk, bison, and sed.
1382 * INSTALL: Regenerated.
1384 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
1386 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
1387 instead of __builtin_expect.
1389 2018-01-30 Florian Weimer <fweimer@redhat.com>
1391 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
1393 * nss/tst-nss-getpwent.c (do_test): Likewise.
1395 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
1398 * localedata/locales/hr_HR (mon): Rename to...
1400 (mon): Import from CLDR (genitive case).
1401 (d_t_fmt): Update the comment.
1403 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
1405 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
1406 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
1407 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
1409 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1411 * mach/Versions: Fix version when __mach_host_self_ was added.
1412 * hurd/Versions: Fix version when _hurd_exec_paths was added.
1413 * sysdeps/mach/hurd/i386/ld.abilist: New file.
1414 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
1415 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
1416 * sysdeps/mach/hurd/i386/libc.abilist: New file.
1417 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
1418 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
1419 * sysdeps/mach/hurd/i386/libm.abilist: New file.
1420 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
1421 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
1422 * sysdeps/mach/hurd/i386/librt.abilist: New file.
1423 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
1424 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
1425 || to respect codestyle.
1426 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
1427 (do_test_bz20181): Rename accordingly.
1428 * malloc/malloc.c: Include <assert.h>.
1429 (assert): Do not define.
1430 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
1431 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
1432 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
1433 * sysdeps/mach/hurd/hp-timing.h: New file.
1434 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
1436 2018-01-29 Darius Rad <darius@bluespec.com>
1438 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
1440 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
1442 * sysdeps/init_array/crti.S (.section .init_array): Add
1443 PREINIT_FUNCTION when defined.
1444 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
1445 * config.h.in: Regenerate.
1446 * manual/platform.texi: Add RISC-V documenation for
1447 __riscv_flush_icache.
1448 * sysdeps/riscv/__longjmp.S: New file.
1449 * sysdeps/riscv/backtrace.c: Likewise.
1450 * sysdeps/riscv/bits/endian.h: Likewise.
1451 * sysdeps/riscv/bits/setjmp.h: Likewise.
1452 * sysdeps/riscv/bits/wordsize.h: Likewise.
1453 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
1454 * sysdeps/riscv/bsd-setjmp.c: Likewise.
1455 * sysdeps/riscv/dl-trampoline.S: Likewise.
1456 * sysdeps/riscv/gccframe.h: Likewise.
1457 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
1458 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
1459 * sysdeps/riscv/machine-gmon.h: Likewise.
1460 * sysdeps/riscv/memusage.h: Likewise.
1461 * sysdeps/riscv/setjmp.S: Likewise.
1462 * sysdeps/riscv/sys/asm.h: Likewise.
1463 * sysdeps/riscv/tls-macros.h: Likewise.
1464 * sysdeps/riscv/dl-tls.h: New file.
1465 * sysdeps/riscv/libc-tls.c: Likewise.
1466 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
1467 * sysdeps/riscv/nptl/tls.h: Likewise.
1468 * sysdeps/riscv/stackinfo.h: Likewise.
1469 * sysdeps/riscv/bits/fenv.h: New file.
1470 * sysdeps/riscv/e_sqrtl.c: Likewise.
1471 * sysdeps/riscv/fpu_control.h: Likewise.
1472 * sysdeps/riscv/math-tests.h: Likewise.
1473 * sysdeps/riscv/nofpu/Implies: Likewise.
1474 * sysdeps/riscv/sfp-machine.h: Likewise.
1475 * sysdeps/riscv/tininess.h: Likewise.
1476 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
1477 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
1478 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
1479 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
1480 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
1481 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
1482 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
1483 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
1484 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
1485 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
1486 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
1487 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
1488 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
1489 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
1490 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
1491 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
1492 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
1493 * sysdeps/riscv/rvd/s_finite.c: Likewise.
1494 * sysdeps/riscv/rvd/s_fma.c: Likewise.
1495 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
1496 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
1497 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
1498 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
1499 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
1500 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
1501 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
1502 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
1503 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
1504 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
1505 * sysdeps/riscv/rvf/fegetround.c: Likewise.
1506 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
1507 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
1508 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
1509 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
1510 * sysdeps/riscv/rvf/fesetround.c: Likewise.
1511 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
1512 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
1513 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
1514 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
1515 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
1516 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
1517 * sysdeps/riscv/rvf/math_private.h: Likewise.
1518 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
1519 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
1520 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
1521 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
1522 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
1523 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
1524 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
1525 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
1526 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
1527 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
1528 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
1529 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
1530 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
1531 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
1532 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
1533 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
1534 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
1535 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
1536 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
1537 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
1538 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
1539 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
1540 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
1541 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
1542 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
1543 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
1544 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
1545 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
1546 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
1547 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
1548 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
1549 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
1550 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
1551 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
1552 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
1553 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
1554 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
1555 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
1556 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
1557 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
1558 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
1559 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
1560 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
1561 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
1562 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
1563 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
1564 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
1565 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
1566 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
1567 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
1568 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
1569 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
1570 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
1571 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
1572 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
1573 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
1574 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
1575 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
1576 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
1577 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
1578 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
1579 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
1580 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
1581 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
1582 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
1583 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
1584 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
1585 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
1586 * sysdeps/riscv/Implies: New file.
1587 * sysdeps/riscv/Makefile: Likewise.
1588 * sysdeps/riscv/configure: Likewise.
1589 * sysdeps/riscv/configure.ac: Likewise.
1590 * sysdeps/riscv/nptl/Makefile: Likewise.
1591 * sysdeps/riscv/preconfigure: Likewise.
1592 * sysdeps/riscv/rv64/Implies-after: Likewise.
1593 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
1594 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
1595 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
1596 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
1597 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
1598 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
1599 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
1600 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
1601 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
1602 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
1603 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
1604 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
1607 2018-01-29 Florian Weimer <fweimer@redhat.com>
1610 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
1611 libnsl_hidden_proto.
1612 * include/rpcsvc/yp.h (yp_xdrall): Declare with
1613 libnsl_hidden_proto.
1614 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
1615 * nis/Makefile (libnsl-routines): Add nss-default only for
1617 * nis/nis_defaults.c (__nis_default_ttl): Add
1618 libnsl_hidden_nolink_def.
1619 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
1621 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
1622 * nis/ypclnt.c (yp_maplist): Likewise.
1624 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
1626 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1627 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
1629 2018-01-29 Joseph Myers <joseph@codesourcery.com>
1631 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
1632 clean -dxfq for git updates when replacing sources.
1634 * scripts/build-many-glibcs.py (Config.build_gcc): Use
1635 --disable-libcilkrts unconditionally, not just for the final GCC
1638 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1641 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
1644 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
1647 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
1650 * localedata/locales/be_BY (mon): Rename to...
1651 (alt_mon): This, then synchronize with CLDR (nominative case).
1652 (abmon): Rename to...
1653 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
1654 (mon): Import from CLDR (genitive case).
1656 * localedata/locales/be_BY@latin (mon): Rename to...
1658 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
1660 * localedata/locales/be_BY@latin (lang_name): Reworded to
1661 "biełaruskaja mova".
1663 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
1666 * localedata/locales/el_CY (mon): Renamed to...
1668 (mon): Import from CLDR (genitive case).
1669 * localedata/locales/el_GR: Likewise.
1671 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
1674 * localedata/locales/ru_RU (mon): Rename to...
1676 (abmon): Rename to...
1678 (mon): Import from CLDR (genitive case).
1679 (abmon): Copy from the old content except the 5th month which is
1680 now in the genitive case, even when abbreviated.
1681 * localedata/locales/ru_UA: Likewise.
1682 * time/tst-strptime.c (day_tests): Add an actual example of
1683 a difference between %b and %Ob in Russian.
1685 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1687 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
1688 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
1690 * resolv/res-close.c: Include <stdlib.h>.
1691 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
1692 <sys/wait.h>, <time.h>, <sys/uio.h>.
1693 (NOT_CANCEL_H): Add inclusion guard.
1694 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
1695 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
1696 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
1698 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
1699 vm_address_t * to ElfW(Addr) * for dl_main parameter.
1700 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
1702 * sysdeps/pthread/timer_create.c (timer_create): Do not use
1703 timer_ptr2id to cast struct timer_node * to void *.
1704 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
1705 --disable-libcilkrts to gcc configure.
1706 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
1707 and make them the default for now.
1708 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
1709 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
1710 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
1711 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
1712 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
1714 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
1715 __task_terminate would ever return successfully.
1716 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
1718 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
1719 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
1720 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
1721 critical section to make code simpler and avoid warning.
1722 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
1723 critical section to make code simpler and avoid warning.
1724 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
1725 const char * instead of char *.
1726 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
1727 __hurd_file_name_split, hurd_file_name_split,
1728 __hurd_directory_name_split, hurd_directory_name_split,
1729 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
1730 hurd_file_name_path_lookup): Make lookup function parameter take a
1731 const char *name instead of char *name.
1732 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
1733 __hurd_directory_name_split): Likewise.
1734 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1735 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
1736 * sysdeps/mach/hurd/check_native.c: New file.
1737 * sysdeps/mach/hurd/check_pf.c: New file.
1738 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
1739 (__freeifaddrs): Define macro to freeifaddrs.
1740 * sysdeps/mach/hurd/libhurduser.abilist: New file.
1741 * sysdeps/mach/libmachuser.abilist: New file.
1742 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
1743 (do_test_bz20181): Rename accordingly.
1744 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
1745 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
1747 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
1748 version only if __USE_EXTERN_INLINES is defined.
1749 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
1750 __hurd_sockfail): Likewise.
1751 (_hurd_fd_get): Always declare functions, and provide inline versions
1752 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
1753 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
1754 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
1755 _hurd_port_set): Always declare functions, and provide inline versions
1756 only if __USE_EXTERN_INLINES and _LIBC are defined and
1758 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
1759 _hurd_critical_section_unlock): Likewise.
1760 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
1761 * __hurd_threadvar_location): Likewise.
1762 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
1763 _hurd_userlink_clear): Likewise.
1764 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
1765 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
1766 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
1767 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
1768 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
1769 __spin_lock_locked): Likewise.
1770 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
1771 __spin_lock_locked): Likewise.
1772 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
1773 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
1774 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
1775 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
1776 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
1777 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
1778 _POSIX_NO_TRUNC): Define to 0.
1779 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
1780 check size against PTHREAD_STACK_MIN.
1781 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
1782 IS_IN(libpthread)]: Include <sigsetops.h>.
1783 * mach/Makefile (user-interfaces): Add mach/gnumach.
1784 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
1785 * sysdeps/mach/configure (mach_interface_list): Regenerate.
1786 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
1787 instead of invalid -1.
1788 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
1789 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
1790 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
1793 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
1795 * hurd/fcntl-internal.h: New file.
1797 2018-01-27 James Clarke <jrtc27@jrtc27.com>
1799 * sysdeps/hppa/fpu/libm-test-ulps: Update.
1801 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1803 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
1806 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
1807 Build only shared objects.
1809 2018-01-26 Carlos O'Donell <carlos@redhat.com>
1811 * README: Update for hppa.
1813 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1815 * sysdeps/sparc/fpu/libm-test-ulps: Update
1816 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1818 2018-01-26 Carlos O'Donell <carlos@redhat.com>
1822 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
1825 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
1826 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
1827 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
1828 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
1831 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
1834 * bits/types/__cancel_jmp_buf_tag.h: New file.
1835 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
1836 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
1837 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
1838 * nptl/Makefile (headers): Add
1839 bits/types/__cancel_jmp_buf_tag.h.
1840 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
1841 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
1842 * sysdeps/nptl/pthread.h: Include
1843 <bits/types/__cancel_jmp_buf_tag.h>.
1844 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
1846 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
1848 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
1851 * localedata/locales/uk_UA (mon): Renamed to...
1853 (alt_digits): "0" removed and then renamed to...
1855 (date_fmt): Definition changed not to use the alternative
1858 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
1860 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
1861 FLAG_RISCV_FLOAT_ABI_DOUBLE.
1862 * elf/elf.h (EF_RISCV_RVC): New define.
1863 (EF_RISCV_FLOAT_ABI): Likewise.
1864 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
1865 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
1866 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
1867 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
1868 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
1870 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
1872 2018-01-25 Andreas Schwab <schwab@suse.de>
1874 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
1876 * sysdeps/gnu/configure: Regenerate.
1877 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
1878 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1880 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
1881 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
1882 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
1883 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
1884 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
1886 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
1888 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
1889 URL, and run autoconf, make it the default for now.
1891 2018-01-24 Joseph Myers <joseph@codesourcery.com>
1893 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
1894 soft-float ColdFire configuration.
1896 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
1897 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
1898 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
1900 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
1903 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
1905 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
1907 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
1910 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
1911 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
1912 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
1915 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1918 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
1919 Rename to __reserved and add comment.
1920 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
1921 Rename to __reserved.
1923 2018-01-24 Joseph Myers <joseph@codesourcery.com>
1925 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
1926 i686-gnu configurations.
1927 (Context.run_builds): Include mig, gnumach and hurd in components
1929 (Context.checkout): Add mig, gnumach and hurd to components.
1930 (Context.checkout_tar): Add URL mappings for mig, gnumach and
1932 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
1933 (Config.build): Install gnumach headers, build mig and install
1934 hurd headers for 'gnu' OS.
1935 (Config.install_gnumach_headers): New function.
1936 (Config.install_hurd_headers): Likewise.
1937 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
1938 when building for 'gnu' OS.
1940 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
1942 * manual/tunables.texi (Hardware Capability Tunables): Fix
1945 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
1947 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
1948 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
1949 (ALTMON_11, ALTMON_12): Improve documentation.
1950 * manual/time.texi (strftime): Likewise.
1952 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
1955 * localedata/locales/pl_PL: Alternative month names added,
1956 primary month names are genitive now.
1957 * time/tst-strptime.c (day_tests): Actually use a genitive case
1958 of a month name in Polish language.
1960 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
1963 * manual/locale.texi: Document ALTMON_1..12 constants for
1964 nl_langinfo. Specify when to use ALTMON instead of MON.
1965 * manual/time.texi (strftime, strptime): Document GNU extension
1966 permitting O modifier with %B and %b. Specify when to use
1969 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
1972 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
1973 names, define them as the same as abbreviated month names explicitly.
1974 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
1975 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
1976 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
1977 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
1978 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
1979 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
1980 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
1981 _NL_WABALTMON_12): New enum constants.
1982 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
1983 wab_alt_mon, and ab_alt_mon_defined members.
1984 (time_output): Output ab_alt_mon and wab_alt_mon members.
1985 (time_read): Read them, initialize them as copies of abmon and wabmon
1986 respectively if they are missing, initialize ab_alt_mon_defined.
1987 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
1988 * locale/programs/locfile-kw.h: Regenerate.
1989 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
1990 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
1992 * time/strftime_l.c (a_altmonth, aam_len): New macros.
1993 [!COMPILE_WIDE] (ABALTMON_1): New macro.
1994 (__strftime_internal): Handle %Ob and %Oh formats.
1995 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
1996 (__strptime_internal): Handle %Ob and %Oh formats.
1997 * time/tst-strptime.c (day_tests): Add more tests to parse different
1998 forms of month names including the new %Ob format specifier.
2000 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
2003 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
2004 define them as the same as primary full month names explicitly.
2005 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
2006 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
2007 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
2008 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
2009 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
2010 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
2011 _NL_WALTMON_12): New enum constants.
2012 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
2013 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
2015 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
2016 walt_mon, and alt_mon_defined members.
2017 (time_output): Output alt_mon and walt_mon members.
2018 (time_read): Read them, initialize them as copies of mon and wmon
2019 respectively if they are missing, initialize alt_mon_defined.
2020 * locale/programs/locfile-kw.gperf (alt_mon): Define.
2021 * locale/programs/locfile-kw.h: Regenerate.
2022 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
2023 * localedata/tst-langinfo.c (map): Add tests for the new constants
2024 ALTMON_1 .. ALTMON_12.
2025 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
2027 * time/strftime_l.c (f_altmonth): New macro.
2028 (__strftime_internal): Handle %OB format.
2029 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
2030 (__strptime_internal): Handle %OB format.
2031 * time/tst-strptime.c (day_tests): Add tests to parse different forms
2032 of month names including the new %OB format specifier.
2034 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2037 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
2038 from ABORT_TRANSACTION.
2039 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
2040 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
2041 ABORT_TRANSACTION_IMPL): Likewise.
2042 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
2043 Linux code, but remove the code that aborts transactions.
2045 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
2047 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
2049 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
2051 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
2052 in date: "2004-14-09" should be "2004-09-14".
2053 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
2054 "2003-15-09" should be "2003-09-15".
2056 2018-01-18 Arjun Shankar <arjun@redhat.com>
2062 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
2064 (_int_memalign): check for integer overflow before calling
2066 * malloc/tst-malloc-too-large.c: New test.
2067 * malloc/Makefile: Add tst-malloc-too-large.
2069 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
2071 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
2072 in date: "2017-24-07" should be "2017-07-24".
2073 * localedata/locales/mai_IN: Likewise.
2074 * localedata/locales/mai_NP: Likewise.
2076 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
2078 * po/ru.po: Update translations.
2080 2018-01-17 Joseph Myers <joseph@codesourcery.com>
2083 * sysdeps/hppa/backtrace.c: New file.
2085 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
2088 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
2089 align La_x86_64_retval to VEC_SIZE.
2091 2018-01-16 Joseph Myers <joseph@codesourcery.com>
2093 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
2094 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
2096 2018-01-16 Florian Weimer <fweimer@redhat.com>
2098 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
2099 Move tst-thread-exit-clobber ...
2100 [$(CXX)] (tests-unsupported): ... to here.
2102 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
2104 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
2105 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
2106 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
2107 (_dl_aarch64_cap_flags): Update.
2108 (_DL_HWCAP_COUNT): Update.
2110 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
2112 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
2113 (_DL_HWCAP_LAST): Remove.
2114 (_DL_HWCAP_COUNT): Move to ...
2115 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
2116 (_DL_HWCAP_COUNT): ... here.
2118 2018-01-16 Florian Weimer <fweimer@redhat.com>
2120 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
2121 mode with GNU extensions.
2123 2018-01-15 Alan Hayward <alan.hayward@arm.com>
2125 * elf/elf.h (NT_ARM_SVE): Define.
2127 2018-01-15 Florian Weimer <fweimer@redhat.com>
2130 * nptl/tst-minstack-throw.cc: New file.
2131 * nptl/Makefile (tests): Add tst-minstack-throw.
2132 (LDLIBS-tst-minstack-throw): Link with libstdc++.
2133 [!CXX] (tests-unsupported): Add tst-minstack-throw.
2135 2018-01-15 Joseph Myers <joseph@codesourcery.com>
2137 * scripts/build-many-glibcs.py (Context.checkout): Default
2138 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
2141 2018-01-13 Carlos O'Donell <carlos@redhat.com>
2144 * elf/elf.h (DF_1_STUB): Define.
2147 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2150 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
2151 Do not add 0.5 to integer or out-of-range arguments.
2153 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
2155 * po/bg.po: Update translations.
2156 * po/cs.po: Likewise.
2157 * po/de.po: Likewise.
2158 * po/ko.po: Likewise.
2159 * po/pl.po: Likewise.
2160 * po/sv.po: Likewise.
2161 * po/uk.po: Likewise.
2162 * po/vi.po: Likewise.
2164 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
2166 * aarch64/start.S (_start): Use __wrap_main.
2167 (__wrap_main): New local symbol.
2169 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
2173 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
2174 generic_getcwd if the path returned by getcwd syscall is not absolute.
2175 * io/tst-getcwd-abspath.c: New test.
2176 * io/Makefile (tests): Add tst-getcwd-abspath.
2178 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
2180 * malloc/malloc.c (malloc_consolidate): Add size check.
2182 2018-01-12 Florian Weimer <fweimer@redhat.com>
2184 * support/write_message.c (write_message): Preserve errno.
2185 * support/check.c (print_failure): Likewise.
2186 * support/support_test_verify_impl.c (support_test_verify_impl):
2188 * support/support_test_compare_failure.c
2189 (support_test_compare_failure): Likewise.
2191 2018-01-12 Florian Weimer <fweimer@redhat.com>
2194 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
2195 Prevent installation of libnsl.so.
2196 (libnsl-inhibit-o): Do not build (or install) static libraries.
2198 2018-01-12 Egmont Koblinger <egmont@gmail.com>
2201 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
2202 before the day number which may produce a double space.
2203 (date_fmt): Likewise.
2205 2018-01-12 Joseph Myers <joseph@codesourcery.com>
2207 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
2208 instead of fegetenv.
2210 2018-01-11 Joseph Myers <joseph@codesourcery.com>
2213 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
2214 comment to say exceptions are discarded.
2215 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
2217 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
2220 2018-01-11 Florian Weimer <fweimer@redhat.com>
2222 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
2225 2018-01-11 Florian Weimer <fweimer@redhat.com>
2228 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
2229 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
2231 2018-01-10 Joseph Myers <joseph@codesourcery.com>
2234 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
2235 negative arguments in test for NaN or infinity argument.
2237 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
2239 * po/libc.pot: Regenerate.
2241 2018-01-10 Florian Weimer <fweimer@redhat.com>
2244 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
2245 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
2247 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2249 * hurd/hurd/fd.h: Include <fcntl.h>
2250 (__hurd_at_flags): New function.
2251 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
2252 with call to __hurd_at_flags.
2253 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
2254 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
2256 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
2257 (__access_noerrno): Use __faccessat_common instead of access_common.
2258 (__access): Likewise.
2259 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
2260 with a call to __faccessat.
2261 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
2262 (__faccessat_common): ... this. Move implementation of __access into it when
2263 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
2264 reauthenticate_cwdir_at helper to implement AT mechanism.
2265 (__faccessat_noerrno): New function, just calls __faccessat_common.
2266 (__faccessat): New function, just calls __faccessat_common.
2267 (faccessat): Define weak alias.
2269 2018-01-10 Joseph Myers <joseph@codesourcery.com>
2272 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2273 (CFLAGS-s_fmaxmagl.c): New variable.
2274 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
2277 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
2278 long int for arguments of possibly overflowing addition or
2280 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
2282 2018-01-09 Joseph Myers <joseph@codesourcery.com>
2285 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2286 (CFLAGS-e_remainderl.c): New variable.
2289 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
2291 (CFLAGS-s_cacoshl.c): Likewise.
2292 (CFLAGS-s_casinhl.c): Likewise.
2293 (CFLAGS-s_catanl.c): Likewise.
2294 (CFLAGS-s_catanhl.c): Likewise.
2295 (CFLAGS-s_cexpl.c): Likewise.
2296 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
2297 (CFLAGS-s_csinhl.c): Likewise.
2298 (CFLAGS-s_clogl.c): Likewise.
2299 (CFLAGS-s_clog10l.c): Likewise.
2300 (CFLAGS-s_csinl.c): Likewise.
2301 (CFLAGS-s_csqrtl.c): Likewise.
2303 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
2304 2017-01-09 Svante Signell <svante.signell@gmail.com>
2306 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
2307 (_hurd_exec_paths): New function.
2308 * hurd/hurd.h (_hurd_exec): Deprecate function.
2309 (_hurd_exec_paths): Declare function.
2310 * hurd/Versions: Export _hurd_exec_paths.
2311 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
2312 (__execve): Use __getcwd to build absolute path, and use
2313 _hurd_exec_paths instead of _hurd_exec.
2314 * sysdeps/mach/hurd/spawni.c: Likewise.
2315 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
2318 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
2320 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
2321 test instead of failing in case of ENOENT returned by posix_openpt.
2323 2018-01-08 Florian Weimer <fweimer@redhat.com>
2325 resolv: Support binary labels in test framework.
2326 * support/resolv_test.c (struct to_be_freed): Remove.
2327 (struct compressed_name): New.
2328 (allocate_compressed_name, ascii_tolower)
2329 (compare_compressed_name): New functions.
2330 (struct resolv_response_builder): Update type of
2331 compression_offsets for use with tsearch. Rempve to_be_freed.
2332 (response_push_pointer_to_free): Remove function.
2333 (resolv_response_add_name): Rewrite using struct compressed_name
2334 and tsearch instead of hsearch_r.
2335 (response_builder_allocate): Remove initialization of
2336 compression_offsets.
2337 (response_builder_free): Update for removal of to_be_freed. Use
2338 tdestroy instead of hdestroy_r.
2339 * resolv/Makefile (tests): Add tst-resolv-binary.
2340 (tst-resolv-binary): Link with -lresolv -lpthread.
2342 2018-01-08 Florian Weimer <fweimer@redhat.com>
2344 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
2345 time. Pass positive flag instead of negative flag to
2346 support_test_compare_failure.
2347 (support_test_compare_failure): Change negative parameter to
2349 * support/support_test_compare_failure.c (report)
2350 (support_test_compare_failure): Likewise.
2351 * support/tst-test_compare.c (return_ssize_t, return_int): New.
2352 (do_test): Check int/size_t, ssize_t/size_t comparisons.
2354 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
2357 * nptl/descr.h (stackblock, stackblock_size): Update comments.
2358 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
2359 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
2361 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
2363 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
2365 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2366 Add s_sincosf-sse2 and s_sincosf-fma.
2367 (CFLAGS-s_sincosf-fma.c): New.
2368 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
2369 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
2370 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
2371 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
2372 __sincosf is defined.
2374 2018-01-08 Florian Weimer <fweimer@redhat.com>
2376 * nptl/tst-thread-exit-clobber.cc: New file.
2377 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
2379 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
2380 (tests): Add tst-thread-exit-clobber.
2381 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
2383 2018-01-08 Florian Weimer <fweimer@redhat.com>
2385 * support/check.h (support_static_assert): Define.
2386 (TEST_COMPARE): Use it.
2388 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
2390 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
2391 [!__RLIM_T_MATCHES_RLIM64_T]
2392 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
2393 __getrlimit64. Add libc_hidden_weak.
2395 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
2397 * elf/elf.h (R_RISCV_NONE): New define.
2398 (R_RISCV_32): Likewise.
2399 (R_RISCV_64): Likewise.
2400 (R_RISCV_RELATIVE): Likewise.
2401 (R_RISCV_COPY): Likewise.
2402 (R_RISCV_JUMP_SLOT): Likewise.
2403 (R_RISCV_TLS_DTPMOD32): Likewise.
2404 (R_RISCV_TLS_DTPMOD64): Likewise.
2405 (R_RISCV_TLS_DTPREL32): Likewise.
2406 (R_RISCV_TLS_DTPREL64): Likewise.
2407 (R_RISCV_TLS_TPREL32): Likewise.
2408 (R_RISCV_TLS_TPREL64): Likewise.
2409 * Makerules (make-link-multidir): Make directories before linking into
2411 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
2413 (VDSO_HASH_LINUX_4_15): Likewise.
2414 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
2415 in subdirectories of lib.
2416 * nptl/Makefile (/librt.so): Always depend on
2417 "$(shared-thread-library)".
2419 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
2421 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
2422 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
2423 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
2425 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
2426 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
2428 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
2429 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
2430 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
2431 * sysdeps/gnu/glob-lstat-compat.c: New file.
2432 * sysdeps/gnu/glob64-lstat-compat.c: New file.
2433 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
2435 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2437 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
2438 Reserve 16 chars to reloc_addr before calling _itoa_word.
2440 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
2443 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
2444 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
2446 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
2447 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
2449 * resource/tst-getrlimit.c: Add copyright header.
2451 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
2452 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2454 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
2455 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
2456 Define __GI_getrlimit64 as weak alias of __getrlimit64.
2457 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
2459 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
2460 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
2461 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
2462 RLIM64_INFINITY): Fix values to match the kernel ones.
2463 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
2464 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
2465 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
2466 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
2467 getrlimit64@@GLIBC_2_27.
2468 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
2470 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
2471 getrlimit, setrlimit, getrlimit64 and setrlimit64.
2472 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
2473 setrlimit, getrlimit64 and setrlimit64.
2475 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
2478 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
2479 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
2481 2018-01-04 Joseph Myers <joseph@codesourcery.com>
2483 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
2484 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
2485 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
2487 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2491 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
2492 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
2496 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
2497 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
2498 * sysdeps/alpha/fpu/s_floor.c: Likewise.
2499 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
2501 2018-01-04 Florian Weimer <fweimer@redhat.com>
2504 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
2505 Align the stack before calling exit.
2506 * stdlib/tst-makecontext-align.c: New file.
2507 * stdlib/Makefile (tests): Add tst-makecontext-align.
2509 2018-01-04 Florian Weimer <fweimer@redhat.com>
2511 Add support for calling dlvsym from libc.so.
2512 * include/dlfcn.h (__libc_dlvsym): Declare.
2513 * elf/Makefile (tests-static-internal): Add
2514 tst-libc_dlvsym-static.
2515 (tests-internal): Add tst-libc_dlvsym.
2516 (modules-names): Add tst-libc_dlvsym-dso.
2517 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
2518 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
2519 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
2520 object tst-libc_dlvsym-dso.so needs to be built before running
2522 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
2523 * elf/Versions: Export __libc_dlvsym.
2524 * elf/dl-libc.c (struct do_dlvsym_args): New.
2525 (do_dlvsym, __libc_dlvsym): New functions.
2526 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
2527 (_dl_open_hook2): New variable.
2528 (__libc_register_dl_open_hook): Set it.
2529 * elf/tst-libc_dlvsym-dso.c: New file.
2530 * elf/tst-libc_dlvsym-static.c: Likewise.
2531 * elf/tst-libc_dlvsym.c: Likewise.
2532 * elf/tst-libc_dlvsym.h: Likewise.
2534 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
2536 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
2537 include <sys/mount.h>.
2539 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
2541 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
2542 Add __NO_MATH_ERRNO__ check.
2544 2018-01-02 Joseph Myers <joseph@codesourcery.com>
2546 * sysdeps/mips/mips32/libm-test-ulps: Update.
2547 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2549 2018-01-02 Florian Weimer <fweimer@redhat.com>
2551 * misc/tst-pselect.c: Add copyright header.
2553 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
2555 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
2557 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
2559 (settrlimit): Rename into setrlimit.
2560 (__sttrlimit): Rename into __setrlimit.
2562 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
2563 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
2564 never defined in that case.
2566 2018-01-02 Joseph Myers <joseph@codesourcery.com>
2568 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
2570 * sysdeps/arm/libm-test-ulps: Update.
2572 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
2573 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
2575 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2577 * NEWS: Add cosf and sincosf to list of optimized functions.
2579 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
2582 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
2583 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
2584 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
2585 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
2587 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
2590 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
2592 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
2593 making a copy of it.
2595 2018-01-01 Joseph Myers <joseph@codesourcery.com>
2597 * manual/texinfo.tex: Update to version 2017-12-26.21 with
2598 trailing whitespace removed.
2599 * scripts/config.guess: Update to version 2018-01-01.
2600 * scripts/config.sub: Update to version 2018-01-01.
2601 * scripts/move-if-change: Update from gnulib.
2603 * NEWS: Update copyright dates.
2604 * catgets/gencat.c (print_version): Likewise.
2605 * csu/version.c (banner): Likewise.
2606 * debug/catchsegv.sh: Likewise.
2607 * debug/pcprofiledump.c (print_version): Likewise.
2608 * debug/xtrace.sh (do_version): Likewise.
2609 * elf/ldconfig.c (print_version): Likewise.
2610 * elf/ldd.bash.in: Likewise.
2611 * elf/pldd.c (print_version): Likewise.
2612 * elf/sotruss.sh: Likewise.
2613 * elf/sprof.c (print_version): Likewise.
2614 * iconv/iconv_prog.c (print_version): Likewise.
2615 * iconv/iconvconfig.c (print_version): Likewise.
2616 * locale/programs/locale.c (print_version): Likewise.
2617 * locale/programs/localedef.c (print_version): Likewise.
2618 * login/programs/pt_chown.c (print_version): Likewise.
2619 * malloc/memusage.sh (do_version): Likewise.
2620 * malloc/memusagestat.c (print_version): Likewise.
2621 * malloc/mtrace.pl: Likewise.
2622 * manual/libc.texinfo: Likewise.
2623 * nptl/version.c (banner): Likewise.
2624 * nscd/nscd.c (print_version): Likewise.
2625 * nss/getent.c (print_version): Likewise.
2626 * nss/makedb.c (print_version): Likewise.
2627 * posix/getconf.c (main): Likewise.
2628 * scripts/test-installation.pl: Likewise.
2629 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2631 * All files with FSF copyright notices: Update copyright dates
2632 using scripts/update-copyrights.
2633 * locale/programs/charmap-kw.h: Regenerated.
2634 * locale/programs/locfile-kw.h: Likewise.
2636 2017-12-31 Zack Weinberg <zackw@panix.com>
2638 * libio/bits/libio-ldbl.h: Correct check for improper
2639 inclusion. Add own multiple include guard.
2641 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
2642 Dmitry V. Levin <ldv@altlinux.org>
2646 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
2647 string token expansion. Check for NULL pointer or empty string possibly
2648 returned by expand_dynamic_string_token.
2649 (decompose_rpath): Check for empty path after dynamic string
2652 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
2655 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
2657 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
2658 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
2659 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
2661 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
2662 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
2663 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2664 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2665 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2666 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
2668 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
2669 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
2670 __ptrace_peeksiginfo_flags, ptrace): Move to ...
2671 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
2672 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2673 bits/ptrace-shared.h.
2674 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
2675 <bits/ptrace-shared.h>.
2676 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
2677 __ptrace_peeksiginfo_flags, ptrace): Remove.
2678 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
2679 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2680 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2681 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2682 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
2684 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
2687 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
2688 end of the loop. Improve comments.
2690 2017-12-29 Zack Weinberg <zackw@panix.com>
2693 * manual/errno.texi (Checking for Errors): Explicitly say that errno
2694 might be set on success.
2696 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
2699 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
2700 is unchanged on success.
2702 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
2704 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
2706 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
2707 expand_dynamic_string_token): Likewise.
2708 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
2711 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
2714 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
2715 is set and name contains ':', and all code depending on these checks.
2717 2017-12-24 Zack Weinberg <zackw@panix.com>
2719 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
2720 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
2722 * libio/libio.h: Rename the original version of this file to
2723 libio/bits/libio.h. Error out if not included by stdio.h or the
2725 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
2726 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
2727 if not included by bits/libio.h or the stub _G_config.h.
2728 * sysdeps/unix/sysv/linux/_G_config.h: Move to
2729 sysdeps/unix/sysv/linux/bits. Error out if not included by
2730 bits/libio.h or the stub _G_config.h.
2731 * libio/stdio.h: Include bits/libio.h, not libio.h.
2732 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
2733 well as libio.h and _G_config.h.
2735 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
2736 * libio/strfile.h, stdio-common/vfscanf.c
2737 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
2738 Include stdio.h, not _G_config.h nor libio.h.
2739 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
2740 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
2742 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
2744 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
2747 * stdlib/getrandom.c (getrandom): Fix comment.
2748 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
2750 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
2753 * manual/arith.texi (strtoul): Fix a typo.
2756 * manual/arith.texi (finite): Fix the description of the return
2759 2017-12-22 Eric Blake <ebb9@byu.net>
2761 Avoid gcc warnings on cygwin
2762 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
2763 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
2764 Avoid unused variable.
2766 2017-12-22 Florian Weimer <fweimer@redhat.com>
2768 * io/Makefile (routines): Add copy_file_range.
2769 (tests): Add tst-copy_file_range.
2770 (tests-static, tests-internal): Add tst-copy_file_range-compat.
2771 * io/Versions (GLIBC_2.27): Export copy_file_range.
2772 * io/copy_file_range-compat.c: New file.
2773 * io/copy_file_range.c: Likewise.
2774 * io/tst-copy_file_range-compat.c: Likewise.
2775 * io/tst-copy_file_range.c: Likewise.
2776 * manual/llio.texi (Copying File Data): New section.
2777 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
2778 * support/Makefile (libsupport-routines): Add support-xfstat,
2780 * support/support-xfstat.c: New file.
2781 * support/xftruncate.c: Likewise.
2782 * support/xlseek.c: Likewise.
2783 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
2784 * sysdeps/unix/sysv/linux/**.abilist: Update.
2785 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
2787 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2789 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
2790 disable-multi-arch variant to aarch64-linux-gnu.
2792 2017-12-20 Joseph Myers <joseph@codesourcery.com>
2794 * manual/texinfo.tex: Update to version 2017-12-18.20 with
2795 trailing whitespace removed.
2796 * scripts/config.guess: Update to version 2017-12-17.
2797 * scripts/config.sub: Update to version 2017-11-23.
2798 * scripts/install-sh: Update to version 2017-09-23.17.
2799 * scripts/move-if-change: Update to version 2017-09-13 06:45.
2801 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2803 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
2804 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
2805 * sysdeps/tile/_mcount.S (__mcount): Likewise.
2806 * sysdeps/tile/crti.S (_init, _fini): Likewise.
2807 * sysdeps/tile/crtn.S: Likewise.
2808 * sysdeps/tile/dl-start.S (_start): Likewise.
2809 * sysdeps/tile/dl-trampoline.S: Likewise.
2810 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
2811 * sysdeps/tile/start.S (_start): Likewise.
2812 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
2813 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
2814 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
2815 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
2816 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
2817 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
2818 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
2820 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
2822 * sysdeps/tile/preconfigure: Remove tilegx folder.
2823 * sysdeps/tile/tilegx/Implies: Move definitions to ...
2824 * sysdeps/tile/Implies: ... here.
2825 * sysdeps/tile/tilegx/Makefile: Move rules to ...
2826 * sysdeps/tile/Makefile: ... here.
2827 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
2828 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
2829 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
2830 * sysdeps/tile/bits/wordsize.h: ... here.
2831 * sysdeps/tile/tilegx/*: Move to ...
2832 * sysdeps/tile/*: ... here.
2833 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
2834 * sysdeps/tile/tilegx32/Implies: ... here.
2835 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
2836 * sysdeps/tile/tilegx64/Implies: ... here.
2837 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
2839 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2840 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
2841 * sysdeps/unix/sysv/linux/tile/*: ... here.
2842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
2843 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
2844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
2845 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
2847 * README: Remove tilepro-*-linux-gnu from supported architecture.
2848 * scripts/build-many-glibcs.py: Likewise.
2849 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
2850 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
2851 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
2852 elf_machine_matches_host, elf_machine_dynamic,
2853 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
2854 howto, elf_machine_rela): Likewise.
2855 * sysdeps/tile/dl-start.S (_start): Likewise.
2856 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
2857 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
2858 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
2859 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
2860 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
2861 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
2863 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
2864 * sysdeps/tile/preconfigure: Likewise.
2865 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
2866 POINTER_CHK_GUARD): Likewise.
2867 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
2868 * sysdeps/tile/start.S (_start): Likewise.
2869 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
2871 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
2872 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
2874 * sysdeps/unix/sysv/linux/tile/bits/environments.h
2875 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
2876 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
2878 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
2879 * sysdeps/tile/tilepro/Implies: Remove file.
2880 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
2881 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
2882 * sysdeps/tile/tilepro/memchr.c: Likewise.
2883 * sysdeps/tile/tilepro/memcpy.S: Likewise.
2884 * sysdeps/tile/tilepro/memset.c: Likewise.
2885 * sysdeps/tile/tilepro/memusage.h: Likewise.
2886 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
2887 * sysdeps/tile/tilepro/strchr.c: Likewise.
2888 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
2889 * sysdeps/tile/tilepro/strlen.c: Likewise.
2890 * sysdeps/tile/tilepro/strrchr.c: Likewise.
2891 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
2892 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
2893 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
2894 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
2895 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
2896 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2898 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
2899 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2900 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
2901 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
2902 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2903 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
2904 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
2905 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
2906 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
2907 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
2908 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
2909 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
2910 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
2911 tilepro mention in comment.
2913 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
2914 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
2915 * nptl/pthread_join_common.c: New file: common function used on
2916 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
2917 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
2918 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
2919 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2920 (cleanup): Move definition to pthread_join_common.c.
2921 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
2922 Remove superflous checks.
2923 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
2926 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
2928 * sysdeps/aarch64/libm-test-ulps: Update.
2930 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2932 * sysdeps/aarch64/memset.S (MEMSET): Define.
2934 2017-12-20 Florian Weimer <fweimer@redhat.com>
2937 nptl: Provide full implementation of pthread_self in libc.so.
2938 * nptl/Makefile (routines): Add pthread_self.
2939 (libpthread-routines): Replace pthread_self with
2940 compat-pthread_self.
2941 * nptl/forward.c (pthread_self): Remove.
2942 * nptl/nptl-init.c (pthread_functions): Do not initialize
2944 * nptl/pthread_self.c (pthread_self): Remove weak alias.
2945 * nptl/compat-pthread_self.c: New file.
2946 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
2947 Remove ptr_pthread_self.
2949 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
2951 * posix/regcomp.c: Fix spelling in comments.
2952 * posix/regex.h: Likewise.
2953 * posix/regex_internal.c: Likewise.
2954 * posix/regexec.c: Likewise.
2956 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2959 * math/Makefile [C++] (tests): Add test for iseqsig.
2960 * math/math.h [C++] (iseqsig): New implementation, which does
2961 not rely on __MATH_TG/__builtin_types_compatible_p.
2962 * math/test-math-iseqsig.cc: New file.
2963 * sysdeps/powerpc/powerpc64le/Makefile
2964 (CFLAGS-test-math-iseqsig.cc): New variable.
2966 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
2968 * elf/dl-load.c (is_trusted_path): Remove.
2969 (fillin_rpath): Remove check_trusted argument and its use,
2970 all callers changed.
2972 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
2975 * Makeconfig (link-pie-before-libc): Replace -pie with
2976 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
2977 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
2978 (tst-dlopen-aout-no-pie): New.
2979 (LDFLAGS-tst-prelink): Removed.
2980 (tst-prelink-no-pie): New.
2981 (LDFLAGS-tst-main1): Removed.
2982 (tst-main1-no-pie): New.
2983 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
2984 (tst-gmon-no-pie): New.
2986 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
2988 * manual/install.texi: Document that --enable-static-pie
2990 * INSTALL: Regenerated.
2992 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
2995 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
2998 2017-12-19 Joseph Myers <joseph@codesourcery.com>
3002 2017-12-19 Joseph Myers <joseph@codesourcery.com>
3004 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3006 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
3008 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
3009 <errno.h>. Include "eexp.tbl".
3010 (half): New constant.
3012 (__ieee754_exp): Rewrite.
3013 (__slowexp): Remove prototype.
3014 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
3015 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
3016 * sysdeps/i386/fpu/slowexp.c: Likewise.
3017 * sysdeps/ia64/fpu/slowexp.c: Likewise.
3018 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
3019 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
3020 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
3021 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
3022 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
3023 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
3025 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
3026 (CPPFLAGS-slowexp.c): Remove variable.
3027 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3028 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
3029 (CFLAGS-slowexp-fma.c): Remove variable.
3030 (CFLAGS-slowexp-fma4.c): Likewise.
3031 (CFLAGS-slowexp-avx.c): Likewise.
3032 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
3034 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
3035 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
3036 * math/Makefile (type-double-routines): Remove slowexp.
3037 * manual/probes.texi (slowexp_p6): Remove.
3038 (slowexp_p32): Likewise.
3040 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3042 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
3045 * lib/glob.c (glob): Do not pass NULL to mempcpy.
3047 2017-12-19 Joseph Myers <joseph@codesourcery.com>
3049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3051 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
3053 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
3054 <errno.h>. Include "eexp.tbl".
3055 (half): New constant.
3057 (__ieee754_exp): Rewrite.
3058 (__slowexp): Remove prototype.
3059 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
3060 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
3061 * sysdeps/i386/fpu/slowexp.c: Likewise.
3062 * sysdeps/ia64/fpu/slowexp.c: Likewise.
3063 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
3064 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
3065 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
3066 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
3067 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
3068 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
3070 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
3071 (CPPFLAGS-slowexp.c): Remove variable.
3072 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3073 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
3074 (CFLAGS-slowexp-fma.c): Remove variable.
3075 (CFLAGS-slowexp-fma4.c): Likewise.
3076 (CFLAGS-slowexp-avx.c): Likewise.
3077 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
3079 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
3080 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
3081 * math/Makefile (type-double-routines): Remove slowexp.
3082 * manual/probes.texi (slowexp_p6): Remove.
3083 (slowexp_p32): Likewise.
3085 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3086 James Clarke <jrtc27@jrtc27.com>
3089 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
3092 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3095 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
3098 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
3101 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
3102 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
3103 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
3104 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
3107 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
3110 * bits/types/__cancel_jmp_buf_tag.h: New file.
3111 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
3112 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
3113 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
3114 * nptl/Makefile (headers): Add
3115 bits/types/__cancel_jmp_buf_tag.h.
3116 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
3117 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
3118 * sysdeps/nptl/pthread.h: Include
3119 <bits/types/__cancel_jmp_buf_tag.h>.
3120 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
3122 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
3124 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
3126 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
3127 --enable-static-pie variants to x86_64, x32 and i686.
3129 2017-12-19 Joseph Myers <joseph@codesourcery.com>
3132 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
3133 argument for attrubutes. All callers changed.
3134 (__inline_mathop1): Likewise. All callers changed.
3135 (__inline_mathop): Likewise. All callers changed.
3136 [__USE_MISC] (scalbn): Use __inline_forward instead of
3138 [__USE_ISOC99] (scalbln): Likewise.
3139 [__USE_ISOC99] (nearbyint): Likewise.
3140 [__USE_ISOC99] (lrint): Likewise.
3141 [__USE_MISC] (scalbnf): Likewise.
3142 [__USE_ISOC99] (scalblnf): Likewise.
3143 [__USE_ISOC99] (nearbyintf): Likewise.
3144 [__USE_ISOC99] (lrintf): Likewise.
3145 [__USE_MISC] (scalbnl): Likewise.
3146 [__USE_ISOC99] (scalblnl): Likewise.
3147 [__USE_ISOC99] (nearbyintl): Likewise.
3148 [__USE_ISOC99] (lrintl): Likewise.
3149 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
3150 __inline_mathop and __m81_defun changed.
3152 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
3153 CPU or FPU for ARM hard-float configurations.
3155 2017-12-18 Joseph Myers <joseph@codesourcery.com>
3157 * nptl/tst-attr3.c: Include <libc-diag.h>.
3158 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
3160 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
3162 * string/tester.c (test_strncat): Also disable -Warray-bounds
3163 warnings for two tests.
3165 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
3168 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
3169 $(cc-pie-default) == yes.
3170 * config.make.in (cc-pie-default): New.
3171 * configure.ac (libc_cv_pie_default): Renamed to ...
3172 (libc_cv_cc_pie_default): This.
3173 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
3174 * configure: Regenerated.
3176 2017-12-18 Florian Weimer <fweimer@redhat.com>
3179 ld.so: Harden dl-libc/libdl hooks.
3180 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
3181 (rtld_active): New function.
3182 * dlfcn/dladdr.c (__dladdr): Call it.
3183 * dlfcn/dladdr1.c (__dladdr1): Likewise.
3184 * dlfcn/dlclose.c (__dlcose): Likewise.
3185 * dlfcn/dlerror.c (__dlerror): Likewise.
3186 * dlfcn/dlinfo.c (__dlinfo): Likewise.
3187 * dlfcn/dlmopen.c (__dlmopen): Likewise.
3188 * dlfcn/dlopen.c (__dlopen): Likewise.
3189 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3190 * dlfcn/dlsym.c (__dlsym): Likewise.
3191 * dlfcn/dlvsym.c (__dlvsym): Likewise.
3192 * libio/vtables.c (_IO_vtable_check): Likewise.
3193 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
3194 (__libc_dlclose): Likewise.
3195 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
3198 2017-12-18 Joseph Myers <joseph@codesourcery.com>
3201 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
3202 buffers for readlink input and output.
3204 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
3207 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
3208 inhibit_stack_protector.
3211 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
3212 inhibit_stack_protector.
3214 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
3217 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
3218 code and invocation.
3220 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
3222 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
3224 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
3227 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
3229 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3231 * sysdeps/s390/fpu/libm-test-ulps: Update.
3233 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3237 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3239 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
3240 constants to s_sincosf.h file.
3241 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3242 * sysdeps/ieee754/flt-32/s_sincosf.c: New
3244 * sysdeps/ieee754/flt-32/s_sincosf.h:
3247 2017-12-12 Carlos O'Donell <carlos@redhat.com>
3250 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
3253 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
3256 * INSTALL: Regenerated.
3257 * Makeconfig (real-static-start-installed-name): New.
3258 (pic-default): Updated for --enable-static-pie.
3259 (pie-default): New for --enable-static-pie.
3260 (default-pie-ldflag): Likewise.
3261 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
3262 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
3263 Replace $(static-start-installed-name) with
3264 $(real-static-start-installed-name).
3265 (+prectorT): Updated for --enable-static-pie.
3266 (+postctorT): Likewise.
3267 (CFLAGS-.o): Add $(pie-default).
3268 (CFLAGS-.op): Likewise.
3269 * NEWS: Mention --enable-static-pie.
3270 * config.h.in (ENABLE_STATIC_PIE): New.
3271 * configure.ac (--enable-static-pie): New configure option.
3272 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
3273 (have-static-pie): Likewise.
3274 Enable static PIE if linker supports --no-dynamic-linker.
3275 (ENABLE_STATIC_PIE): New AC_DEFINE.
3276 (enable-static-pie): New LIBC_CONFIG_VAR.
3277 * configure: Regenerated.
3278 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
3279 gr$(start-installed-name) for --enable-static-pie.
3280 (extra-objs): Likewise.
3281 (install-lib): Likewise.
3282 (extra-objs): Add static-reloc.o and static-reloc.os
3283 ($(objpfx)$(start-installed-name)): Also depend on
3284 $(objpfx)static-reloc.o.
3285 ($(objpfx)r$(start-installed-name)): New.
3286 ($(objpfx)g$(start-installed-name)): Also depend on
3287 $(objpfx)static-reloc.os.
3288 ($(objpfx)gr$(start-installed-name)): New.
3289 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
3291 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
3293 * csu/static-reloc.c: New file.
3294 * elf/Makefile (routines): Add dl-reloc-static-pie.
3295 (elide-routines.os): Likewise.
3296 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
3297 (tst-tls1-static-non-pie-no-pie): New.
3298 * elf/dl-reloc-static-pie.c: New file.
3299 * elf/dl-support.c (_dl_get_dl_main_map): New function.
3300 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
3301 STATIC_PIE_BOOTSTRAP.
3302 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
3303 * gmon/Makefile (tests): Add tst-gmon-static-pie.
3304 (tests-static): Likewise.
3305 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
3306 (tst-gmon-static-no-pie): New.
3307 (CFLAGS-tst-gmon-static-pie.c): Likewise.
3308 (CRT-tst-gmon-static-pie): Likewise.
3309 (tst-gmon-static-pie-ENV): Likewise.
3310 (tests-special): Likewise.
3311 ($(objpfx)tst-gmon-static-pie.out): Likewise.
3312 (clean-tst-gmon-static-pie-data): Likewise.
3313 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
3314 * gmon/tst-gmon-static-pie.c: New file.
3315 * manual/install.texi: Document --enable-static-pie.
3316 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
3317 (_dl_get_dl_main_map): Likewise.
3318 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
3319 * sysdeps/x86_64/configure.ac: Likewise.
3320 * sysdeps/i386/configure: Regenerated.
3321 * sysdeps/x86_64/configure: Likewise.
3322 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
3323 (ASFLAGS-.op): Likewise.
3325 2017-12-15 Joseph Myers <joseph@codesourcery.com>
3327 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
3328 * posix/tst-mmap-offset.c (fname): Use /tmp.
3329 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
3331 2017-12-15 Steve Ellcey <sellcey@cavium.com>
3333 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
3335 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
3337 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
3340 2017-12-15 Joseph Myers <joseph@codesourcery.com>
3342 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
3343 --with-float=hard for arm-linux-gnueabihf configurations.
3346 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
3347 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
3348 ($(mo-installed)): Use $(objpfx)%.mo.
3349 (realclean): Remove rule.
3351 * po/Makefile (linguas): Remove rule and dependencies.
3352 (linguas.mo): Likewise.
3353 (.PHONY): Do not depend on linguas and linguas.mo.
3354 (podir): Remove variable.
3355 (pofiles): Likewise.
3356 [$(pofiles)] (%.po): Remove rule.
3358 * sysdeps/sparc/sparc32/Makefile
3359 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
3360 start-of-line whitespace in argument of echo.
3361 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
3362 with whitespace. Generate __wrap_.udiv alias.
3363 * sysdeps/sparc/sparc32/rem.S: Regenerated.
3364 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3365 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3366 * sysdeps/sparc/sparc32/urem.S: Likewise.
3368 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3370 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
3373 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3375 * benchtests/bench-strcmp.c: Print output in JSON format.
3377 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
3379 2017-12-14 Florian Weimer <fweimer@redhat.com>
3383 * elf/dl-load.c (_dl_init_paths): Compute number of components in
3384 the expanded path string.
3386 2017-12-14 Florian Weimer <fweimer@redhat.com>
3390 * elf/dl-load.c (system_dirs): Update comment.
3391 (nsystem_dirs_len): Use array_length.
3392 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
3394 2017-12-14 Florian Weimer <fweimer@redhat.com>
3396 Simplify compiling most of support/ outside of glibc.
3397 * support/check_addrinfo.c: Include <string.h>.
3398 * support/check_dns_packet.c: Likewise.
3399 * support/check_hostent.c: Likewise.
3400 * support/support_can_chroot.c: Include <support/xunistd.h>.
3401 * support/support_format_addrinfo.c: Include <stdlib.h>
3402 * support/support_format_dns_packet.c: Include <stdbool.h>.
3403 * support/support_format_hostent.c: Include <stdlib.h>.
3404 * support/support_format_netent.c: Likewise.
3405 * support/support_write_string.c: Include <support/xunistd.h>.
3406 * support/xdlfcn.c: Include <stddef.h>.
3408 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
3410 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
3412 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
3413 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3415 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
3416 (sysdeps_routines): Add memset-niagara7.
3417 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
3419 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
3421 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
3422 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
3423 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
3424 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
3425 Add niagara7 option.
3426 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
3429 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
3430 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
3431 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
3433 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
3435 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
3436 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
3437 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
3438 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
3439 and __memmove_niagara7.
3440 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
3441 Add niagara7 option.
3442 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
3443 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
3444 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
3445 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
3446 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
3448 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
3450 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
3451 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
3452 * sysdeps/sparc/sparc64/memmove.S: Likewise.
3453 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
3455 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
3456 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
3457 _dl_sparc_cap_flags array.
3458 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
3460 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
3462 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
3463 time whenever possible.
3465 2017-12-12 Carlos O'Donell <carlos@redhat.com>
3467 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
3468 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
3470 2017-12-12 Joseph Myers <joseph@codesourcery.com>
3472 * soft-fp/fmadf4.c: Move to ....
3473 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
3474 * soft-fp/fmasf4.c: Move to ....
3475 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
3476 * soft-fp/fmatf4.c: Move to ....
3477 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
3478 * sysdeps/ieee754/soft-fp/Makefile: New file.
3479 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
3480 * sysdeps/arm/preconfigure: Regenerated.
3481 * sysdeps/arm/nofpu/Implies: New file.
3482 * sysdeps/arm/s_fma.c: Remove file.
3483 * sysdeps/arm/s_fmaf.c: Likewise.
3484 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
3485 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
3486 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
3487 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
3488 * sysdeps/microblaze/s_fma.c: Remove file.
3489 * sysdeps/microblaze/s_fmaf.c: Likewise.
3490 * sysdeps/mips/mips32/nofpu/Implies: New file.
3491 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
3492 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
3493 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
3494 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
3495 * sysdeps/mips/ieee754/s_fma.c: Remove file.
3496 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
3497 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
3499 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
3500 * sysdeps/nios2/s_fma.c: Remove file.
3501 * sysdeps/nios2/s_fmaf.c: Likewise.
3502 * sysdeps/sh/nofpu/Implies: New file.
3503 * sysdeps/sh/s_fma.c: Remove file.
3504 * sysdeps/sh/s_fmaf.c: Likewise.
3505 * sysdeps/tile/Implies: Add ieee754/soft-fp.
3506 * sysdeps/tile/s_fma.c: Remove file.
3507 * sysdeps/tile/s_fmaf.c: Likewise.
3509 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
3511 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3512 Add s_cosf-sse2 and s_cosf-fma.
3513 (CFLAGS-s_cosf-fma.c): New.
3514 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
3515 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
3516 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
3518 2017-12-12 Steve Ellcey <sellcey@cavium.com>
3520 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
3522 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3524 * libio/Makefile (tests): Add tst-bz22415.
3525 (tst-bz22415-ENV): New rule.
3526 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
3527 (tests-special): Add tst-bz22415-mem.out.
3528 ($(objpfx)tst-bz22415-mem.out): New rule.
3529 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
3530 in case of a successful seek operation.
3531 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3532 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
3534 * libio/tst-bz22415.c: New test.
3536 * sysdeps/ia64/fpu/libm-test-ulps: Update.
3538 2017-12-12 James Clarke <jrtc27@jrtc27.com>
3540 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
3541 __IPC_64 to 0 to avoid IPC_64 being set.
3543 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
3546 * math/bits/mathcalls.h (nextafter): Remove const.
3547 (nexttoward): Likewise.
3549 2017-12-12 Joseph Myers <joseph@codesourcery.com>
3551 * configure.ac (--with-fp): Remove configure option.
3552 (with_fp_cond): New variable.
3553 (libc_cv_with_fp): New configure test. Use this variable instead
3555 * configure: Regenerated.
3556 * config.make.in (with-fp): Use @libc_cv_with_fp@.
3557 * manual/install.texi (Configuring and compiling): Remove
3559 * INSTALL: Regenerated.
3560 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
3561 * sysdeps/mips/preconfigure (with_fp_cond): Define.
3562 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
3563 * sysdeps/sh/preconfigure (with_fp_cond): Define.
3564 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
3565 use --without-fp to configure glibc.
3567 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
3569 * manual/locale.texi (nl_langinfo): Fix a typo.
3571 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
3574 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
3576 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
3578 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
3579 (CFLAGS-argp-parse.c): Likewise.
3580 (CFLAGS-argp-fmtstream.c): Likewise.
3581 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
3582 (CPPFLAGS-sha512-crypt.c): Likewise.
3583 (CPPFLAGS-md5-crypt.c): Likewise.
3584 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
3585 (CFLAGS-stack_chk_fail_local.c): Likewise.
3586 (CFLAGS-backtrace.c): Likewise.
3587 (CFLAGS-sprintf_chk.c): Likewise.
3588 (CFLAGS-snprintf_chk.c): Likewise.
3589 (CFLAGS-vsprintf_chk.c): Likewise.
3590 (CFLAGS-vsnprintf_chk.c): Likewise.
3591 (CFLAGS-asprintf_chk.c): Likewise.
3592 (CFLAGS-vasprintf_chk.c): Likewise.
3593 (CFLAGS-obprintf_chk.c): Likewise.
3594 (CFLAGS-dprintf_chk.c): Likewise.
3595 (CFLAGS-vdprintf_chk.c): Likewise.
3596 (CFLAGS-printf_chk.c): Likewise.
3597 (CFLAGS-fprintf_chk.c): Likewise.
3598 (CFLAGS-vprintf_chk.c): Likewise.
3599 (CFLAGS-vfprintf_chk.c): Likewise.
3600 (CFLAGS-gets_chk.c): Likewise.
3601 (CFLAGS-fgets_chk.c): Likewise.
3602 (CFLAGS-fgets_u_chk.c): Likewise.
3603 (CFLAGS-fread_chk.c): Likewise.
3604 (CFLAGS-fread_u_chk.c): Likewise.
3605 (CFLAGS-swprintf_chk.c): Likewise.
3606 (CFLAGS-vswprintf_chk.c): Likewise.
3607 (CFLAGS-wprintf_chk.c): Likewise.
3608 (CFLAGS-fwprintf_chk.c): Likewise.
3609 (CFLAGS-vwprintf_chk.c): Likewise.
3610 (CFLAGS-vfwprintf_chk.c): Likewise.
3611 (CFLAGS-fgetws_chk.c): Likewise.
3612 (CFLAGS-fgetws_u_chk.c): Likewise.
3613 (CFLAGS-read_chk.c): Likewise.
3614 (CFLAGS-pread_chk.c): Likewise.
3615 (CFLAGS-pread64_chk.c): Likewise.
3616 (CFLAGS-recv_chk.c): Likewise.
3617 (CFLAGS-recvfrom_chk.c): Likewise.
3618 (CFLAGS-tst-longjmp_chk.c): Likewise.
3619 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
3620 (CFLAGS-tst-longjmp_chk2.c): Likewise.
3621 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
3622 (CFLAGS-tst-longjmp_chk3.c): Likewise.
3623 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3624 (CFLAGS-tst-chk1.c): Likewise.
3625 (CFLAGS-tst-chk2.c): Likewise.
3626 (CFLAGS-tst-chk3.c): Likewise.
3627 (CFLAGS-tst-chk4.cc): Likewise.
3628 (CFLAGS-tst-chk5.cc): Likewise.
3629 (CFLAGS-tst-chk6.cc): Likewise.
3630 (CFLAGS-tst-lfschk1.c): Likewise.
3631 (CFLAGS-tst-lfschk2.c): Likewise.
3632 (CFLAGS-tst-lfschk3.c): Likewise.
3633 (CFLAGS-tst-lfschk4.cc): Likewise.
3634 (CFLAGS-tst-lfschk5.cc): Likewise.
3635 (CFLAGS-tst-lfschk6.cc): Likewise.
3636 (CFLAGS-tst-ssp-1.c): Likewise.
3637 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
3638 (CFLAGS-scandir64.c): Likewise.
3639 (CFLAGS-scandir-tail.c): Likewise.
3640 (CFLAGS-scandir64-tail.c): Likewise.
3641 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
3642 (CFLAGS-dl-tunables.c): Likewise.
3643 (CFLAGS-dl-runtime.c): Likewise.
3644 (CFLAGS-dl-lookup.c): Likewise.
3645 (CFLAGS-dl-iterate-phdr.c): Likewise.
3646 (CFLAGS-vismain.c): Likewise.
3647 (CFLAGS-tst-linkall-static.c): Likewise.
3648 (CFLAGS-tst-linkall-static.c): Likewise.
3649 (CPPFLAGS-dl-load.c): Likewise.
3650 (CFLAGS-ldconfig.c): Likewise.
3651 (CFLAGS-dl-cache.c): Likewise.
3652 (CFLAGS-cache.c): Likewise.
3653 (CFLAGS-rtld.c): Likewise.
3654 (CFLAGS-multiload.c): Likewise.
3655 (CFLAGS-filtmod1.c): Likewise.
3656 (CFLAGS-tst-align.c): Likewise.
3657 (CFLAGS-tst-align2.c): Likewise.
3658 (CFLAGS-tst-alignmod.c): Likewise.
3659 (CFLAGS-tst-alignmod2.c): Likewise.
3660 (CPPFLAGS-tst-execstack.c): Likewise.
3661 (CFLAGS-tst-ptrguard1-static.c): Likewise.
3662 (CFLAGS-tst-latepthreadmod.c): Likewise.
3663 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
3664 (CFLAGS-getgrnam_r.c): Likewise.
3665 (CFLAGS-getgrent_r.c): Likewise.
3666 (CFLAGS-getgrent.c): Likewise.
3667 (CFLAGS-fgetgrent.c): Likewise.
3668 (CFLAGS-fgetgrent_r.c): Likewise.
3669 (CFLAGS-putgrent.c): Likewise.
3670 (CFLAGS-initgroups.c): Likewise.
3671 (CFLAGS-getgrgid.c): Likewise.
3672 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
3673 (CFLAGS-getsgent.c): Likewise.
3674 (CFLAGS-fgetsgent.c): Likewise.
3675 (CFLAGS-fgetsgent_r.c): Likewise.
3676 (CFLAGS-putsgent.c): Likewise.
3677 (CFLAGS-getsgnam.c): Likewise.
3678 (CFLAGS-getsgnam_r.c): Likewise.
3679 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
3680 (CFLAGS-iconv_charmap.c): Likewise.
3681 (CFLAGS-dummy-repertoire.c): Likewise.
3682 (CFLAGS-charmap.c): Likewise.
3683 (CFLAGS-linereader.c): Likewise.
3684 (CFLAGS-simple-hash.c): Likewise.
3685 (CFLAGS-gconv_conf.c): Likewise.
3686 (CFLAGS-iconvconfig.c): Likewise.
3687 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
3688 (CFLAGS-gethstbyad.c): Likewise.
3689 (CFLAGS-gethstbynm_r.c): Likewise.
3690 (CFLAGS-gethstbynm.c): Likewise.
3691 (CFLAGS-gethstbynm2_r.c): Likewise.
3692 (CFLAGS-gethstbynm2.c): Likewise.
3693 (CFLAGS-gethstent_r.c): Likewise.
3694 (CFLAGS-gethstent.c): Likewise.
3695 (CFLAGS-rcmd.c): Likewise.
3696 (CFLAGS-getnetbynm_r.c): Likewise.
3697 (CFLAGS-getnetbynm.c): Likewise.
3698 (CFLAGS-getnetbyad_r.c): Likewise.
3699 (CFLAGS-getnetbyad.c): Likewise.
3700 (CFLAGS-getnetent_r.c): Likewise.
3701 (CFLAGS-getnetent.c): Likewise.
3702 (CFLAGS-getaliasent_r.c): Likewise.
3703 (CFLAGS-getaliasent.c): Likewise.
3704 (CFLAGS-getrpcent_r.c): Likewise.
3705 (CFLAGS-getrpcent.c): Likewise.
3706 (CFLAGS-getservent_r.c): Likewise.
3707 (CFLAGS-getservent.c): Likewise.
3708 (CFLAGS-getprtent_r.c): Likewise.
3709 (CFLAGS-getprtent.c): Likewise.
3710 (CFLAGS-either_ntoh.c): Likewise.
3711 (CFLAGS-either_hton.c): Likewise.
3712 (CFLAGS-getnetgrent.c): Likewise.
3713 (CFLAGS-getnetgrent_r.c): Likewise.
3714 (CFLAGS-tst-checks-posix.c): Likewise.
3715 (CFLAGS-tst-sockaddr.c): Likewise.
3716 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
3717 (CFLAGS-tst-translit.c): Likewise.
3718 (CFLAGS-tst-gettext2.c): Likewise.
3719 (CFLAGS-tst-codeset.c): Likewise.
3720 (CFLAGS-tst-gettext3.c): Likewise.
3721 (CFLAGS-tst-gettext4.c): Likewise.
3722 (CFLAGS-tst-gettext5.c): Likewise.
3723 (CFLAGS-tst-gettext6.c): Likewise.
3724 * io/Makefile (CFLAGS-open.c): Likewise.
3725 (CFLAGS-open64.c): Likewise.
3726 (CFLAGS-creat.c): Likewise.
3727 (CFLAGS-creat64.c): Likewise.
3728 (CFLAGS-fcntl.c): Likewise.
3729 (CFLAGS-poll.c): Likewise.
3730 (CFLAGS-ppoll.c): Likewise.
3731 (CFLAGS-lockf.c): Likewise.
3732 (CFLAGS-statfs.c): Likewise.
3733 (CFLAGS-fstatfs.c): Likewise.
3734 (CFLAGS-statvfs.c): Likewise.
3735 (CFLAGS-fstatvfs.c): Likewise.
3736 (CFLAGS-fts.c): Likewise.
3737 (CFLAGS-fts64.c): Likewise.
3738 (CFLAGS-ftw.c): Likewise.
3739 (CFLAGS-ftw64.c): Likewise.
3740 (CFLAGS-lockf.c): Likewise.
3741 (CFLAGS-posix_fallocate.c): Likewise.
3742 (CFLAGS-posix_fallocate64.c): Likewise.
3743 (CFLAGS-fallocate.c): Likewise.
3744 (CFLAGS-fallocate64.c): Likewise.
3745 (CFLAGS-read.c): Likewise.
3746 (CFLAGS-write.c): Likewise.
3747 (CFLAGS-test-stat.c): Likewise.
3748 (CFLAGS-test-lfs.c): Likewise.
3749 * libio/Makefile (CFLAGS-fileops.c): Likewise.
3750 (CFLAGS-fputc.c): Likewise.
3751 (CFLAGS-fputwc.c): Likewise.
3752 (CFLAGS-freopen64.c): Likewise.
3753 (CFLAGS-freopen.c): Likewise.
3754 (CFLAGS-fseek.c): Likewise.
3755 (CFLAGS-fseeko64.c): Likewise.
3756 (CFLAGS-fseeko.c): Likewise.
3757 (CFLAGS-ftello64.c): Likewise.
3758 (CFLAGS-ftello.c): Likewise.
3759 (CFLAGS-fwide.c): Likewise.
3760 (CFLAGS-genops.c): Likewise.
3761 (CFLAGS-getc.c): Likewise.
3762 (CFLAGS-getchar.c): Likewise.
3763 (CFLAGS-getwc.c): Likewise.
3764 (CFLAGS-getwchar.c): Likewise.
3765 (CFLAGS-iofclose.c): Likewise.
3766 (CFLAGS-iofflush.c): Likewise.
3767 (CFLAGS-iofgetpos64.c): Likewise.
3768 (CFLAGS-iofgetpos.c): Likewise.
3769 (CFLAGS-iofgets.c): Likewise.
3770 (CFLAGS-iofgetws.c): Likewise.
3771 (CFLAGS-iofputs.c): Likewise.
3772 (CFLAGS-iofputws.c): Likewise.
3773 (CFLAGS-iofread.c): Likewise.
3774 (CFLAGS-iofsetpos64.c): Likewise.
3775 (CFLAGS-iofsetpos.c): Likewise.
3776 (CFLAGS-ioftell.c): Likewise.
3777 (CFLAGS-iofwrite.c): Likewise.
3778 (CFLAGS-iogetdelim.c): Likewise.
3779 (CFLAGS-iogetline.c): Likewise.
3780 (CFLAGS-iogets.c): Likewise.
3781 (CFLAGS-iogetwline.c): Likewise.
3782 (CFLAGS-ioputs.c): Likewise.
3783 (CFLAGS-ioseekoff.c): Likewise.
3784 (CFLAGS-ioseekpos.c): Likewise.
3785 (CFLAGS-iosetbuffer.c): Likewise.
3786 (CFLAGS-iosetvbuf.c): Likewise.
3787 (CFLAGS-ioungetc.c): Likewise.
3788 (CFLAGS-ioungetwc.c): Likewise.
3789 (CFLAGS-oldfileops.c): Likewise.
3790 (CFLAGS-oldiofclose.c): Likewise.
3791 (CFLAGS-oldiofgetpos64.c): Likewise.
3792 (CFLAGS-oldiofgetpos.c): Likewise.
3793 (CFLAGS-oldiofsetpos64.c): Likewise.
3794 (CFLAGS-oldiofsetpos.c): Likewise.
3795 (CFLAGS-peekc.c): Likewise.
3796 (CFLAGS-putc.c): Likewise.
3797 (CFLAGS-putchar.c): Likewise.
3798 (CFLAGS-putwc.c): Likewise.
3799 (CFLAGS-putwchar.c): Likewise.
3800 (CFLAGS-rewind.c): Likewise.
3801 (CFLAGS-wfileops.c): Likewise.
3802 (CFLAGS-wgenops.c): Likewise.
3803 (CFLAGS-oldiofopen.c): Likewise.
3804 (CFLAGS-iofopen.c): Likewise.
3805 (CFLAGS-iofopen64.c): Likewise.
3806 (CFLAGS-oldtmpfile.c): Likewise.
3807 (CFLAGS-tst_putwc.c): Likewise.
3808 * locale/Makefile (CFLAGS-md5.c): Likewise.
3809 (CFLAGS-charmap.c): Likewise.
3810 (CFLAGS-locfile.c): Likewise.
3811 (CFLAGS-charmap-dir.c): Likewise.
3812 * login/Makefile (CFLAGS-grantpt.c): Likewise.
3813 (CFLAGS-getpt.c): Likewise.
3814 (CFLAGS-pt_chown.c): Likewise.
3815 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
3816 (CFLAGS-obstack.c): Likewise.
3817 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
3818 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
3819 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
3820 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
3821 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
3822 (CFLAGS-test-tgmath.c): Likewise.
3823 (CFLAGS-test-tgmath2.c): Likewise.
3824 (CFLAGS-test-tgmath-ret.c): Likewise.
3825 (CFLAGS-test-powl.c): Likewise.
3826 (CFLAGS-test-snan.c): Likewise.
3827 (CFLAGS-test-signgam-finite.c): Likewise.
3828 (CFLAGS-test-signgam-finite-c99.c): Likewise.
3829 (CFLAGS-test-signgam-finite-c11.c): Likewise.
3830 (CFLAGS-test-signgam-uchar.c): Likewise.
3831 (CFLAGS-test-signgam-uchar-init.c): Likewise.
3832 (CFLAGS-test-signgam-uchar-static.c): Likewise.
3833 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
3834 (CFLAGS-test-signgam-uint.c): Likewise.
3835 (CFLAGS-test-signgam-uint-init.c): Likewise.
3836 (CFLAGS-test-signgam-uint-static.c): Likewise.
3837 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
3838 (CFLAGS-test-signgam-ullong.c): Likewise.
3839 (CFLAGS-test-signgam-ullong-init.c): Likewise.
3840 (CFLAGS-test-signgam-ullong-static.c): Likewise.
3841 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
3842 (CFLAGS-test-math-cxx11.cc): Likewise.
3843 (CFLAGS-test-math-isinff.cc): Likewise.
3844 (CFLAGS-test-math-iszero.cc): Likewise.
3845 (CFLAGS-test-math-issignaling.cc): Likewise.
3846 (CFLAGS-test-math-iscanonical.cc): Likewise.
3847 (CFLAGS-test-iszero-excess-precision.c): Likewise.
3848 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
3849 (CFLAGS-test-flt-eval-method.c): Likewise.
3850 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
3851 (CFLAGS-test-finite-macros.c): Likewise.
3852 * misc/Makefile (CFLAGS-select.c): Likewise.
3853 (CFLAGS-tsearch.c): Likewise.
3854 (CFLAGS-lsearch.c): Likewise.
3855 (CFLAGS-pselect.c): Likewise.
3856 (CFLAGS-readv.c): Likewise.
3857 (CFLAGS-writev.c): Likewise.
3858 (CFLAGS-preadv.c): Likewise.
3859 (CFLAGS-preadv64.c): Likewise.
3860 (CFLAGS-pwritev.c): Likewise.
3861 (CFLAGS-pwritev64.c): Likewise.
3862 (CFLAGS-preadv2.c): Likewise.
3863 (CFLAGS-preadv64v2.c): Likewise.
3864 (CFLAGS-pwritev2.c): Likewise.
3865 (CFLAGS-pwritev64v2.c): Likewise.
3866 (CFLAGS-usleep.c): Likewise.
3867 (CFLAGS-syslog.c): Likewise.
3868 (CFLAGS-error.c): Likewise.
3869 (CFLAGS-getpass.c): Likewise.
3870 (CFLAGS-mkstemp.c): Likewise.
3871 (CFLAGS-mkstemp64.c): Likewise.
3872 (CFLAGS-getsysstats.c): Likewise.
3873 (CFLAGS-getusershell.c): Likewise.
3874 (CFLAGS-err.c): Likewise.
3875 (CFLAGS-tst-tsearch.c): Likewise.
3876 (CFLAGS-msync.c): Likewise.
3877 (CFLAGS-fdatasync.c): Likewise.
3878 (CFLAGS-fsync.c): Likewise.
3879 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
3880 (CFLAGS-unwind.c): Likewise.
3881 (CFLAGS-unwind-forcedunwind.c): Likewise.
3882 (CFLAGS-pthread_cancel.c): Likewise.
3883 (CFLAGS-pthread_setcancelstate.c): Likewise.
3884 (CFLAGS-pthread_setcanceltype.c): Likewise.
3885 (CFLAGS-cancellation.c): Likewise.
3886 (CFLAGS-libc-cancellation.c): Likewise.
3887 (CFLAGS-pthread_exit.c): Likewise.
3888 (CFLAGS-forward.c): Likewise.
3889 (CFLAGS-pthread_testcancel.c): Likewise.
3890 (CFLAGS-pthread_join.c): Likewise.
3891 (CFLAGS-pthread_timedjoin.c): Likewise.
3892 (CFLAGS-pthread_once.c): Likewise.
3893 (CFLAGS-pthread_cond_wait.c): Likewise.
3894 (CFLAGS-sem_wait.c): Likewise.
3895 (CFLAGS-sem_timedwait.c): Likewise.
3896 (CFLAGS-fcntl.c): Likewise.
3897 (CFLAGS-lockf.c): Likewise.
3898 (CFLAGS-pread.c): Likewise.
3899 (CFLAGS-pread64.c): Likewise.
3900 (CFLAGS-pwrite.c): Likewise.
3901 (CFLAGS-pwrite64.c): Likewise.
3902 (CFLAGS-wait.c): Likewise.
3903 (CFLAGS-waitpid.c): Likewise.
3904 (CFLAGS-sigwait.c): Likewise.
3905 (CFLAGS-msgrcv.c): Likewise.
3906 (CFLAGS-msgsnd.c): Likewise.
3907 (CFLAGS-tcdrain.c): Likewise.
3908 (CFLAGS-open.c): Likewise.
3909 (CFLAGS-open64.c): Likewise.
3910 (CFLAGS-pause.c): Likewise.
3911 (CFLAGS-recv.c): Likewise.
3912 (CFLAGS-send.c): Likewise.
3913 (CFLAGS-accept.c): Likewise.
3914 (CFLAGS-sendto.c): Likewise.
3915 (CFLAGS-connect.c): Likewise.
3916 (CFLAGS-recvfrom.c): Likewise.
3917 (CFLAGS-recvmsg.c): Likewise.
3918 (CFLAGS-sendmsg.c): Likewise.
3919 (CFLAGS-close.c): Likewise.
3920 (CFLAGS-read.c): Likewise.
3921 (CFLAGS-write.c): Likewise.
3922 (CFLAGS-nanosleep.c): Likewise.
3923 (CFLAGS-sigsuspend.c): Likewise.
3924 (CFLAGS-msync.c): Likewise.
3925 (CFLAGS-fdatasync.c): Likewise.
3926 (CFLAGS-fsync.c): Likewise.
3927 (CFLAGS-pt-system.c): Likewise.
3928 (CFLAGS-tst-cleanup2.c): Likewise.
3929 (CFLAGS-tst-cleanupx2.c): Likewise.
3930 (CFLAGS-flockfile.c): Likewise.
3931 (CFLAGS-ftrylockfile.c): Likewise.
3932 (CFLAGS-funlockfile.c): Likewise.
3933 (CFLAGS-tst-initializers1.c): Likewise.
3934 (CFLAGS-tst-initializers1-c89.c): Likewise.
3935 (CFLAGS-tst-initializers1-c99.c): Likewise.
3936 (CFLAGS-tst-initializers1-c11.c): Likewise.
3937 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
3938 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
3939 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
3940 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
3941 (CFLAGS-nscd_getgr_r.c): Likewise.
3942 (CFLAGS-nscd_gethst_r.c): Likewise.
3943 (CFLAGS-nscd_getai.c): Likewise.
3944 (CFLAGS-nscd_initgroups.c): Likewise.
3945 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
3946 (CFLAGS-pause.c): Likewise.
3947 (CFLAGS-pread.c): Likewise.
3948 (CFLAGS-pread64.c): Likewise.
3949 (CFLAGS-pwrite.c): Likewise.
3950 (CFLAGS-pwrite64.c): Likewise.
3951 (CFLAGS-sleep.c): Likewise.
3952 (CFLAGS-wait.c): Likewise.
3953 (CFLAGS-waitid.c): Likewise.
3954 (CFLAGS-waitpid.c): Likewise.
3955 (CFLAGS-getopt.c): Likewise.
3956 (CFLAGS-wordexp.c): Likewise.
3957 (CFLAGS-sysconf.c): Likewise.
3958 (CFLAGS-pathconf.c): Likewise.
3959 (CFLAGS-fpathconf.c): Likewise.
3960 (CFLAGS-spawn.c): Likewise.
3961 (CFLAGS-spawnp.c): Likewise.
3962 (CFLAGS-spawni.c): Likewise.
3963 (CFLAGS-glob.c): Likewise.
3964 (CFLAGS-glob64.c): Likewise.
3965 (CFLAGS-getconf.c): Likewise.
3966 (CFLAGS-nanosleep.c): Likewise.
3967 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
3968 (CFLAGS-getpwent.c): Likewise.
3969 (CFLAGS-getpw.c): Likewise.
3970 (CFLAGS-fgetpwent_r.c): Likewise.
3971 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
3972 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
3973 (CFLAGS-mq_timedreceive.c): Likewise.
3974 (CFLAGS-mq_timedsend.c): Likewise.
3975 (CFLAGS-clock_nanosleep.c): Likewise.
3976 (CFLAGS-librt-cancellation.c): Likewise.
3977 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
3978 (CFLAGS-getspent.c): Likewise.
3979 (CFLAGS-fgetspent.c): Likewise.
3980 (CFLAGS-fgetspent_r.c): Likewise.
3981 (CFLAGS-putspent.c): Likewise.
3982 (CFLAGS-getspnam.c): Likewise.
3983 (CFLAGS-getspnam_r.c): Likewise.
3984 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
3985 (CFLAGS-sigsuspend.c): Likewise.
3986 (CFLAGS-sigtimedwait.c): Likewise.
3987 (CFLAGS-sigwait.c): Likewise.
3988 (CFLAGS-sigwaitinfo.c): Likewise.
3989 (CFLAGS-sigreturn.c): Likewise.
3990 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
3991 (CFLAGS-vfwprintf.c): Likewise.
3992 (CFLAGS-tmpfile.c): Likewise.
3993 (CFLAGS-tmpfile64.c): Likewise.
3994 (CFLAGS-tempname.c): Likewise.
3995 (CFLAGS-psignal.c): Likewise.
3996 (CFLAGS-vprintf.c): Likewise.
3997 (CFLAGS-cuserid.c): Likewise.
3998 (CFLAGS-errlist.c): Likewise.
3999 (CFLAGS-siglist.c): Likewise.
4000 (CFLAGS-scanf15.c): Likewise.
4001 (CFLAGS-scanf17.c): Likewise.
4002 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
4003 (CFLAGS-msort.c): Likewise.
4004 (CFLAGS-qsort.c): Likewise.
4005 (CFLAGS-system.c): Likewise.
4006 (CFLAGS-fmtmsg.c): Likewise.
4007 (CFLAGS-strfmon.c): Likewise.
4008 (CFLAGS-strfmon_l.c): Likewise.
4009 (CFLAGS-strfromd.c): Likewise.
4010 (CFLAGS-strfromf.c): Likewise.
4011 (CFLAGS-strfroml.c): Likewise.
4012 (CFLAGS-tst-bsearch.c): Likewise.
4013 (CFLAGS-tst-qsort.c): Likewise.
4014 (CFLAGS-tst-makecontext2.c): Likewise.
4015 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
4016 (CFLAGS-xnlm_prot.c): Likewise.
4017 (CFLAGS-xrstat.c): Likewise.
4018 (CFLAGS-xyppasswd.c): Likewise.
4019 (CFLAGS-xklm_prot.c): Likewise.
4020 (CFLAGS-xrex.c): Likewise.
4021 (CFLAGS-xsm_inter.c): Likewise.
4022 (CFLAGS-xmount.c): Likewise.
4023 (CFLAGS-xrusers.c): Likewise.
4024 (CFLAGS-xspray.c): Likewise.
4025 (CFLAGS-xnfs_prot.c): Likewise.
4026 (CFLAGS-xrquota.c): Likewise.
4027 (CFLAGS-xkey_prot.c): Likewise.
4028 (CFLAGS-auth_unix.c): Likewise.
4029 (CFLAGS-key_call.c): Likewise.
4030 (CFLAGS-pmap_rmt.c): Likewise.
4031 (CFLAGS-clnt_perr.c): Likewise.
4032 (CFLAGS-openchild.c): Likewise.
4033 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
4034 (CFLAGS-msgsnd.c): Likewise.
4035 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
4036 * time/Makefile (CFLAGS-tzfile.c): Likewise.
4037 (CFLAGS-tzset.c): Likewise.
4038 (CFLAGS-getdate.c): Likewise.
4039 (CFLAGS-test_time.c): Likewise.
4040 (CPPFLAGS-tst-tzname.c): Likewise.
4041 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
4042 (CFLAGS-zic.c): Likewise.
4043 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
4044 (CFLAGS-wcswidth.c): Likewise.
4045 (CFLAGS-wcstol.c): Likewise.
4046 (CFLAGS-wcstoul.c): Likewise.
4047 (CFLAGS-wcstoll.c): Likewise.
4048 (CFLAGS-wcstoull.c): Likewise.
4049 (CFLAGS-wcstod.c): Likewise.
4050 (CFLAGS-wcstold.c): Likewise.
4051 (CFLAGS-wcstof128.c): Likewise.
4052 (CFLAGS-wcstof.c): Likewise.
4053 (CFLAGS-wcstol_l.c): Likewise.
4054 (CFLAGS-wcstoul_l.c): Likewise.
4055 (CFLAGS-wcstoll_l.c): Likewise.
4056 (CFLAGS-wcstoull_l.c): Likewise.
4057 (CFLAGS-wcstod_l.c): Likewise.
4058 (CFLAGS-wcstold_l.c): Likewise.
4059 (CFLAGS-wcstof128_l.c): Likewise.
4060 (CFLAGS-wcstof_l.c): Likewise.
4061 (CPPFLAGS-tst-wchar-h.c): Likewise.
4062 (CPPFLAGS-wcstold_l.c): Likewise.
4064 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
4066 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
4068 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4069 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4071 * manual/tunables.texi (Hardware Capability Tunables): Document
4072 glibc.tune.cached_memopt.
4073 * sysdeps/powerpc/cpu-features.c: New file.
4074 * sysdeps/powerpc/cpu-features.h: New file.
4075 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
4076 _dl_powerpc_cpu_features.
4077 * sysdeps/powerpc/dl-tunables.list: New file.
4078 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
4079 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4080 (INIT_ARCH): Initialize use_aligned_memopt.
4081 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
4082 IS_IN(rtld))]: Restrict dl_platform_init availability and
4083 initialize CPU features used by tunables.
4084 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
4085 Add memcpy-power8-cached.
4086 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
4087 __memcpy_power8_cached.
4088 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4089 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
4092 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
4094 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
4095 (CFLAGS-noinl-tester.c): Likewise.
4096 (CFLAGS-tst-strlen.c): Likewise.
4097 (CFLAGS-stratcliff.c): Likewise.
4098 (CFLAGS-test-ffs.c): Likewise.
4099 (CFLAGS-tst-inlcall.c): Likewise.
4100 (CFLAGS-tst-xbzero-opt.c): Likewise.
4101 (CFLAGS-memcpy.c): Likewise.
4102 (CFLAGS-wordcopy.c): Likewise.
4104 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4106 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
4107 Store r15 on stack and add cfi rule.
4108 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4111 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
4114 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
4117 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
4119 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4120 Add s_sinf-sse2 and s_sinf-fma.
4121 (CFLAGS-s_sinf-fma.c): New.
4122 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
4123 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
4124 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
4126 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
4128 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
4130 2017-12-07 Joseph Myers <joseph@codesourcery.com>
4133 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
4134 part of result to imaginary part of argument if it is zero and the
4135 real part of the argument is not finite.
4136 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
4137 of result to real part of argument if it is zero and the imaginary
4138 part of the argument is not finite.
4140 2017-12-07 Mike FABIAN <mfabian@redhat.com>
4143 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
4144 and to the list of locales to be built for testing.
4145 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
4146 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
4147 and build the collation rules upon that.
4149 2017-12-07 Joseph Myers <joseph@codesourcery.com>
4151 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
4152 * manual/math.texi (Mathematics): Document support for _Float32.
4153 * math/Makefile (test-types): Add float32.
4154 * math/Versions (GLIBC_2.27): Add _Float32 functions.
4155 * stdlib/Versions (GLIBC_2.27): Likewise.
4156 * wcsmbs/Versions (GLIBC_2.27): Likewise.
4157 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
4158 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4159 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4160 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4161 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4162 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4163 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4164 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4165 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4166 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4167 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4168 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4169 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4170 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4171 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4172 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4173 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4174 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4175 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4176 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4177 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4179 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4180 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4181 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4182 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4183 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4201 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4202 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4203 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4204 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4205 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4206 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4207 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4208 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4209 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4210 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4211 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
4213 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4215 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4217 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4219 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4220 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4221 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4222 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4223 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4224 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4225 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4226 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4228 2017-12-06 Joseph Myers <joseph@codesourcery.com>
4230 * stdlib/strtof.c: Include <bits/floatn.h>
4231 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
4232 and later undefine as macro. Define as weak alias if
4234 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
4235 and later undefine as macro. Define as weak alias if
4237 * stdlib/strtof_l.c: Include <bits/floatn.h>
4238 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
4239 and later undefine as macro. Define as weak alias if
4241 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
4242 and later undefine as macro. Define as weak alias if
4245 * stdlib/strfromf.c: Include <bits/floatn.h>.
4246 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
4247 and later undefine as macro and define as weak alias.
4249 * math/test-float32.h: New file.
4251 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
4252 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
4253 (libm_alias_float_other_r): Create f32 alias.
4254 (libm_alias_float_r): Use semicolon before call to
4255 libm_alias_float_other_r.
4257 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
4258 second argument to libm_alias_float_other.
4259 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
4260 second argument to libm_alias_float_other.
4261 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
4262 argument to libm_alias_float_other.
4265 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
4266 real part of result for argument 0 + i * NaN.
4267 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
4268 results for tests of 0 + i * NaN.
4270 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4272 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4274 2017-12-06 David S. Miller <davem@davemloft.net>
4276 * sysdeps/sparc/fpu/libm-test-ulps: Update
4277 exp_{downward,towardzero,upward} ulps.
4279 2017-12-06 Joseph Myers <joseph@codesourcery.com>
4281 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
4284 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
4286 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
4288 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
4290 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
4293 2017-12-06 Mike FABIAN <mfabian@redhat.com>
4296 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
4297 and to the list of locales to be built for testing.
4298 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
4299 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
4300 and build the collation rules upon that.
4302 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4304 * NEWS: Add sinf to list of optimized functions.
4306 2017-12-06 Joseph Myers <joseph@codesourcery.com>
4308 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
4309 (__HAVE_FLOAT32X): Likewise.
4310 * manual/math.texi (Mathematics): Document support for _Float64
4312 * math/Makefile (test-types): Add float64 and float32x.
4313 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
4315 * stdlib/Versions (GLIBC_2.27): Likewise.
4316 * wcsmbs/Versions (GLIBC_2.27): Likewise.
4317 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
4318 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4319 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4320 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4321 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4322 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4323 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4324 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4325 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4326 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4327 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4328 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4329 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4330 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4331 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4332 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4333 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4334 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4335 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4336 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4337 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4339 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4340 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4341 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4342 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4343 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4360 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4361 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4362 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4363 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4364 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4365 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4366 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4367 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4368 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4369 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4370 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
4372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4374 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4376 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4378 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4379 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4380 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4381 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4382 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4383 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4384 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4385 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4387 2017-12-05 Joseph Myers <joseph@codesourcery.com>
4389 * bits/floatn-common.h: Include <bits/long-double.h>.
4390 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
4391 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
4392 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
4393 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
4394 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
4395 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
4396 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
4397 (__builtin_huge_valf64): Use __builtin_huge_vall.
4398 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
4399 (__builtin_inff64): Use __builtin_infl.
4400 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
4401 (__builtin_nanf64): Use __builtin_nanl.
4402 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
4403 (__builtin_nansf64): Use __builtin_nansl.
4405 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
4406 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4407 Carlos O'Donnell <carlos@redhat.com>
4409 * elf/dl-tunables.list: Add elision parameters.
4410 * manual/tunables.texi: Add entries about elision tunable.
4411 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
4412 Add callback functions to dynamically enable/disable elision.
4413 Add multiple callbacks functions to set elision parameters.
4414 Deleted __libc_enable_secure check.
4415 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
4416 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
4417 * configure: Regenerated.
4418 * configure.ac: Option enable_lock_elision was deleted.
4419 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
4420 * config.make.in: Remove references to enable_lock_elision.
4421 * manual/install.texi: Elision configure option was removed.
4422 * INSTALL: Regenerated to remove enable_lock_elision.
4424 Disable elision so it can verify error case for destroying a mutex.
4425 * sysdeps/powerpc/nptl/elide.h:
4426 Cleanup ENABLE_LOCK_ELISION check.
4427 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
4428 * sysdeps/s390/configure: Regenerated.
4429 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
4430 * nptl/tst-mutex8.c:
4431 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
4432 * sysdeps/powerpc/powerpc32/sysdep.h:
4433 Deleted all ENABLE_LOCK_ELISION checks.
4434 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4435 * sysdeps/powerpc/sysdep.h: Likewise.
4436 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
4437 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
4438 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4439 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4440 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4441 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
4442 enable-lock-elision.
4444 2017-12-05 Joseph Myers <joseph@codesourcery.com>
4446 * stdlib/strtod.c: Include <bits/floatn.h>.
4447 (BUILD_DOUBLE): New macro.
4448 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
4449 (strtof64): Define and later undefine as macro. Define as weak
4450 alias if [!USE_WIDE_CHAR].
4451 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
4452 (wcstof64): Define and later undefine as macro. Define as weak
4453 alias if [USE_WIDE_CHAR].
4454 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
4455 (strtof32x): Define and later undefine as macro. Define as weak
4456 alias if [!USE_WIDE_CHAR].
4457 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
4458 (wcstof32x): Define and later undefine as macro. Define as weak
4459 alias if [USE_WIDE_CHAR].
4460 * stdlib/strtod_l.c: Include <bits/floatn.h>.
4461 (BUILD_DOUBLE): New macro.
4462 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
4463 (strtof64_l): Define and later undefine as macro. Define as weak
4464 alias if [!USE_WIDE_CHAR].
4465 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
4466 (wcstof64_l): Define and later undefine as macro. Define as weak
4467 alias if [USE_WIDE_CHAR].
4468 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
4469 (strtof32x_l): Define and later undefine as macro. Define as weak
4470 alias if [!USE_WIDE_CHAR].
4471 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
4472 (wcstof32x_l): Define and later undefine as macro. Define as weak
4473 alias if [USE_WIDE_CHAR].
4475 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4477 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
4478 (reduced): Use ones as double instead of integer.
4480 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
4482 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
4484 2017-12-05 Joseph Myers <joseph@codesourcery.com>
4486 * stdlib/strfromd.c: Include <bits/floatn.h>.
4487 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
4488 and later undefine as macro and define as weak alias.
4489 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
4492 * math/test-float32x.h: New file.
4493 * math/test-float64.h: Likewise.
4495 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
4496 (libm_alias_double_other_r_f64): New macro.
4497 (libm_alias_double_other_r_f32x): Likewise.
4498 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
4499 libm_alias_double_other_r_f32x.
4500 (libm_alias_double_r): Use semicolon before call to
4501 libm_alias_double_other_r.
4502 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
4504 (libm_alias_double_other_r_f64): New macro.
4505 (libm_alias_double_other_r_f32x): Likewise.
4506 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
4507 libm_alias_double_other_r_f32x.
4509 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
4511 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
4513 (SINF_FUNC): Likewise. Replace floor with simple casts.
4515 2017-12-05 Mike FABIAN <mfabian@redhat.com>
4518 * localedata/Makefile: Add et_EE.UTF-8 to test-input
4519 and to the list of locales to be built for testing.
4520 * localedata/et_EE.UTF-8.in: New file for testing the collation.
4521 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
4522 and build the collation rules upon that.
4524 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
4526 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
4527 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
4528 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
4529 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
4530 instead of __insn__xxx.
4531 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
4532 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
4533 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
4534 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
4535 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
4536 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
4538 2017-12-05 Florian Weimer <fweimer@redhat.com>
4540 Linux: Implement interfaces for memory protection keys
4541 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
4543 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
4544 * support/xunistd.h (xsysconf): Declare.
4545 * support/xraise.c: New file.
4546 * support/xsigaction.c: Likewise.
4547 * support/xsignal.c: Likewise.
4548 * support/xsysconf.c: Likewise.
4549 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
4550 pkey_set, pkey_get, pkey_mprotect.
4551 [misc] (tests): Add tst-pkey.
4552 (tst-pkey): Link with -lpthread.
4553 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
4554 pkey_free, pkey_set, pkey_get, pkey_mprotect.
4555 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
4556 (PKEY_DISABLE_WRITE): Define.
4557 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
4559 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
4561 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
4562 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
4563 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
4564 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
4566 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
4567 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
4568 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
4569 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
4570 * sysdeps/unix/sysv/linux/**.abilist: Update.
4572 2017-12-05 Florian Weimer <fweimer@redhat.com>
4574 * support/tst-test_compare.c (subprocess): Use long long instead
4575 of long argument for consistent type width across 32-bit and
4576 64-bit architectures.
4577 (do_test): Adjust expected output.
4579 2017-12-05 Joseph Myers <joseph@codesourcery.com>
4581 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
4582 (cosf): Define using libm_alias_float.
4583 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
4584 (fabsf): Define using libm_alias_float.
4585 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
4586 (fmaf): Define using libm_alias_float.
4587 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
4588 (rintf): Define using libm_alias_float.
4589 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
4590 (sinf): Define using libm_alias_float.
4591 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
4592 <libm-alias-float.h>.
4593 (modff): Define using libm_alias_float.
4594 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
4595 <libm-alias-float.h>.
4596 (logbf): Define using libm_alias_float.
4597 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
4598 <libm-alias-float.h>.
4599 (ceilf): Define using libm_alias_float.
4600 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
4601 <libm-alias-float.h>.
4602 (copysignf): Define using libm_alias_float.
4603 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
4604 <libm-alias-float.h>.
4605 (floorf): Define using libm_alias_float.
4606 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
4607 <libm-alias-float.h>.
4608 (llrintf): Define using libm_alias_float.
4609 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
4610 <libm-alias-float.h>.
4611 (llroundf): Define using libm_alias_float.
4612 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
4613 <libm-alias-float.h>.
4614 (lrintf): Define using libm_alias_float.
4615 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
4616 <libm-alias-float.h>.
4617 (lroundf): Define using libm_alias_float.
4618 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
4619 <libm-alias-float.h>.
4620 (nearbyintf): Define using libm_alias_float.
4621 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
4622 <libm-alias-float.h>.
4623 (rintf): Define using libm_alias_float.
4624 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
4625 <libm-alias-float.h>.
4626 (roundf): Define using libm_alias_float.
4627 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
4628 <libm-alias-float.h>.
4629 (truncf): Define using libm_alias_float.
4630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
4631 Include <libm-alias-float.h>.
4632 (ceilf): Define using libm_alias_float.
4633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
4634 Include <libm-alias-float.h>.
4635 (copysignf): Define using libm_alias_float.
4636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
4637 Include <libm-alias-float.h>.
4638 (floorf): Define using libm_alias_float.
4639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
4640 Include <libm-alias-float.h>.
4641 (llrintf): Define using libm_alias_float.
4642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
4643 Include <libm-alias-float.h>.
4644 (llroundf): Define using libm_alias_float.
4645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
4646 Include <libm-alias-float.h>.
4647 (logbf): Define using libm_alias_float.
4648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
4649 Include <libm-alias-float.h>.
4650 (lrintf): Define using libm_alias_float.
4651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
4652 Include <libm-alias-float.h>.
4653 (lroundf): Define using libm_alias_float.
4654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
4655 Include <libm-alias-float.h>.
4656 (modff): Define using libm_alias_float.
4657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
4658 Include <libm-alias-float.h>.
4659 (roundf): Define using libm_alias_float.
4660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
4661 Include <libm-alias-float.h>.
4662 (truncf): Define using libm_alias_float.
4663 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
4664 <libm-alias-float.h>.
4665 (llrintf): Define using libm_alias_float.
4666 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
4667 <libm-alias-float.h>.
4668 (llroundf): Define using libm_alias_float.
4669 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
4670 <libm-alias-float.h>.
4671 (ceilf): Define using libm_alias_float.
4672 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
4673 <libm-alias-float.h>.
4674 (floorf): Define using libm_alias_float.
4675 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
4676 <libm-alias-float.h>.
4677 (llroundf): Define using libm_alias_float.
4678 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
4679 <libm-alias-float.h>.
4680 (lroundf): Define using libm_alias_float.
4681 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
4682 <libm-alias-float.h>.
4683 (roundf): Define using libm_alias_float.
4684 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
4685 <libm-alias-float.h>.
4686 (truncf): Define using libm_alias_float.
4687 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
4688 <libm-alias-float.h>.
4689 (copysignf): Define using libm_alias_float.
4690 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
4691 <libm-alias-float.h>.
4692 (llrintf): Define using libm_alias_float.
4693 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
4694 <libm-alias-float.h>.
4695 (llroundf): Define using libm_alias_float.
4696 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
4697 <libm-alias-float.h>.
4698 (lrintf): Define using libm_alias_float.
4699 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
4700 <libm-alias-float.h>.
4701 (lroundf): Define using libm_alias_float.
4702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
4703 <libm-alias-float.h>.
4704 (ceilf): Define using libm_alias_float.
4705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
4706 <libm-alias-float.h>.
4707 (copysignf): Define using libm_alias_float.
4708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
4709 <libm-alias-float.h>.
4710 (cosf): Define using libm_alias_float.
4711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
4712 <libm-alias-float.h>.
4713 (floorf): Define using libm_alias_float.
4714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
4715 <libm-alias-float.h>.
4716 (llrintf): Define using libm_alias_float.
4717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
4718 <libm-alias-float.h>.
4719 (llroundf): Define using libm_alias_float.
4720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
4721 <libm-alias-float.h>.
4722 (logbf): Define using libm_alias_float.
4723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
4724 <libm-alias-float.h>.
4725 (modff): Define using libm_alias_float.
4726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
4727 <libm-alias-float.h>.
4728 (roundf): Define using libm_alias_float.
4729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
4730 <libm-alias-float.h>.
4731 (sinf): Define using libm_alias_float.
4732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
4733 <libm-alias-float.h>.
4734 (truncf): Define using libm_alias_float.
4735 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
4736 <libm-alias-float.h>.
4737 (ceilf): Define using libm_alias_float.
4738 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
4739 <libm-alias-float.h>.
4740 (copysignf): Define using libm_alias_float.
4741 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
4742 <libm-alias-float.h>.
4743 (floorf): Define using libm_alias_float.
4744 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
4745 <libm-alias-float.h>.
4746 (llrintf): Define using libm_alias_float.
4747 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
4748 <libm-alias-float.h>.
4749 (llroundf): Define using libm_alias_float.
4750 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
4751 <libm-alias-float.h>.
4752 (nearbyintf): Define using libm_alias_float.
4753 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
4754 <libm-alias-float.h>.
4755 (rintf): Define using libm_alias_float.
4756 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
4757 <libm-alias-float.h>.
4758 (roundf): Define using libm_alias_float.
4759 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
4760 <libm-alias-float.h>.
4761 (truncf): Define using libm_alias_float.
4762 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
4763 <libm-alias-float.h>.
4764 (ceilf): Define using libm_alias_float.
4765 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
4766 <libm-alias-float.h>.
4767 (floorf): Define using libm_alias_float.
4768 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
4769 <libm-alias-float.h>.
4770 (llroundf): Define using libm_alias_float.
4771 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
4772 <libm-alias-float.h>.
4773 (roundf): Define using libm_alias_float.
4774 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
4775 <libm-alias-float.h>.
4776 (truncf): Define using libm_alias_float.
4777 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
4778 <libm-alias-float.h>.
4779 (copysignf): Define using libm_alias_float.
4780 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
4781 <libm-alias-float.h>.
4782 (llrintf): Define using libm_alias_float.
4783 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
4784 <libm-alias-float.h>.
4785 (llroundf): Define using libm_alias_float.
4786 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
4787 <libm-alias-float.h>.
4788 (cosf): Define using libm_alias_float.
4789 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
4790 <libm-alias-float.h>.
4791 (llrintf): Define using libm_alias_float.
4792 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
4793 <libm-alias-float.h>.
4794 (llroundf): Define using libm_alias_float.
4795 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
4796 <libm-alias-float.h>.
4797 (sinf): Define using libm_alias_float.
4799 2017-12-04 Florian Weimer <fweimer@redhat.com>
4801 * support/check.h (TEST_COMPARE): Define.
4802 (support_test_compare_failure): Declare.
4803 * support/Makefile (libsupport-routines): Add
4804 support_test_compare_failure.
4805 (tests): Add tst-test_compare.
4806 * support /support_test_compare_failure.c: New file.
4807 * support/tst-test_compare.c: Likewise.
4809 2017-12-04 Mike FABIAN <mfabian@redhat.com>
4812 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
4813 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
4814 available, this rewrite of the collation rules does reproduce
4815 the test file in the same order.
4817 2017-12-04 Mike FABIAN <mfabian@redhat.com>
4820 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
4821 digraphs in the month and day names. Using single code points for
4822 digraphs is deprecated. While there are dedicated Unicode
4823 codepoints, for the digraphs, these are included for backwards
4824 compatibility and modern texts use a sequence of Basic Latin
4825 characters. See: https://www.unicode.org/faq/ligature_digraph.html
4826 This makes the month and day names agree exactly with CLDR now,
4827 CLDR does not use the single code points for the digraphs either.
4829 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
4831 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
4833 2017-12-04 Joseph Myers <joseph@codesourcery.com>
4835 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
4838 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
4840 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
4841 Define only for libc.so.
4843 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
4845 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4846 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
4847 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
4848 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
4849 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4851 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4854 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
4856 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
4859 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
4860 PREINIT_FUNCTION_WEAK is nonzero.
4861 (gmon_initializer): New function. Put procedure label for it in
4862 .init_array section.
4863 (_init): Don't call PREINIT_FUNCTION.
4864 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
4865 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
4866 value when map argument is null.
4868 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
4869 depi instruction from PIC pc-relative sequence.
4870 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
4871 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
4872 (elf_machine_load_address): Likewise.
4873 (elf_machine_runtime_setup): Likewise.
4875 2017-12-02 Joseph Myers <joseph@codesourcery.com>
4877 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
4878 <libm-alias-double.h>.
4879 (logb): Define using libm_alias_double.
4880 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
4881 <libm-alias-double.h>.
4882 (copysign): Define using libm_alias_double.
4883 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
4884 <libm-alias-double.h>.
4885 (llrint): Define using libm_alias_double.
4886 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
4887 <libm-alias-double.h>.
4888 (llround): Define using libm_alias_double.
4889 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
4890 <libm-alias-double.h>.
4891 (lrint): Define using libm_alias_double.
4892 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
4893 <libm-alias-double.h>.
4894 (lround): Define using libm_alias_double.
4895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4896 Include <libm-alias-double.h>.
4897 (copysign): Define using libm_alias_double.
4898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
4899 Include <libm-alias-double.h>.
4900 (llrint): Define using libm_alias_double.
4901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
4902 Include <libm-alias-double.h>.
4903 (llround): Define using libm_alias_double.
4904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
4905 <libm-alias-double.h>.
4906 (logb): Define using libm_alias_double.
4907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
4908 Include <libm-alias-double.h>.
4909 (lrint): Define using libm_alias_double.
4910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
4911 Include <libm-alias-double.h>.
4912 (lround): Define using libm_alias_double.
4913 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
4914 <libm-alias-double.h>.
4915 (llrint): Define using libm_alias_double.
4916 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
4917 <libm-alias-double.h>.
4918 (llround): Define using libm_alias_double.
4919 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
4920 <libm-alias-double.h>.
4921 (llround): Define using libm_alias_double.
4922 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
4923 <libm-alias-double.h>.
4924 (lround): Define using libm_alias_double.
4925 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
4926 <libm-alias-double.h>.
4927 (copysign): Define using libm_alias_double.
4928 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
4929 <libm-alias-double.h>.
4930 (llrint): Define using libm_alias_double.
4931 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
4932 <libm-alias-double.h>.
4933 (llround): Define using libm_alias_double.
4934 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
4935 <libm-alias-double.h>.
4936 (lrint): Define using libm_alias_double.
4937 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
4938 <libm-alias-double.h>.
4939 (lround): Define using libm_alias_double.
4940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
4941 <libm-alias-double.h>.
4942 (copysign): Define using libm_alias_double.
4943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
4944 <libm-alias-double.h>.
4945 (llrint): Define using libm_alias_double.
4947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
4948 <libm-alias-double.h>.
4949 (llround): Define using libm_alias_double.
4951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
4952 <libm-alias-double.h>.
4953 (logb): Define using libm_alias_double.
4954 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
4955 <libm-alias-double.h>.
4956 (copysign): Define using libm_alias_double.
4957 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
4958 <libm-alias-double.h>.
4959 (llrint): Define using libm_alias_double.
4961 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
4962 <libm-alias-double.h>.
4963 (llround): Define using libm_alias_double.
4965 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
4966 <libm-alias-double.h>.
4967 (llround): Define using libm_alias_double.
4969 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
4970 <libm-alias-double.h>.
4971 (copysign): Define using libm_alias_double.
4972 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
4973 <libm-alias-double.h>.
4974 (llrint): Define using libm_alias_double.
4976 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
4977 <libm-alias-double.h>.
4978 (llround): Define using libm_alias_double.
4980 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
4981 <libm-alias-double.h>.
4982 (llrint): Define using libm_alias_double.
4984 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
4985 <libm-alias-double.h>.
4986 (llround): Define using libm_alias_double.
4989 2017-12-01 Joseph Myers <joseph@codesourcery.com>
4991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4992 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
4993 compat symbol based on llround.
4995 * sysdeps/powerpc/power7/fpu/s_logb.c
4996 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
4997 symbol based on __logb, not on logb.
4998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
4999 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
5000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
5001 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
5003 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
5004 (rint): Define using libm_alias_double.
5005 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
5006 <libm-alias-double.h>.
5007 (modf): Define using libm_alias_double.
5008 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
5009 <libm-alias-double.h>.
5010 (ceil): Define using libm_alias_double.
5011 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
5012 <libm-alias-double.h>.
5013 (floor): Define using libm_alias_double.
5014 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
5015 <libm-alias-double.h>.
5016 (nearbyint): Define using libm_alias_double.
5017 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
5018 <libm-alias-double.h>.
5019 (rint): Define using libm_alias_double.
5020 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
5021 <libm-alias-double.h>.
5022 (round): Define using libm_alias_double.
5023 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
5024 <libm-alias-double.h>.
5025 (trunc): Define using libm_alias_double.
5026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
5027 <libm-alias-double.h>.
5028 (ceil): Define using libm_alias_double.
5029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
5030 Include <libm-alias-double.h>.
5031 (floor): Define using libm_alias_double.
5032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
5033 <libm-alias-double.h>.
5034 (modf): Define using libm_alias_double.
5035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
5036 Include <libm-alias-double.h>.
5037 (round): Define using libm_alias_double.
5038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
5039 Include <libm-alias-double.h>.
5040 (trunc): Define using libm_alias_double.
5041 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
5042 <libm-alias-double.h>.
5043 (ceil): Define using libm_alias_double.
5044 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
5045 <libm-alias-double.h>.
5046 (floor): Define using libm_alias_double.
5047 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
5048 <libm-alias-double.h>.
5049 (round): Define using libm_alias_double.
5050 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
5051 <libm-alias-double.h>.
5052 (trunc): Define using libm_alias_double.
5053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
5054 <libm-alias-double.h>.
5055 (ceil): Define using libm_alias_double.
5056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
5057 <libm-alias-double.h>.
5058 (floor): Define using libm_alias_double.
5059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
5060 <libm-alias-double.h>.
5061 (modf): Define using libm_alias_double.
5062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
5063 <libm-alias-double.h>.
5064 (round): Define using libm_alias_double.
5065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
5066 <libm-alias-double.h>.
5067 (trunc): Define using libm_alias_double.
5068 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
5069 <libm-alias-double.h>.
5070 (ceil): Define using libm_alias_double.
5071 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
5072 <libm-alias-double.h>.
5073 (floor): Define using libm_alias_double.
5074 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
5075 <libm-alias-double.h>.
5076 (nearbyint): Define using libm_alias_double.
5077 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
5078 <libm-alias-double.h>.
5079 (rint): Define using libm_alias_double.
5080 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
5081 <libm-alias-double.h>.
5082 (round): Define using libm_alias_double.
5083 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
5084 <libm-alias-double.h>.
5085 (trunc): Define using libm_alias_double.
5086 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
5087 <libm-alias-double.h>.
5088 (ceil): Define using libm_alias_double.
5089 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
5090 <libm-alias-double.h>.
5091 (floor): Define using libm_alias_double.
5092 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
5093 <libm-alias-double.h>.
5094 (round): Define using libm_alias_double.
5095 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
5096 <libm-alias-double.h>.
5097 (trunc): Define using libm_alias_double.
5099 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
5100 (fabs): Define using libm_alias_double.
5101 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
5102 (fma): Define using libm_alias_double.
5103 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
5104 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
5105 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
5106 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
5108 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5110 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
5112 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
5113 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
5114 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
5116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
5119 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
5121 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
5123 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5125 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
5126 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
5127 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
5128 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
5130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5131 (libm-sysdep_routines): Add s_nearbyintf-generic and
5132 s_nearbyint-generic.
5133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
5135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
5136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
5138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
5140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
5142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
5145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5146 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
5147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
5149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
5150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
5152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
5153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
5154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5157 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
5158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
5160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
5161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
5163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
5164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
5165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
5167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5168 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
5169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
5171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
5172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
5174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
5175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
5176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5179 (sysdep_calls): New rule.
5180 (sysdep_routines): Use sysdep_calls as base.
5181 (libm-sysdep_routines): Add generic rule for symbols shared with
5182 libc. Add s_copysign-generic and s_copysign-generic objects.
5183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
5185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
5186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
5188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
5189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
5190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
5192 2017-12-01 Mike FABIAN <mfabian@redhat.com>
5195 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
5196 the list of locales to be built for testing.
5197 * localedata/is_IS.UTF-8.in: New file.
5198 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
5201 2017-12-01 Joseph Myers <joseph@codesourcery.com>
5203 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
5204 <libm-alias-float.h>.
5205 (fabsf): Define using libm_alias_float.
5207 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
5209 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
5211 2017-11-30 Joseph Myers <joseph@codesourcery.com>
5213 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
5214 <libm-alias-float.h>.
5215 (fabsf): Define using libm_alias_float.
5216 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
5217 <libm-alias-float.h>.
5218 (lrintf): Define using libm_alias_float.
5219 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
5220 <libm-alias-float.h>.
5221 (rintf): Define using libm_alias_float.
5223 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
5224 <libm-alias-double.h>.
5225 (fabs): Define using libm_alias_double.
5226 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
5227 <libm-alias-double.h>.
5228 (lrint): Define using libm_alias_double.
5229 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
5230 <libm-alias-double.h>.
5231 (rint): Define using libm_alias_double.
5233 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
5234 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
5235 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
5236 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
5237 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
5238 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
5239 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
5240 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
5241 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
5242 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
5243 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
5244 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
5245 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
5246 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
5247 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
5248 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
5249 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
5250 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
5252 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
5253 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
5254 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
5256 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
5257 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
5258 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
5260 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
5261 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
5262 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
5264 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
5265 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
5266 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
5268 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
5269 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
5270 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
5272 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
5273 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
5274 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
5276 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
5277 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
5279 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
5280 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
5281 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
5283 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
5284 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
5285 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
5286 s_nearbyint_template.c.
5287 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
5288 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
5289 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
5290 s_remquo_template.c.
5291 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
5292 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
5293 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
5295 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
5296 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
5297 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
5299 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
5300 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
5301 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
5302 s_sincos_template.c.
5303 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
5304 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
5305 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
5307 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
5308 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
5309 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
5311 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
5312 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
5313 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
5315 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
5316 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
5317 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
5318 s_atan.c instead of including s_atan.c.
5319 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
5320 s_atanf.c instead of including s_atanf.c.
5321 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
5322 s_atanl.c instead of including s_atanl.c.
5323 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
5324 instead of s_atan.c.
5325 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
5326 instead of s_atanf.c.
5327 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
5328 instead of s_atanl.c.
5330 * scripts/update-copyrights: Do not handle intl/plural.c
5333 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
5336 * configure.ac (BISON): Require to be present.
5337 * configure: Regenerated.
5338 * intl/Makefile (generated): Add plural.c.
5339 [$(BISON) != no]: Make code unconditional.
5340 (plural.c): Change rule to $(objpfx)plural.c.
5341 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
5342 * intl/plural.c: Remove.
5343 * manual/install.texi (Tools for Compilation): Document bison as
5345 * INSTALL: Regenerated.
5347 2017-11-30 Joseph Myers <joseph@codesourcery.com>
5349 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
5350 <libm-alias-double.h>.
5351 (llrint): Define using libm_alias_double.
5352 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
5353 <libm-alias-float.h>.
5354 (llrintf): Define using libm_alias_float.
5355 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
5356 <libm-alias-ldouble.h>.
5357 (llrintl): Define using libm_alias_ldouble.
5359 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
5360 declare_mgen_alias instead of weak_alias.
5361 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
5362 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
5363 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
5365 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5367 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
5369 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
5370 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
5371 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
5373 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
5374 Add submul_1-generic.
5375 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
5376 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
5377 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
5379 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
5380 Add addmul_1-generic.
5381 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
5382 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
5383 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
5385 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
5387 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
5388 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
5389 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
5391 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
5393 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
5394 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
5395 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
5397 2017-11-30 Mike FABIAN <mfabian@redhat.com>
5399 According to CLDR, collation rules for Serbian and Bosnian
5400 should be the same as for Croatian.
5403 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
5404 and to the list of locales to be built for testing.
5405 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
5406 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
5407 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
5408 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
5410 2017-11-30 Mike FABIAN <mfabian@redhat.com>
5412 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
5413 to make test case pass.
5414 * localedata/hr_HR.UTF-8.in: Add more test strings.
5416 2017-11-30 Mike FABIAN <mfabian@redhat.com>
5418 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
5420 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
5422 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
5423 the list of locales to built for testing.
5424 * localedata/hr_HR.UTF-8.in: New file.
5426 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
5429 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
5431 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
5432 CLDR (except use ligatures for the digraphs, CLDR does not use
5433 the ligatures), add first_workday, some fixes in the date and time
5435 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
5437 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
5438 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
5439 Add int_p_cs_precedes and int_n_cs_precedes.
5440 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
5441 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
5443 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
5444 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
5446 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
5447 and lang_lib. Change postal_fmt.
5449 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
5451 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
5453 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
5454 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
5455 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
5456 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
5457 * sysdeps/generic/setjmpP.h: New file.
5458 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
5459 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
5460 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
5461 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
5462 Add jmp_buf-ssp.sym.
5463 (tests): Add tst-saved_mask-1.
5465 2017-11-30 Arjun Shankar <arjun@redhat.com>
5469 * malloc/malloc.c (__libc_malloc): Use checked_request2size
5470 instead of request2size.
5472 2017-11-30 Joseph Myers <joseph@codesourcery.com>
5474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
5475 (__lllrint): Remove alias.
5476 (lllrint): Likewise.
5477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
5478 (__lllrintf): Likewise.
5479 (lllrintf): Likewise.
5481 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
5482 <libm-alias-float.h>.
5483 (copysignf): Define using libm_alias_float.
5484 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
5485 <libm-alias-float.h>.
5486 (fabsf): Define using libm_alias_float.
5487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5488 Include <libm-alias-float.h>.
5489 (copysignf): Define using libm_alias_float.
5490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
5491 <libm-alias-float.h>.
5492 (fabsf): Define using libm_alias_float.
5493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
5494 <libm-alias-float.h>.
5495 (fdimf): Define using libm_alias_float.
5496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
5497 <libm-alias-float.h>.
5498 (fmaf): Define using libm_alias_float.
5499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
5500 <libm-alias-float.h>.
5501 (llrintf): Define using libm_alias_float.
5502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
5503 Include <libm-alias-float.h>.
5504 (nearbyintf): Define using libm_alias_float.
5505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
5506 <libm-alias-float.h>.
5507 (rintf): Define using libm_alias_float.
5508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
5509 <libm-alias-float.h>.
5510 (llrintf): Define using libm_alias_float.
5511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
5512 <libm-alias-float.h>.
5513 (lrintf): Define using libm_alias_float.
5514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
5515 <libm-alias-float.h>.
5516 (nearbyintf): Define using libm_alias_float.
5517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
5518 <libm-alias-float.h>.
5519 (rintf): Define using libm_alias_float.
5520 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
5521 <libm-alias-float.h>.
5522 (ceilf): Define using libm_alias_float.
5523 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
5524 <libm-alias-float.h>.
5525 (floorf): Define using libm_alias_float.
5526 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
5527 <libm-alias-float.h>.
5528 (fmaf): Define using libm_alias_float.
5529 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
5530 <libm-alias-float.h>.
5531 (lrintf): Define using libm_alias_float.
5532 (llrintf): Likewise.
5533 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
5534 <libm-alias-float.h>.
5535 (nearbyintf): Define using libm_alias_float.
5536 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
5537 <libm-alias-float.h>.
5538 (rintf): Define using libm_alias_float.
5539 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
5540 <libm-alias-float.h>.
5541 (truncf): Define using libm_alias_float.
5542 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
5543 <libm-alias-float.h>.
5544 (copysignf): Define using libm_alias_float.
5545 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
5546 <libm-alias-float.h>.
5547 (fabsf): Define using libm_alias_float.
5548 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
5549 <libm-alias-float.h>.
5550 (lrintf): Define using libm_alias_float.
5551 (llrintf): Likewise.
5552 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
5553 <libm-alias-float.h>.
5554 (nearbyintf): Define using libm_alias_float.
5555 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
5556 <libm-alias-float.h>.
5557 (rintf): Define using libm_alias_float.
5559 2017-11-29 Joseph Myers <joseph@codesourcery.com>
5561 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
5562 <libm-alias-double.h>.
5563 (copysign): Define using libm_alias_double.
5564 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
5565 <libm-alias-double.h>.
5566 (fabs): Define using libm_alias_double.
5567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
5568 Include <libm-alias-double.h>.
5569 (copysign): Define using libm_alias_double.
5570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
5571 <libm-alias-double.h>.
5572 (fabs): Define using libm_alias_double.
5573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
5574 <libm-alias-double.h>.
5575 (fdim): Define using libm_alias_double.
5576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
5577 <libm-alias-double.h>.
5578 (fma): Define using libm_alias_double.
5579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
5580 <libm-alias-double.h>.
5581 (llrint): Define using libm_alias_double.
5582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
5583 Include <libm-alias-double.h>.
5584 (nearbyint): Define using libm_alias_double.
5585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
5586 <libm-alias-double.h>.
5587 (rint): Define using libm_alias_double.
5588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
5589 <libm-alias-double.h>.
5590 (fabs): Define using libm_alias_double.
5591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
5592 <libm-alias-double.h>.
5593 (llrint): Define using libm_alias_double.
5594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
5595 <libm-alias-double.h>.
5596 (nearbyint): Define using libm_alias_double.
5597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
5598 <libm-alias-double.h>.
5599 (rint): Define using libm_alias_double.
5600 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
5601 <libm-alias-double.h>.
5602 (ceil): Define using libm_alias_double.
5603 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
5604 <libm-alias-double.h>.
5605 (floor): Define using libm_alias_double.
5606 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
5607 <libm-alias-double.h>.
5608 (fma): Define using libm_alias_double.
5609 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
5610 <libm-alias-double.h>.
5611 (lrint): Define using libm_alias_double.
5613 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
5614 <libm-alias-double.h>.
5615 (nearbyint): Define using libm_alias_double.
5616 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
5617 <libm-alias-double.h>.
5618 (rint): Define using libm_alias_double.
5619 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
5620 <libm-alias-double.h>.
5621 (trunc): Define using libm_alias_double.
5622 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
5623 <libm-alias-double.h>.
5624 (copysign): Define using libm_alias_double.
5625 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
5626 <libm-alias-double.h>.
5627 (fabs): Define using libm_alias_double.
5628 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
5629 <libm-alias-double.h>.
5630 (lrint): Define using libm_alias_double.
5632 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
5633 <libm-alias-double.h>.
5634 (nearbyint): Define using libm_alias_double.
5635 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
5636 <libm-alias-double.h>.
5637 (rint): Define using libm_alias_double.
5640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
5642 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
5644 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
5645 SPARC --disable-multi-arch glibc variants.
5647 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
5648 <libm-alias-float.h>.
5649 (exp2f): Define using libm_alias_float, or libm_alias_float_other
5651 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
5652 <libm-alias-float.h>.
5653 (exp2f): Define using libm_alias_float, or libm_alias_float_other
5655 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
5656 <libm-alias-float.h>.
5657 (exp2f): Define using libm_alias_float, or libm_alias_float_other
5659 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
5660 <libm-alias-float.h>.
5661 (exp2f): Define using libm_alias_float, or libm_alias_float_other
5663 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
5664 <libm-alias-float.h>.
5665 (exp2f): Define using libm_alias_float, or libm_alias_float_other
5667 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
5668 <libm-alias-float.h>.
5669 (ceilf): Define using libm_alias_float.
5670 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
5671 <libm-alias-float.h>.
5672 (floorf): Define using libm_alias_float.
5673 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
5674 <libm-alias-float.h>.
5675 (fmaf): Define using libm_alias_float.
5676 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
5677 <libm-alias-float.h>.
5678 (nearbyintf): Define using libm_alias_float.
5679 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
5680 <libm-alias-float.h>.
5681 (rintf): Define using libm_alias_float.
5682 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
5683 <libm-alias-float.h>.
5684 (truncf): Define using libm_alias_float.
5685 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
5686 (copysignf): Define using libm_alias_float.
5687 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
5688 (cosf): Define using libm_alias_float.
5689 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
5690 (fabsf): Define using libm_alias_float.
5691 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
5692 (fmaxf): Define using libm_alias_float.
5693 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
5694 (fminf): Define using libm_alias_float.
5695 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
5696 (llrintf): Define using libm_alias_float.
5697 [!__ILP32__] (lrintf): Likewise.
5698 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
5699 (sincosf): Define using libm_alias_float.
5700 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
5701 (sinf): Define using libm_alias_float.
5702 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
5703 (lrintf): Define using libm_alias_float.
5705 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
5706 <libm-alias-double.h>.
5707 (atan): Define using libm_alias_double.
5708 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
5709 <libm-alias-double.h>.
5710 (ceil): Define using libm_alias_double.
5711 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
5712 <libm-alias-double.h>.
5713 (floor): Define using libm_alias_double.
5714 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
5715 <libm-alias-double.h>.
5716 (fma): Define using libm_alias_double.
5717 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
5718 <libm-alias-double.h>.
5719 (nearbyint): Define using libm_alias_double.
5720 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
5721 <libm-alias-double.h>.
5722 (rint): Define using libm_alias_double.
5723 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
5724 <libm-alias-double.h>.
5725 (sin): Define using libm_alias_double.
5727 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
5728 <libm-alias-double.h>.
5729 (tan): Define using libm_alias_double.
5730 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
5731 <libm-alias-double.h>.
5732 (trunc): Define using libm_alias_double.
5733 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
5734 (copysign): Define using libm_alias_double.
5735 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
5736 (fabs): Define using libm_alias_double.
5737 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
5738 (fmax): Define using libm_alias_double.
5739 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
5740 (fmin): Define using libm_alias_double.
5741 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
5742 (llrint): Define using libm_alias_double.
5743 [!__ILP32__] (lrint): Likewise.
5744 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
5745 (lrint): Define using libm_alias_double.
5747 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5749 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
5750 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
5752 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
5753 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
5754 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
5755 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
5756 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
5757 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5759 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
5760 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
5762 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
5763 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
5764 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
5765 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
5766 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
5767 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5769 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
5770 (libm-sysdep_routines): Add s_nearbyint-generic and
5771 s_nearbyintf-generic objects.
5772 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
5773 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
5774 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
5775 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
5776 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
5777 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
5779 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
5780 Add s_finitef-generic and s_finite-generic objects.
5781 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
5782 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
5783 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
5784 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
5785 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
5786 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
5788 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
5789 Add s_isinff-generic and s_isinf-generic objects.
5790 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
5791 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
5792 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
5793 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
5794 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
5795 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5797 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
5798 Add s_isnanf-generic and s_isnan-generic objects.
5799 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
5800 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
5801 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
5802 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
5803 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
5804 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5806 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
5808 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
5810 (sysdep_routines): Use sysdep_calls as base.
5811 (libm-sysdep_routines): Add generic rule for symbols shared with
5812 libc. Add s_signbit-generic and s_signbitf-generic objects.
5813 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
5814 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
5815 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
5816 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
5817 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
5818 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5820 2017-11-29 Joseph Myers <joseph@codesourcery.com>
5822 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
5823 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
5824 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
5825 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
5826 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
5827 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
5828 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
5829 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
5830 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
5831 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
5832 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
5833 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
5834 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
5836 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
5837 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
5839 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
5840 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
5841 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
5842 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
5843 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
5844 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
5845 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
5846 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
5847 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
5848 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
5850 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
5852 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
5853 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
5854 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
5855 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
5856 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
5857 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
5858 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
5859 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
5860 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
5861 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
5862 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
5863 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
5864 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
5865 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
5866 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
5867 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
5868 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
5869 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
5870 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
5872 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
5873 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
5874 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
5875 * sysdeps/ia64/fpu/w_lgammaf_main.c
5876 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
5877 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
5879 2017-11-28 Mike FABIAN <mfabian@redhat.com>
5880 Alexandre Oliva <aoliva@redhat.com>
5883 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
5884 * localedata/fr_CA.UTF-8.in: New file with test data for backward
5886 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
5888 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
5889 * localedata/locales/de_DE (LC_COLLATE): Likewise.
5890 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
5891 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
5892 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
5893 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
5894 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
5895 instead of “ifdef DIACRIT_BACKWARD”.
5897 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5899 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
5900 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
5901 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
5902 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
5903 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
5904 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
5905 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
5906 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
5907 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
5908 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
5909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
5910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
5911 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5912 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5913 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
5914 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
5915 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
5916 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
5917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5918 ($(have-as-vis3) == yes): Remove conditional.
5919 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
5921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
5923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
5925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
5927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
5929 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
5930 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
5931 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
5932 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
5933 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
5934 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
5935 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
5936 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
5938 2017-11-29 Joseph Myers <joseph@codesourcery.com>
5940 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
5941 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
5942 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
5943 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
5944 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
5945 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
5946 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
5947 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
5948 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
5949 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
5950 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
5951 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
5952 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
5953 libm_alias_double_r.
5954 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
5956 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
5957 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
5958 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
5959 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
5960 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
5961 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
5962 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
5963 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
5964 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
5965 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
5966 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
5968 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
5970 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
5971 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
5972 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
5973 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
5974 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
5975 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
5976 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
5977 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
5978 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
5979 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
5980 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
5981 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
5982 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
5983 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
5984 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
5985 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
5986 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
5987 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
5989 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
5990 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
5991 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
5992 * sysdeps/ia64/fpu/w_lgamma_main.c
5993 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
5994 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
5996 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
5998 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
5999 address of $global$ into %dp register earlier. Use pc-relative
6000 instruction sequence for PIC case.
6002 2017-11-28 Joseph Myers <joseph@codesourcery.com>
6004 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
6005 (asinhf): Define using libm_alias_float.
6006 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
6007 (atanf): Define using libm_alias_float.
6008 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
6009 (cbrtf): Define using libm_alias_float.
6010 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
6011 (ceilf): Define using libm_alias_float.
6012 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
6013 (copysignf): Define using libm_alias_float.
6014 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
6015 (expm1f): Define using libm_alias_float.
6016 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
6017 (fabsf): Define using libm_alias_float.
6018 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
6019 (floorf): Define using libm_alias_float.
6020 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
6021 (fmaxf): Define using libm_alias_float.
6022 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
6023 (fminf): Define using libm_alias_float.
6024 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
6025 (frexpf): Define using libm_alias_float.
6026 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
6027 (llrintf): Define using libm_alias_float.
6028 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
6029 (logbf): Define using libm_alias_float.
6030 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
6031 (lrintf): Define using libm_alias_float.
6032 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
6033 (nearbyintf): Define using libm_alias_float.
6034 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
6035 (remquof): Define using libm_alias_float.
6036 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
6037 (rintf): Define using libm_alias_float.
6038 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
6039 (truncf): Define using libm_alias_float.
6040 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
6041 <libm-alias-float.h>.
6042 (exp2f): Define using libm_alias_float, or libm_alias_float_other
6044 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
6045 <libm-alias-float.h>.
6046 (expf): Define using libm_alias_float, or libm_alias_float_other
6048 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
6049 <libm-alias-float.h>.
6050 (log2f): Define using libm_alias_float, or libm_alias_float_other
6052 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
6053 <libm-alias-float.h>.
6054 (logf): Define using libm_alias_float, or libm_alias_float_other
6056 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
6057 <libm-alias-float.h>.
6058 (powf): Define using libm_alias_float, or libm_alias_float_other
6060 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
6061 <libm-alias-float.h>.
6062 (cosf): Define using libm_alias_float.
6063 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
6064 <libm-alias-float.h>.
6065 (sincosf): Define using libm_alias_float.
6066 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
6067 <libm-alias-float.h>.
6068 (sinf): Define using libm_alias_float.
6069 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
6070 (fmaxf): Define using libm_alias_float.
6071 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
6072 (fminf): Define using libm_alias_float.
6073 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
6074 <libm-alias-float.h>.
6075 (fmaf): Define using libm_alias_float.
6077 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
6078 (asinh): Define using libm_alias_double.
6079 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
6080 (atan): Define using libm_alias_double.
6081 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
6082 (cbrt): Define using libm_alias_double.
6083 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
6084 (ceil): Define using libm_alias_double.
6085 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
6086 (copysign): Define using libm_alias_double.
6087 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
6088 (expm1): Define using libm_alias_double.
6089 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
6090 (fabs): Define using libm_alias_double.
6091 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
6092 (fdim): Define using libm_alias_double.
6093 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
6094 (floor): Define using libm_alias_double.
6095 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
6096 (fmax): Define using libm_alias_double.
6097 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
6098 (fmin): Define using libm_alias_double.
6099 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
6100 (frexp): Define using libm_alias_double.
6101 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
6102 (llrint): Define using libm_alias_double.
6103 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
6104 (logb): Define using libm_alias_double.
6105 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
6106 (lrint): Define using libm_alias_double.
6107 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
6108 (nearbyint): Define using libm_alias_double.
6109 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
6110 (remquo): Define using libm_alias_double.
6111 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
6112 (rint): Define using libm_alias_double.
6113 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
6114 (trunc): Define using libm_alias_double.
6115 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
6116 (fmax): Define using libm_alias_double.
6117 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
6118 (fmin): Define using libm_alias_double.
6119 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
6120 (fma): Define using libm_alias_double.
6122 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
6125 * elf/dl-hwcaps.c (ROUND): Removed.
6126 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
6127 and ELF_NOTE_NEXT_OFFSET.
6128 * elf/dl-load.c (ROUND): Removed.
6129 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
6130 * elf/readelflib.c (ROUND): Removed.
6131 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
6132 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
6133 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
6134 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
6136 2017-11-28 Joseph Myers <joseph@codesourcery.com>
6138 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
6139 [!__fmaf] (fmaf): Define using libm_alias_float.
6141 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
6142 [!__fma] (fma): Define using libm_alias_double.
6143 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
6145 2017-11-28 Mike FABIAN <mfabian@redhat.com>
6148 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
6149 and implement the collation rules for cs from CLDR on top of that.
6150 * Makefile: Add cs_CZ.UTF-8 to test-input.
6151 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
6153 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
6155 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
6157 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
6158 Icarus Sparry <icarus.w.sparry@intel.com>
6160 * benchtests/Makefile:Add BENCHSET to allow subsets of
6161 benchmarks to be run.
6162 * benchtests/README: Add documentation for: Running subsets of
6165 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
6167 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
6168 range of tests names.
6170 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
6171 result from property and remove "max", min" and "mean" from
6172 required properties based on benchtests/bench-skeleton.c.
6174 2017-11-28 Florian Weimer <fweimer@redhat.com>
6177 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
6178 due to Internet requirement.
6179 * posix/Makefile (tests): Remove tst-getaddrinfo4,
6181 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
6183 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6185 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
6186 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
6187 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
6188 (sysdep_routines): Add memset-ultra1.
6189 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
6191 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
6192 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
6193 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
6194 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
6195 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
6196 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
6197 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
6198 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6200 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
6202 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
6203 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
6204 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
6205 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
6206 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
6207 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
6208 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
6210 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
6211 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
6212 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
6213 (sysdep_routines): Add memcpy-ultra1.
6214 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
6215 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
6217 2017-11-28 Joseph Myers <joseph@codesourcery.com>
6219 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
6220 (cfloat_versions): Take function argument without trailing 'f'.
6221 Call libm_alias_float_other.
6222 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
6223 * sysdeps/alpha/fpu/cargf.c: Likewise.
6224 * sysdeps/alpha/fpu/cimagf.c: Likewise.
6225 * sysdeps/alpha/fpu/conjf.c: Likewise.
6226 * sysdeps/alpha/fpu/crealf.c: Likewise.
6227 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
6228 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
6229 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
6230 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
6231 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
6232 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
6233 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
6234 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
6235 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
6236 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
6237 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
6238 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
6239 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
6240 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
6241 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
6242 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
6243 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
6244 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
6245 (clog10f): Use libm_alias_float_other.
6246 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
6247 (ceilf): Define using libm_alias_float.
6248 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
6249 (copysignf): Define using libm_alias_float.
6250 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
6251 (fabsf): Define using libm_alias_float.
6252 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
6253 (floorf): Define using libm_alias_float.
6254 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
6255 (fmaxf): Define using libm_alias_float.
6256 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
6257 (fminf): Define using libm_alias_float.
6258 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
6259 (lrintf): Define using libm_alias_float.
6260 (llrintf): Likewise.
6261 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
6262 (lroundf): Define using libm_alias_float.
6263 (llroundf): Likewise.
6264 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
6265 (rintf): Define using libm_alias_float.
6266 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
6267 (truncf): Define using libm_alias_float.
6269 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
6270 (ceilf): Define using libm_alias_float.
6271 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
6272 (floorf): Define using libm_alias_float.
6273 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
6274 (fmaf): Define using libm_alias_float.
6275 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
6276 (fmaxf): Define using libm_alias_float.
6277 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
6278 (fminf): Define using libm_alias_float.
6279 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
6280 (llrintf): Define using libm_alias_float.
6281 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
6282 (llroundf): Define using libm_alias_float.
6283 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
6284 (lrintf): Define using libm_alias_float.
6285 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
6286 (lroundf): Define using libm_alias_float.
6287 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
6288 <libm-alias-float.h>.
6289 (nearbyintf): Define using libm_alias_float.
6290 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
6291 (rintf): Define using libm_alias_float.
6292 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
6293 (roundf): Define using libm_alias_float.
6294 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
6295 (truncf): Define using libm_alias_float.
6297 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
6298 (ceil): Define using libm_alias_double.
6299 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
6300 (copysign): Define using libm_alias_double.
6301 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
6302 (fabs): Define using libm_alias_double.
6303 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
6304 (floor): Define using libm_alias_double.
6305 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
6306 (fmax): Define using libm_alias_double.
6307 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
6308 (fmin): Define using libm_alias_double.
6309 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
6310 (lrint): Define using libm_alias_double.
6312 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
6313 (lround): Define using libm_alias_double.
6314 (llround): Likewise.
6315 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
6316 (rint): Define using libm_alias_double.
6317 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
6318 (trunc): Define using libm_alias_double.
6320 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
6321 (libm_alias_double_r): Add semicolon after weak_alias call.
6323 2017-11-27 Joseph Myers <joseph@codesourcery.com>
6325 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
6326 (ceil): Define using libm_alias_double.
6327 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
6328 (floor): Define using libm_alias_double.
6329 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
6330 (fma): Define using libm_alias_double.
6331 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
6332 (fmax): Define using libm_alias_double.
6333 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
6334 (fmin): Define using libm_alias_double.
6335 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
6336 (llrint): Define using libm_alias_double.
6337 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
6338 (llround): Define using libm_alias_double.
6339 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
6340 (lrint): Define using libm_alias_double.
6341 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
6342 (lround): Define using libm_alias_double.
6343 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
6344 (nearbyint): Define using libm_alias_double.
6345 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
6346 (rint): Define using libm_alias_double.
6347 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
6348 (round): Define using libm_alias_double.
6349 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
6350 (trunc): Define using libm_alias_double.
6352 2017-11-27 Florian Weimer <fweimer@redhat.com>
6354 * sysdeps/unix/sysv/linux/mlock2.c: New file.
6355 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
6356 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
6357 (tests): Add tst-mlock2.
6358 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
6359 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
6360 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
6361 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
6362 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
6363 for mlock. Document mlock2.
6365 2017-11-27 Joseph Myers <joseph@codesourcery.com>
6367 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
6368 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
6370 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
6372 * sysdeps/x86/Makeconfig: New file.
6373 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
6374 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
6375 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
6376 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
6377 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
6378 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
6379 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
6381 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
6382 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
6383 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
6384 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
6385 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
6386 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
6387 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
6388 * manual/math.texi (Mathematics): Document support for _Float64x.
6389 * math/Versions (GLIBC_2.27): Add _Float64x functions.
6390 * stdlib/Versions (GLIBC_2.27): Likewise.
6391 * wcsmbs/Versions (GLIBC_2.27): Likewise.
6392 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
6393 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6394 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6395 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6396 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6397 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6398 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6399 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6400 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6401 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6402 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6407 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6408 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6409 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6410 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6411 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6412 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6413 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6414 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6415 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6416 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6417 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6418 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6419 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6420 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6422 2017-11-27 Andreas Schwab <schwab@suse.de>
6424 * elf/Makefile (dl-routines): Add dl-sort-maps.
6425 * elf/dl-sort-maps.c: New file.
6426 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
6427 (_dl_sort_maps): Declare.
6428 * elf/dl-fini.c (_dl_sort_fini): Remove.
6429 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
6430 * elf/dl-close.c (_dl_close_worker): Likewise.
6431 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
6433 * elf/dl-open.c (dl_open_worker): Likewise.
6435 2017-11-24 Joseph Myers <joseph@codesourcery.com>
6437 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
6438 using libm_alias_float128.
6439 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
6441 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
6443 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
6444 (setpayloadsigf128): Likewise.
6445 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
6447 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
6450 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
6451 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
6452 -mfloat128 to CFLAGS.
6454 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
6456 (CFLAGS-libm-test-support-float64x.c): New variable.
6457 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
6458 $(f128-loader-link) to gnulib-tests.
6460 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
6461 (libm_alias_float128_other_r): If
6462 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
6464 (libm_alias_float128_r): Add semicolon after weak_alias call.
6465 * sysdeps/generic/libm-alias-ldouble.h
6466 (libm_alias_ldouble_other_r_f128): New macro.
6467 (libm_alias_ldouble_other_r_f64x): Likewise.
6468 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
6469 and libm_alias_ldouble_other_r_f64x.
6470 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
6471 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
6472 (libm_alias_ldouble_other_r_f128): New macro.
6473 (libm_alias_ldouble_other_r_f64x): Likewise.
6474 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
6475 and libm_alias_ldouble_other_r_f64x.
6477 * stdlib/strfroml.c: Always include <stdlib.h>.
6478 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
6479 undefine as macro and define as weak alias.
6480 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
6481 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
6483 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
6484 Define and later undefine as macro and define as weak alias.
6486 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
6487 Define and later undefine as macro. Define as weak alias if
6489 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
6490 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
6491 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
6492 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
6493 Define and later undefine as macro. Define as weak alias if
6495 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
6496 Define and later undefine as macro. Define as weak alias if
6498 * sysdeps/ieee754/float128/strtof128_l.c
6499 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
6500 Define and later undefine as macro. Define as weak alias if
6502 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
6503 Define and later undefine as macro. Define as weak alias if
6505 * sysdeps/ieee754/ldbl-128/strtold_l.c
6506 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
6507 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
6508 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
6509 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
6510 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
6511 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
6512 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
6513 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
6514 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
6515 * sysdeps/ieee754/ldbl-96/strtold_l.c
6516 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
6517 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
6518 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
6519 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
6521 * math/test-float64x.h: New file.
6522 * math/Makefile (type-float64x-yes): New variable.
6523 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
6525 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
6526 function-like macro.
6527 (min_of_type_): Likewise.
6528 (min_of_type_l): Likewise.
6529 (min_of_type_f128): Likewise.
6530 (min_of_type): Pass () as last argument of __MATH_TG.
6532 * stdlib/tst-strtod-round-skeleton.c
6533 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
6536 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
6537 for combinations of long double with _Float64 and _Float64x.
6539 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
6540 (__DECL_SIMD_cosf32): Likewise.
6541 (__DECL_SIMD_cosf64): Likewise.
6542 (__DECL_SIMD_cosf32x): Likewise.
6543 (__DECL_SIMD_cosf64x): Likewise.
6544 (__DECL_SIMD_cosf128x): Likewise.
6545 (__DECL_SIMD_sinf16): Likewise.
6546 (__DECL_SIMD_sinf32): Likewise.
6547 (__DECL_SIMD_sinf64): Likewise.
6548 (__DECL_SIMD_sinf32x): Likewise.
6549 (__DECL_SIMD_sinf64x): Likewise.
6550 (__DECL_SIMD_sinf128x): Likewise.
6551 (__DECL_SIMD_sincosf16): Likewise.
6552 (__DECL_SIMD_sincosf32): Likewise.
6553 (__DECL_SIMD_sincosf64): Likewise.
6554 (__DECL_SIMD_sincosf32x): Likewise.
6555 (__DECL_SIMD_sincosf64x): Likewise.
6556 (__DECL_SIMD_sincosf128x): Likewise.
6557 (__DECL_SIMD_logf16): Likewise.
6558 (__DECL_SIMD_logf32): Likewise.
6559 (__DECL_SIMD_logf64): Likewise.
6560 (__DECL_SIMD_logf32x): Likewise.
6561 (__DECL_SIMD_logf64x): Likewise.
6562 (__DECL_SIMD_logf128x): Likewise.
6563 (__DECL_SIMD_expf16): Likewise.
6564 (__DECL_SIMD_expf32): Likewise.
6565 (__DECL_SIMD_expf64): Likewise.
6566 (__DECL_SIMD_expf32x): Likewise.
6567 (__DECL_SIMD_expf64x): Likewise.
6568 (__DECL_SIMD_expf128x): Likewise.
6569 (__DECL_SIMD_powf16): Likewise.
6570 (__DECL_SIMD_powf32): Likewise.
6571 (__DECL_SIMD_powf64): Likewise.
6572 (__DECL_SIMD_powf32x): Likewise.
6573 (__DECL_SIMD_powf64x): Likewise.
6574 (__DECL_SIMD_powf128x): Likewise.
6576 * stdlib/Versions (libc): Move entries for wcstof128 and
6578 * wcsmbs/Versions (libc): ... here.
6579 Include <float128-abi.h>.
6581 2017-11-24 Florian Weimer <fweimer@redhat.com>
6583 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6585 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
6586 <bits/mman-shared.h>.
6587 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
6589 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
6590 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
6591 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
6592 <bits/mman-shared.h>.
6594 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6597 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
6598 posix_memalign/free.
6599 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
6601 2017-11-22 Mike FABIAN <mfabian@redhat.com>
6604 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
6605 and implement the collation rules for pl from CLDR on top of that.
6606 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
6607 of locales to be built for testing.
6608 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
6610 2017-11-23 Joseph Myers <joseph@codesourcery.com>
6612 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
6613 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
6614 libm_alias_ldouble_other.
6615 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
6616 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
6617 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
6618 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
6619 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
6620 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
6621 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
6622 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
6623 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
6624 libm_alias_ldouble_r.
6625 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
6626 libm_alias_ldouble_other.
6627 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
6629 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
6630 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
6631 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
6632 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
6633 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
6634 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
6635 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
6637 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
6638 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
6639 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
6641 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
6643 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
6644 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
6645 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
6647 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
6648 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
6649 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
6650 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
6651 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
6652 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
6653 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
6654 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
6655 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
6656 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
6657 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
6659 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
6660 libm_alias_ldouble_other.
6661 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
6662 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
6663 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
6665 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
6666 libm_alias_ldouble_other.
6667 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
6668 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
6669 * sysdeps/ia64/fpu/w_lgammal_main.c
6670 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
6671 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
6673 2017-11-23 Florian Weimer <fweimer@redhat.com>
6675 * malloc/malloc.c (tcache_thread_shutdown): Rename from
6676 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
6677 alike. Remove freeres marker.
6678 * malloc/arena.c (arena_thread_freeres): Call
6679 tcache_thread_shutdown.
6681 2017-11-23 Florian Weimer <fweimer@redhat.com>
6684 Export nscd hash function as __nss_hash.
6685 * include/nss.h (__nss_hash): Declare.
6686 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
6688 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
6689 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
6691 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
6692 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
6693 * nss/Makefiles (routines): Add nss_hash.
6694 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
6695 * nss/nss_hash.c: Rename from nis/nis_hash.c.
6696 (__nss_hash): Rename from __nis_hash. Define hidden alias.
6697 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
6699 2017-11-23 Florian Weimer <fweimer@redhat.com>
6702 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
6703 Return error code, not -1.
6704 * signal/tst-sigwait-eintr.c: New file.
6705 * signal/Makefile (tests): Add tst-sigwait-eintr.
6707 2017-11-23 Florian Weimer <fweimer@redhat.com>
6709 Linux: Add memfd_create system call wrapper
6710 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
6712 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
6713 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
6714 [__USE_GNU] (memfd_create): Declare.
6715 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
6716 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
6717 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
6718 * sysdeps/unix/sysv/linux/**.abilist: Update.
6719 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
6721 2017-11-22 Joseph Myers <joseph@codesourcery.com>
6723 * localedata/gen-locale.sh: Fix typo in variable name.
6725 * resolv/res_debug.c (p_secstodate): Condition definition on
6726 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
6727 directly as __p_secstodate, and as a compat symbol. Do not use
6728 libresolv_hidden_def.
6729 * resolv/resolv.h (p_secstodate): Remove macro and function
6731 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
6733 * include/resolv.h (__p_secstodate): Do not use
6734 libresolv_hidden_proto.
6735 * resolv/Makefile (tests): Move tst-p_secstodate to ....
6736 (tests-internal): ... here.
6737 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
6738 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
6739 and declare and use __p_secstodate and use compat_symbol_reference
6741 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
6742 implementation returning 77.
6745 * resolv/res_debug.c: Include <libc-diag.h>.
6746 (p_secstodate): Assert time_t at least as wide as u_long. On
6747 overflow, use integer seconds since the epoch as output, or use
6748 "<overflow>" as output and set errno to EOVERFLOW if integer
6749 seconds since the epoch would be 14 or more characters.
6750 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
6752 * resolv/tst-p_secstodate.c: New file.
6753 * resolv/Makefile (tests): Add tst-p_secstodate.
6754 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
6756 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
6757 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6758 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
6760 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
6762 * posix/regcomp.c (init_word_char): Add comments.
6764 2017-11-22 Joseph Myers <joseph@codesourcery.com>
6767 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
6768 strlen to compute length of ut_user and set trailing NUL byte of
6771 2017-11-21 Mike FABIAN <mfabian@redhat.com>
6774 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
6775 using “copy "iso14651_t1"” and then implementing the
6776 collation rules for lv from CLDR on top of that.
6777 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
6778 of locales to be built for testing.
6779 * lv_LV.UTF-8.in: New file with test data to test the Latvian
6782 2017-11-21 Joseph Myers <joseph@codesourcery.com>
6784 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
6785 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
6786 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
6787 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
6788 [__USE_MISC] (MADV_HWPOISON): New macro.
6789 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
6791 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6793 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
6794 -Wmissing-braces on GCC 4.9.
6796 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6798 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
6799 * sysdeps/s390/s390-32/start.S (_start): Likewise
6800 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
6801 (thread_start): Likewise.
6802 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
6803 (thread_start): Likewise.
6804 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
6805 (__makecontext_ret): Likewise.
6806 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
6807 (__makecontext_ret): Likewise.
6809 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6811 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
6812 __wcschrnul): Remove attribute_hidden.
6814 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
6816 regex: don't assume uint64_t or uint32_t
6817 This avoids -Werror=overflow errors for 32-bit systems in
6818 the 64-bit case. Problem reported by Joseph Myers in:
6819 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
6820 Also, when this code is used in Gnulib it ports to platforms
6821 that lack uint64_t and uint32_t. The C standard doesn't guarantee
6822 them, and on some 32-bit compilers there is no uint64_t.
6823 Problem reported by Gianluigi Tiesi in:
6824 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
6825 * posix/regcomp.c (init_word_char): Don't assume that the types
6826 uint64_t and uint32_t exist. Adapted from Gnulib patch
6827 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
6828 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
6830 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
6832 * sysdeps/aarch64/memset-reg.h: New file.
6833 * sysdeps/aarch64/memset.S: Use it.
6834 (__memset): Rename to MEMSET macro.
6835 [ZVA_MACRO]: Use zva_macro.
6836 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6837 Add memset_generic and memset_falkor.
6838 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6839 (__libc_ifunc_impl_list): Add memset ifuncs.
6840 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
6841 local variable zva_size.
6842 * sysdeps/aarch64/multiarch/memset.c: New file.
6843 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
6844 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
6845 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
6846 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
6847 (DCZID_DZP_MASK): New macro.
6848 (DCZID_BS_MASK): Likewise.
6849 (init_cpu_features): Read and set zva_size.
6850 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
6851 (struct cpu_features): New member zva_size.
6853 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
6854 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
6855 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
6857 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
6858 backwards. Fix timing computation.
6859 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
6860 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
6861 on memset by N at a time. Fix timing computation.
6863 2017-11-20 Florian Weimer <fweimer@redhat.com>
6865 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
6866 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
6868 2017-11-19 Florian Weimer <fweimer@redhat.com>
6870 manual: Document mprotect
6871 * manual/memory.texi (Memory Protection): New section.
6872 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
6873 documentation of PROT_* flags and reference the Memory Protection
6876 2017-11-19 Florian Weimer <fweimer@redhat.com>
6878 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
6879 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
6880 (Scatter-Gather): ... to here. Remove misleading comment.
6882 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
6884 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
6887 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
6888 when /proc/<pid>/setgroups does not exist.
6890 2017-11-18 Florian Weimer <fweimer@redhat.com>
6892 * sysdeps/unix/sysv/linux/tst-ttyname.c
6893 (become_root_in_mount_ns): Remove.
6894 (do_in_chroot_1): Call support_enter_mount_namespace.
6895 (do_in_chroot_2): Likewise.
6896 (do_test): Call support_become_root early.
6898 2017-11-18 Florian Weimer <fweimer@redhat.com>
6900 * support/namespace.h (support_enter_mount_namespace): Declare.
6901 * support/support_enter_mount_namespace.c: New file.
6902 * support/Makefile (libsupport-routines): Add
6903 support_enter_mount_namespace.
6905 2017-11-18 Florian Weimer <fweimer@redhat.com>
6907 * support/temp_file.c (support_create_temp_directory): Use
6908 test_dir and do not rely on the presence of the XXXXXX suffix.
6909 * support/temp_file.h (support_create_temp_directory): Update
6911 * support/tst-xreadlink.c (do_test): Adjust.
6912 * support/support_chroot.c (support_chroot_create): Likewise.
6914 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6916 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
6918 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
6921 2017-11-17 Joseph Myers <joseph@codesourcery.com>
6923 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
6924 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
6925 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
6926 (ceill): Define using libm_alias_ldouble.
6927 * sysdeps/x86_64/fpu/s_copysignl.S: Include
6928 <libm-alias-ldouble.h>.
6929 (copysignl): Define using libm_alias_ldouble.
6930 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
6931 (fabsl): Define using libm_alias_ldouble.
6932 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
6933 (floorl): Define using libm_alias_ldouble.
6934 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
6935 (fmaxl): Define using libm_alias_ldouble.
6936 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
6937 (fminl): Define using libm_alias_ldouble.
6938 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
6939 (llrintl): Define using libm_alias_ldouble.
6941 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
6942 <libm-alias-ldouble.h>.
6943 (nearbyintl): Define using libm_alias_ldouble.
6944 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
6945 (truncl): Define using libm_alias_ldouble.
6946 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
6947 <libm-alias-ldouble.h>.
6948 (lrintl): Define using libm_alias_ldouble.
6950 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
6951 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
6952 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
6953 (asinhl): Define using libm_alias_ldouble.
6954 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
6955 (atanl): Define using libm_alias_ldouble.
6956 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
6957 (cbrtl): Define using libm_alias_ldouble.
6958 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
6959 (ceill): Define using libm_alias_ldouble.
6960 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
6961 (copysignl): Define using libm_alias_ldouble.
6962 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
6963 (fabsl): Define using libm_alias_ldouble.
6964 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
6965 (floorl): Define using libm_alias_ldouble.
6966 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
6967 (fmaxl): Define using libm_alias_ldouble.
6968 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
6969 (fminl): Define using libm_alias_ldouble.
6970 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
6971 (frexpl): Define using libm_alias_ldouble.
6972 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
6973 (llrintl): Define using libm_alias_ldouble.
6974 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
6975 (logbl): Define using libm_alias_ldouble.
6976 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
6977 (lrintl): Define using libm_alias_ldouble.
6978 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
6979 (nearbyintl): Define using libm_alias_ldouble.
6980 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
6981 (nextafterl): Define using libm_alias_ldouble.
6982 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
6983 (remquol): Define using libm_alias_ldouble.
6984 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
6985 (rintl): Define using libm_alias_ldouble.
6986 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
6987 (truncl): Define using libm_alias_ldouble.
6988 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
6989 (fmaxl): Define using libm_alias_ldouble.
6990 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
6991 (fminl): Define using libm_alias_ldouble.
6993 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
6994 to C syntax instead of availability and properties of types.
6995 * bits/floatn.h [!__ASSEMBLER]: Likewise.
6996 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
6997 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
6998 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
6999 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
7000 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
7002 2017-11-17 Florian Weimer <fweimer@redhat.com>
7004 support_become_root: Enable file creation in namespaces.
7005 * support/support_become_root.c (setup_mapping): New function.
7006 (support_become_root): Call it.
7008 2017-11-17 Joseph Myers <joseph@codesourcery.com>
7010 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
7013 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7015 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
7016 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
7018 2017-11-16 Joseph Myers <joseph@codesourcery.com>
7020 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
7022 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7025 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7027 * INSTALL: Fix botched up regeneration.
7029 * NEWS: Update sourceare link to https.
7030 * configure.ac: Likewise.
7031 * crypt/md5test-giant.c: Likewise.
7032 * dlfcn/bug-atexit1.c: Likewise.
7033 * dlfcn/bug-atexit2.c: Likewise.
7034 * localedata/README: Likewise.
7035 * malloc/tst-mallocfork.c: Likewise.
7036 * manual/install.texi: Likewise.
7037 * nptl/tst-pthread-getattr.c: Likewise.
7038 * stdio-common/tst-fgets.c: Likewise.
7039 * stdio-common/tst-fwrite.c: Likewise.
7040 * sunrpc/Makefile: Likewise.
7041 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
7042 * wcsmbs/tst-mbrtowc2.c: Likewise.
7043 * configure: Regenerate.
7044 * INSTALL: Regenerate.
7046 2017-11-15 Martin Sebor <msebor@redhat.com>
7048 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
7049 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
7050 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
7052 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
7055 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
7056 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
7059 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
7060 Defer is_pty check until end of the function.
7061 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7064 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
7065 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
7066 (ttyname): Likewise.
7067 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
7068 (__ttyname_r): Likewise.
7070 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
7073 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
7075 * manual/terminal.texi (Is It a Terminal):
7076 Mention ENODEV for ttyname and ttyname_r.
7078 2017-11-15 Joseph Myers <joseph@codesourcery.com>
7080 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
7083 * sysdeps/unix/sysv/linux/bits/mman-linux.h
7084 [__USE_MISC] (MADV_WIPEONFORK): New macro.
7085 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
7086 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
7087 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
7088 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
7090 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7092 * signal/sigrelse.c (sigrelse): Optimize implementation.
7094 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
7095 (__sigpause): Rely on __sigsuspend to implement single thread
7096 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
7098 2017-11-15 Joseph Myers <joseph@codesourcery.com>
7100 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7101 kernel version to 4.14.
7103 2017-11-15 Steve Ellcey <sellcey@cavium.com>
7106 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
7107 Check if ifname is too long.
7109 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
7111 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
7113 2017-11-15 Mike FABIAN <mfabian@redhat.com>
7115 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
7116 was accidentally lost.
7118 2017-11-15 Mike FABIAN <mfabian@redhat.com>
7120 * localedata/locales/az_IR: Add standard copyright header.
7122 2017-11-15 Florian Weimer <fweimer@redhat.com>
7125 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
7126 not just the top one. Output a new "subheaps" statistic.
7128 2017-11-15 Florian Weimer <fweimer@redhat.com>
7131 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
7132 under the per-arena lock.
7133 * malloc/Makefile (tests): Add tst-malloc_info.
7134 (tst-malloc_info): Link with libpthread.
7135 * malloc/tst-malloc_info.c: New file.
7137 2017-11-15 Joseph Myers <joseph@codesourcery.com>
7140 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
7141 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
7142 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
7143 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
7144 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
7145 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
7146 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
7147 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
7148 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
7149 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
7150 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
7151 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
7152 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
7153 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
7154 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
7155 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
7156 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
7157 (__floating_type): Likewise.
7158 (__real_integer_type): Likewise.
7159 (__complex_integer_type): Likewise.
7160 (__expr_is_real): Likewise.
7161 (__tgmath_real_type_sub): Likewise.
7162 (__tgmath_real_type): Likewise.
7163 (__tgmath_complex_type_sub): Likewise.
7164 (__tgmath_complex_type): Likewise.
7165 (__TGMATH_F128): Likewise.
7166 (__TGMATH_CF128): Likewise.
7167 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
7169 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
7170 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
7172 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
7174 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
7175 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
7176 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
7177 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
7179 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
7180 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
7182 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
7183 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
7184 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
7186 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
7187 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
7188 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
7192 2017-11-14 Joseph Myers <joseph@codesourcery.com>
7194 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
7195 for stpncpy calls for GCC 8.
7196 (test_strncat): Disable -Wstringop-truncation warning for strncat
7197 calls for GCC 8. Disable -Wstringop-overflow= warning for one
7198 strncat call for GCC 7.
7199 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
7201 (test_memcmp): Use memcpy instead of strncpy for calls not copying
7204 * string/bug-strncat1.c: Include <libc-diag.h>.
7205 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
7207 2017-11-13 Claude Paroz <claude@2xlibre.net>
7210 * localedata/locales/aa_DJ: Improved readibility by replacing
7211 <Uxxxx> sequences in the ASCII printable range by their ASCII
7212 character equivalents.
7213 * localedata/locales/aa_ER: Likewise.
7214 * localedata/locales/aa_ER@saaho: Likewise.
7215 * localedata/locales/aa_ET: Likewise.
7216 * localedata/locales/af_ZA: Likewise.
7217 * localedata/locales/agr_PE: Likewise.
7218 * localedata/locales/ak_GH: Likewise.
7219 * localedata/locales/am_ET: Likewise.
7220 * localedata/locales/anp_IN: Likewise.
7221 * localedata/locales/ar_AE: Likewise.
7222 * localedata/locales/ar_BH: Likewise.
7223 * localedata/locales/ar_DZ: Likewise.
7224 * localedata/locales/ar_EG: Likewise.
7225 * localedata/locales/ar_IN: Likewise.
7226 * localedata/locales/ar_IQ: Likewise.
7227 * localedata/locales/ar_JO: Likewise.
7228 * localedata/locales/ar_KW: Likewise.
7229 * localedata/locales/ar_LB: Likewise.
7230 * localedata/locales/ar_LY: Likewise.
7231 * localedata/locales/ar_MA: Likewise.
7232 * localedata/locales/ar_OM: Likewise.
7233 * localedata/locales/ar_QA: Likewise.
7234 * localedata/locales/ar_SA: Likewise.
7235 * localedata/locales/ar_SD: Likewise.
7236 * localedata/locales/ar_SS: Likewise.
7237 * localedata/locales/ar_SY: Likewise.
7238 * localedata/locales/ar_TN: Likewise.
7239 * localedata/locales/ar_YE: Likewise.
7240 * localedata/locales/as_IN: Likewise.
7241 * localedata/locales/ast_ES: Likewise.
7242 * localedata/locales/ayc_PE: Likewise.
7243 * localedata/locales/az_AZ: Likewise.
7244 * localedata/locales/az_IR: Likewise.
7245 * localedata/locales/be_BY: Likewise.
7246 * localedata/locales/be_BY@latin: Likewise.
7247 * localedata/locales/bem_ZM: Likewise.
7248 * localedata/locales/ber_DZ: Likewise.
7249 * localedata/locales/ber_MA: Likewise.
7250 * localedata/locales/bg_BG: Likewise.
7251 * localedata/locales/bhb_IN: Likewise.
7252 * localedata/locales/bho_IN: Likewise.
7253 * localedata/locales/bi_VU: Likewise.
7254 * localedata/locales/bn_BD: Likewise.
7255 * localedata/locales/bn_IN: Likewise.
7256 * localedata/locales/bo_CN: Likewise.
7257 * localedata/locales/bo_IN: Likewise.
7258 * localedata/locales/br_FR: Likewise.
7259 * localedata/locales/brx_IN: Likewise.
7260 * localedata/locales/bs_BA: Likewise.
7261 * localedata/locales/byn_ER: Likewise.
7262 * localedata/locales/ca_AD: Likewise.
7263 * localedata/locales/ca_ES: Likewise.
7264 * localedata/locales/ca_FR: Likewise.
7265 * localedata/locales/ca_IT: Likewise.
7266 * localedata/locales/ce_RU: Likewise.
7267 * localedata/locales/chr_US: Likewise.
7268 * localedata/locales/cmn_TW: Likewise.
7269 * localedata/locales/crh_UA: Likewise.
7270 * localedata/locales/cs_CZ: Likewise.
7271 * localedata/locales/csb_PL: Likewise.
7272 * localedata/locales/cv_RU: Likewise.
7273 * localedata/locales/cy_GB: Likewise.
7274 * localedata/locales/da_DK: Likewise.
7275 * localedata/locales/de_AT: Likewise.
7276 * localedata/locales/de_BE: Likewise.
7277 * localedata/locales/de_CH: Likewise.
7278 * localedata/locales/de_DE: Likewise.
7279 * localedata/locales/de_IT: Likewise.
7280 * localedata/locales/de_LI: Likewise.
7281 * localedata/locales/de_LU: Likewise.
7282 * localedata/locales/doi_IN: Likewise.
7283 * localedata/locales/dv_MV: Likewise.
7284 * localedata/locales/dz_BT: Likewise.
7285 * localedata/locales/el_CY: Likewise.
7286 * localedata/locales/el_GR: Likewise.
7287 * localedata/locales/en_AG: Likewise.
7288 * localedata/locales/en_AU: Likewise.
7289 * localedata/locales/en_BW: Likewise.
7290 * localedata/locales/en_CA: Likewise.
7291 * localedata/locales/en_DK: Likewise.
7292 * localedata/locales/en_GB: Likewise.
7293 * localedata/locales/en_HK: Likewise.
7294 * localedata/locales/en_IE: Likewise.
7295 * localedata/locales/en_IL: Likewise.
7296 * localedata/locales/en_IN: Likewise.
7297 * localedata/locales/en_NG: Likewise.
7298 * localedata/locales/en_NZ: Likewise.
7299 * localedata/locales/en_PH: Likewise.
7300 * localedata/locales/en_SG: Likewise.
7301 * localedata/locales/en_US: Likewise.
7302 * localedata/locales/en_ZA: Likewise.
7303 * localedata/locales/en_ZM: Likewise.
7304 * localedata/locales/en_ZW: Likewise.
7305 * localedata/locales/eo: Likewise.
7306 * localedata/locales/es_AR: Likewise.
7307 * localedata/locales/es_BO: Likewise.
7308 * localedata/locales/es_CL: Likewise.
7309 * localedata/locales/es_CO: Likewise.
7310 * localedata/locales/es_CR: Likewise.
7311 * localedata/locales/es_CU: Likewise.
7312 * localedata/locales/es_DO: Likewise.
7313 * localedata/locales/es_EC: Likewise.
7314 * localedata/locales/es_ES: Likewise.
7315 * localedata/locales/es_GT: Likewise.
7316 * localedata/locales/es_HN: Likewise.
7317 * localedata/locales/es_MX: Likewise.
7318 * localedata/locales/es_NI: Likewise.
7319 * localedata/locales/es_PA: Likewise.
7320 * localedata/locales/es_PE: Likewise.
7321 * localedata/locales/es_PR: Likewise.
7322 * localedata/locales/es_PY: Likewise.
7323 * localedata/locales/es_SV: Likewise.
7324 * localedata/locales/es_US: Likewise.
7325 * localedata/locales/es_UY: Likewise.
7326 * localedata/locales/es_VE: Likewise.
7327 * localedata/locales/et_EE: Likewise.
7328 * localedata/locales/eu_ES: Likewise.
7329 * localedata/locales/eu_ES@euro: Likewise.
7330 * localedata/locales/fa_IR: Likewise.
7331 * localedata/locales/ff_SN: Likewise.
7332 * localedata/locales/fi_FI: Likewise.
7333 * localedata/locales/fil_PH: Likewise.
7334 * localedata/locales/fo_FO: Likewise.
7335 * localedata/locales/fr_BE: Likewise.
7336 * localedata/locales/fr_CA: Likewise.
7337 * localedata/locales/fr_CH: Likewise.
7338 * localedata/locales/fr_FR: Likewise.
7339 * localedata/locales/fr_LU: Likewise.
7340 * localedata/locales/fur_IT: Likewise.
7341 * localedata/locales/fy_DE: Likewise.
7342 * localedata/locales/fy_NL: Likewise.
7343 * localedata/locales/ga_IE: Likewise.
7344 * localedata/locales/gd_GB: Likewise.
7345 * localedata/locales/gez_ER: Likewise.
7346 * localedata/locales/gez_ET: Likewise.
7347 * localedata/locales/gl_ES: Likewise.
7348 * localedata/locales/gu_IN: Likewise.
7349 * localedata/locales/gv_GB: Likewise.
7350 * localedata/locales/ha_NG: Likewise.
7351 * localedata/locales/hak_TW: Likewise.
7352 * localedata/locales/he_IL: Likewise.
7353 * localedata/locales/hi_IN: Likewise.
7354 * localedata/locales/hif_FJ: Likewise.
7355 * localedata/locales/hne_IN: Likewise.
7356 * localedata/locales/hr_HR: Likewise.
7357 * localedata/locales/hsb_DE: Likewise.
7358 * localedata/locales/ht_HT: Likewise.
7359 * localedata/locales/hu_HU: Likewise.
7360 * localedata/locales/hy_AM: Likewise.
7361 * localedata/locales/i18n: Likewise.
7362 * localedata/locales/ia_FR: Likewise.
7363 * localedata/locales/id_ID: Likewise.
7364 * localedata/locales/ig_NG: Likewise.
7365 * localedata/locales/ik_CA: Likewise.
7366 * localedata/locales/is_IS: Likewise.
7367 * localedata/locales/it_CH: Likewise.
7368 * localedata/locales/it_IT: Likewise.
7369 * localedata/locales/iu_CA: Likewise.
7370 * localedata/locales/ja_JP: Likewise.
7371 * localedata/locales/ka_GE: Likewise.
7372 * localedata/locales/kk_KZ: Likewise.
7373 * localedata/locales/kl_GL: Likewise.
7374 * localedata/locales/kn_IN: Likewise.
7375 * localedata/locales/ko_KR: Likewise.
7376 * localedata/locales/kok_IN: Likewise.
7377 * localedata/locales/ks_IN: Likewise.
7378 * localedata/locales/ks_IN@devanagari: Likewise.
7379 * localedata/locales/ku_TR: Likewise.
7380 * localedata/locales/kw_GB: Likewise.
7381 * localedata/locales/ky_KG: Likewise.
7382 * localedata/locales/lb_LU: Likewise.
7383 * localedata/locales/lg_UG: Likewise.
7384 * localedata/locales/li_BE: Likewise.
7385 * localedata/locales/li_NL: Likewise.
7386 * localedata/locales/lij_IT: Likewise.
7387 * localedata/locales/ln_CD: Likewise.
7388 * localedata/locales/lo_LA: Likewise.
7389 * localedata/locales/lt_LT: Likewise.
7390 * localedata/locales/lv_LV: Likewise.
7391 * localedata/locales/lzh_TW: Likewise.
7392 * localedata/locales/mag_IN: Likewise.
7393 * localedata/locales/mai_IN: Likewise.
7394 * localedata/locales/mg_MG: Likewise.
7395 * localedata/locales/mhr_RU: Likewise.
7396 * localedata/locales/mi_NZ: Likewise.
7397 * localedata/locales/mk_MK: Likewise.
7398 * localedata/locales/ml_IN: Likewise.
7399 * localedata/locales/mn_MN: Likewise.
7400 * localedata/locales/mni_IN: Likewise.
7401 * localedata/locales/mr_IN: Likewise.
7402 * localedata/locales/ms_MY: Likewise.
7403 * localedata/locales/mt_MT: Likewise.
7404 * localedata/locales/my_MM: Likewise.
7405 * localedata/locales/nan_TW: Likewise.
7406 * localedata/locales/nan_TW@latin: Likewise.
7407 * localedata/locales/nb_NO: Likewise.
7408 * localedata/locales/nds_DE: Likewise.
7409 * localedata/locales/nds_NL: Likewise.
7410 * localedata/locales/ne_NP: Likewise.
7411 * localedata/locales/nhn_MX: Likewise.
7412 * localedata/locales/niu_NU: Likewise.
7413 * localedata/locales/niu_NZ: Likewise.
7414 * localedata/locales/nl_AW: Likewise.
7415 * localedata/locales/nl_BE: Likewise.
7416 * localedata/locales/nl_NL: Likewise.
7417 * localedata/locales/nn_NO: Likewise.
7418 * localedata/locales/nr_ZA: Likewise.
7419 * localedata/locales/nso_ZA: Likewise.
7420 * localedata/locales/oc_FR: Likewise.
7421 * localedata/locales/om_ET: Likewise.
7422 * localedata/locales/om_KE: Likewise.
7423 * localedata/locales/or_IN: Likewise.
7424 * localedata/locales/os_RU: Likewise.
7425 * localedata/locales/pa_IN: Likewise.
7426 * localedata/locales/pa_PK: Likewise.
7427 * localedata/locales/pap_AW: Likewise.
7428 * localedata/locales/pap_CW: Likewise.
7429 * localedata/locales/pl_PL: Likewise.
7430 * localedata/locales/ps_AF: Likewise.
7431 * localedata/locales/pt_BR: Likewise.
7432 * localedata/locales/pt_PT: Likewise.
7433 * localedata/locales/quz_PE: Likewise.
7434 * localedata/locales/raj_IN: Likewise.
7435 * localedata/locales/ro_RO: Likewise.
7436 * localedata/locales/ru_RU: Likewise.
7437 * localedata/locales/ru_UA: Likewise.
7438 * localedata/locales/rw_RW: Likewise.
7439 * localedata/locales/sa_IN: Likewise.
7440 * localedata/locales/sat_IN: Likewise.
7441 * localedata/locales/sc_IT: Likewise.
7442 * localedata/locales/sd_IN: Likewise.
7443 * localedata/locales/sd_IN@devanagari: Likewise.
7444 * localedata/locales/se_NO: Likewise.
7445 * localedata/locales/sgs_LT: Likewise.
7446 * localedata/locales/shs_CA: Likewise.
7447 * localedata/locales/si_LK: Likewise.
7448 * localedata/locales/sid_ET: Likewise.
7449 * localedata/locales/sk_SK: Likewise.
7450 * localedata/locales/sl_SI: Likewise.
7451 * localedata/locales/sm_WS: Likewise.
7452 * localedata/locales/so_DJ: Likewise.
7453 * localedata/locales/so_ET: Likewise.
7454 * localedata/locales/so_KE: Likewise.
7455 * localedata/locales/so_SO: Likewise.
7456 * localedata/locales/sq_AL: Likewise.
7457 * localedata/locales/sq_MK: Likewise.
7458 * localedata/locales/sr_ME: Likewise.
7459 * localedata/locales/sr_RS: Likewise.
7460 * localedata/locales/sr_RS@latin: Likewise.
7461 * localedata/locales/ss_ZA: Likewise.
7462 * localedata/locales/st_ZA: Likewise.
7463 * localedata/locales/sv_FI: Likewise.
7464 * localedata/locales/sv_SE: Likewise.
7465 * localedata/locales/sw_KE: Likewise.
7466 * localedata/locales/sw_TZ: Likewise.
7467 * localedata/locales/szl_PL: Likewise.
7468 * localedata/locales/ta_IN: Likewise.
7469 * localedata/locales/ta_LK: Likewise.
7470 * localedata/locales/tcy_IN: Likewise.
7471 * localedata/locales/te_IN: Likewise.
7472 * localedata/locales/tg_TJ: Likewise.
7473 * localedata/locales/th_TH: Likewise.
7474 * localedata/locales/the_NP: Likewise.
7475 * localedata/locales/ti_ER: Likewise.
7476 * localedata/locales/ti_ET: Likewise.
7477 * localedata/locales/tig_ER: Likewise.
7478 * localedata/locales/tk_TM: Likewise.
7479 * localedata/locales/tl_PH: Likewise.
7480 * localedata/locales/tn_ZA: Likewise.
7481 * localedata/locales/to_TO: Likewise.
7482 * localedata/locales/tpi_PG: Likewise.
7483 * localedata/locales/tr_CY: Likewise.
7484 * localedata/locales/tr_TR: Likewise.
7485 * localedata/locales/ts_ZA: Likewise.
7486 * localedata/locales/tt_RU: Likewise.
7487 * localedata/locales/tt_RU@iqtelif: Likewise.
7488 * localedata/locales/ug_CN: Likewise.
7489 * localedata/locales/uk_UA: Likewise.
7490 * localedata/locales/unm_US: Likewise.
7491 * localedata/locales/ur_IN: Likewise.
7492 * localedata/locales/ur_PK: Likewise.
7493 * localedata/locales/uz_UZ: Likewise.
7494 * localedata/locales/uz_UZ@cyrillic: Likewise.
7495 * localedata/locales/ve_ZA: Likewise.
7496 * localedata/locales/vi_VN: Likewise.
7497 * localedata/locales/wa_BE: Likewise.
7498 * localedata/locales/wae_CH: Likewise.
7499 * localedata/locales/wal_ET: Likewise.
7500 * localedata/locales/wo_SN: Likewise.
7501 * localedata/locales/xh_ZA: Likewise.
7502 * localedata/locales/yi_US: Likewise.
7503 * localedata/locales/yo_NG: Likewise.
7504 * localedata/locales/yue_HK: Likewise.
7505 * localedata/locales/yuw_PG: Likewise.
7506 * localedata/locales/zh_CN: Likewise.
7507 * localedata/locales/zh_HK: Likewise.
7508 * localedata/locales/zh_SG: Likewise.
7509 * localedata/locales/zh_TW: Likewise.
7510 * localedata/locales/zu_ZA: Likewise.
7512 2017-11-13 Florian Weimer <fweimer@redhat.com>
7514 * support/next_to_fault.h, support/next_to_fault.c: New files.
7515 * support/Makefile (libsupport-routines): Add next_to_fault.
7516 * resolv/tst-inet_pton.c (struct next_to_fault)
7517 (next_to_fault_allocate, next_to_fault_free): Remove.
7518 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
7520 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
7522 * elf/dl-support.c: Include <dl-procruntime.c>.
7523 * include/link.h: Include <link_map.h>.
7524 * sysdeps/generic/dl-procruntime.c: New file.
7525 * sysdeps/generic/link_map.h: Likewise.
7526 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
7527 the writable ld.so namespace.
7529 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
7531 timezone: pacify GCC -Wstringop-truncation
7532 Problem reported by Martin Sebor in:
7533 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
7534 * timezone/zic.c (writezone): Use memcpy, not strncpy.
7536 2017-11-12 Florian Weimer <fweimer@redhat.com>
7538 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
7540 (tests): Add tst-xreadlink.
7541 * support/support.h (xstrndup): Declare.
7542 * support/xunistd.h (xunlink, xreadlink): Declare.
7543 * support/temp_file.h (support_create_temp_directory): Declare.
7544 * support/temp_file.c (support_create_temp_directory): New function.
7545 * support/support_chroot.c (support_chroot_create): Use it.
7546 * support/xreadlink.c: New file.
7547 * support/xstrndup.c: Likewise.
7548 * support/xunlink.c: Likewise.
7549 * support/tst-xreadlink.c: Likewise.
7551 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
7553 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
7555 2017-11-11 Florian Weimer <fweimer@redhat.com>
7559 * resolv/res_comp.c (printable_string, binary_hnok)
7560 (binary_leading_dash): New functions.
7561 (res_hnok): Reimplement using these functions and ns_name_pton.
7562 (res_ownok): Likewise.
7563 (res_mailok): Reimplement using printable_string, ns_name_pton and
7565 (res_dnok): Reimplement using printable_string and ns_name_pton.
7566 * resolv/tst-res_hnok.c (tests): Add additional tests.
7567 (LETTERDIGITS, PRINTABLE): Define.
7568 (do_test): Adjust one_char results.
7570 2017-11-11 Florian Weimer <fweimer@redhat.com>
7573 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
7574 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
7576 2017-11-11 Florian Weimer <fweimer@redhat.com>
7578 * resolv/tst-ns_name_pton.c: New file.
7579 * resolv/Makefile (tests): Add tst-ns_name_pton.
7580 (tst-ns_name_pton): Link against libresolv.
7582 2017-11-11 Florian Weimer <fweimer@redhat.com>
7584 * resolv/tst-res_hnok.c: New file.
7585 * resolv/Makefile (tests): Add tst-res_hnok.
7586 (tst-res_hnok): Link against libresolv.
7588 2017-11-11 Florian Weimer <fweimer@redhat.com>
7590 * resolv/tst-resolv-network.c: Use test framework instead explicit
7593 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
7595 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
7597 [!_ISOMAC] (STR_HELPER): New.
7598 [!_ISOMAC] (STR): Likewise.
7599 [!_ISOMAC] (TEST_SIZE): Likewise.
7600 [!_ISOMAC] (TEST_ALIGN): Likewise.
7601 [!_ISOMAC] (TEST_OFFSET): Likewise.
7602 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
7603 field offsets of jmp_buf as well as sigjmp_buf.
7604 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
7605 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
7606 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
7607 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
7608 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
7609 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
7610 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
7611 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
7612 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
7613 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
7615 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
7617 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
7618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
7620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
7622 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
7623 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
7624 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
7625 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
7626 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
7627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
7629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
7631 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
7632 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
7633 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
7635 2017-11-07 Joseph Myers <joseph@codesourcery.com>
7638 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7639 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
7640 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7641 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
7642 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7643 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
7644 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7645 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
7646 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7647 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
7648 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7649 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
7650 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7651 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
7652 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7653 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
7654 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7655 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
7656 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7657 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
7658 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7659 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
7660 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7661 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
7662 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7663 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
7664 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7665 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
7666 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7667 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
7668 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7669 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
7670 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7671 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
7672 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7673 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
7674 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7675 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
7676 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7677 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
7678 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7679 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
7680 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7681 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
7682 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7683 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
7684 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7685 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
7686 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7687 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
7688 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7689 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
7690 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7691 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
7692 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7693 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
7694 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7695 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
7696 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7697 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
7698 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7699 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
7700 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7701 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
7702 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7703 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
7704 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7705 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
7706 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7707 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
7708 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7709 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
7710 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7711 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
7712 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7713 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
7714 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7715 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
7716 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7717 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
7718 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7719 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
7720 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7721 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
7722 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7723 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
7724 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
7725 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
7727 * stdlib/tst-strtod.h (F16): New macro.
7733 (IF_FLOAT16): Likewise.
7734 (IF_FLOAT32): Likewise.
7735 (IF_FLOAT64): Likewise.
7736 (IF_FLOAT32X): Likewise.
7737 (IF_FLOAT64X): Likewise.
7738 (IF_FLOAT128X): Likewise.
7739 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
7740 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
7741 (STRTOD_TEST_FOREACH): Likewise.
7742 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
7743 (CHOOSE_f64): Likewise.
7744 (CHOOSE_f32x): Likewise.
7745 (CHOOSE_f64x): Likewise.
7747 2017-11-07 Andreas Schwab <schwab@suse.de>
7749 * nptl/Makefile (tests-internal): Remove tst-typesizes.
7751 2017-11-07 Mike FABIAN <mfabian@redhat.com>
7754 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
7756 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
7759 2017-11-07 Claude Paroz <claude@2xlibre.net>
7762 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
7764 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
7766 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
7769 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7772 * nptl/allocatestack.c (allocate_stack): Check if
7773 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
7774 __PTHREAD_MUTEX_HAVE_PREV is defined.
7775 * nptl/descr.h (pthread): Likewise.
7776 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7778 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
7779 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
7780 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
7781 * sysdeps/nptl/bits/thread-shared-types.h
7782 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
7784 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
7785 of __WORDSIZE for internal layout.
7786 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
7787 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
7788 instead of __WORDSIZE whether to use an union for __spins and __list
7790 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
7792 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
7793 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
7795 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
7796 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
7798 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
7799 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
7801 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
7802 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
7804 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
7805 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
7807 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
7808 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
7810 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
7811 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
7813 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
7814 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
7816 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
7817 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
7819 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
7820 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
7822 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
7823 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
7825 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
7826 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
7828 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
7829 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
7831 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
7832 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
7834 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
7835 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
7838 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
7840 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
7841 checks for expected input type size.
7842 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
7843 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
7845 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
7846 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
7847 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
7848 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
7849 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
7850 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
7851 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
7852 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
7853 superflous runtime assert check.
7854 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
7856 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
7858 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
7860 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
7862 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
7864 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
7866 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
7867 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
7868 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
7870 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
7872 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
7874 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
7876 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
7878 * nptl/pthread_attr_setinheritsched.c
7879 (__pthread_attr_setinheritsched): Likewise.
7880 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
7882 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
7884 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
7885 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
7886 __old_pthread_attr_setstack): Likewise.
7887 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
7889 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
7891 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
7893 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
7894 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
7896 * nptl/tst-typesizes.c: Remove file.
7898 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
7899 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
7900 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
7901 checks for internal pthread_mutex_t offsets.
7902 * sysdeps/aarch64/nptl/pthread-offsets.h
7903 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
7904 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
7905 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
7906 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
7907 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
7908 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
7909 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
7910 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
7911 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
7912 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
7913 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
7914 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
7915 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
7916 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
7917 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
7918 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
7919 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
7920 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
7922 2017-11-07 Florian Weimer <fweimer@redhat.com>
7924 * bits/mman-linux.h: Move ...
7925 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
7927 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
7930 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7932 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
7933 Redefine STRNLEN as __strnlen_power8.
7935 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7937 * signal/sighold.c (sighold): Optimize implementation.
7939 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
7940 __NR_rt_sigqueueinfo.
7942 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
7944 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
7945 assume __NR_rt_sigtimedwait.
7946 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
7947 and add LIBC_CANCEL_HANDLED for cancellation marking.
7948 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7950 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
7951 (sysdeps_routines): Add memchr_noneon.
7952 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
7953 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
7954 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
7955 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
7956 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
7957 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
7958 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
7960 * sysdeps/arm/arm-ifunc.h: New file.
7961 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
7962 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
7963 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
7964 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
7965 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
7966 (__memcpy_neon): Avoid create hidden alias.
7967 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
7968 (__memcpy_vfp): Likewise.
7969 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
7970 (sysdep_routines): Add memcpy_arm.
7971 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
7973 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
7976 * Makerules (make-link-multidir): New.
7977 * config.make.in (multidir): New.
7978 * configure.ac (libc_cv_multidir): New. AC_SUBST.
7979 * configure: Regenerated.
7980 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
7981 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
7982 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
7985 2017-11-06 Joseph Myers <joseph@codesourcery.com>
7988 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
7989 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
7991 2017-11-04 Mike FABIAN <mfabian@redhat.com>
7993 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
7996 2017-11-04 Florian Weimer <fweimer@redhat.com>
7998 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
8000 2017-11-03 Joseph Myers <joseph@codesourcery.com>
8002 * math/math.h [__HAVE_DISTINCT_FLOAT16
8003 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
8004 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
8005 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
8006 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
8007 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
8008 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
8009 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
8010 (__MATH_TG_F32): New macro.
8011 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
8012 (__MATH_TG_F64X): Likewise.
8013 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
8014 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
8016 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
8018 * po/de.po: Update translations.
8019 * po/ru.po: Likewise.
8021 2017-11-03 Florian Weimer <fweimer@redhat.com>
8023 * manual/filesys.texi (Hard Links): Document linkat.
8025 2017-11-03 Joseph Myers <joseph@codesourcery.com>
8027 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
8028 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
8029 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
8030 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
8031 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
8032 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
8033 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
8034 the same as _Float128.
8035 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
8036 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
8037 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
8040 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
8042 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
8044 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
8046 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8047 (strtof32x): Likewise.
8048 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8049 (strtof64x): Likewise.
8050 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8051 (strtof128x): Likewise.
8052 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8053 (strfromf16): Likewise.
8054 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8055 (strfromf32): Likewise.
8056 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8057 (strfromf64): Likewise.
8058 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8059 (strfromf32x): Likewise.
8060 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8061 (strfromf64x): Likewise.
8062 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8063 (strfromf128x): Likewise.
8064 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
8065 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
8066 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
8067 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
8068 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
8069 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
8071 2017-11-03 Richard Henderson <rth@twiddle.net>
8073 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
8075 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8077 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
8079 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8081 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
8082 DT_TLSDESC_GOT initialization.
8083 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
8084 (_dl_tlsdesc_resolve_hold): Likewise.
8085 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
8086 (_dl_tlsdesc_resolve_hold): Likewise.
8087 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
8088 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
8090 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8092 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
8094 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8097 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
8098 non-lazily for R_ARM_TLS_DESC.
8100 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8103 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
8104 R_ARM_TLS_DESC case.
8105 (elf_machine_lazy_rel): Remove the prelink check.
8107 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8109 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
8110 DT_TLSDESC_GOT initialization.
8111 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
8112 (_dl_tlsdesc_resolve_rela): Likewise.
8113 (_dl_tlsdesc_resolve_hold): Likewise.
8114 (_dl_tlsdesc_undefweak): Remove ldar.
8115 (_dl_tlsdesc_dynamic): Likewise.
8116 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
8117 (_dl_tlsdesc_resolve_rela): Likewise.
8118 (_dl_tlsdesc_resolve_hold): Likewise.
8119 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
8120 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
8121 (_dl_tlsdesc_resolve_rela): Likewise.
8122 (_dl_tlsdesc_resolve_hold): Likewise.
8124 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8126 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
8127 binding and initialization non-lazily for R_AARCH64_TLSDESC.
8129 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8131 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
8132 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8134 2017-11-02 Joseph Myers <joseph@codesourcery.com>
8136 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
8138 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
8139 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
8140 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
8141 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
8142 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
8143 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
8144 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
8145 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
8146 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
8147 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
8148 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
8150 2017-11-02 Mike FABIAN <mfabian@redhat.com>
8153 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
8154 * localedata/locales/tpi_PG: Add standard header.
8156 2017-11-02 Florian Weimer <fweimer@redhat.com>
8158 test-errno-linux: quotactl can fail with EPERM in containers.
8159 * sysdeps/unix/sysv/linux/test-errno-linux.c
8160 (LIST, LIST_FORWARD): New macros.
8161 (check_error_in_list): New function.
8162 (test_wrp_rv): Accept list of permitted error codes.
8163 (test_wrp_rv2): Remove.
8164 (test_wrp): Call test_wrp_rv with list of error codes.
8165 (test_wrp2): Accept list of error codes.
8166 (do_test): Adjust. Allow EPERM for quotactl.
8168 2017-11-02 Florian Weimer <fweimer@redhat.com>
8170 * stdio-common/bug16.c (do_test): Use array_length.
8171 * stdio-common/errlist.c (_sys_nerr): Likewise.
8172 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
8173 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
8174 * stdio-common/psiginfo.c (psiginfo): Use array_length.
8175 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
8176 (do_test): Use array_length.
8177 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
8178 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
8179 * stdio-common/tst-printf-round.c (do_test): Likewise.
8180 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
8181 (CHECK): Use array_length.
8182 * stdio-common/tstdiomisc.c (t3, F): Likewise.
8183 * stdio-common/tstscanf.c (main): Likewise.
8184 * stdio-common/vfprintf.c (process_string_arg): Likewise.
8186 2017-11-02 Florian Weimer <fweimer@redhat.com>
8188 Add array_length and array_end macros.
8189 * include/array_length.h: New file.
8191 2017-11-02 Florian Weimer <fweimer@redhat.com>
8194 * posix/tst-glob-tilde.c (do_noescape): New variable.
8195 (one_test): Process it.
8196 (do_test): Set do_noescape. Add unescaping test case.
8198 2017-11-01 Joseph Myers <joseph@codesourcery.com>
8201 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
8202 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
8203 with appropriate macros defined and undefined.
8204 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
8205 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
8206 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
8207 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
8208 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
8209 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
8210 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
8211 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
8212 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
8213 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
8216 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
8217 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
8218 that for long double. Do not condition define and undefine of
8219 _Mdouble_complex_ on [__CFLOAT128].
8221 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
8223 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
8224 of <sysdeps/generic/sysdep.h>.
8225 (ALIGNARG): Removed.
8226 (ASM_SIZE_DIRECTIVE): Likewise.
8229 (ENTRY_CHK): Likewise.
8230 (END_CHK): Likewise.
8231 (syscall_error): Likewise.
8233 (PSEUDO_END): Likewise.
8235 (atom_text_section): Likewise.
8236 * sysdeps/x86/sysdep.h: New file.
8237 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
8238 of <sysdeps/generic/sysdep.h>.
8239 (ALIGNARG): Removed.
8240 (ASM_SIZE_DIRECTIVE): Likewise.
8243 (ENTRY_CHK): Likewise.
8244 (END_CHK): Likewise.
8245 (syscall_error): Likewise.
8247 (PSEUDO_END): Likewise.
8249 (atom_text_section): Likewise.
8251 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
8253 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
8254 category of LC_CTYPE set to "i18n:2012".
8255 * localedata/locales/i18n_ctype: Regenerate.
8257 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
8259 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
8260 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
8261 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8262 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8264 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
8265 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
8266 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
8267 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
8269 2017-10-31 Joseph Myers <joseph@codesourcery.com>
8272 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
8274 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
8276 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
8278 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8279 (CMPLXF32X): Likewise.
8280 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8281 (CMPLXF64X): Likewise.
8282 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8283 (CMPLXF128X): Likewise.
8286 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
8287 (__MATH_EVAL_FMT2): Define to add 0.0f.
8289 2017-10-31 Alan Modra <amodra@gmail.com>
8291 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
8293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
8294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
8295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
8296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
8297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
8298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
8299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
8300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
8301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
8302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
8303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
8304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
8306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
8307 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
8308 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
8309 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
8310 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
8311 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
8312 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
8313 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
8314 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
8315 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
8316 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
8317 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
8318 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
8319 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
8320 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
8321 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
8322 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
8323 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8324 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8325 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
8326 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
8327 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
8328 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
8329 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
8330 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
8331 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
8332 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8333 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
8334 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
8335 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
8336 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
8337 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
8338 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
8339 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
8340 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
8341 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
8342 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
8343 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
8344 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
8345 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
8346 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
8347 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
8348 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
8349 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
8350 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
8351 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
8352 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
8353 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
8354 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
8355 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
8356 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8357 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
8358 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
8359 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
8360 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
8361 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
8363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
8364 include sysdep.h and math_ldbl_opt.h.
8366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
8367 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
8368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
8369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
8370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
8371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
8372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
8373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
8374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
8375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
8376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
8377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
8378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
8379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
8380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
8381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
8382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
8383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
8384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
8385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
8386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
8387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
8388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
8389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
8390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
8391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
8393 2017-10-31 Alan Modra <amodra@gmail.com>
8395 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
8396 string/strncase_l.c, not string/strncase.c.
8397 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
8398 (libc_hidden_def): Redefine.
8400 2017-10-31 Alan Modra <amodra@gmail.com>
8402 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
8403 (__STRCMP, STRCMP, __strcasecmp_l): Define.
8404 (__strcasecmp): Don't define.
8406 2017-10-31 Alan Modra <amodra@gmail.com>
8408 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
8410 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
8411 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
8412 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
8414 2017-10-31 Alan Modra <amodra@gmail.com>
8416 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
8419 2017-10-31 Alan Modra <amodra@gmail.com>
8421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
8422 Redefine only when SHARED.
8424 2017-10-30 Joseph Myers <joseph@codesourcery.com>
8426 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
8427 Include <bits/math-finite.h> with appropriate macros defined and
8429 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
8430 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
8431 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
8432 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
8433 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
8435 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
8436 [!_Mlong_double_] (_Mlong_double_): Likewise.
8437 [!_Mfloat16_] (_Mfloat16_): Likewise.
8438 [!_Mfloat32_] (_Mfloat32_): Likewise.
8439 [!_Mfloat64_] (_Mfloat64_): Likewise.
8440 [!_Mfloat128_] (_Mfloat128_): Likewise.
8441 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
8442 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
8443 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
8444 (_Mdouble_): Define without indirection through those macros.
8445 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
8446 [!_Mfloat128_] (_Mfloat128_): Likewise.
8447 [_Mlong_double_] (_Mlong_double_): Likewise.
8448 (_Mdouble_): Define without indirection through those macros.
8449 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
8450 not add -D_Mlong_double_=double.
8451 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
8452 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
8454 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
8456 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
8458 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
8460 * sysdeps/x86/libc-start.c: Reformat.
8462 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
8465 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
8469 (L(Src2)): Likewise.
8470 (L(1)): Renamed to ...
8473 2017-10-30 Joseph Myers <joseph@codesourcery.com>
8475 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
8476 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
8477 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
8478 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
8479 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
8480 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
8481 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
8482 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
8483 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
8484 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
8485 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
8486 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
8487 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
8488 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
8489 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
8490 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
8491 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
8492 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
8493 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
8494 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
8495 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
8496 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
8497 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
8498 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
8499 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
8500 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
8501 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
8502 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
8503 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
8504 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
8505 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
8506 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
8507 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
8508 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
8509 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
8510 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
8511 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
8512 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
8513 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
8514 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
8515 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
8516 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
8517 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
8518 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
8519 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
8520 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
8521 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
8522 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
8523 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
8524 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
8525 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
8526 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
8527 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
8528 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
8529 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
8530 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
8531 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
8532 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
8533 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
8534 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
8535 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
8536 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
8537 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
8538 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
8539 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
8540 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
8542 2017-10-30 Florian Weimer <fweimer@redhat.com>
8544 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
8546 * io/tst-mkdirat.c (do_test): Likewise.
8547 * io/tst-mkfifoat.c (do_test): Likewise.
8548 * io/tst-mknodat.c (do_test): Likewise.
8549 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
8550 * locale/programs/locale.c (select_dirs): Likewise.
8551 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
8552 * posix/bug-glob2.c (my_readdir): Likewise.
8553 * posix/tst-dir.c (main): Likewise.
8554 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
8555 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
8557 2017-10-30 Florian Weimer <fweimer@redhat.com>
8559 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
8562 2017-10-30 Florian Weimer <fweimer@redhat.com>
8564 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
8565 Convert to support/test-driver.c.
8566 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
8567 New macro parameters.
8568 (PRINTF): Remove macro. Use test_verbose conditionals instead.
8569 * posix/tst-gnuglob.c: New file.
8570 * posix/tst-gnuglob64.c: Likewise.
8571 * posix/Makefile (tests): Add tst-gnuglob64.
8573 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
8576 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
8577 and use a better translation for March in “mon”.
8578 * localedata/locales/csb_PL: Use more ASCII to improve the
8579 readability of the source.
8581 2017-10-30 Mike FABIAN <mfabian@redhat.com>
8584 * localedata/locales/km_KH: Use ASCII as much
8585 as possible for better readability of the source and
8586 remove useless comments.
8587 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
8588 was commented out and apparently wrong anyway because it was
8589 using Lao characters. If Buddhist era should be used
8590 for km_KH, a native speaker should write the correct formaat
8592 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
8593 (According to CLDR, the first weekday for Cambodia is Sunday).
8594 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
8595 (These were using Lao characters which must be wrong. If we get
8596 the correct data from a native speaker, we could add it back, until
8597 then it is better not to have name_mr and name_mrs at all than
8600 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
8602 * locale/loadlocale.c: Correct size of
8603 _nl_value_type_LC_<category> arrays.
8605 2017-10-27 Joseph Myers <joseph@codesourcery.com>
8607 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
8608 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
8609 with appropriate macros defined and undefined.
8610 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
8611 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
8612 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
8613 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
8614 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
8616 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
8618 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
8621 2017-10-27 Mike FABIAN <mfabian@redhat.com>
8623 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
8624 with lowercase letters to make it agree with CLDR.
8626 2017-10-27 Mike FABIAN <mfabian@redhat.com>
8629 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
8630 first letters of yesstr and nostr in yesexpr and noexpr,
8631 not for the full words.
8632 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
8633 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
8634 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
8635 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
8636 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
8637 first letters of yesstr and nostr in yesexpr and noexpr,
8638 until now only English was matched in yesexpr and noexpr.
8639 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
8640 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
8641 fil but not for tl. As tl and fil are very similar, using fil
8642 is probably better than using English.
8644 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
8647 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
8648 in yesstr and nostr.
8650 2017-10-26 Joseph Myers <joseph@codesourcery.com>
8652 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
8653 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
8654 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
8656 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
8658 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
8660 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
8662 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8663 (SNANF128X): Likewise.
8665 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
8666 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
8667 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8668 (HUGE_VAL_F32): Likewise.
8669 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8670 (HUGE_VAL_F64): Likewise.
8671 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8672 (HUGE_VAL_F32X): Likewise.
8673 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8674 (HUGE_VAL_F64X): Likewise.
8675 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
8676 (HUGE_VAL_F128X): Likewise.
8678 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
8680 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
8681 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
8682 for the br_FR locale.
8684 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
8687 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
8689 2017-10-25 Carlos O'Donell <carlos@redhat.com>
8691 * locale/programs/record-status.h: Define globals, and function
8692 prototypes. Move function bodies...
8693 * locale/programs/record-status.c: ... to here. New file.
8694 * iconv/Makefile (iconv_prog-modules): Add record-status.
8695 * locale/Makefile (lib-modules): Likewise.
8696 * iconv/iconv_prog.c: Remove verbose.
8697 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
8698 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
8699 record a warning about ASCII compatibility.
8700 * locale/programs/ld-monetary.c (monetary_finish): If
8701 warn_int_curr_symbol is true then record a warning about the symbol
8702 not being in our ISO 4217 list.
8703 * locale/programs/locale.c: Include record-status.h. Remove verbose.
8704 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
8705 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
8706 (OPT_NO_WARN): Define.
8708 (options): Add entry for --no-warnings, and --warnings.
8709 (set_warnings): New function to enable/disable warnings.
8710 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
8711 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
8712 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
8713 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
8714 Pass flags to generate_locale.
8715 (generate_locale): Accept new flag argument and pass it to localedef
8717 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
8718 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
8720 * localedata/Makefile (test-input-data): Use full file name.
8721 * localedata/da_DK.in: Rename to...
8722 * localedata/da_DK.ISO-8859-1.in: ...this.
8723 * localedata/de_DE.in: Rename to...
8724 * localedata/de_DE.ISO-8859-1.in: ...this.
8725 * localedata/en_US.in: Rename to...
8726 * localedata/en_US.ISO-8859-1.in: ...this.
8727 * localedata/fr_FR.in: Rename to...
8728 * localedata/fr_FR.UTF-8.in: ... this.
8729 * localedata/hr_HR.in: Rename to...
8730 * localedata/hr_HR.ISO-8859-2.in: ...this.
8731 * localedata/hu_HU.in: Rename to...
8732 * localedata/hu_HU.UTF-8.in: ...this.
8733 * localedata/si_LK.in: Rename to...
8734 * localedata/si_LK.UTF-8.in: ...this.
8735 * localedata/sv_SE.in: Rename to...
8736 * localedata/sv_SE.ISO-8859-1.in: ...this.
8737 * localedata/tr_TR.in: Rename to...
8738 * localedata/tr_TR.UTF-8.in: ...this.
8739 * localedata/uk_UA.in: Rename to...
8740 * localedata/uk_UA.UTF-8.in: ...this.
8741 * localedata/sort-test.sh: Test file is locale name with the
8744 * localedata/unicode-gen/Makefile (check_i18n): Rename to
8745 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
8747 * localedata/locales/i18n_ctype: Regenerate.
8748 * localedata/locales/tr_TR: Likewise.
8749 * localedata/locales/translit_circle: Likewise.
8750 * localedata/locales/translit_cjk_compat: Likewise.
8751 * localedata/locales/translit_combining: Likewise.
8752 * localedata/locales/translit_compat: Likewise.
8753 * localedata/locales/translit_font: Likewise.
8754 * localedata/locales/translit_fraction: Likewise.
8756 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8758 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
8759 lxvd2x/stxvd2x with lvx/stvx.
8760 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
8762 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
8764 * include/alloc_buffer.h: Replace "if if " with "if " in
8766 * sysdeps/mips/memcpy.S: Likkewise.
8767 * sysdeps/mips/memset.S: Likewise.
8768 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8770 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
8772 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
8775 2017-10-25 Mike FABIAN <mfabian@redhat.com>
8778 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
8780 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
8781 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
8782 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
8783 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
8784 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
8785 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
8786 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
8788 2017-10-25 Mike FABIAN <mfabian@redhat.com>
8790 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
8791 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
8792 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
8793 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
8794 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
8795 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
8796 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
8797 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
8798 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
8799 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
8800 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
8801 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
8803 2017-10-25 Mike FABIAN <mfabian@redhat.com>
8805 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
8806 as possible for better readability of the source.
8807 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
8808 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
8809 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
8810 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
8811 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
8812 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
8813 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
8814 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
8815 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
8816 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
8817 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
8818 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
8819 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
8820 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
8821 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
8822 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
8823 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
8824 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
8825 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
8826 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
8827 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
8828 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
8829 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
8830 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
8831 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
8832 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
8833 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
8834 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
8835 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
8836 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
8837 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
8838 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
8839 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
8840 * localedata/locales/en_US (LC_MESSAGES): Likewise.
8841 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
8842 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
8843 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
8844 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
8845 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
8846 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
8847 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
8848 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
8849 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
8850 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
8851 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
8852 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
8853 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
8854 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
8855 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
8856 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
8857 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
8858 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
8859 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
8860 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
8861 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
8862 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
8863 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
8864 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
8865 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
8866 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
8867 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
8868 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
8869 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
8870 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
8871 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
8872 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
8873 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
8874 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
8875 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
8876 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
8877 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
8878 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
8879 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
8880 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
8881 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
8882 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
8883 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
8884 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
8885 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
8886 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
8887 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
8888 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
8889 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
8890 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
8891 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
8892 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
8893 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
8894 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
8895 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
8896 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
8897 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
8898 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
8899 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
8900 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
8901 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
8902 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
8903 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
8904 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
8905 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
8906 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
8907 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
8908 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
8909 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
8910 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
8911 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
8912 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
8913 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
8914 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
8915 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
8916 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
8917 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
8918 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
8919 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
8920 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
8921 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
8922 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
8923 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
8924 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
8925 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
8926 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
8927 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
8928 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
8929 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
8930 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
8931 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
8932 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
8933 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
8934 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
8935 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
8936 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
8937 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
8938 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
8939 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
8940 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
8941 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
8942 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
8943 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
8944 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
8945 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
8946 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
8947 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
8948 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
8949 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
8950 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
8951 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
8952 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
8953 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
8954 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
8955 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
8956 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
8957 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
8958 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
8959 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
8960 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
8961 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
8962 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
8963 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
8964 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
8965 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
8966 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
8967 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
8968 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
8969 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
8970 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
8971 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
8972 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
8973 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
8974 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
8975 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
8976 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
8977 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
8978 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
8979 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
8980 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
8982 2017-10-25 Mike FABIAN <mfabian@redhat.com>
8984 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
8985 (Use first letters of yesstr and nostr correctly instead of using
8988 2017-10-25 Mike FABIAN <mfabian@redhat.com>
8990 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
8991 (Use first letters of yesstr and nostr correctly).
8993 2017-10-25 Mike FABIAN <mfabian@redhat.com>
8995 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
8996 also check for the first characters of yesstr and nostr.
8997 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
8998 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
9000 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9002 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
9003 also check for Chinese characters.
9005 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9007 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
9008 match also for the contents of yesstr and nostr. As the first letter
9009 of yesstr and nostr is equal, checking only for the first letter
9012 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9014 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
9015 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
9017 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9019 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
9020 of main contributor.
9022 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9024 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
9025 instead of using English.
9027 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9029 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
9030 by including the first letters of nostr and yesexpr in the regexp.
9031 Also make it more readable by using ASCII where possible.
9033 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9035 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
9036 the first letter of nostr in the regexp. It agrees with CLDR now.
9037 Also make it more readable by using ASCII where possible.
9039 2017-10-24 Mike FABIAN <mfabian@redhat.com>
9041 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
9042 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
9043 these strings contain a U+17D6 (which somewhat looks like a colon)
9044 instead of a real colon to separate the full words for “yes”
9045 and “no” from the single letter responses.
9047 2017-10-24 Mike FABIAN <mfabian@redhat.com>
9049 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
9050 it agree with CLDR (include the first letter of yesstr).
9051 Also make it more readable by using ASCII where possible.
9053 2017-10-24 Mike FABIAN <mfabian@redhat.com>
9055 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
9056 and improve yesexpr and noexpr. The yesstr and nostr apparently
9057 came from CLDR. And CLDR has a bug there: these strings contain
9058 a U+0903 (which looks like a colon) instead of a real colon
9059 to separate the full words for “yes” and “no” from the single
9062 2017-10-24 Mike FABIAN <mfabian@redhat.com>
9064 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
9065 letters of the full yesstr and nostr in yesexpr and noexpr.
9067 2017-10-24 Mike FABIAN <mfabian@redhat.com>
9069 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
9070 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
9071 * localedata/locales/an_ES: Make source more readable by using ASCII
9074 2017-10-24 Mike FABIAN <mfabian@redhat.com>
9077 * localedata/locales/yuw_PG: New file.
9078 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
9079 * locale/iso-639.def: Add Yau (Uruwa).
9081 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9083 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
9085 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9087 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
9088 (__libc_realloc): Likewise.
9089 (_mid_memalign): Likewise.
9090 (__libc_calloc): Likewise.
9092 2017-10-23 Mike FABIAN <mfabian@redhat.com>
9094 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
9095 by adding the generic +1 and -0 as in all other locales.
9096 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
9097 day names and make it more readable by using ASCII where possible.
9099 2017-10-24 Joseph Myers <joseph@codesourcery.com>
9101 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
9102 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
9104 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9106 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
9107 WNOHANG in waitpid call.
9109 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
9111 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
9112 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
9114 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
9115 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
9116 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
9117 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
9118 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
9119 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
9120 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
9121 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
9124 2017-10-23 Michael Collison <michael.collison@arm.com>
9126 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
9127 with __builtin_sqrt.
9128 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
9129 with __builtin_sqrtf.
9130 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
9131 with __builtin_ceil.
9132 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
9133 with __builtin_ceilf.
9134 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
9135 with __builtin_floor.
9136 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
9137 with __builtin_floorf.
9138 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
9140 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
9141 with __builtin_fmaf.
9142 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
9143 with __builtin_fmax.
9144 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
9145 with __builtin_fmaxf.
9146 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
9147 with __builtin_fmin.
9148 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
9149 with __builtin_fminf.
9150 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
9151 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
9152 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
9153 with builtin_rint and conversion to int.
9154 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
9155 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
9156 with builtin_llround.
9157 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
9158 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
9159 with builtin_rint and conversion to long int.
9160 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
9161 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
9162 with builtin_lround.
9163 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
9164 with builtin_lroundf.
9165 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
9166 statements with __builtin_nearbyint.
9167 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
9168 statements with __builtin_nearbyintf.
9169 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
9170 with __builtin_rint.
9171 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
9172 with __builtin_rintf.
9173 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
9174 with __builtin_round.
9175 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
9176 with __builtin_roundf.
9177 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
9178 with __builtin_trunc.
9179 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
9180 with __builtin_truncf.
9181 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
9182 and s_l[l]round[f].c too.
9184 2017-10-23 Alan Modra <amodra@gmail.com>
9186 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
9187 Adjust stack after restoring regs. Add missing LR cfi_restore.
9189 2017-10-23 Alan Modra <amodra@gmail.com>
9191 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
9192 Move LR save and frame setup/teardown and LR restore to
9193 immediately around memset call. Provide cfi.
9195 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9197 * sysdeps/i386/fpu/e_powf.S: Removed.
9198 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
9199 * sysdeps/i386/fpu/w_powf.c: Likewise.
9200 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
9201 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
9202 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
9204 (CFLAGS-e_powf-sse2.c): New.
9205 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
9206 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
9208 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9210 * sysdeps/i386/fpu/e_log2f.S: Removed.
9211 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
9212 * sysdeps/i386/fpu/w_log2f.c: Likewise.
9213 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
9214 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
9215 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
9217 (CFLAGS-e_log2f-sse2.c): New.
9218 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
9219 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
9221 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9223 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9225 (CFLAGS-e_powf-fma.c): New.
9226 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
9227 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
9229 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9231 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9233 (CFLAGS-e_log2f-fma.c): New.
9234 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
9235 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
9237 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9239 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9241 (CFLAGS-e_logf-fma.c): New.
9242 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
9243 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
9245 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9247 * sysdeps/i386/fpu/e_logf.S: Removed.
9248 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
9249 * sysdeps/i386/fpu/w_logf.c: Likewise.
9250 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
9251 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
9252 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
9253 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
9255 (CFLAGS-e_logf-sse2.c): New.
9256 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
9257 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
9259 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9261 * sysdeps/i386/fpu/e_exp2f.S: Removed.
9262 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
9263 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
9264 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
9265 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
9267 (CFLAGS-e_exp2f-sse2.c): New.
9268 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
9269 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
9271 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9273 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9275 (CFLAGS-e_exp2f-fma.c): New.
9276 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
9277 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
9279 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9281 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
9282 * sysdeps/i386/fpu/e_expf.S: Likewise.
9283 * sysdeps/i386/fpu/math_errf.c: Likewise.
9284 * sysdeps/i386/fpu/w_expf.c: Likewise.
9285 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
9286 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9287 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
9288 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
9289 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
9290 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
9292 (CFLAGS-e_expf-sse2.c): New.
9293 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
9294 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
9296 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
9298 * sysdeps/x86_64/fpu/e_expf.S: Removed.
9299 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
9300 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
9301 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
9303 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
9305 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
9306 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
9308 (__redirect_expf): This.
9309 (SYMBOL_NAME): Changed to expf.
9310 (__ieee754_expf): Renamed to ...
9312 (__GI___expf): This.
9313 (__ieee754_expf): Add strong_alias.
9314 (__expf_finite): Likewise.
9316 Include <sysdeps/ieee754/flt-32/e_expf.c>.
9318 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
9321 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
9324 2017-10-21 Florian Weimer <fweimer@redhat.com>
9326 * posix/Makefile (tests): Add tst-glob-tilde.
9327 (tests-special): Add tst-glob-tilde-mem.out
9328 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
9329 (tst-glob-tilde-mem.out): Add mtrace check.
9330 * posix/tst-glob-tilde.c: New file.
9332 2017-10-20 Joseph Myers <joseph@codesourcery.com>
9334 * bits/floatn-common.h: New file.
9335 * math/Makefile (headers): Add bits/floatn-common.h.
9336 * bits/floatn.h: Include <bits/floatn-common.h>.
9337 * sysdeps/ia64/bits/floatn.h: Likewise.
9338 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
9339 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
9340 * sysdeps/powerpc/bits/floatn.h: Likewise.
9341 * sysdeps/x86/bits/floatn.h: Likewise.
9343 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9345 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
9346 indicates whether compiler emits an warning for alias for
9347 functions with incompatible types.
9350 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
9351 the auxiliary process is terminated by a signal before calling _exit
9354 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
9357 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
9359 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
9360 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
9361 and bit_arch_XSAVEC_Usable if needed.
9362 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
9363 and bit_arch_Use_dl_runtime_resolve_opt.
9364 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
9366 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
9367 (bit_arch_Prefer_No_AVX512): Updated.
9368 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
9369 (bit_arch_XSAVEC_Usable): New.
9370 (STATE_SAVE_OFFSET): Likewise.
9371 (STATE_SAVE_MASK): Likewise.
9372 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
9373 (cpu_features): Add xsave_state_size and xsave_state_full_size.
9374 (index_arch_Use_dl_runtime_resolve_opt): Removed.
9375 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
9376 (index_arch_XSAVEC_Usable): New.
9377 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
9378 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
9379 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
9381 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
9382 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
9383 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
9384 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
9385 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
9386 _dl_runtime_resolve_xsavec.
9387 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
9389 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
9390 instead of VEC_SIZE.
9391 (REGISTER_SAVE_BND0): Removed.
9392 (REGISTER_SAVE_BND1): Likewise.
9393 (REGISTER_SAVE_BND3): Likewise.
9394 (REGISTER_SAVE_RAX): Always defined to 0.
9396 (_dl_runtime_resolve_avx): Likewise.
9397 (_dl_runtime_resolve_avx_slow): Likewise.
9398 (_dl_runtime_resolve_avx_opt): Likewise.
9399 (_dl_runtime_resolve_avx512): Likewise.
9400 (_dl_runtime_resolve_avx512_opt): Likewise.
9401 (_dl_runtime_resolve_sse): Likewise.
9402 (_dl_runtime_resolve_sse_vex): Likewise.
9404 (_dl_runtime_resolve_fxsave): Likewise.
9405 (USE_XSAVE): Likewise.
9406 (_dl_runtime_resolve_xsave): Likewise.
9407 (USE_XSAVEC): Likewise.
9408 (_dl_runtime_resolve_xsavec): Likewise.
9409 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
9411 (_dl_runtime_resolve_avx512_opt): Likewise.
9412 (_dl_runtime_resolve_avx): Likewise.
9413 (_dl_runtime_resolve_avx_opt): Likewise.
9414 (_dl_runtime_resolve_sse): Likewise.
9415 (_dl_runtime_resolve_sse_vex): Likewise.
9416 (_dl_runtime_resolve_fxsave): New.
9417 (_dl_runtime_resolve_xsave): Likewise.
9418 (_dl_runtime_resolve_xsavec): Likewise.
9420 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
9424 * posix/glob.c (__glob): Fix one-byte overflow.
9426 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
9428 * malloc/malloc.c (sysdep-cancel.h): Add include.
9430 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
9432 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
9434 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
9436 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
9437 (tests): Remove $(objpfx)ga_test depdendency.
9438 * resolv/ga_test.c: Remove file.
9440 2017-10-20 Mike FABIAN <mfabian@redhat.com>
9443 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
9444 * localedata/locales/kab_DZ: New file.
9446 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
9448 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
9449 _dl_relocate_static_pie instead of _dl_start to compute load
9450 address in static PIE.
9452 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
9454 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
9456 2017-10-20 Mike FABIAN <mfabian@redhat.com>
9459 * localedata/SUPPORTED: Add shn_MM/UTF-8.
9460 * localedata/locales/shn_MM: New file.
9462 2017-10-20 Florian Weimer <fweimer@redhat.com>
9465 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
9466 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
9467 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
9468 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
9469 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
9470 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
9472 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
9474 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9476 2017-10-19 Joseph Myers <joseph@codesourcery.com>
9478 * sysdeps/mips/ieee754/bits/floatn.h: New file.
9481 * sysdeps/mips/bits/long-double.h: Move to ....
9482 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
9484 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
9486 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
9488 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
9489 H.J. Lu <hongjiu.lu@intel.com>
9492 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
9493 GLRO(dl_platform) to NULL.
9494 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
9495 (modules-names): Add tst-platformmod-1 and
9496 x86_64/tst-platformmod-2.
9497 (CFLAGS-tst-platform-1.c): New.
9498 (CFLAGS-tst-platformmod-1.c): Likewise.
9499 (CFLAGS-tst-platformmod-2.c): Likewise.
9500 (LDFLAGS-tst-platformmod-2.so): Likewise.
9501 ($(objpfx)tst-platform-1): Likewise.
9502 ($(objpfx)tst-platform-1.out): Likewise.
9503 (tst-platform-1-ENV): Likewise.
9504 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
9505 * sysdeps/x86_64/tst-platform-1.c: New file.
9506 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
9507 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
9509 2017-10-19 Mike FABIAN <mfabian@redhat.com>
9512 * locale/iso-639.def: Add Karbi.
9513 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
9514 * localedata/locales/mjw_IN: New file.
9516 2017-10-18 Joseph Myers <joseph@codesourcery.com>
9518 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
9519 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
9520 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
9521 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
9522 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
9523 (libm_alias_ldouble_other_r): Also create _Float128 alias.
9524 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
9526 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
9527 (libm_alias_ldouble_other_r): Also create _Float128 alias.
9528 * manual/math.texi (Mathematics): Document additional architecture
9529 support for _Float128.
9530 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
9531 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9532 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9533 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9534 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9535 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9536 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9537 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9538 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9539 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9540 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9541 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9542 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9543 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9544 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9546 2017-10-18 Renlin Li <renlin.li@arm.com>
9548 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
9549 _DYNAMIC symbol to calculate load address.
9551 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
9553 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
9554 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
9556 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
9557 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
9559 2017-10-18 Mike FABIAN <mfabian@redhat.com>
9562 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
9563 and improve readability by using more ASCII.
9564 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
9565 and improve readability by using more ASCII.
9567 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
9569 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
9570 not all targets support atomics on bool.
9572 2017-10-17 Joseph Myers <joseph@codesourcery.com>
9574 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
9575 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
9577 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
9578 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
9579 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
9580 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
9581 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
9582 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
9584 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9586 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
9589 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
9592 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
9593 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
9594 (do_check_remalloced_chunk): Fix build bug.
9595 (do_check_malloc_state): Add assert that checks arena->top.
9596 (malloc_consolidate): Remove initialization.
9597 (int_mallinfo): Remove call to malloc_consolidate.
9598 (__libc_mallopt): Clarify why malloc_consolidate is needed.
9600 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
9602 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
9603 (have_fastchunks): Remove.
9604 (clear_fastchunks): Remove.
9605 (set_fastchunks): Remove.
9606 (malloc_state): Add have_fastchunks.
9607 (malloc_init_state): Use have_fastchunks.
9608 (do_check_malloc_state): Remove incorrect invariant checks.
9609 (_int_malloc): Use have_fastchunks.
9610 (_int_free): Likewise.
9611 (malloc_consolidate): Likewise.
9613 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
9615 * malloc/malloc.c (tcache_put): Inline.
9616 (tcache_get): Inline.
9618 2017-10-17 Jordi Mallach <jordi@gnu.org>
9620 Aurelien Jarno <aurelien@aurel32.net>
9622 * localedata/locales/ca_ES@valencia: New file.
9623 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
9625 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
9628 * math/math.h: Let signbit use the builtin in C++ mode with gcc
9631 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9633 * scripts/build-many-glibcs.py (Context.add_all_configs):
9634 Add arm-linux-gnueabihf multiarch extra_glibcs.
9636 * sysdeps/generic/ifunc-init.h: New file.
9637 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
9639 2017-10-17 Mike FABIAN <mfabian@redhat.com>
9642 * localedata/locales/el_GR: Set n_cs_precedes to 0.
9643 * localedata/locales/el_CY: copy "el_GR" because it is identical.
9644 * stdlib/tst-strfmon_l.c: adapt test case.
9646 2017-10-16 Joseph Myers <joseph@codesourcery.com>
9648 * sysdeps/generic/float128-abi.h: New file.
9649 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
9650 non-__prefixed symbols to ....
9651 * math/Versions: ... here. Include <float128-abi.h>.
9652 * stdlib/Versions ... and here. Include <float128-abi.h>
9654 2017-10-16 Florian Weimer <fweimer@redhat.com>
9656 * version.h (VERSION): Switch to ".9000" as the development
9659 2017-10-16 Florian Weimer <fweimer@redhat.com>
9662 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
9663 compat_symbol_reference to access non-default version.
9665 2017-10-16 Florian Weimer <fweimer@redhat.com>
9667 * malloc/Makefile (others-extras): Set to mcheck-init.o.
9669 2017-10-16 Carlos O'Donell <carlos@redhat.com>
9671 * include/shlib-compat.h (compat_symbol_reference): Update
9674 2017-10-16 Joseph Myers <joseph@codesourcery.com>
9676 * math/Makefile (test-types): Add
9677 $(type-float128-$(float128-alias-fcts)).
9678 * math/test-float128.h (TYPE_STR): Define conditional on
9679 [FLT128_MANT_DIG == LDBL_MANT_DIG].
9680 (ULP_IDX): Likewise.
9681 (ULP_I_IDX): Likewise.
9683 * stdlib/strtold.c: Include <bits/floatn.h>
9684 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
9685 and later undefine as macro. Define as weak alias if
9687 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
9688 and later undefine as macro. Define as weak alias if
9690 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
9691 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
9692 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
9693 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
9694 Define and later undefine as macro. Define as weak alias if
9696 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
9698 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
9699 Define and later undefine as macro. Define as weak alias if
9701 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
9702 Define and later undefine as macro. Define as weak alias if
9705 2017-10-15 Carlos O'Donell <carlos@redhat.com>
9707 * localedata/collate-test.c (allocate_arrays): Don't use \n in
9708 record_verbose messages.
9710 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
9713 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
9714 to silence -O3 -Wall warning with GCC 7.
9716 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
9718 * Makeconfig (+link-static-before-libc): Use the first of
9719 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
9720 * gmon/Makefile (tests): Add tst-gmon-static.
9721 (tests-static): Likewise.
9722 (CFLAGS-tst-gmon-static.c): New.
9723 (CRT-tst-gmon-static): Likewise.
9724 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
9725 (tst-gmon-static-ENV): Likewise.
9726 (tests-special): Likewise.
9727 ($(objpfx)tst-gmon-static.out): Likewise.
9728 (clean-tst-gmon-static-data): Likewise.
9729 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
9730 * gmon/tst-gmon-static-gprof.sh: New file.
9731 * gmon/tst-gmon-static.c: Likewise.
9733 2017-10-13 Carlos O'Donell <carlos@redhat.com>
9736 * locale/programs/linereader.c (get_string): Don't warn on
9737 non-symbolic character.
9740 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
9744 * locale/programs/record-status.h: New file
9745 * locale/programs/locale.c: Add comment.
9746 * locale/programs/charmap-dir.c: Don't include error.h.
9747 (charmap_opendir): Use record_error.
9748 * locale/programs/charmap.c: Don't include error.h.
9749 (charmap_read): Use record_error, and record_warning.
9750 (parse_charmap): Likewise.
9751 * locale/programs/ld-address.c: Don't include error.h.
9752 (address_finish): Use record_error, and record_warning.
9753 * locale/programs/ld-collate.c: Don't include error.h.
9754 (collate_finish): Use record_error, and record_error_at_line.
9755 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
9756 (ctype_class_new): Likewise.
9757 (ctype_map_new): Likewise.
9758 (set_one_default): Likewise.
9759 (set_class_defaults): Likewise.
9760 (translit_flatten): Likewise.
9761 (allocate_arrays): Use record_error, and record_verbose.
9762 * locale/programs/ld-identification.c: Don't include error.h.
9763 (indentation_finish): Use record_error and record_warning.
9764 * locale/programs/ld-measurement.c: Don't include error.h.
9765 (measurement_finish): Use record_error.
9766 * locale/programs/ld-messages.c
9767 (message_finish): Likewise.
9768 * locale/programs/ld-monetary.c
9769 (monetary_finish): Likewise.
9770 * locale/programs/ld-name.c (name_finish): Use record_error
9772 * locale/programs/ld-numeric.c
9773 (numeric_finish): Use record_error.
9774 * locale/programs/ld-paper.c: Don't include error.h.
9775 (paper_finish): Use record_error.
9776 * locale/programs/ld-telephone.c: Don't include error.h.
9777 (telephone_finish): Use record_error.
9778 * locale/programs/ld-time.c (time_finish): Likewise.
9779 * locale/programs/linereader.h (lr_error): Make inline func.
9780 * locale/programs/localedef.c: Define recorded_warning_count,
9781 and recorded_error_count.
9782 (main): Use record_error. Use recorded_error_count and
9783 recorded_warning_count to issue correct error returns.
9784 (add_to_readlist): Use record_error.
9785 (find_locale): Likewise.
9786 (load_locale): Likewise.
9787 * locale/programs/localedef.h: Remove be_quiet
9788 and WITH_CUR_LOCALE.
9789 * locale/programs/locarchive.c (compare_from_file): Use
9791 * locale/programs/locfile.c (write_locale_data): Use
9793 * locale/programs/repertoire.c: Dont include error.h.
9794 (repertoire_complain): Use record_error.
9795 * localedata/tst-fmon.sh: Expect failures from localedef.
9796 * localedata/tst-locale.sh: Likewise.
9797 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
9799 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
9800 (REPORTS): Likewise.
9802 (i18n): Rename to...
9803 (i18n_ctype): ...this.
9804 (i18n-report): Rename to...
9805 (i18n_ctype-report): ...this.
9806 * localedata/locales/i18n_ctype: Regenerate.
9807 * localedata/locales/i18n: copy i18n_ctype.
9809 2017-10-13 Joseph Myers <joseph@codesourcery.com>
9811 * stdlib/strfroml.c: Include <bits/floatn.h>.
9812 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
9813 Define before include of <stdlib.h> and undefine afterwards, then
9814 define as weak alias.
9816 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
9817 Undefine and restore default definition. Use
9818 libm_alias_ldouble_other.
9820 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
9823 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
9826 2017-10-13 James Clarke <jrtc27@jrtc27.com>
9828 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9829 Assign sym_map to be map for local symbols, as TLS relocations
9830 use sym_map to determine whether the symbol is defined and to
9831 extract the TLS information.
9832 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9833 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9835 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9838 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
9839 (math_force_eval): Add powerpc version.
9842 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
9844 (do_test): Likewise.
9845 * stdio-common/tst-printf.sh: Likewise.
9846 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
9847 ifdef clause in order to set the carry bit right. Replace r0 by
9848 0 without changing the behavior.
9850 2017-10-13 Joseph Myers <joseph@codesourcery.com>
9852 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
9853 <libm-alias-ldouble.h>.
9854 (fabsl): Define using libm_alias_ldouble.
9855 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
9856 <libm-alias-ldouble.h>.
9857 (fabsl): Define using libm_alias_ldouble.
9859 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
9860 Remove conditional code.
9862 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
9863 Rename to __clog10_internal_l.
9864 (__clog10_internal_l): Define aliases using
9865 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
9868 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9870 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
9871 * benchtests/sincosf-inputs: New file.
9872 * benchtests/cosf-inputs: New file.
9873 * benchtests/sinf-inputs: New file.
9875 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9877 * posix/tst-spawn.c (do_test): Wait for both children.
9879 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
9882 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
9883 tests-pie): Add tst-gmon-pie.
9884 (CFLAGS-tst-gmon-pie.c): New.
9885 (CRT-tst-gmon-pie): Likewise.
9886 (tst-gmon-pie-ENV): Likewise.
9887 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
9888 ($(objpfx)tst-gmon-pie.out): Likewise.
9889 (clean-tst-gmon-pie-data): Likewise.
9890 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
9891 * gmon/gmon.c [PIC]: Include <link.h>.
9892 [PIC] (callback): New function.
9893 (write_hist): Add an argument for load address. Subtract load
9895 (write_call_graph): Likewise.
9896 (write_gmon): Call __dl_iterate_phdr to get load address, pass
9897 it to write_hist and write_call_graph.
9898 * gmon/tst-gmon-pie.c: New file.
9900 2017-10-11 Joseph Myers <joseph@codesourcery.com>
9902 * math/Makefile (test-types-basic): New variable.
9903 (test-types): Likewise.
9904 (libm-test-support): Use $(test-types) instead of $(types).
9905 (libm-tests-base-normal): Likewise.
9906 (libm-tests-base-finite): Likewise.
9907 (libm-tests-base-inline): Likewise.
9908 (generated): Likewise.
9909 ($(objpfx)libm-test-support-$(t).c): Likewise.
9910 (libm-tests-for-type iterator): Likewise.
9911 (libm-test-support iterator): Likewise.
9912 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
9913 (ulp_idx): Use ULP_IDX.
9914 * math/test-ldouble.h: Include <float.h>.
9915 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
9916 (ULP_IDX): New macro.
9917 (ULP_I_IDX): Likewise.
9918 * math/test-double.h (ULP_IDX): Likewise.
9919 (ULP_I_IDX): Likewise.
9920 * math/test-float.h (ULP_IDX): Likewise.
9921 (ULP_I_IDX): Likewise.
9922 * math/test-float128.h (ULP_IDX): Likewise.
9923 (ULP_I_IDX): Likewise.
9925 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9927 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
9928 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9929 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9930 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
9931 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9932 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
9933 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
9934 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9935 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9936 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9937 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
9938 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9939 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9940 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9941 (SINGLE_THREAD_BY_GLOBAL): Define.
9942 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
9944 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
9946 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
9948 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
9950 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
9951 (SINGLE_THREAD_BY_GLOBAL): Likewise.
9952 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
9955 2017-10-11 Andreas Schwab <schwab@suse.de>
9957 * nis/Makefile (aux): Remove.
9958 * nscd/Makefile (aux): Add nscd_hash.
9959 (nscd-modules): Likewise.
9960 ($(objpfx)nscd): Don't depend on libnsl.
9961 * nscd/nscd_hash.c: New file.
9962 * nscd/nscd_hash.h: Likewise.
9963 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
9964 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
9965 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
9966 instead of <nis/rpcsvc/nis.h>.
9967 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
9969 2017-10-11 Florian Weimer <fweimer@redhat.com>
9972 Avoid large NSS buffers with many addresses, aliases.
9973 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
9974 using dynarrays and struct alloc_buffer.
9975 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
9976 (tst-nss-files-hosts-multi): Link with -ldl.
9977 * nss/tst-nss-files-hosts-multi.c: New file.
9979 2017-10-11 Florian Weimer <fweimer@redhat.com>
9982 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
9983 scratch_buffer. Eliminate gotos.
9985 2017-10-11 Joseph Myers <joseph@codesourcery.com>
9987 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
9988 libm_alias_ldouble_other.
9989 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
9990 undefine and redefine.
9991 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
9992 (exp10l): Do not define here.
9993 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
9994 (weak_alias): Undefine and redefine.
9995 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
9996 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
9997 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
9998 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
10000 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
10001 [!__fma] (fma): Define using libm_alias_double.
10002 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
10003 [!__fmaf] (fmaf): Define using libm_alias_float.
10004 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
10005 (fmal): Define using libm_alias_ldouble.
10007 2017-10-10 Joseph Myers <joseph@codesourcery.com>
10009 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
10011 (libm_alias_double_other): Likewise.
10012 (libm_alias_double_r): Use libm_alias_double_other_r.
10013 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
10015 (libm_alias_float_other): Likewise.
10016 (libm_alias_float_r): Use libm_alias_float_other_r.
10017 * sysdeps/generic/libm-alias-float128.h
10018 (libm_alias_float128_other_r): New macro.
10019 (libm_alias_float128_other): Likewise.
10020 (libm_alias_float128_r): Use libm_alias_float128_other_r.
10021 * sysdeps/generic/libm-alias-ldouble.h
10022 (libm_alias_ldouble_other_r): New macro.
10023 (libm_alias_ldouble_other): Likewise.
10024 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
10025 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
10026 (libm_alias_double_other_r): New macro.
10027 (libm_alias_double_other): Likewise.
10028 (libm_alias_double_r): Use libm_alias_double_other_r.
10029 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
10030 (libm_alias_ldouble_other_r): New macro.
10031 (libm_alias_ldouble_other): Likewise.
10032 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
10033 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
10034 [!USE_AS_COMPAT]: Use libm_alias_double_other.
10035 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
10036 [!USE_AS_COMPAT]: Use libm_alias_float_other.
10037 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
10038 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
10039 * math/w_exp2f.c: Use libm_alias_float_other.
10040 * math/w_expf.c: Likewise.
10041 * math/w_log2f.c: Likewise.
10042 * math/w_logf.c: Likewise.
10043 * math/w_powf.c: Likewise.
10044 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
10045 [!__exp2f]: Use libm_alias_float_other.
10046 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
10047 [!__expf]: Use libm_alias_float_other.
10048 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
10049 [!__log2f]: Use libm_alias_float_other.
10050 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
10051 [!__logf]: Use libm_alias_float_other.
10052 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
10053 [!__powf]: Use libm_alias_float_other.
10055 2017-10-10 Florian Weimer <fweimer@redhat.com>
10057 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
10059 (_nss_files_gethostbyname3_r): Call it.
10061 2017-10-09 Joseph Myers <joseph@codesourcery.com>
10063 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
10064 error. Remove default definition of declare_mgen_alias.
10065 [!declare_mgen_alias_r]: Likewise.
10066 * sysdeps/generic/math-type-macros-double.h
10067 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
10068 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
10069 (declare_mgen_alias_r): Likewise.
10070 * sysdeps/generic/math-type-macros-float128.h
10071 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
10072 * sysdeps/generic/math-type-macros-ldouble.h
10073 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
10074 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
10076 (declare_mgen_alias_r_s): Likewise.
10077 (declare_mgen_alias_r): Likewise.
10078 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
10079 (lgamma_r): Define using libm_alias_double_r.
10080 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
10081 (lgammaf_r): Define using libm_alias_float_r.
10082 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
10083 (lgammal_r): Define using libm_alias_ldouble_r.
10084 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
10085 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
10087 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10089 * lib/glob.c (__glob_pattern_type): Remove now-spurious
10090 extern declaration.
10092 2017-10-09 Joseph Myers <joseph@codesourcery.com>
10094 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
10096 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
10099 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
10100 [__cplusplus >= 201103] (__USE_ISOC99): Define.
10101 * math/Makefile (test-math-cxx11): New test.
10102 * math/test-math-cxx11.cc: New file.
10104 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
10106 * login/openpty.c (openpty): Close slave pty file descriptor on error.
10108 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
10109 call to allocate the slave pty file descriptor.
10111 2017-10-06 Joseph Myers <joseph@codesourcery.com>
10113 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
10114 [!__fma] (fma): Define using libm_alias_double.
10115 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
10116 [!__fma] (fma): Define using libm_alias_double.
10118 * sysdeps/ieee754/float128/float128_private.h: Include
10119 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
10120 (libm_alias_ldouble_r): Undefine and redefine.
10121 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
10122 <libm-alias-ldouble.h>.
10123 (asinhl): Define using libm_alias_ldouble.
10124 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
10125 <libm-alias-ldouble.h>.
10126 (atanl): Define using libm_alias_ldouble.
10127 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
10128 <libm-alias-ldouble.h>.
10129 (cbrtl): Define using libm_alias_ldouble.
10130 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
10131 <libm-alias-ldouble.h>.
10132 (ceill): Define using libm_alias_ldouble.
10133 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
10134 <libm-alias-ldouble.h>.
10135 (copysignl): Define using libm_alias_ldouble.
10136 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
10137 <libm-alias-ldouble.h>.
10138 (cosl): Define using libm_alias_ldouble.
10139 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
10140 <libm-alias-ldouble.h>.
10141 (erfl): Define using libm_alias_ldouble.
10143 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
10144 <libm-alias-ldouble.h>.
10145 (expm1l): Define using libm_alias_ldouble.
10146 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
10147 <libm-alias-ldouble.h>.
10148 (fabsl): Define using libm_alias_ldouble.
10149 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
10150 <libm-alias-ldouble.h>.
10151 (floorl): Define using libm_alias_ldouble.
10152 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
10153 <libm-alias-ldouble.h>.
10154 (fmal): Define using libm_alias_ldouble.
10155 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
10156 <libm-alias-ldouble.h>.
10157 (frexpl): Define using libm_alias_ldouble.
10158 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
10159 libm_alias_ldouble.
10160 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
10161 <libm-alias-ldouble.h>.
10162 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
10163 libm_alias_ldouble.
10164 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
10165 <libm-alias-ldouble.h>.
10166 (getpayloadl): Define using libm_alias_ldouble.
10167 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
10168 <libm-alias-ldouble.h>.
10169 (llrintl): Define using libm_alias_ldouble.
10170 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
10171 <libm-alias-ldouble.h>.
10172 (llroundl): Define using libm_alias_ldouble.
10173 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
10174 <libm-alias-ldouble.h>.
10175 (logbl): Define using libm_alias_ldouble.
10176 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
10177 <libm-alias-ldouble.h>.
10178 (lrintl): Define using libm_alias_ldouble.
10179 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
10180 <libm-alias-ldouble.h>.
10181 (lroundl): Define using libm_alias_ldouble.
10182 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
10183 <libm-alias-ldouble.h>.
10184 (modfl): Define using libm_alias_ldouble.
10185 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
10186 <libm-alias-ldouble.h>.
10187 (nearbyintl): Define using libm_alias_ldouble.
10188 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
10189 <libm-alias-ldouble.h>.
10190 (nextafterl): Define using libm_alias_ldouble.
10191 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
10192 <libm-alias-ldouble.h>.
10193 (nextupl): Define using libm_alias_ldouble.
10194 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
10195 <libm-alias-ldouble.h>.
10196 (remquol): Define using libm_alias_ldouble.
10197 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
10198 <libm-alias-ldouble.h>.
10199 (rintl): Define using libm_alias_ldouble.
10200 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
10201 <libm-alias-ldouble.h>.
10202 (roundevenl): Define using libm_alias_ldouble.
10203 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
10204 <libm-alias-ldouble.h>.
10205 (roundl): Define using libm_alias_ldouble.
10206 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
10207 using libm_alias_ldouble.
10208 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
10209 <libm-alias-ldouble.h>.
10210 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
10211 Define using libm_alias_ldouble.
10212 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
10213 <libm-alias-ldouble.h>.
10214 (sincosl): Define using libm_alias_ldouble.
10215 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
10216 <libm-alias-ldouble.h>.
10217 (sinl): Define using libm_alias_ldouble.
10218 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
10219 <libm-alias-ldouble.h>.
10220 (tanhl): Define using libm_alias_ldouble.
10221 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
10222 <libm-alias-ldouble.h>.
10223 (tanl): Define using libm_alias_ldouble.
10224 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
10225 <libm-alias-ldouble.h>.
10226 (totalorderl): Define using libm_alias_ldouble.
10227 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
10228 <libm-alias-ldouble.h>.
10229 (totalordermagl): Define using libm_alias_ldouble.
10230 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
10231 <libm-alias-ldouble.h>.
10232 (truncl): Define using libm_alias_ldouble.
10233 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
10234 libm_alias_ldouble.
10235 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
10236 libm_alias_ldouble.
10237 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
10238 <libm-alias-ldouble.h>.
10239 (weak_alias): Do not undefine and redefine.
10240 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
10241 (copysignl): Define with long_double_symbol only if [IS_IN
10243 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
10244 <libm-alias-ldouble.h>.
10245 (weak_alias): Do not undefine and redefine.
10246 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
10247 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
10248 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
10249 <libm-alias-ldouble.h>.
10250 (weak_alias): Do not undefine and redefine.
10251 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
10252 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
10253 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
10254 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
10255 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
10256 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
10257 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
10258 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
10259 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
10260 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
10261 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
10262 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
10263 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
10264 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
10265 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
10266 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
10267 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
10268 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
10269 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
10270 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
10271 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
10272 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
10273 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
10274 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
10275 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
10276 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
10278 2017-10-06 Carlos O'Donell <carlos@redhat.com>
10281 * malloc/malloc.c (tcache_shutting_down): Use bool type.
10282 (tcache_thread_freeres): Set tcache_shutting_down before
10283 freeing the tcache.
10284 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
10285 * malloc/tst-malloc-tcache-leak.c: New file.
10287 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10289 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
10290 back to powerpc32 file.
10291 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
10292 (memrchr): Add __memrchr_power8 to ifunc list.
10293 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
10294 extra bytes for unaligned inputs.
10296 2017-10-06 Joseph Myers <joseph@codesourcery.com>
10298 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
10299 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
10300 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
10301 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
10302 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
10304 2017-10-05 Joseph Myers <joseph@codesourcery.com>
10306 * sysdeps/arm/libm-test-ulps: Update.
10308 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
10309 <libm-alias-ldouble.h>.
10310 (asinhl): Define using libm_alias_ldouble.
10311 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
10312 <libm-alias-ldouble.h>.
10313 (cbrtl): Define using libm_alias_ldouble.
10314 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
10315 <libm-alias-ldouble.h>.
10316 (copysignl): Define using libm_alias_ldouble.
10317 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
10318 <libm-alias-ldouble.h>.
10319 (cosl): Define using libm_alias_ldouble.
10320 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
10321 <libm-alias-ldouble.h>.
10322 (erfl): Define using libm_alias_ldouble.
10324 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
10325 <libm-alias-ldouble.h>.
10326 (fmal): Define using libm_alias_ldouble.
10327 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
10328 <libm-alias-ldouble.h>.
10329 (frexpl): Define using libm_alias_ldouble.
10330 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
10331 libm_alias_ldouble.
10332 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
10333 <libm-alias-ldouble.h>.
10334 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
10335 libm_alias_ldouble.
10336 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
10337 <libm-alias-ldouble.h>.
10338 (getpayloadl): Define using libm_alias_ldouble.
10339 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
10340 <libm-alias-ldouble.h>.
10341 (llrintl): Define using libm_alias_ldouble.
10342 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
10343 <libm-alias-ldouble.h>.
10344 (llroundl): Define using libm_alias_ldouble.
10345 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
10346 <libm-alias-ldouble.h>.
10347 (lrintl): Define using libm_alias_ldouble.
10348 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
10349 <libm-alias-ldouble.h>.
10350 (lroundl): Define using libm_alias_ldouble.
10351 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
10352 <libm-alias-ldouble.h>.
10353 (modfl): Define using libm_alias_ldouble.
10354 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
10355 <libm-alias-ldouble.h>.
10356 (nextupl): Define using libm_alias_ldouble.
10357 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
10358 <libm-alias-ldouble.h>.
10359 (remquol): Define using libm_alias_ldouble.
10360 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
10361 <libm-alias-ldouble.h>.
10362 (roundevenl): Define using libm_alias_ldouble.
10363 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
10364 <libm-alias-ldouble.h>.
10365 (roundl): Define using libm_alias_ldouble.
10366 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
10367 using libm_alias_ldouble.
10368 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
10369 <libm-alias-ldouble.h>.
10370 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
10371 <libm-alias-ldouble.h>.
10372 (setpayloadsigl): Define using libm_alias_ldouble.
10373 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
10374 <libm-alias-ldouble.h>.
10375 (sincosl): Define using libm_alias_ldouble.
10376 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
10377 <libm-alias-ldouble.h>.
10378 (sinl): Define using libm_alias_ldouble.
10379 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
10380 <libm-alias-ldouble.h>.
10381 (tanhl): Define using libm_alias_ldouble.
10382 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
10383 <libm-alias-ldouble.h>.
10384 (tanl): Define using libm_alias_ldouble.
10385 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
10386 <libm-alias-ldouble.h>.
10387 (totalorderl): Define using libm_alias_ldouble.
10388 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
10389 <libm-alias-ldouble.h>.
10390 (totalordermagl): Define using libm_alias_ldouble.
10391 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
10392 libm_alias_ldouble.
10393 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
10394 libm_alias_ldouble.
10396 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
10398 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
10400 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
10401 (__libc_ifunc_impl_list): Likewise.
10402 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
10403 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
10405 * benchtests/bench-memmove-walk.c: New file.
10406 * benchtests/Makefile (string-benchset): Add it.
10408 * benchtests/bench-memset-walk.c: New file.
10409 * benchtests/Makefile (string-benchset): Add it.
10411 * benchtests/bench-memcpy-walk.c: New file.
10412 * benchtests/Makefile (string-benchset): Add it.
10414 2017-10-05 Florian Weimer <fweimer@redhat.com>
10416 nscd: Eliminate compilation time dependency in the build output.
10417 * nscd/nscd_stat.c (STATDATA_VERSION)
10418 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
10419 (STATDATA_VERSION_FULL): New macro definitions.
10420 (compilation): Remove.
10421 (struct statdata): Adjust version member.
10422 (send_stats): Set version from STATDATA_VERSION_FULL.
10423 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
10425 2017-10-05 Joseph Myers <joseph@codesourcery.com>
10427 * configure.ac (--enable-add-ons): Remove option.
10428 (machine): Do not mention add-ons in comment.
10429 (LIBC_PRECONFIGURE): Likewise.
10430 (add_ons): Remove variable and sanity checks and logic to locate
10432 (add_ons_automatic): Remove variable.
10433 (configured_add_ons): Likewise.
10434 (add_ons_sfx): Likewise.
10435 (add_ons_pfx): Likewise.
10436 (add_on_subdirs): Likewise.
10437 (sysnames_add_ons): Likewise. Remove loop over add-ons and
10438 consideration of add-ons in Implies handling.
10439 (sysdeps_add_ons): Likewise.
10440 * configure: Regenerated.
10441 * libidn/configure.ac: Remove.
10442 * libidn/configure: Likewise.
10443 * sysdeps/unix/inet/configure.ac: New file.
10444 * sysdeps/unix/inet/configure: New generated file.
10445 * sysdeps/unix/inet/Subdirs: Add libidn.
10446 * Makeconfig (sysdeps-srcdirs): Remove variable.
10447 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
10448 ($(common-objpfx)config.status): Do not depend on add-on files.
10449 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
10451 (all-subdirs): Do not include $(add-on-subdirs).
10452 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
10453 * config.make.in (add-ons): Remove variable.
10454 (add-on-subdirs): Likewise.
10455 (sysdeps-add-ons): Likewise.
10456 * manual/Makefile (add-chapters): Remove.
10457 ($(objpfx)texis): Do not depend on $(add-chapters).
10458 (nonexamples): Do not handle $(add-chapters).
10459 (examples): Do not handle $(add-ons).
10460 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
10462 * manual/install.texi (Installation): Do not mention add-ons.
10463 (--enable-add-ons): Do not document configure option.
10464 * INSTALL: Regenerated.
10465 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
10466 * manual/maint.texi (Hierarchy Conventions): Do not mention
10468 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
10470 * scripts/gen-sorted.awk: Do not handle Subdirs files from
10472 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
10473 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
10475 2017-10-05 Andreas Schwab <schwab@suse.de>
10478 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
10479 (_IO_flush_all_lockp): Always lock list_all_lock.
10480 (_IO_flush_all_linebuffered): Likewise.
10481 (_IO_unbuffer_all): Likewise.
10483 2017-10-05 Florian Weimer <fweimer@redhat.com>
10486 Do not flush stdio streams on abort.
10487 * stdlib/abort.c (fflush): Remove macro definition.
10488 (abort): Remove stages related to stdio flushing.
10490 2017-10-05 Florian Weimer <fweimer@redhat.com>
10492 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
10494 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
10496 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10498 2017-10-05 Florian Weimer <fweimer@redhat.com>
10500 * support/support_format_hostent.c (support_format_hostent): Add
10501 more error information for NETDB_INTERNAL.
10503 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
10505 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
10506 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
10507 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
10508 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
10509 AC_DEFINE if multi-arch is enabled.
10510 * sysdeps/i386/configure: Regenerated.
10512 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
10514 * Makeconfig (+link-static-before-libc): Use
10515 $(DEFAULT-LDFLAGS-$(@F)).
10516 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
10517 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
10518 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
10520 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
10522 * elf/Makefile (tests): Add tst-main1.
10523 (modules-names): Add tst-main1mod.
10524 ($(objpfx)tst-main1): New.
10525 (CRT-tst-main1): Likewise.
10526 (LDFLAGS-tst-main1): Likewise.
10527 (LDLIBS-tst-main1): Likewise.
10528 (tst-main1mod.so-no-z-defs): Likewise.
10529 * elf/tst-main1.c: New file.
10530 * elf/tst-main1mod.c: Likewise.
10532 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
10534 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
10536 2017-10-04 Joseph Myers <joseph@codesourcery.com>
10538 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
10539 (fma): Define using libm_alias_double.
10540 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
10541 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
10543 (fmal): Do not define as compat symbol here.
10544 * sysdeps/alpha/fpu/s_fma.c: New file.
10546 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
10548 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
10550 2017-10-04 Joseph Myers <joseph@codesourcery.com>
10553 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
10555 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
10557 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
10558 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
10559 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
10560 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
10561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10562 Include <math_ldbl_opt.h>
10563 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
10565 (compat_symbol): Undefine and redefine.
10566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
10568 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
10569 (compat_symbol): Undefine and redefine.
10570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
10571 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
10572 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
10573 GLIBC_2_1 for libm.
10574 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
10575 GLIBC_2.0 copysignl symbol.
10576 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
10577 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
10579 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
10581 2017-10-04 Florian Weimer <fweimer@redhat.com>
10583 * scripts/check-local-headers.sh: Ignore nspr4 header file
10584 directory in addition to nspr.
10586 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
10589 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
10590 * configure: Regenerate.
10591 * crypt/Makefile (nss-cpp-flags): New variable.
10592 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
10593 (CPPFLAGS-md5-crypt.c): Use it.
10594 * scripts/check-local-headers.sh: Ignore nspr header file
10597 2017-10-04 Andreas Schwab <schwab@suse.de>
10599 * nis/Makefile (services): Remove compat.
10600 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
10601 ($(objpfx)libnss_compat.so): Remove rule.
10602 * nis/Versions (libnss_compat): Remove.
10603 * nss/Makefile (services): Add compat.
10604 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
10605 * nss/Versions (libnss_compat): Define.
10606 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
10607 Don't include <rpc/types.h>. Replace bool_t by bool.
10608 * nss/nss_compat/compat-initgroups.c: Likewise.
10609 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
10610 instead of <rpcsrv/ypclnt.h>.
10611 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
10612 yp_get_default_domain.
10613 * nss/nss_compat/compat-pwd.c: Likewise.
10614 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
10615 yp_get_default_domain.
10616 * nss/nss_compat/nisdomain.c: New file.
10617 * nss/nss_compat/nisdomain.h: Likewise.
10619 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
10622 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
10623 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10625 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
10628 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
10629 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
10631 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
10633 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
10634 "movl main@GOTOFF(%ebx), %eax".
10636 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
10638 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
10639 allow undefined _DYNAMIC in PIE libc.a.
10640 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
10643 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
10645 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
10648 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
10650 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
10653 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
10655 * math/test-math-iscanonical.cc (error): Replace bool with int.
10657 2017-10-03 Joseph Myers <joseph@codesourcery.com>
10659 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
10660 (modf): Define using libm_alias_double, only if [!__modf].
10661 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
10662 <libm-alias-double.h>.
10663 (modf): Define using libm_alias_double, only if [!__modf].
10664 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
10665 compat symbol here.
10666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
10667 (weak_alias): Do not undefine and redefine.
10668 (strong_alias): Likewise.
10669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
10670 (weak_alias): Likewise.
10671 (strong_alias): Likewise.
10673 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
10674 (logb): Define using libm_alias_double, only if [!__logb].
10675 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
10676 <libm-alias-double.h>.
10677 (logb): Define using libm_alias_double, only if [!__logb].
10678 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
10679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
10680 (weak_alias): Do not undefine and redefine.
10681 (strong_alias): Likewise.
10682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
10683 (weak_alias): Likewise.
10684 (strong_alias): Likewise.
10686 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
10688 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
10689 Check SHARED instead PIC.
10691 2017-10-03 Joseph Myers <joseph@codesourcery.com>
10693 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
10694 [!__fmaf] (fmaf): Define using libm_alias_float.
10696 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
10697 (frexp): Define using libm_alias_double.
10698 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
10699 <libm-alias-double.h>.
10700 (frexp): Define using libm_alias_double.
10701 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
10702 compat symbol here.
10704 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10707 * math/math.h: Trivial fix for unbalanced parentheses in comment.
10708 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
10709 (CFLAGS-test-math-iscanonical.cc): New variable.
10710 * math/test-math-iscanonical.cc: New file.
10711 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
10712 Provide a C++ implementation based on function overloading,
10713 rather than using __MATH_TG, which uses C-only builtins.
10714 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
10716 * sysdeps/powerpc/powerpc64le/Makefile
10717 (CFLAGS-test-math-iscanonical.cc): New variable.
10719 2017-10-03 Joseph Myers <joseph@codesourcery.com>
10721 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
10722 (ceil): Define using libm_alias_double.
10723 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
10724 (floor): Define using libm_alias_double.
10725 * sysdeps/ieee754/dbl-64/s_llround.c: Include
10726 <libm-alias-double.h>.
10727 (llround): Define using libm_alias_double.
10728 * sysdeps/ieee754/dbl-64/s_lround.c: Include
10729 <libm-alias-double.h>.
10730 (lround): Define using libm_alias_double.
10731 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
10732 <libm-alias-double.h>.
10733 (nearbyint): Define using libm_alias_double.
10734 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
10735 <libm-alias-double.h>.
10736 (remquo): Define using libm_alias_double.
10737 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
10738 (rint): Define using libm_alias_double.
10739 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
10740 (round): Define using libm_alias_double.
10741 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
10742 (trunc): Define using libm_alias_double.
10743 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
10744 <libm-alias-double.h>.
10745 (ceil): Define using libm_alias_double.
10746 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
10747 <libm-alias-double.h>.
10748 (floor): Define using libm_alias_double.
10749 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
10750 <libm-alias-double.h>.
10751 (llround): Define using libm_alias_double.
10752 [_LP64] (lround): Likewise.
10753 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
10754 <libm-alias-double.h>.
10755 [!_LP64] (lround): Define using libm_alias_double.
10756 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
10757 <libm-alias-double.h>.
10758 (nearbyint): Define using libm_alias_double.
10759 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
10760 <libm-alias-double.h>.
10761 (remquo): Define using libm_alias_double.
10762 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
10763 <libm-alias-double.h>.
10764 (rint): Define using libm_alias_double.
10765 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
10766 <libm-alias-double.h>.
10767 (round): Define using libm_alias_double.
10768 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
10769 <libm-alias-double.h>.
10770 (trunc): Define using libm_alias_double.
10771 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
10772 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
10773 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
10774 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
10775 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
10776 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
10777 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
10778 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
10779 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
10781 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
10783 * math/w_remainder.c: New file.
10784 * math/w_remainderf.c: New file.
10785 * math/w_remainderl.c: New file.
10787 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
10789 * elf/rtld.c (BOOTSTRAP_MAP): New.
10790 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
10791 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
10793 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
10795 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
10798 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10800 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
10801 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
10802 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
10803 rtld_hidden_data_ver): Define to empty.
10804 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
10805 __assert_perror_fail): Likewise.
10806 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
10807 (__rewinddir): Likewise.
10808 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
10809 (__profile_frequency): Likewise.
10810 * include/setjmp.h (__sigsetjmp): Likewise.
10811 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
10812 __libc_sigaction): Likewise.
10813 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
10814 not set hidden attribute.
10815 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
10816 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
10817 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
10818 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
10819 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
10820 __fxstatat64): Likewise.
10821 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
10822 (__uname): Likewise.
10823 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
10824 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
10825 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
10826 (NO_RTLD_HIDDEN): Set.
10827 * sysdeps/mach/hurd/configure: Refresh.
10828 * config.h.in: Refresh.
10830 2017-10-02 Joseph Myers <joseph@codesourcery.com>
10832 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
10833 (atan): Define using libm_alias_double.
10834 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
10835 (tan): Define using libm_alias_double.
10836 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
10837 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
10839 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
10840 define as weak alias of __atan. Do not define any aliases if
10842 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
10843 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
10844 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
10845 as weak alias of __tan. Do not define any aliases if [__tan].
10846 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
10847 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
10848 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
10850 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
10851 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
10852 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
10853 and define as weak alias of __atan.
10854 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
10856 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
10857 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
10858 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
10859 define as weak alias of __tan.
10861 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10863 * math/w_lgamma.c: New file.
10864 * math/w_lgammaf.c: New file.
10865 * math/w_lgammal.c: New file.
10867 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10869 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
10870 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
10871 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
10872 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
10873 * sysdeps/ieee754/flt-32/w_logf.c: New file.
10874 * sysdeps/ieee754/flt-32/w_powf.c: New file.
10875 * sysdeps/i386/fpu/w_log2f.c: New file.
10876 * sysdeps/i386/fpu/w_logf.c: New file.
10877 * sysdeps/i386/fpu/w_powf.c: New file.
10878 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
10879 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
10880 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
10882 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10883 H.J. Lu <hongjiu.lu@intel.com>
10885 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
10886 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
10887 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
10888 * sysdeps/ieee754/flt-32/w_expf.c: New file.
10889 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
10891 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
10892 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
10893 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
10894 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
10895 * sysdeps/i386/fpu/w_exp2f.c: New file.
10896 * sysdeps/i386/fpu/w_expf.c: New file.
10897 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
10898 * sysdeps/x86_64/fpu/w_expf.c: New file.
10900 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10902 * math/Versions (logf): New libm symbol at GLIBC_2.27.
10905 * math/w_log2f.c: New file.
10906 * math/w_logf.c: New file.
10907 * math/w_powf.c: New file.
10908 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
10909 * math/w_logf_compat.c (__logf_compat): Likewise.
10910 * math/w_powf_compat.c (__powf_compat): Likewise.
10911 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
10912 * sysdeps/ia64/fpu/e_logf.S: Likewise.
10913 * sysdeps/ia64/fpu/e_powf.S: Likewise.
10914 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10915 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10916 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10917 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10918 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10919 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10920 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10921 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10922 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10923 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10924 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10925 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10934 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10935 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10936 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10937 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10938 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10943 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10944 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10945 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10947 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10949 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10950 (sysdep_routines): Add memrchr_power8.
10951 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10952 (memrchr): Add __memrchr_power8 to list of memrchr functions.
10953 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
10955 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
10956 (memrchr): Add __memrchr_power8 to ifunc list.
10957 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
10959 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
10962 * sysdeps/unix/sysv/linux/posix_fadvise64.c
10963 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
10965 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10966 (__posix_fallocate64_l64): Likewise.
10968 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
10971 * sysdeps/unix/sysv/linux/sched_setaffinity.c
10972 (__sched_setaffinity_new): Add libc_hidden_proto and
10975 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
10978 * include/glob.h (__glob64): Add libc_hidden_proto.
10979 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
10982 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
10985 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
10988 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
10991 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
10993 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
10996 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
10999 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11002 * csu/version.c (__libc_print_version): Add attribute_hidden.
11004 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11007 * include/libc-internal.h (__init_misc): Add attribute_hidden.
11009 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11012 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
11014 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11017 * nscd/nscd_helper.c (__nis_hash): New prototype.
11019 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11022 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
11023 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
11025 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11026 * termios/tcgetattr.c (__tcgetattr): Likewise.
11028 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11031 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
11032 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
11033 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
11034 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
11035 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
11037 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11040 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
11042 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11045 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
11046 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
11048 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11051 * intl/hash-string.h (__hash_string): Add attribute_hidden.
11053 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11056 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
11057 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
11059 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11062 * include/ifreq.h: New file.
11063 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
11064 (__ifreq): Likewise.
11065 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
11066 (__ifreq): Likewise.
11068 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11071 * include/idna.h: New file.
11072 * inet/getnameinfo.c: Include <idna.h> instead of
11074 (__idna_to_unicode_lzlz): Removed.
11075 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
11077 (__idna_to_ascii_lz): Removed.
11078 (__idna_to_unicode_lzlz): Likewise.
11080 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11083 * include/plural-exp.h: New file.
11084 * intl/plural-exp.c: Include <plural-exp.h> instead of
11087 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11090 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
11091 "getsourcefilter.h".
11092 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
11093 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
11094 "getsourcefilter.h".
11095 (__get_sol): Removed.
11097 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11100 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
11102 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
11104 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11107 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
11110 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11113 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
11115 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11118 * include/search.h (__tdestroy): Add libc_hidden_proto.
11119 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
11121 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11124 * include/assert.h (__assert_fail_base): Add attribute_hidden.
11126 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11129 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
11132 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11135 * include/signal.h (__kill): Add libc_hidden_proto.
11136 (__sigblock): Likewise.
11137 (__sigprocmask): Likewise.
11138 (__sigaltstack): Likewise.
11139 * signal/kill.c (__kill): Add libc_hidden_def.
11140 * signal/sigblock.c (__sigblock): Likewise.
11141 * signal/sigprocmask.c (__sigprocmask): Likewise.
11142 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
11143 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
11144 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
11145 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
11146 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
11148 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
11150 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
11151 (__sigprocmask): Likewise.
11152 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
11154 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
11155 (__sigprocmask): Likewise.
11156 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
11159 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11162 * include/string.h (__strsep): Add libc_hidden_proto.
11163 * string/strsep.c (__strsep): Add libc_hidden_def.
11165 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11168 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
11170 (__spawni): Likewise.
11172 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11175 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
11176 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
11179 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11182 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
11184 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11187 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
11188 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
11189 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
11190 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
11191 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
11193 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
11194 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
11196 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11199 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
11200 (__dcigettext): Likewise.
11202 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11205 * include/sys/sysinfo.h (__get_nprocs_conf): Add
11207 (__get_nprocs): Likewise.
11208 (__get_phys_pages): Likewise.
11209 (__get_avphys_pages): Likewise.
11210 (__get_child_max): Add attribute_hidden.
11211 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
11212 (__get_nprocs): Likewise.
11213 (__get_phys_pages): Likewise.
11214 (__get_avphys_pages): Likewise.
11215 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
11217 (__get_nprocs): Likewise.
11218 (__get_phys_pages): Likewise.
11219 (__get_avphys_pages): Likewise.
11220 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
11222 (__get_nprocs_conf): Likewise.
11223 (__get_phys_pages): Likewise.
11224 (__get_avphys_pages): Likewise.
11226 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11229 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
11231 (__netlink_close): Likewise.
11232 (__netlink_free_handle): Likewise.
11233 (__netlink_request): Likewise.
11235 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11238 * include/rpc/rpc.h (__rpc_thread_variables): Add
11240 (__rpc_thread_svc_cleanup): Likewise.
11241 (__rpc_thread_clnt_cleanup): Likewise.
11242 (__rpc_thread_key_cleanup): Likewise.
11244 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11247 * include/sys/uio.h (__readv): Add libc_hidden_proto.
11248 (__writev): Likewise.
11249 * misc/readv.c (__readv): Add libc_hidden_def.
11250 * misc/writev.c (__writev): Likewise.
11251 * sysdeps/posix/readv.c (__readv): Likewise.
11252 * sysdeps/posix/writev.c (__writev): Likewise.
11253 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
11254 (__readv): Likewise.
11255 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
11256 (__writev): Likewise.
11258 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11261 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
11262 (__regcomp): Add libc_hidden_proto.
11263 (__regexec): Likewise.
11264 (__regfree): Likewise.
11265 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
11266 (__regfree): Likewise.
11267 * posix/regexec.c (__regexec): Likewise.
11269 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11272 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
11273 (__getutent): Likewise.
11274 (__getutid): Likewise.
11275 (__getutline): Likewise.
11276 (__pututline): Likewise.
11277 (__getutent_r): Likewise.
11278 (__getutid_r): Likewise.
11279 (__getutline_r): Likewise.
11280 (__utmpname): Add attribute_hidden.
11281 (__setutent): Likewise.
11282 (__endutent): Likewise.
11283 * login/getutent.c (__getutent): Add libc_hidden_def.
11284 * login/getutent_r.c (__getutent_r): Likewise.
11285 (__pututline): Likewise.
11286 * login/getutid.c (__getutid): Likewise.
11287 * login/getutid_r.c (__getutid_r): Likewise.
11288 * login/getutline.c (__getutline): Likewise.
11289 * login/getutline_r.c (__getutline_r): Likewise.
11290 * login/updwtmp.c (__updwtmp): Likewise.
11292 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11295 * include/dirent.h (__opendir): Always add attribute_hidden.
11296 (__fdopendir): Likewise.
11297 (__closedir): Likewise.
11298 (__readdir): Likewise.
11299 (__readdir64): Add libc_hidden_proto.
11300 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
11301 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
11302 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
11303 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
11306 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11309 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
11310 * include/netdb.h (__gethostbyaddr_r): Likewise.
11311 (__gethostbyname_r): Likewise.
11312 (__gethostbyname2_r): Likewise.
11313 (__getnetbyaddr_r): Likewise.
11314 (__getnetbyname_r): Likewise.
11315 (__getservbyname_r): Likewise.
11316 (__getservbyport_r): Likewise.
11317 (__getprotobyname_r): Likewise.
11318 (__getprotobynumber_r): Likewise.
11319 (__getnetgrent_r): Likewise.
11320 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
11321 (__getrpcbynumber_r): Likewise.
11322 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
11324 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11327 * include/stdio.h (__fcloseall): Add attribute_hidden.
11328 (__getline): Likewise.
11329 (__path_search): Likewise.
11330 (__gen_tempname): Likewise.
11331 (__libc_message): Likewise.
11332 (__flockfile): Likewise.
11333 (__funlockfile): Likewise.
11334 (__fxprintf): Likewise.
11335 (__fxprintf_nocancel): Likewise.
11337 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11340 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
11341 (__sgetsgent_r): Likewise.
11343 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11346 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
11347 (__statfs64): Likewise.
11348 (__fstatfs64): Likewise.
11349 * include/sys/statvfs.h (__statvfs64): Likewise.
11350 (__fstatvfs64): Likewise.
11351 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
11352 (__statfs_filesize_max): Likewise.
11353 (__statfs_symlinks): Likewise.
11354 (__statfs_chown_restricted): Likewise.
11356 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11359 * include/time.h (__tzstring): Add attribute_hidden.
11360 (__tzfile_read): Likewise.
11361 (__tzfile_compute): Likewise.
11362 (__tzfile_default): Likewise.
11363 (__tzset_parse_tz): Likewise.
11364 (__offtime): Likewise.
11365 (__asctime_r): Likewise.
11366 (__tzset): Likewise.
11367 (__tz_convert): Likewise.
11368 (__getdate_r): Likewise.
11369 (__getclktck): Likewise.
11371 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11374 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
11375 (__nscd_unmap): Likewise.
11376 (__nscd_cache_search): Likewise.
11377 (__nscd_get_nl_timestamp): Likewise.
11378 (__nscd_getpwnam_r): Likewise.
11379 (__nscd_getpwuid_r): Likewise.
11380 (__nscd_getgrnam_r): Likewise.
11381 (__nscd_getgrgid_r): Likewise.
11382 (__nscd_gethostbyname_r): Likewise.
11383 (__nscd_gethostbyname2_r): Likewise.
11384 (__nscd_gethostbyaddr_r): Likewise.
11385 (__nscd_getai): Likewise.
11386 (__nscd_getgrouplist): Likewise.
11387 (__nscd_getservbyname_r): Likewise.
11388 (__nscd_getservbyport_r): Likewise.
11389 (__nscd_innetgr): Likewise.
11390 (__nscd_setnetgrent): Likewise.
11392 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11395 * include/gmp.h: Declare internal functions only if _ISOMAC is
11397 (__mpn_extract_double): Add attribute_hidden.
11398 (__mpn_extract_long_double): Likewise.
11399 (__mpn_extract_float128): Likewise.
11400 (__mpn_construct_float): Likewise.
11401 (__mpn_construct_double): Likewise.
11402 (__mpn_construct_long_double): Likewise.
11403 (__mpn_construct_float128): Likewise.
11404 (mpn_add_1): Likewise.
11405 (mpn_addmul_1): Likewise.
11406 (mpn_add_n): Likewise.
11407 (mpn_cmp): Likewise.
11408 (mpn_divrem): Likewise.
11409 (mpn_lshift): Likewise.
11410 (mpn_mul): Likewise.
11411 (mpn_mul_1): Likewise.
11412 (mpn_rshift): Likewise.
11413 (mpn_sub_1): Likewise.
11414 (mpn_submul_1): Likewise.
11415 (mpn_sub_n): Likewise.
11417 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11420 * include/wchar.h (__wcsnlen): Add attribute_hidden.
11421 (__wcscat): Likewise.
11422 (__btowc): Likewise.
11423 (__wcrtomb): Likewise.
11424 (__mbsrtowcs): Likewise.
11425 (__wcsrtombs): Likewise.
11426 (__mbsnrtowcs): Likewise.
11427 (__wcsnrtombs): Likewise.
11428 (__wcsncpy): Likewise.
11429 (__wcpncpy): Likewise.
11430 (__wmemcpy): Likewise.
11431 (__wmempcpy): Likewise.
11432 (__wmemmove): Likewise.
11433 (__wcschrnul): Likewise.
11434 (__vfwscanf): Likewise.
11435 (__vswprintf): Likewise.
11436 (__fwprintf): Likewise.
11437 (__vfwprintf): Likewise.
11439 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11442 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
11443 (__getgrgid_r): Likewise.
11444 (__getgrnam_r): Likewise.
11445 * include/pwd.h (__getpwuid_r): Likewise.
11446 (__getpwnam_r): Likewise.
11447 (__fgetpwent_r): Likewise.
11448 * include/shadow.h (__getspnam_r): Likewise.
11449 (__sgetspent_r): Likewise.
11450 (__fgetspent_r): Likewise.
11452 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11455 * include/unistd.h (__access): Add attribute_hidden.
11456 (__lseek64): Likewise.
11457 (__libc_pread64): Likewise.
11458 (__pipe2): Likewise.
11459 (__sleep): Likewise.
11460 (__chdir): Likewise.
11461 (__fchdir): Likewise.
11462 (__getcwd): Likewise.
11463 (__rmdir): Likewise.
11464 (__execvpe): Likewise.
11465 (__execve): Likewise.
11466 (__setsid): Likewise.
11467 (__getuid): Likewise.
11468 (__geteuid): Likewise.
11469 (__getgid): Likewise.
11470 (__getegid): Likewise.
11471 (__getgroups): Likewise.
11472 (__group_member): Likewise.
11473 (__ttyname_r): Likewise.
11474 (__isatty): Likewise.
11475 (__readlink): Likewise.
11476 (__unlink): Likewise.
11477 (__gethostname): Likewise.
11478 (__profil): Likewise.
11479 (__getdtablesize): Likewise.
11481 (__ftruncate): Likewise.
11482 (__ftruncate64): Likewise.
11484 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11487 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
11488 * argp/argp-fs-xinl.c: Likewise.
11489 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
11490 * argp/argp-parse.c: Include <argp.h>.
11491 * argp/argp-xinl.c: Likewise.
11492 * include/argp-fmtstream.h: New file.
11493 * include/argp.h (__argp_error): Add attribute_hidden.
11494 (__argp_failure): Likewise.
11495 (__argp_input): Likewise.
11496 (__argp_state_help): Likewise.
11498 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11501 * include/wchar.h (____wcstof_l_internal): New prototype.
11502 (____wcstod_l_internal): Likewise.
11503 (____wcstold_l_internal): Likewise.
11504 (____wcstol_l_internal): Likewise.
11505 (____wcstoul_l_internal): Likewise.
11506 (____wcstoll_l_internal): Likewise.
11507 (____wcstoull_l_internal): Likewise.
11508 (____wcstof128_l_internal): Likewise.
11509 * sysdeps/ieee754/float128/wcstof128.c
11510 (____wcstof128_l_internal): Removed.
11511 * sysdeps/ieee754/float128/wcstof128_l.c
11512 (____wcstof128_l_internal): Likewise.
11513 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
11514 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
11515 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
11516 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
11517 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
11518 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
11519 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
11520 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
11521 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
11522 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
11524 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11527 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
11528 instead of <sys/statvfs.h>.
11529 (__internal_statvfs): Removed.
11530 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
11531 instead of <sys/statvfs.h>.
11532 (__internal_statvfs64): Removed.
11533 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
11534 "internal_statvfs.h" instead of <sys/statvfs.h>.
11535 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
11536 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
11537 instead of <sys/statvfs.h>.
11538 (__internal_statvfs): Removed.
11539 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
11540 instead of <sys/statvfs.h>.
11541 (__internal_statvfs64): Removed.
11543 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11546 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
11547 (__gconv_close): Likewise.
11548 (__gconv): Likewise.
11549 (__gconv_find_transform): Likewise.
11550 (__gconv_lookup_cache): Likewise.
11551 (__gconv_compare_alias_cache): Likewise.
11552 (__gconv_load_cache): Likewise.
11553 (__gconv_get_path): Likewise.
11554 (__gconv_close_transform): Likewise.
11555 (__gconv_release_cache): Likewise.
11556 (__gconv_find_shlib): Likewise.
11557 (__gconv_release_shlib): Likewise.
11558 (__gconv_get_builtin_trans): Likewise.
11559 (__gconv_compare_alias): Likewise.
11560 * include/dlfcn.h (_dlerror_run): Likewise.
11561 * include/stdio.h (__fortify_fail_abort): Likewise.
11562 * include/time.h (__tz_compute): Likewise.
11563 (__strptime_internal): Likewise.
11564 * intl/gettextP.h (_nl_find_domain): Likewise.
11565 (_nl_load_domain): Likewise.
11566 (_nl_find_msg): Likewise.
11567 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
11568 (EXTRACT_PLURAL_EXPRESSION): Likewise.
11569 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
11570 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
11571 (__gai_find_request): Likewise.
11572 (__gai_remove_request): Likewise.
11573 (__gai_notify): Likewise.
11574 (__gai_notify_only): Likewise.
11575 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
11576 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
11577 (_dl_non_dynamic_init): Likewise.
11578 (_dl_aux_init): Likewise.
11579 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
11580 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
11582 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
11583 (__wcsmbs_clone_conv): Likewise.
11584 (__wcsmbs_named_conv): Likewise.
11586 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11589 * include/stdlib.h (__random): Add attribute_hidden.
11590 (__random_r): Likewise.
11591 (__srandom_r): Likewise.
11592 (__initstate_r): Likewise.
11593 (__setstate_r): Likewise.
11594 (__erand48_r): Likewise.
11595 (__nrand48_r): Likewise.
11596 (__jrand48_r): Likewise.
11597 (__srand48_r): Likewise.
11598 (__seed48_r): Likewise.
11599 (__lcong48_r): Likewise.
11600 (__drand48_iterate): Likewise.
11601 (__setenv): Likewise.
11602 (__unsetenv): Likewise.
11603 (__clearenv): Likewise.
11604 (__ptsname_r): Likewise.
11605 (__posix_openpt): Likewise.
11606 (__add_to_environ): Likewise.
11607 (__realpath): Add libc_hidden_proto.
11608 (__ecvt_r): Likewise.
11609 (__fcvt_r): Likewise.
11610 (__qecvt_r): Likewise.
11611 (__qfcvt_r): Likewise.
11612 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
11613 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
11615 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11618 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
11619 * include/time.h (__mktime_internal): Likewise.
11620 * libio/iolibio.h (__fopen_internal): Likewise.
11622 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
11624 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
11626 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
11627 Correct offset used to restore PIC register.
11629 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
11632 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
11633 code to load address of __getcontext_ret when generating PIC code.
11635 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
11637 * elf/Makefile (tests-static-internal): Add
11638 tst-tls1-static-non-pie.
11639 (LDFLAGS-tst-tls1-static-non-pie): New.
11640 * elf/tst-tls1-static-non-pie.c: New file.
11642 2017-09-29 Joseph Myers <joseph@codesourcery.com>
11644 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
11645 (asinh): Define using libm_alias_double.
11646 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
11647 (cbrt): Define using libm_alias_double.
11648 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
11649 <libm-alias-double.h>.
11650 (copysign): Define using libm_alias_double.
11651 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
11652 (erf): Define using libm_alias_double.
11654 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
11655 (expm1): Define using libm_alias_double.
11656 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
11657 (fabs): Define using libm_alias_double.
11658 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
11660 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
11661 <libm-alias-double.h>.
11662 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
11664 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
11665 <libm-alias-double.h>.
11666 (getpayload): Define using libm_alias_double.
11667 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
11668 <libm-alias-double.h>.
11669 (llrint): Define using libm_alias_double.
11670 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
11671 (lrint): Define using libm_alias_double.
11672 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
11673 <libm-alias-double.h>.
11674 (nextup): Define using libm_alias_double.
11675 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
11676 <libm-alias-double.h>.
11677 (roundeven): Define using libm_alias_double.
11678 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
11680 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
11681 <libm-alias-double.h>.
11682 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
11683 using libm_alias_double.
11684 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
11685 (cos): Define using libm_alias_double.
11687 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
11688 <libm-alias-double.h>.
11689 (sincos): Define using libm_alias_double.
11690 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
11691 (tanh): Define using libm_alias_double.
11692 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
11693 <libm-alias-double.h>.
11694 (totalorder): Define using libm_alias_double.
11695 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
11696 <libm-alias-double.h>.
11697 (totalordermag): Define using libm_alias_double.
11698 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
11700 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
11702 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
11703 <libm-alias-double.h>.
11704 (getpayload): Define using libm_alias_double.
11705 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
11706 <libm-alias-double.h>.
11707 (roundeven): Define using libm_alias_double.
11708 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
11709 <libm-alias-double.h>.
11710 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
11711 <libm-alias-double.h>.
11712 (totalorder): Define using libm_alias_double.
11713 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
11714 <libm-alias-double.h>.
11715 (totalordermag): Define using libm_alias_double.
11716 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
11717 libc compat symbol here.
11718 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
11719 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
11720 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
11721 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
11722 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
11723 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
11724 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
11725 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
11726 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
11727 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
11729 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
11731 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
11732 _dl_relocate_static_pie instead of _dl_start to compute load
11733 address in static PIE. Return 0 if _DYNAMIC is undefined for
11736 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
11738 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
11739 _DYNAMIC is undefined for static executable.
11741 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
11743 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
11745 2017-09-29 Joseph Myers <joseph@codesourcery.com>
11747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11749 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
11751 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
11752 (__ieee754_lgamma_r): Use fabs rather than __fabs.
11753 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11754 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11755 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
11756 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
11757 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
11758 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
11759 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
11760 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
11761 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
11762 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
11763 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
11764 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
11765 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11766 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11767 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
11769 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
11771 * math/bits/cmathcalls.h (cimag): Remove inline.
11772 (creal): Remove inline.
11773 (conj): Remove inline.
11775 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
11777 * math/Makefile (type-float-routines): Add e_powf_log2_data.
11778 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
11779 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
11780 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
11781 (issignalingf_inline): Likewise.
11782 (POWF_LOG2_TABLE_BITS): Likewise.
11783 (POWF_LOG2_POLY_ORDER): Likewise.
11784 (POWF_SCALE_BITS): Likewise.
11785 (POWF_SCALE): Likewise.
11786 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
11787 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
11788 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
11790 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
11792 * math/Makefile (type-float-routines): Add e_log2f_data.
11793 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
11794 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
11795 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
11796 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
11797 * sysdeps/i386/fpu/e_log2f_data.c: New file.
11798 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
11799 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
11801 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
11803 * math/Makefile (type-float-routines): Add e_logf_data.
11804 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
11805 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
11806 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
11807 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
11808 * sysdeps/i386/fpu/e_logf_data.c: New file.
11809 * sysdeps/ia64/fpu/e_logf_data.c: New file.
11810 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
11812 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
11814 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
11815 undefined _DYNAMIC in PIE libc.a.
11816 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
11819 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
11821 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
11822 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
11823 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
11824 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
11825 (__signbit): Remove.
11826 (__signbitl): Remove.
11827 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
11828 (__signbit): Remove.
11829 (__signbitl): Remove.
11830 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
11831 (__signbit): Remove.
11832 (__signbitl): Remove.
11833 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
11834 (__signbit): Remove.
11835 (__signbitl): Remove.
11836 * sysdeps/tile/bits/mathinline.h: Delete file.
11837 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
11838 (__signbit): Remove.
11839 (__signbitl): Remove.
11841 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
11843 * math/math.h: Improve handling of C99 isgreater macros.
11844 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
11845 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
11846 * sysdeps/powerpc/bits/mathinline.h: Likewise.
11847 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11848 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
11850 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
11852 * sysdeps/aarch64/libm-test-ulps: Update.
11854 2017-09-28 Joseph Myers <joseph@codesourcery.com>
11857 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11858 math_opt_barrier on argument when doing arithmetic on it.
11859 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11860 Likewise. Use math_force_eval not math_opt_barrier after
11862 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
11863 math_opt_barrier on argument when doing arithmetic on it.
11864 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
11867 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
11869 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
11871 (__freeifaddrs): Likewise.
11873 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11875 * include/dirent.h (__dirfd): New declaration.
11876 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
11878 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
11879 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
11880 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
11881 * include/unistd.h (__revoke): New declaration.
11882 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
11884 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
11885 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
11887 * include/dirent.h (__seekdir): New declaration.
11888 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
11889 redefine as weak alias.
11890 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
11892 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
11893 and use libc_hidden_def on them.
11894 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
11896 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
11897 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
11898 instead of getifaddrs and freeifaddrs.
11900 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
11903 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
11904 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
11905 (__dso_handle): Remove declaration.
11906 * dlfcn/tstatexit.c (__dso_handle): Removed.
11907 (main): Don't check __dso_handle.
11908 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
11909 (main): Don't check __dso_handle.
11910 * include/dso_handle.h: New file.
11911 * malloc/mtrace.c: Include <dso_handle.h>.
11912 (mtrace): Pass __dso_handle directly.
11913 * nptl/pthread_atfork.c: Include <dso_handle.h>.
11914 (__dso_handle): Remove declaration.
11915 (__pthread_atfork): Pass __dso_handle directly.
11916 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
11917 (__dso_handle): Removed.
11918 * posix/wordexp-test.c: Include <dso_handle.h>.
11919 (__dso_handle): Remove declaration.
11920 (__app_register_atfork): Pass __dso_handle directly.
11921 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
11922 (__dso_handle): Remove declaration.
11923 (at_quick_exit): Pass __dso_handle directly.
11924 * stdlib/atexit.c: Include <dso_handle.h>.
11925 (__dso_handle): Remove declaration.
11926 (atexit): Pass __dso_handle directly.
11927 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
11928 (__dso_handle): Removed.
11930 2017-09-26 Joseph Myers <joseph@codesourcery.com>
11932 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
11935 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
11937 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
11938 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
11939 values to correct default value for given type.
11941 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
11944 * elf/Makefile (tests): Add tst-debug1.
11945 ($(objpfx)tst-debug1): New.
11946 ($(objpfx)tst-debug1.out): Likewise.
11947 ($(objpfx)tst-debug1mod1.so): Likewise.
11948 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
11949 with p_filesz == 0.
11950 * elf/tst-debug1.c: New file.
11952 2017-09-26 Joseph Myers <joseph@codesourcery.com>
11954 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
11955 Define using __ifunc.
11957 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11959 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
11962 2017-09-26 Joseph Myers <joseph@codesourcery.com>
11965 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
11967 2017-09-26 Florian Weimer <fweimer@redhat.com>
11969 * resolv/Makefile (tests-internal): Fix typo in comment.
11971 2017-09-26 Florian Weimer <fweimer@redhat.com>
11973 * resolv/nss_dns/dns-host.c: Fix typo in comment.
11975 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11977 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
11978 Use an union instead of a max_align_t array for __space,
11979 so that __space is the same size on all platforms.
11980 * malloc/scratch_buffer_grow_preserve.c
11981 (__libc_scratch_buffer_grow_preserve): Likewise.
11984 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
11986 * posix/Makefile (routines): Add glob-lstat-compat and
11987 glob64-lstat-compat.
11988 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
11989 * posix/glob-lstat-compat.c: New file.
11990 * posix/glob64-lstat-compat.c: Likewise.
11991 * posix/tst-glob_lstat_compat.c: Likewise.
11992 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
11993 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
11994 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
11995 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
11997 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
11998 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
11999 * posix/glob.c (glob_lstat): New function.
12000 (glob): Rename to __glob and add versioned symbol to 2.27.
12001 (glob_in_dir): Use glob_lstat.
12002 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
12003 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12004 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
12006 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
12007 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
12008 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
12009 gl_lstat on glob call.
12010 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
12011 and glob64 symbols.
12012 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12013 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12014 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12015 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12016 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12017 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12018 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12019 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12020 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12021 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12022 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12023 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12026 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
12027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12028 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12029 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12030 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12031 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12032 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12035 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12036 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12037 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12039 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
12041 * configure.ac (AS): Require binutils 2.25 or later.
12042 * configure: Regenerated.
12044 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
12047 * stdlib/test-atexit-race-common.c (do_test): Minimize required
12050 2017-09-25 DJ Delorie <dj@redhat.com>
12053 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
12056 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
12058 * sysdeps/ieee754/dbl-64/sincos32.h
12059 [SINCCOS32_H]: Remove define.
12060 [SINCOS32_H]: Define.
12062 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
12064 * math/Versions (expf): New libm symbol at GLIBC_2.27.
12066 * math/w_exp2f.c: New file.
12067 * math/w_expf.c: New file.
12068 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
12069 * math/w_expf_compat.c (__expf_compat): Likewise.
12070 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
12071 * sysdeps/ia64/fpu/e_expf.S: Likewise.
12072 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
12073 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12074 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12075 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12076 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12077 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12078 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12079 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12080 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12081 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12082 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12083 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12092 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12093 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12094 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12095 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12096 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12101 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12102 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12103 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12105 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
12107 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
12108 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
12109 (roundtoint, converttoint): Likewise.
12110 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
12111 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
12112 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
12113 * sysdeps/ieee754/flt-32/math_config.h: New file.
12114 * sysdeps/ieee754/flt-32/math_errf.c: New file.
12115 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
12116 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
12117 * sysdeps/i386/fpu/math_errf.c: New file.
12118 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
12119 * sysdeps/ia64/fpu/math_errf.c: New file.
12120 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
12121 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
12123 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
12125 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
12126 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
12127 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
12128 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
12129 to make sure that these symbols are defined.
12130 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
12132 (__need_NULL): Do not define.
12133 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
12135 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
12136 CMGROUP_MAX, cmsgcred): Do not define.
12137 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
12139 * bits/socket.h: Likewise.
12140 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
12141 __gettimeofday instead of gettimeofday.
12142 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
12143 instead of settimeofday.
12145 2017-09-22 Joseph Myers <joseph@codesourcery.com>
12147 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
12148 (asinhf): Define using libm_alias_float.
12149 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
12150 (atanf): Define using libm_alias_float.
12151 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
12152 (cbrtf): Define using libm_alias_float.
12153 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
12154 (ceilf): Define using libm_alias_float.
12155 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
12156 <libm-alias-float.h>.
12157 (copysignf): Define using libm_alias_float.
12158 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
12159 (cosf): Define using libm_alias_float.
12160 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
12161 (erff): Define using libm_alias_float.
12163 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
12164 (expm1f): Define using libm_alias_float.
12165 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
12166 (fabsf): Define using libm_alias_float.
12167 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
12168 (floorf): Define using libm_alias_float.
12169 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
12170 (frexpf): Define using libm_alias_float.
12171 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
12173 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
12174 <libm-alias-float.h>.
12175 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
12177 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
12178 <libm-alias-float.h>.
12179 (getpayloadf): Define using libm_alias_float.
12180 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
12181 <libm-alias-float.h>.
12182 (llrintf): Define using libm_alias_float.
12183 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
12184 <libm-alias-float.h>.
12185 (llroundf): Define using libm_alias_float.
12186 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
12187 (logbf): Define using libm_alias_float.
12188 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
12189 (lrintf): Define using libm_alias_float.
12190 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
12191 (lroundf): Define using libm_alias_float.
12192 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
12193 (modff): Define using libm_alias_float.
12194 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
12195 <libm-alias-float.h>.
12196 (nearbyintf): Define using libm_alias_float.
12197 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
12198 <libm-alias-float.h>.
12199 (nextafterf): Define using libm_alias_float.
12200 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
12201 <libm-alias-float.h>.
12202 (nextupf): Define using libm_alias_float.
12203 * sysdeps/ieee754/flt-32/s_remquof.c: Include
12204 <libm-alias-float.h>.
12205 (remquof): Define using libm_alias_float.
12206 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
12207 (rintf): Define using libm_alias_float.
12208 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
12209 <libm-alias-float.h>.
12210 (roundevenf): Define using libm_alias_float.
12211 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
12212 (roundf): Define using libm_alias_float.
12213 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
12214 using libm_alias_float.
12215 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
12216 <libm-alias-float.h>.
12217 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
12218 Define using libm_alias_float.
12219 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
12220 <libm-alias-float.h>.
12221 (sincosf): Define using libm_alias_float.
12222 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
12223 (sinf): Define using libm_alias_float.
12224 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
12225 (tanf): Define using libm_alias_float.
12226 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
12227 (tanhf): Define using libm_alias_float.
12228 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
12229 <libm-alias-float.h>.
12230 (totalorderf): Define using libm_alias_float.
12231 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
12232 <libm-alias-float.h>.
12233 (totalordermagf): Define using libm_alias_float.
12234 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
12235 (truncf): Define using libm_alias_float.
12236 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
12238 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
12241 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12244 math/math.h: Let fpclassify use the builtin in C++ mode, even
12245 when optimazing for size.
12247 2017-09-22 Joseph Myers <joseph@codesourcery.com>
12249 * csu/Makefile (generated): Do not add version-info.h.
12250 (before-compile): Likewise.
12251 (all-Banner-files): Remove variable.
12252 ($(objpfx)version-info.h): Remove rule.
12253 * csu/version.c (banner): Do not include "version-info.h".
12254 * libidn/Banner: Remove.
12255 * manual/contrib.texi (Simon Josefsson): New entry.
12257 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12259 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12260 Remove conditionals on LDBL_MANT_DIG.
12261 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
12262 (__ieee754_lgammal_r): Likewise.
12264 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12266 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
12268 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
12269 _Float128 and L(). Replace _Float128 with long double and L(x)
12270 with xL, throughout the file.
12271 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12272 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
12273 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
12274 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
12276 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12278 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
12279 sysdeps/ieee754/ldbl-128ibm.
12280 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
12281 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
12282 of including it. Keep _Float128 and L() intact. These will be
12283 reviewed by a separate patch.
12284 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12285 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
12286 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
12287 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
12289 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
12292 (__finitef128): Define to __redirect___finitef128.
12293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
12294 (__isinff128): Define to __redirect___isinff128.
12295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
12296 (__isnanf128): Define to __redirect___isnanf128.
12298 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12300 * sysdeps/powerpc/powerpc64le/Makefile
12301 (CFLAGS-tst-strtod-nan-locale.c): New variable.
12302 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
12304 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
12305 Carlos O'Donell <carlos@redhat.com>
12308 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
12309 * stdlib/test-dlclose-exit-race.c: New file.
12310 * stdlib/test-dlclose-exit-race-helper.c: New file.
12311 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
12313 2017-09-21 Joseph Myers <joseph@codesourcery.com>
12315 * crypt/Banner: Remove file.
12316 * nptl/Banner: Likewise.
12317 * resolv/Banner: Likewise.
12318 * soft-fp/Banner: Likewise.
12319 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
12320 ($(objpfx)version.d): Remove dependency on banner.h.
12321 ($(objpfx)version.os): Likewise.
12322 * nptl/version.c (banner): Do not include banner.h.
12323 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
12324 Jelinek and BIND code.
12326 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
12327 Carlos O'Donell <carlos@redhat.com>
12329 * support/xdlfcn.h: New file.
12330 * support/xdlfcn.c: New file.
12331 * support/Makefile (libsupport-routines): Add xdlfcn.
12332 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
12334 2017-09-20 Joseph Myers <joseph@codesourcery.com>
12337 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12338 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
12339 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
12340 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
12341 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
12342 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
12343 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
12344 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
12346 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
12347 Ricky Zhou <rickyz@google.com>
12348 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
12351 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
12353 (__new_exitfn): Fail registration when we finished at_exit processing.
12354 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
12355 * stdlib/on_exit.c (__on_exit): Likewise.
12356 * stdlib/exit.c (__exit_funcs_done): New variable.
12357 (__run_exit_handlers): Use __exit_funcs_lock.
12358 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
12360 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
12361 (test-cxa_atexit-race, test-on_exit-race): New tests.
12362 * stdlib/test-atexit-race-common.c: New file.
12363 * stdlib/test-atexit-race.c: New file.
12364 * stdlib/test-at_quick_exit-race.c: New file.
12365 * stdlib/test-cxa_atexit-race.c: New file.
12366 * stdlib/test-on_exit-race.c: New file.
12368 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
12370 * benchtests/Makefile: Add exp2f and log2f benchmarks.
12371 * benchtests/exp2f-inputs: Copy of expf-inputs.
12372 * benchtests/log2f-inputs: Copy of logf-inputs.
12374 2017-09-19 Joseph Myers <joseph@codesourcery.com>
12376 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
12377 Explicitly take address of first element of array arguments in
12378 call to INLINE_SYSCALL.
12380 2017-09-19 Andreas Schwab <schwab@suse.de>
12383 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
12385 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
12387 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
12388 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
12389 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12390 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
12391 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12392 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
12393 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12394 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
12395 * posix/Makefile (tests): Add tst-fexecve.
12396 * posix/tst-fexecve.c: New file.
12398 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12400 * benchtests/Makefile: Add logf benchmark.
12401 * benchtests/logf-inputs: Add reduced trace from wrf_r.
12403 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12405 * benchtests/Makefile: Add expf benchmark.
12406 * benchtests/expf-inputs: Add reduced trace from wrf_r.
12408 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12410 * csu/Makefile: Add -funwind-tables to libc-start.c.
12411 * debug/Makefile: Add -funwind-tables to backtrace.c.
12412 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
12413 * sysdeps/arm/Makefile: Likewise.
12414 * sysdeps/i386/Makefile: Likewise.
12415 * sysdeps/m68k/Makefile: Likewise.
12416 * sysdeps/mips/Makefile: Likewise.
12417 * sysdeps/nios2/Makefile: Likewise.
12418 * sysdeps/sh/Makefile: Likewise.
12419 * sysdeps/sparc/Makefile: Likewise.
12421 2017-09-19 Joseph Myers <joseph@codesourcery.com>
12423 * benchtests/Makefile (bench-math): Add trunc and truncf.
12424 (CFLAGS-bench-trunc.c): New variable.
12425 (CFLAGS-bench-truncf.c): Likewise.
12426 * benchtests/trunc-inputs: New file.
12427 * benchtests/truncf-inputs: Likewise.
12429 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12431 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
12433 2017-09-18 Joseph Myers <joseph@codesourcery.com>
12435 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
12436 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
12438 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
12439 (exp10l): Define as weak alias.
12440 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
12441 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
12443 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
12444 (remainderl): Define as weak alias.
12446 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
12447 (fmal): Define using libm_alias_ldouble.
12448 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
12449 (acoshl): Define using libm_alias_ldouble.
12450 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
12451 (acosl): Define using libm_alias_ldouble.
12452 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
12453 (asinl): Define using libm_alias_ldouble.
12454 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
12455 (atan2l): Define using libm_alias_ldouble.
12456 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
12457 (atanhl): Define using libm_alias_ldouble.
12458 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
12459 (coshl): Define using libm_alias_ldouble.
12460 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
12461 (exp10l): Define using libm_alias_ldouble.
12462 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
12463 (exp2l): Define using libm_alias_ldouble.
12464 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
12465 (expl): Define using libm_alias_ldouble.
12466 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
12467 (fmodl): Define using libm_alias_ldouble.
12468 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
12469 (hypotl): Define using libm_alias_ldouble.
12470 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
12471 (j0l): Define using libm_alias_ldouble.
12473 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
12474 (j1l): Define using libm_alias_ldouble.
12476 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
12477 (jnl): Define using libm_alias_ldouble.
12479 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
12480 (log10l): Define using libm_alias_ldouble.
12481 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
12482 (log2l): Define using libm_alias_ldouble.
12483 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
12484 (logl): Define using libm_alias_ldouble.
12485 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
12486 (powl): Define using libm_alias_ldouble.
12487 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
12488 (remainderl): Define using libm_alias_ldouble.
12489 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
12490 (sinhl): Define using libm_alias_ldouble.
12491 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
12492 (sqrtl): Define using libm_alias_ldouble.
12493 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
12494 (tgammal): Define using libm_alias_ldouble.
12495 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
12496 (exp10l): Do not use long_double_symbol here.
12497 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
12498 [LIBM_SVID_COMPAT] (remainderl): Likewise.
12499 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
12500 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
12501 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
12502 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
12503 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
12504 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
12505 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
12506 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
12507 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
12508 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
12509 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
12510 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
12511 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
12512 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
12513 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
12514 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
12515 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
12516 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
12517 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
12518 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
12520 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
12522 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
12523 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
12525 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
12527 * io/read.c (read): Add libc_hidden_weak.
12528 * sysdeps/mach/hurd/read.c (read): Likewise.
12529 * io/write.c (write): Likewise.
12530 * sysdeps/mach/hurd/write.c (write): Likewise.
12531 * io/pread64.c (__pread64): Likewise.
12532 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
12533 * posix/pread64.c (__pread64): Add libc_hidden_def.
12535 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
12537 * benchtests/scripts/compare_strings.py: New option -g.
12538 (draw_graph): Print a message that a graph is being generated.
12539 (process_results): Generate graph only if -g is passed.
12540 (main): Process option -g.
12542 * benchtests/scripts/compare_strings.py (process_results):
12543 Better spacing for output.
12545 * benchtests/scripts/compare_strings.py: Use argparse.
12546 * benchtests/README: Document existence of compare_strings.py.
12548 2017-09-15 Joseph Myers <joseph@codesourcery.com>
12550 * math/s_fma.c: Include <libm-alias-double.h>.
12551 (fma): Define using libm_alias_double.
12552 * math/s_nextafter.c: Include <libm-alias-double.h>.
12553 (nextafter): Define using libm_alias_double.
12554 * math/w_acos_compat.c: Include <libm-alias-double.h>.
12555 (acos): Define using libm_alias_double.
12556 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
12557 (aocsh): Define using libm_alias_double.
12558 * math/w_asin_compat.c: Include <libm-alias-double.h>.
12559 (asin): Define using libm_alias_double.
12560 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
12561 (atan2): Define using libm_alias_double.
12562 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
12563 (atanh): Define using libm_alias_double.
12564 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
12565 (cosh): Define using libm_alias_double.
12566 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
12567 (exp10): Define using libm_alias_double.
12568 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
12569 (exp2): Define using libm_alias_double.
12570 * math/w_exp_compat.c: Include <libm-alias-double.h>.
12571 (exp): Define using libm_alias_double.
12572 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
12573 (fmod): Define using libm_alias_double.
12574 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
12575 (hypot): Define using libm_alias_double.
12576 * math/w_j0_compat.c: Include <libm-alias-double.h>.
12577 (j0): Define using libm_alias_double.
12579 * math/w_j1_compat.c: Include <libm-alias-double.h>.
12580 (j1): Define using libm_alias_double.
12582 * math/w_jn_compat.c: Include <libm-alias-double.h>.
12583 (jn): Define using libm_alias_double.
12585 * math/w_log10_compat.c: Include <libm-alias-double.h>.
12586 (log10): Define using libm_alias_double.
12587 * math/w_log2_compat.c: Include <libm-alias-double.h>.
12588 (log2): Define using libm_alias_double.
12589 * math/w_log_compat.c: Include <libm-alias-double.h>.
12590 (log): Define using libm_alias_double.
12591 * math/w_pow_compat.c: Include <libm-alias-double.h>.
12592 (pow): Define using libm_alias_double.
12593 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
12594 (remainder): Define using libm_alias_double.
12595 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
12596 (sinh): Define using libm_alias_double.
12597 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
12598 (sqrt): Define using libm_alias_double.
12599 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
12600 (tgamma): Define using libm_alias_double.
12601 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
12602 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
12603 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
12604 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
12605 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
12606 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
12607 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
12608 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
12609 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
12610 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
12611 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
12612 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
12613 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
12614 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
12615 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
12616 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
12617 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
12618 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
12619 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
12620 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
12621 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
12622 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
12623 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
12624 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
12625 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
12627 * math/e_acoshl.c: Remove.
12628 * math/e_acosl.c: Likewise.
12629 * math/e_asinl.c: Likewise.
12630 * math/e_atan2l.c: Likewise.
12631 * math/e_atanhl.c: Likewise.
12632 * math/e_coshl.c: Likewise.
12633 * math/e_expl.c: Likewise.
12634 * math/e_fmodl.c: Likewise.
12635 * math/e_gammal_r.c: Likewise.
12636 * math/e_hypotl.c: Likewise.
12637 * math/e_j0l.c: Likewise.
12638 * math/e_j1l.c: Likewise.
12639 * math/e_jnl.c: Likewise.
12640 * math/e_lgammal_r.c: Likewise.
12641 * math/e_log10l.c: Likewise.
12642 * math/e_log2l.c: Likewise.
12643 * math/e_logl.c: Likewise.
12644 * math/e_powl.c: Likewise.
12645 * math/e_rem_pio2l.c: Likewise.
12646 * math/e_sinhl.c: Likewise.
12647 * math/e_sqrtf128.c: Likewise.
12648 * math/e_sqrtl.c: Likewise.
12649 * math/k_cosl.c: Likewise.
12650 * math/k_sinl.c: Likewise.
12651 * math/k_tanl.c: Likewise.
12652 * math/s_asinhl.c: Likewise.
12653 * math/s_atanl.c: Likewise.
12654 * math/s_cbrtl.c: Likewise.
12655 * math/s_erfl.c: Likewise.
12656 * math/s_expm1l.c: Likewise.
12657 * math/s_log1pl.c: Likewise.
12658 * math/s_tanhl.c: Likewise.
12660 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12663 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
12664 [$(subdir) = math] (sysdep_calls): New variable. Has the
12665 previous contents of sysdep_routines, but re-sorted..
12666 [$(subdir) = math] (sysdep_routines): Re-use the contents from
12668 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
12669 defined in sysdep_calls and replace by the respective m_* names.
12670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
12671 (compat_symbol): Undefine to avoid duplicated compat symbols in
12674 2017-09-15 Joseph Myers <joseph@codesourcery.com>
12676 * math/s_fmaf.c: Include <libm-alias-float.h>.
12677 (fmaf): Define using libm_alias_float.
12678 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
12679 (acosf): Define using libm_alias_float.
12680 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
12681 (acoshf): Define using libm_alias_float.
12682 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
12683 (asinf): Define using libm_alias_float.
12684 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
12685 (atan2f): Define using libm_alias_float.
12686 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
12687 (atanhf): Define using libm_alias_float.
12688 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
12689 (coshf): Define using libm_alias_float.
12690 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
12691 (exp10f): Define using libm_alias_float.
12692 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
12693 (fmodf): Define using libm_alias_float.
12694 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
12695 (hypotf): Define using libm_alias_float.
12696 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
12697 (j0f): Define using libm_alias_float.
12699 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
12700 (j1f): Define using libm_alias_float.
12702 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
12703 (jnf): Define using libm_alias_float.
12705 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
12706 (log10f): Define using libm_alias_float.
12707 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
12708 (log2f): Define using libm_alias_float.
12709 * math/w_logf_compat.c: Include <libm-alias-float.h>.
12710 (logf): Define using libm_alias_float.
12711 * math/w_powf_compat.c: Include <libm-alias-float.h>.
12712 (powf): Define using libm_alias_float.
12713 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
12714 (remainderf): Define using libm_alias_float.
12715 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
12716 (sinhf): Define using libm_alias_float.
12717 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
12718 (sqrtf): Define using libm_alias_float.
12719 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
12720 (tgammaf): Define using libm_alias_float.
12722 2017-09-14 Joseph Myers <joseph@codesourcery.com>
12724 * include/math.h (roundeven): Change hidden_proto call to
12726 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
12728 [NO_LONG_DOUBLE] (__j0l): New strong alias.
12729 (y0): Rename to __y0 and define as weak alias.
12730 [NO_LONG_DOUBLE] (__y0l): New strong alias.
12731 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
12733 (y0f): Rename to __y0f and define as weak alias.
12734 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
12736 [NO_LONG_DOUBLE] (__j1l): New strong alias.
12737 (y1): Rename to __y1 and define as weak alias.
12738 [NO_LONG_DOUBLE] (__y1l): New strong alias.
12739 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
12741 (y1f): Rename to __y1f and define as weak alias.
12742 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
12744 [NO_LONG_DOUBLE] (__jnl): New strong alias.
12745 (yn): Rename to __yn and define as weak alias.
12746 [NO_LONG_DOUBLE] (__ynl): New strong alias.
12747 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
12749 (ynf): Rename to __ynf and define as weak alias.
12750 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
12751 (fromfp): Define as weak alias.
12752 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
12753 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
12754 (fromfpx): Define as weak alias.
12755 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
12756 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
12757 __getpayload and define as weak alias.
12758 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
12759 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
12760 __roundeven and define as weak alias.
12761 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
12762 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
12764 (setpayload): Define as weak alias.
12765 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
12766 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
12768 (setpayloadsig): Define as weak alias.
12769 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
12770 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
12771 __totalorder and define as weak alias.
12772 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
12773 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
12774 to __totalordermag and define as weak alias.
12775 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
12776 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
12777 (ufromfp): Define as weak alias.
12778 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
12779 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
12781 (ufromfpx): Define as weak alias.
12782 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
12783 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
12784 Rename to __getpayload and define as weak alias.
12785 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
12786 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
12787 Rename to __roundeven and define as weak alias.
12788 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
12789 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
12790 Rename to __totalorder and define as weak alias.
12791 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
12792 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
12793 (totalordermag): Rename to __totalordermag and define as weak
12795 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
12796 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
12798 (__roundevenl): Likewise.
12799 (__totalorderl): Likewise.
12800 (__totalordermagl): Likewise
12801 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
12803 (fromfpf128): Define as weak alias.
12804 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
12806 (fromfpxf128): Define as weak alias.
12807 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
12809 (setpayloadf128): Define as weak alias.
12810 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
12811 __setpayloadsigf128.
12812 (setpayloadsigf128): Define as weak alias.
12813 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
12815 (ufromfpf128): Define as weak alias.
12816 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
12818 (ufromfpxf128): Define as weak alias.
12819 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
12820 (fromfpf): Define as weak alias.
12821 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
12823 (fromfpxf): Define as weak alias.
12824 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
12825 __getpayloadf and define as weak alias.
12826 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
12827 __roundevenf and define as weak alias.
12828 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
12830 (setpayloadf): Define as weak alias.
12831 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
12833 (setpayloadsigf): Define as weak alias.
12834 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
12835 __totalorderf and define as weak alias.
12836 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
12837 Rename to __totalordermagf and define as weak alias.
12838 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
12840 (ufromfpf): Define as weak alias.
12841 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
12843 (ufromfpxf): Define as weak alias.
12844 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
12846 (fromfpl): Define as weak alias.
12847 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
12849 (fromfpxl): Define as weak alias.
12850 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
12851 to __getpayloadl and define as weak alias.
12852 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
12853 __roundevenl and define as weak alias.
12854 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
12856 (setpayloadl): Define as weak alias.
12857 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
12859 (setpayloadsigl): Define as weak alias.
12860 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
12861 to __totalorderl and define as weak alias.
12862 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
12863 Rename to __totalordermagl and define as weak alias.
12864 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
12866 (ufromfpl): Define as weak alias.
12867 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
12869 (ufromfpxl): Define as weak alias.
12870 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
12872 (fromfpl): Define as weak alias.
12873 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
12875 (fromfpxl): Define as weak alias.
12876 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
12877 Rename to __getpayloadl and define as weak alias.
12878 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
12879 to __roundevenl and define as weak alias. Call __roundeven
12880 instead of roundeven.
12881 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
12883 (setpayloadl): Define as weak alias.
12884 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
12886 (setpayloadsigl): Define as weak alias.
12887 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
12888 Rename to __totalorderl and define as weak alias.
12889 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
12890 Rename to __totalordermagl and define as weak alias.
12891 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
12893 (ufromfpl): Define as weak alias.
12894 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
12896 (ufromfpxl): Define as weak alias.
12897 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
12899 (fromfpl): Define as weak alias.
12900 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
12902 (fromfpxl): Define as weak alias.
12903 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
12904 __getpayloadl and define as weak alias.
12905 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
12906 __roundevenl and define as weak alias.
12907 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
12909 (setpayloadl): Define as weak alias.
12910 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
12912 (setpayloadsigl): Define as weak alias.
12913 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
12914 __totalorderl and define as weak alias.
12915 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
12916 Rename to __totalordermagl and define as weak alias.
12917 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
12919 (ufromfpl): Define as weak alias.
12920 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
12922 (ufromfpxl): Define as weak alias.
12924 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
12926 * benchtests/bench-string.h (realloc_bufs): New function.
12927 (test_init): Call it.
12928 * benchtests/bench-memset-large.c (do_test): Likewise.
12929 * benchtests/bench-memset.c (do_test): Likewise.
12931 * benchtests/bench-memset-large.c: Print output in JSON
12933 * benchtests/bench-memset.c: Likewise.
12935 2017-09-14 Mike FABIAN <mfabian@redhat.com>
12938 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
12939 * iconvdata/Makefile: Add IBM858.
12940 * iconvdata/gconv-modules: Likewise.
12941 * iconvdata/tst-tables.sh: Likewise.
12942 * iconvdata/ibm858.c: New file.
12943 * localedata/charmaps/IBM858: Likewise.
12945 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
12948 * locales/niu_NZ (LC_TIME): copy "niu_NU".
12949 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
12951 2017-09-14 Mike FABIAN <mfabian@redhat.com>
12954 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
12955 and add tel_int_fmt.
12957 2017-09-14 Joseph Myers <joseph@codesourcery.com>
12959 * sysdeps/generic/libm-alias-float128.h: New file.
12960 * sysdeps/generic/math-type-macros-float128.h: Include
12961 <libm-alias-float128.h>.
12962 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
12964 2017-09-13 Joseph Myers <joseph@codesourcery.com>
12966 * sysdeps/generic/libm-alias-ldouble.h: New file.
12967 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
12968 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
12969 * sysdeps/generic/math-type-macros-ldouble.h: Include
12970 <libm-alias-ldouble.h>.
12971 [!declare_mgen_alias] (declare_mgen_alias): Define to use
12972 libm_alias_ldouble.
12974 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
12976 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
12977 * math/w_exp_compat.c: ... here.
12978 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
12979 * math/w_expf_compat.c: ... here.
12980 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
12981 * math/w_expl_compat.c: ... here.
12982 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
12983 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
12984 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
12985 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
12987 2017-09-13 Joseph Myers <joseph@codesourcery.com>
12989 * math/w_scalbln_template.c (strong_alias): Do not undefine and
12991 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
12993 (ldexpl): Only define as compat symbol for libc, not libm.
12994 (scalbnl): Define as compat symbol for libc here.
12995 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
12996 define for [IS_IN (libc)].
12997 (__ldexpl_2): Remove alias.
12998 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
12999 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
13000 name in long_double_symbol call.
13001 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
13002 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
13003 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
13004 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
13005 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
13007 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
13008 Define as compat symbol.
13010 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13012 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
13013 * sysdeps/unix/sysv/linux/alpha/Makefile
13014 [$(subdir) = csu] (sysdep_routines): Remove rule.
13016 2017-09-13 Joseph Myers <joseph@codesourcery.com>
13018 * sysdeps/generic/libm-alias-double.h: New file.
13019 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
13020 * sysdeps/generic/math-type-macros-double.h: Include
13021 <libm-alias-double.h>.
13022 [declare_mgen_alias] (declare_mgen_alias): Define to use
13024 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
13025 (M_LIBM_NEED_COMPAT): Remove macro.
13026 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
13027 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
13028 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
13030 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13031 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13032 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13033 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13034 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13035 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13036 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13037 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13038 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13039 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13040 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13041 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13042 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13043 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13044 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13045 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13046 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13047 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13048 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13049 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13050 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13051 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13052 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13053 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13054 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13055 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13056 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
13057 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
13058 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
13060 (declare_mgen_alias): New macro.
13061 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
13062 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
13063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
13064 (M_LIBM_NEED_COMPAT): Remove macro.
13065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
13066 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
13067 <first-versions.h>.
13068 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
13069 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
13071 2017-09-12 Joseph Myers <joseph@codesourcery.com>
13073 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
13074 (declare_mgen_alias_2): Remove.
13075 * sysdeps/generic/math-type-macros-double.h
13076 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
13078 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
13080 (ldexp): Define with declare_mgen_alias.
13081 (scalbn): Likewise.
13083 2017-09-12 Steve Ellcey <sellcey@cavium.com>
13085 * grp/initgroups.c: Include config.h.
13086 (DEFAULT_CONFIG): New macro.
13087 (internal_getgrouplist): Use DEFAULT_CONFIG.
13088 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13089 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
13090 (DEFAULT_DEFCONFIG): New macro.
13091 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
13092 * nss/grp-lookup.c: Include config.h
13093 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
13094 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
13095 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
13096 * manual/nss.texi: Update default values section.
13098 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
13101 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
13103 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
13104 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
13105 Handle MathVec_Prefer_No_AVX512.
13106 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
13107 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
13110 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
13112 * posix/sched_primax.c (__sched_get_priority_max): Add
13114 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
13115 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
13116 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
13117 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
13118 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
13119 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
13120 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
13121 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
13124 2017-09-11 Joseph Myers <joseph@codesourcery.com>
13126 * sysdeps/generic/libm-alias-float.h: New file.
13127 * sysdeps/generic/math-type-macros-float.h: Include
13128 <libm-alias-float.h>.
13129 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
13131 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
13134 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
13135 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
13136 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
13137 (HWCAP_IMPORTANT): Likewise.
13138 (HWCAP_X86_64): New enum.
13139 (HWCAP_X86_AVX512_1): Updated.
13140 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
13141 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
13142 (modules-names): Add x86_64/tst-x86_64mod-1.
13143 (LDFLAGS-tst-x86_64mod-1.so): New.
13144 ($(objpfx)tst-x86_64-1): Likewise.
13145 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
13146 (tst-x86_64-1-clean): Likewise.
13147 * sysdeps/x86_64/tst-x86_64-1.c: New file.
13148 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
13150 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13152 * po/sv.po: Update translations.
13153 * po/fr.po: Likewise.
13155 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13157 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
13159 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
13161 * elf/rtld-Rules: Fix $(error) use.
13163 2017-09-09 Mike FABIAN <mfabian@redhat.com>
13166 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
13167 * locale/iso-639.def: Change “Bengali” to “Bangla”.
13168 * localedata/locales/bn_BD: “Bengali” was still used in some
13169 comments. Change it to “Bangla”.
13171 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
13173 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
13175 2017-09-08 Steve Ellcey <sellcey@cavium.com>
13177 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
13178 thunderx2t99p1 to list of cpu names.
13179 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
13180 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
13182 2017-09-08 Steve Ellcey <sellcey@cavium.com>
13184 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
13185 Use strcmp instead of tunable_is_name.
13187 2017-09-08 Joseph Myers <joseph@codesourcery.com>
13189 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
13190 (F_GET_RW_HINT): New macro.
13191 [__USE_GNU] (F_SET_RW_HINT): Likewise.
13192 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
13193 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
13194 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
13195 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
13196 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
13197 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
13198 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
13199 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
13201 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
13202 (F_ADD_SEALS): New macro.
13203 [__USE_GNU] (F_GET_SEALS): Likewise.
13204 [__USE_GNU] (F_SEAL_SEAL): Likewise.
13205 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
13206 [__USE_GNU] (F_SEAL_GROW): Likewise.
13207 [__USE_GNU] (F_SEAL_WRITE): Likewise.
13209 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13211 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
13212 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
13213 * posix/glob_internal.h (__glob_pattern_type):
13214 * posix/glob.c (glob):
13215 * posix/glob_pattern_p.c (__glob_pattern_p):
13218 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
13219 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13220 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
13221 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
13222 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
13223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
13224 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
13225 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
13226 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
13227 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13228 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
13229 * sysdeps/wordsize-64/glob.c: Likewise.
13230 * sysdeps/wordsize-64/glob64.c: Likewise.
13231 * sysdeps/wordsize-64/globfree.c: Likewise.
13232 * sysdeps/wordsize-64/globfree64.c: Likewise.
13233 * sysdeps/unix/sysv/linux/glob.c: New file.
13234 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
13235 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
13236 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
13237 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
13238 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
13239 adds !GLOB_NO_OLD_VERSION as an extra condition.
13240 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
13241 using relative path instead of absolute one.
13242 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
13243 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13244 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13245 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
13246 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
13247 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
13250 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
13251 (glob): Use the same scratch buffer for both getlogin_r and
13252 getpwnam_r. Don’t require preallocation of the login name. This
13253 simplifies storage allocation, and corrects the handling of
13257 * posix/glob.c (glob): Port recent patches to platforms
13258 lacking getpwnam_r.
13259 (glob): Fix longstanding misuse of errno after getpwnam_r, which
13260 returns an error number rather than setting errno.
13262 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
13263 instead of GCC extension.
13264 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
13265 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
13266 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
13270 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
13271 * posix/bug-glob1.c: Remove file.
13272 * posix/tst-glob_symlinks.c: New file.
13273 * posix/glob.c (__lstat64): New macro.
13274 (is_dir): New function.
13275 (glob, glob_in_dir): Match symlinks even if they are dangling.
13276 (link_stat, link_exists_p): Remove. All uses removed.
13280 * posix/glob.c (struct readdir_result): Remove skip_entry member.
13281 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
13286 * posix/Makefile (routines): Add globfree, globfree64, and
13288 * posix/flexmember.h: New file.
13289 * posix/glob_internal.h: Likewise.
13290 * posix/glob_pattern_p.c: Likewise.
13291 * posix/globfree.c: Likewise.
13292 * posix/globfree64.c: Likewise.
13293 * sysdeps/gnu/globfree64.c: Likewise.
13294 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
13295 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
13296 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
13297 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
13298 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
13299 * sysdeps/wordsize-64/globfree.c: Likewise.
13300 * sysdeps/wordsize-64/globfree64.c: Likewise.
13301 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
13302 [NDEBUG): Remove comments.
13303 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
13304 (dirent_type): New type. Use uint_fast8_t not
13305 uint8_t, as C99 does not require uint8_t.
13306 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
13307 (struct readdir_result): Use dirent_type. Do not define skip_entry
13308 unless it is needed; this saves a byte on platforms lacking d_ino.
13309 (readdir_result_type, readdir_result_skip_entry):
13310 New functions, replacing ...
13311 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
13312 these functions, which were removed. This makes the callers
13313 easier to read. All callers changed.
13314 (D_INO_TO_RESULT): Now empty if there is no d_ino.
13315 (size_add_wrapv, glob_use_alloca): New static functions.
13316 (glob, glob_in_dir): Check for size_t overflow in several places,
13317 and fix some size_t checks that were not quite right.
13318 Remove old code using SHELL since Bash no longer
13320 (glob, prefix_array): Separate MS code better.
13321 (glob_in_dir): Remove old Amiga and VMS code.
13322 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
13324 (glob_in_dir): Do not rely on undefined behavior in accessing
13325 struct members beyond their bounds. Use a flexible array member
13327 (link_stat): Rename from link_exists2_p and return -1/0 instead of
13328 0/1. Caller changed.
13329 (glob): Fix memory leaks.
13330 * posix/glob64 (globfree64): Move to separate file.
13331 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
13332 (globfree64): Remove hidden alias.
13333 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
13335 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
13337 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
13339 Move compat code to separate file.
13340 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
13343 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
13345 * resolv/tst-resolv-qtypes.c (domain): Changed to
13346 "const char domain[] =".
13348 2017-09-07 Joseph Myers <joseph@codesourcery.com>
13350 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
13353 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
13354 (TCP_MD5SIG_EXT): Likewise.
13355 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
13356 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
13357 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
13359 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
13361 2017-09-07 Mike FABIAN <mfabian@redhat.com>
13363 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
13365 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
13368 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
13370 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
13372 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
13373 before assuming that the file is empty. Avoid testing buffer content
13376 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13379 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
13381 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
13383 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
13385 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
13387 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
13389 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
13391 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
13394 2017-09-06 Florian Weimer <fweimer@redhat.com>
13396 * malloc/dynarray_emplace_enlarge.c
13397 (__libc_dynarray_emplace_enlarge): Add missing else.
13399 2017-09-06 Florian Weimer <fweimer@redhat.com>
13402 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
13403 case of failure to obtain the global conf object.
13405 2017-09-06 Florian Weimer <fweimer@redhat.com>
13408 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
13409 dynarray allocation failure.
13411 2017-09-06 Florian Weimer <fweimer@redhat.com>
13413 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
13414 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
13415 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
13417 (response): Call them. Add 'p', '6' flag processing.
13418 (test_reverse): New function.
13419 (test_get2_any): Call it.
13420 (test_no_inet6): Add 'p' test.
13421 (test_inet6): Likewise.
13423 2017-09-06 Florian Weimer <fweimer@redhat.com>
13425 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
13426 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
13428 (test_gai): Adjust query names. Add additional tests.
13429 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
13430 test_get2. Adjust query names. Add additional tests.
13431 (test_no_inet6): New function, extracted from threadfunc.
13432 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
13433 Add additional tests.
13435 2017-09-06 Mike FABIAN <mfabian@redhat.com>
13438 * localedata/unicode-gen/utf8_gen.py: Set the width for
13439 characters with Prepended_Concatenation_Mark property to 1
13440 * localedata/charmaps/UTF-8: Updated using the improved script.
13442 2017-09-06 Mike FABIAN <mfabian@redhat.com>
13445 * localedata/unicode-gen/utf8_gen.py: Improve the script to
13446 use the range notation for all ranges of neighbouring characters
13447 with the same width.
13449 2017-09-05 Joseph Myers <joseph@codesourcery.com>
13451 * sysdeps/generic/math-type-macros-double.h: Include
13452 <math-svid-compat.h>.
13453 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
13454 * sysdeps/generic/math-type-macros-float.h: Include
13455 <math-svid-compat.h>.
13456 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
13457 * sysdeps/generic/math-type-macros-ldouble.h: Include
13458 <math-svid-compat.h>.
13459 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
13460 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
13462 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
13463 * math/w_acosf_compat.c: Likewise.
13464 * math/w_acosh_compat.c: Likewise.
13465 * math/w_acoshf_compat.c: Likewise.
13466 * math/w_acoshl_compat.c: Likewise.
13467 * math/w_acosl_compat.c: Likewise.
13468 * math/w_asin_compat.c: Likewise.
13469 * math/w_asinf_compat.c: Likewise.
13470 * math/w_asinl_compat.c: Likewise.
13471 * math/w_atan2_compat.c: Likewise.
13472 * math/w_atan2f_compat.c: Likewise.
13473 * math/w_atan2l_compat.c: Likewise.
13474 * math/w_atanh_compat.c: Likewise.
13475 * math/w_atanhf_compat.c: Likewise.
13476 * math/w_atanhl_compat.c: Likewise.
13477 * math/w_cosh_compat.c: Likewise.
13478 * math/w_coshf_compat.c: Likewise.
13479 * math/w_coshl_compat.c: Likewise.
13480 * math/w_exp10_compat.c: Likewise.
13481 * math/w_exp10f_compat.c: Likewise.
13482 * math/w_exp10l_compat.c: Likewise.
13483 * math/w_exp2_compat.c: Likewise.
13484 * math/w_exp2f_compat.c: Likewise.
13485 * math/w_exp2l_compat.c: Likewise.
13486 * math/w_fmod_compat.c: Likewise.
13487 * math/w_fmodf_compat.c: Likewise.
13488 * math/w_fmodl_compat.c: Likewise.
13489 * math/w_hypot_compat.c: Likewise.
13490 * math/w_hypotf_compat.c: Likewise.
13491 * math/w_hypotl_compat.c: Likewise.
13492 * math/w_j0_compat.c: Likewise.
13493 * math/w_j0f_compat.c: Likewise.
13494 * math/w_j0l_compat.c: Likewise.
13495 * math/w_j1_compat.c: Likewise.
13496 * math/w_j1f_compat.c: Likewise.
13497 * math/w_j1l_compat.c: Likewise.
13498 * math/w_jn_compat.c: Likewise.
13499 * math/w_jnf_compat.c: Likewise.
13500 * math/w_jnl_compat.c: Likewise.
13501 * math/w_lgamma_r_compat.c: Likewise.
13502 * math/w_lgammaf_r_compat.c: Likewise.
13503 * math/w_lgammal_r_compat.c: Likewise.
13504 * math/w_log10_compat.c: Likewise.
13505 * math/w_log10f_compat.c: Likewise.
13506 * math/w_log10l_compat.c: Likewise.
13507 * math/w_log2_compat.c: Likewise.
13508 * math/w_log2f_compat.c: Likewise.
13509 * math/w_log2l_compat.c: Likewise.
13510 * math/w_log_compat.c: Likewise.
13511 * math/w_logf_compat.c: Likewise.
13512 * math/w_logl_compat.c: Likewise.
13513 * math/w_pow_compat.c: Likewise.
13514 * math/w_powf_compat.c: Likewise.
13515 * math/w_powl_compat.c: Likewise.
13516 * math/w_remainder_compat.c: Likewise.
13517 * math/w_remainderf_compat.c: Likewise.
13518 * math/w_remainderl_compat.c: Likewise.
13519 * math/w_sinh_compat.c: Likewise.
13520 * math/w_sinhf_compat.c: Likewise.
13521 * math/w_sinhl_compat.c: Likewise.
13522 * math/w_sqrt_compat.c: Likewise.
13523 * math/w_sqrtf_compat.c: Likewise.
13524 * math/w_sqrtl_compat.c: Likewise.
13525 * math/w_tgamma_compat.c: Likewise.
13526 * math/w_tgammaf_compat.c: Likewise.
13527 * math/w_tgammal_compat.c: Likewise.
13528 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
13529 [LIBM_SVID_COMPAT].
13530 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
13531 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
13532 [LIBM_SVID_COMPAT].
13533 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
13534 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
13535 [LIBM_SVID_COMPAT].
13536 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
13537 * sysdeps/i386/fpu/w_sqrt.c: New file.
13538 * sysdeps/ia64/fpu/w_acos.c: Likewise.
13539 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
13540 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
13541 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
13542 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
13543 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
13544 * sysdeps/ia64/fpu/w_asin.c: Likewise.
13545 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
13546 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
13547 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
13548 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
13549 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
13550 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
13551 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
13552 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
13553 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
13554 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
13555 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
13556 * sysdeps/ia64/fpu/w_exp.c: Likewise.
13557 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
13558 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
13559 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
13560 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
13561 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
13562 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
13563 * sysdeps/ia64/fpu/w_expf.c: Likewise.
13564 * sysdeps/ia64/fpu/w_expl.c: Likewise.
13565 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
13566 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
13567 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
13568 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
13569 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
13570 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
13571 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
13572 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
13573 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
13574 * sysdeps/ia64/fpu/w_log.c: Likewise.
13575 * sysdeps/ia64/fpu/w_log10.c: Likewise.
13576 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
13577 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
13578 * sysdeps/ia64/fpu/w_log2.c: Likewise.
13579 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
13580 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
13581 * sysdeps/ia64/fpu/w_logf.c: Likewise.
13582 * sysdeps/ia64/fpu/w_logl.c: Likewise.
13583 * sysdeps/ia64/fpu/w_pow.c: Likewise.
13584 * sysdeps/ia64/fpu/w_powf.c: Likewise.
13585 * sysdeps/ia64/fpu/w_powl.c: Likewise.
13586 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
13587 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
13588 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
13589 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
13590 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
13591 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
13592 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
13593 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
13594 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
13595 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
13596 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
13597 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
13598 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
13599 [LIBM_SVID_COMPAT].
13600 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
13601 * sysdeps/ieee754/k_standard.c: Likewise.
13602 * sysdeps/ieee754/k_standardf.c: Likewise.
13603 * sysdeps/ieee754/k_standardl.c: Likewise.
13604 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
13605 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
13606 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
13607 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
13608 long_double_symbol call on [LIBM_SVID_COMPAT].
13609 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
13610 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
13611 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
13612 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
13613 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
13614 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
13615 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
13616 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
13617 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
13618 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
13619 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
13620 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
13621 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
13622 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
13623 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
13624 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
13625 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
13626 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
13627 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
13628 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
13629 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
13630 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
13632 2017-09-05 Steve Ellcey <sellcey@cavium.com>
13634 * include/shlib-compat.h (TEST_COMPAT): New Macro.
13635 * malloc/tst-mallocstate.c: Convert from test-skeleton
13636 to test-driver. Ifdef code using TEST_COMPAT macro.
13637 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
13638 * math/test-matherr.c: Likewise.
13640 2017-09-05 Joseph Myers <joseph@codesourcery.com>
13643 * debug/pcprofiledump.c (main): Use byte-swapped mask when
13644 comparing word with byte-swapped constant.
13646 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
13649 * locale/iso-639.def: add Miskito.
13650 * localedata/SUPPORTED: Add miq_NI/UTF-8.
13651 * localedata/locales/miq_NI: New file.
13653 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
13656 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
13657 (__mkdir): Likewise.
13658 * io/chmod.c (__chmod): Add libc_hidden_def.
13659 * io/mkdir.c (__mkdir): Likewise.
13660 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
13661 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
13662 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
13663 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
13665 2017-09-04 Joseph Myers <joseph@codesourcery.com>
13667 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13671 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
13672 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
13674 2017-09-04 Florian Weimer <fweimer@redhat.com>
13676 * math/math.h: Issue warning if log is defined.
13678 2017-09-04 Joseph Myers <joseph@codesourcery.com>
13680 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13681 kernel version to 4.13.
13683 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13685 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
13686 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
13688 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
13689 just <bits/types.h>.
13690 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
13691 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
13692 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
13693 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
13694 * misc/preadv2.c: Include <errno.h>.
13695 * misc/preadv64v2.c: Include <errno.h>.
13696 * misc/pwritev2.c: Include <errno.h>.
13697 * misc/pwritev64v2.c: Include <errno.h>.
13698 * sysdeps/posix/preadv2.c: Include <errno.h>.
13699 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
13700 Fix <unistd.h> inclusion.
13701 * sysdeps/posix/pwritev2.c: Include <errno.h>.
13702 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
13703 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
13704 __strtoul_internal): New functions.
13705 * sysdeps/posix/pause.c: Include <sigsetops.h>.
13706 * sysdeps/posix/system.c: Include <sigsetops.h>.
13707 * sysdeps/mach/hurd/i386/Makefile
13708 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
13709 [$(subdir) = csu] (sysdep-only-routines): Likewise.
13710 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
13711 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
13712 __feraiseexcept_renamed to feraiseexcept instead of
13713 __GI_feraiseexcept.
13714 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
13715 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
13716 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
13717 RWF_NOWAIT): Define to 0 if undefined already.
13718 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
13720 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
13721 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
13723 2017-09-01 Joseph Myers <joseph@codesourcery.com>
13725 * manual/math.texi (pow10): Do not document.
13726 (pow10f): Likewise.
13727 (pow10l): Likewise.
13728 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
13729 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
13730 * math/libm-test-exp10.inc (pow10_test): Remove.
13731 (do_test): Do not call pow10.
13732 * math/w_exp10_compat.c (pow10): Make into compat symbol.
13733 [NO_LONG_DOUBLE] (pow10l): Likewise.
13734 * math/w_exp10f_compat.c (pow10f): Likewise.
13735 * math/w_exp10l_compat.c (pow10l): Likewise.
13736 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
13737 (pow10): Make into compat symbol.
13738 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
13739 (pow10f): Make into compat symbol.
13740 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
13741 (pow10l): Make into compat symbol.
13742 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
13744 (CFLAGS-nldbl-pow10.c): Remove variable..
13745 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
13746 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
13747 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
13748 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
13749 Undefine and redefine.
13750 (pow10l): Make into compat symbol.
13751 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
13752 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13753 * sysdeps/arm/libm-test-ulps: Likewise.
13754 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
13755 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13756 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
13757 * sysdeps/microblaze/libm-test-ulps: Likewise.
13758 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13759 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13760 * sysdeps/nios2/libm-test-ulps: Likewise.
13761 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13762 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13763 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13764 * sysdeps/sh/libm-test-ulps: Likewise.
13765 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13766 * sysdeps/tile/libm-test-ulps: Likewise.
13767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13769 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
13771 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
13773 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
13775 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
13776 "../ChangeLog.old/ChangeLog.8".
13777 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
13778 "../ChangeLog.old/ChangeLog.14".
13780 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
13782 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
13785 2017-09-01 Joseph Myers <joseph@codesourcery.com>
13787 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
13789 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
13791 * csu/version.c (banner): Remove "by Roland McGrath et al.".
13792 * nptl/Banner: Remove "by Ulrich Drepper et al.".
13794 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
13796 * stdlib/tst-atexit-common.c (do_test): Test support for at least
13797 32 atexit handlers.
13799 2017-09-01 Zack Weinberg <zackw@panix.com>
13801 * math/math.h (HUGE_VAL): Improve commentary.
13803 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13804 Andreas Schwab <schwab@suse.de>
13807 * include/stdio.h (__gen_tempfd): New function.
13808 * stdio-common/Makefile (routines): Add gentempfd.
13809 * stdio-common/gentempfd.c: New file.
13810 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
13811 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
13812 unnamed file first.
13814 2017-09-01 Florian Weimer <fweimer@redhat.com>
13818 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
13819 result to determine success or failure, not the errno value.
13820 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
13821 (tst-nss-files-hosts-erange): Link with -ldl.
13822 * nss/tst-nss-files-hosts-erange.c: New file.
13823 * nss/tst-resolv-basic.c (response): Handle nodata.example.
13824 (do_test): Add NO_DATA tests.
13825 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
13826 (do_test): Call it.
13828 2017-09-01 Florian Weimer <fweimer@redhat.com>
13831 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
13832 coming from gethostbyname2_r.
13834 2017-09-01 Florian Weimer <fweimer@redhat.com>
13836 * support/namespace.h (struct support_chroot_configuration): Add
13838 (struct support_chroot): Add path_hosts, path_host_conf.
13839 * support/support_chroot.c (write_file): New function.
13840 (support_chroot_create): Call it to process /etc/resolv.conf,
13841 /etc/hosts, /etc/host.conf.
13842 (support_chroot_free): Update.
13844 2017-09-01 Florian Weimer <fweimer@redhat.com>
13846 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
13847 status indicates it is set.
13849 2017-09-01 Florian Weimer <fweimer@redhat.com>
13852 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
13853 function lookup failures more reliable.
13855 2017-09-01 Florian Weimer <fweimer@redhat.com>
13857 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
13858 (getcanonname): Likewise.
13859 (gaih_inet): Likewise.
13861 2017-09-01 Florian Weimer <fweimer@redhat.com>
13863 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
13864 (getcanonname): Likewise.
13865 (gaih_inet): Likewise.
13867 2017-08-31 Steve Ellcey <sellcey@cavium.com>
13868 Richard Henderson <rth@twiddle.net>
13870 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
13871 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
13872 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
13873 (IREG_SIZE, OREG_SIZE): New macros.
13874 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
13875 (IREG_SIZE, OREG_SIZE): New macros.
13876 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
13877 (IREG_SIZE): New macro.
13878 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
13879 (IREG_SIZE): New macro.
13880 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
13882 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
13883 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
13884 (__CONCATX): Handle exceptions correctly on large values that may
13886 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
13887 Initialize if not already set.
13888 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
13890 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13892 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
13893 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
13895 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
13897 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
13899 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
13901 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
13903 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
13905 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
13907 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
13908 (NO_CANCELLATION): Likewise.
13909 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
13911 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
13913 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
13915 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
13916 (NO_CANCELLATION): Likewise.
13917 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
13918 (NO_CANCELLATION): Likewise.
13919 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
13921 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
13923 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
13925 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
13927 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
13929 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
13930 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
13932 2017-08-31 Steve Ellcey <sellcey@cavium.com>
13934 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
13937 2017-08-31 Florian Weimer <fweimer@redhat.com>
13939 * include/libc-symbols.h (internal_function): Remove.
13941 2017-08-31 Florian Weimer <fweimer@redhat.com>
13943 * stdlib/fmtmsg.c (internal_addseverity): Remove
13946 2017-08-31 Florian Weimer <fweimer@redhat.com>
13948 * stdio-common/printf_fp.c (group_number): Remove
13950 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
13952 2017-08-31 Florian Weimer <fweimer@redhat.com>
13954 * posix/fnmatch.c (internal_function): Remove definition.
13955 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
13956 * posix/regcomp.c (peek_token, init_word_char)
13957 (duplicate_node_closure, fetch_token, peek_token)
13958 (peek_token_bracket, build_range_exp, build_collating_symbol):
13960 * posix/regex_internal.c (re_string_construct_common)
13961 (create_ci_newstate, create_cd_newstate, re_string_allocate)
13962 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
13963 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
13964 (re_string_translate_buffer, re_string_reconstruct)
13965 (re_string_peek_byte_case, re_string_fetch_byte_case)
13966 (re_string_destruct, re_string_context_at, re_node_set_alloc)
13967 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
13968 (re_node_set_add_intersect, re_node_set_init_union)
13969 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
13970 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
13971 (re_dfa_add_node, calc_state_hash, re_acquire_state)
13972 (re_acquire_state_context): Likewise.
13973 * posix/regex_internal.h (internal_function): Remove definition.
13974 (re_string_realloc_buffers, build_wcs_buffer)
13975 (build_wcs_upper_buffer, build_upper_buffer)
13976 (re_string_translate_buffer, re_string_context_at)
13977 (re_string_char_size_at, re_string_wchar_at)
13978 (re_string_elem_size_at): Likewise.
13979 * posix/regexec.c (match_ctx_init, match_ctx_clean)
13980 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
13981 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
13982 (re_search_internal, re_search_2_stub, re_search_stub)
13983 (re_copy_regs, prune_impossible_nodes, check_matching)
13984 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
13985 (free_fail_stack_return, sift_states_iter_mb)
13986 (sift_states_backward, build_sifted_states)
13987 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
13988 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
13989 (check_subexp_limits, sift_states_bkref, merge_state_array)
13990 (find_recover_state, transit_state, merge_state_with_log)
13991 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
13992 (transit_state_mb, transit_state_bkref, get_subexp)
13993 (get_subexp_sub, find_subexp_node, check_arrival)
13994 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
13995 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
13996 (check_node_accept_bytes, find_collation_sequence_value)
13997 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
13998 (acquire_init_state_context, check_halt_node_context)
13999 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
14000 (sub_epsilon_src_nodes): Likewise.
14001 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
14002 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
14003 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
14004 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
14005 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
14006 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
14007 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
14008 * sysdeps/posix/ttyname.c (getttyname): Likewise.
14009 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
14010 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
14011 (PREADV): Likewise.
14012 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
14013 (PREADV): Likewise.
14014 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
14015 (PWRITEV): Likewise.
14016 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
14017 (PWRITEV): Likewise.
14018 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
14019 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
14021 2017-08-31 Florian Weimer <fweimer@redhat.com>
14023 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
14024 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
14025 Remove internal_function.
14026 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
14027 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
14028 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
14029 (__deallocate_stack, __libc_pthread_init)
14030 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
14031 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
14032 (__libc_disable_asynccancel, __librt_disable_asynccancel):
14034 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
14035 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
14036 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
14038 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
14039 (__pthread_mutex_unlock_usercnt): Likewise.
14041 2017-08-31 Florian Weimer <fweimer@redhat.com>
14043 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
14044 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
14045 (fts_safe_changedir): Remove internal_function.
14046 * io/ftw.c (internal_function): Remove definition.
14047 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
14049 2017-08-31 Florian Weimer <fweimer@redhat.com>
14051 * inet/deadline.c (__deadline_current_time)
14052 (__deadline_from_timeval, __deadline_to_ms): Remove
14054 * inet/getnameinfo.c (nrl_domainname): Likewise.
14055 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
14056 * inet/inet6_option.c (add_pad): Likewise.
14057 * inet/net-internal.h (__deadline_current_time)
14058 (__deadline_from_timeval, __deadline_to_ms): Likewise.
14059 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
14060 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
14061 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
14063 2017-08-31 Joseph Myers <joseph@codesourcery.com>
14065 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
14066 include <bits/nan.h>.
14067 * math/Makefile (headers): Remove bits/nan.h.
14068 * bits/nan.h: Remove.
14069 * sysdeps/ieee754/bits/nan.h: Likewise.
14070 * sysdeps/mips/bits/nan.h: Likewise.
14072 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
14073 not include <bits/inf.h>.
14074 * math/Makefile (headers): Remove bits/inf.h.
14075 * bits/inf.h: Remove.
14076 * sysdeps/ieee754/bits/inf.h: Likewise.
14078 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
14079 bits/huge_vall.h or bits/huge_val_flt128.h.
14080 (HUGE_VAL): Define directly here.
14081 [__USE_ISOC99] (HUGE_VALF): Likewise.
14082 [__USE_ISOC99] (HUGE_VALL): Likewise.
14083 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
14084 (HUGE_VAL_F128): Likewise.
14085 * math/Makefile (headers): Remove bits/huge_val.h,
14086 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
14087 * bits/huge_val.h: Remove.
14088 * bits/huge_val_flt128.h: Likewise.
14089 * bits/huge_valf.h: Likewise.
14090 * bits/huge_vall.h: Likewise.
14091 * sysdeps/ia64/bits/huge_vall.h: Likewise.
14092 * sysdeps/ieee754/bits/huge_val.h: Likewise.
14093 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
14094 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
14095 * sysdeps/sh/bits/huge_val.h: Likewise.
14096 * sysdeps/sparc/bits/huge_vall.h: Likewise.
14097 * sysdeps/x86/bits/huge_vall.h: Likewise.
14099 2017-08-31 Florian Weimer <fweimer@redhat.com>
14101 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
14103 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
14105 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
14106 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14107 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
14108 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
14109 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14110 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14111 * elf/dl-libc.c (dlerror_run): Likewise.
14112 * elf/dl-load.c (add_name_to_object, decompose_rpath)
14113 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
14114 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
14115 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
14117 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
14118 (_dl_higher_prime_number, _dl_strtoul): Likewise.
14119 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
14120 * elf/dl-profile.c (_dl_start_profile): Likewise.
14121 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
14122 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
14124 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
14125 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
14126 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
14127 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
14128 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
14129 (_dl_allocate_tls_storage): Likewise.
14130 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
14131 (_dl_check_all_versions): Likewise.
14132 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
14133 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
14134 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
14135 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
14136 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
14137 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
14138 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
14139 internal_function from __dl_start.
14140 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
14141 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
14142 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
14143 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
14144 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
14145 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
14146 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
14147 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
14148 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
14149 (_dl_next_ld_env_entry, _dl_important_hwcaps)
14150 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
14151 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
14152 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
14153 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
14154 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
14156 (struct rtld_global_ro): Remove internal_function from the
14157 _dl_lookup_symbol_x member.
14158 (_dl_symbol_value): Remove. No longer defined anywhere.
14159 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
14161 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
14162 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
14163 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
14164 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
14165 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
14166 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
14167 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
14168 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
14169 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
14170 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
14171 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
14172 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
14174 2017-08-31 Florian Weimer <fweimer@redhat.com>
14176 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
14177 Remove internal_function.
14178 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
14180 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
14183 2017-08-31 Florian Weimer <fweimer@redhat.com>
14185 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
14186 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
14187 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
14189 2017-08-31 Florian Weimer <fweimer@redhat.com>
14191 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
14192 (__gai_enqueue_request): Remove internal_function.
14193 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
14194 (__gai_remove_request, __gai_notify, __gai_notify_only)
14195 (__gai_sigqueue): Likewise.
14196 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
14197 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
14198 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
14199 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14202 2017-08-31 Florian Weimer <fweimer@redhat.com>
14204 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
14205 * include/dirent.h (__opendirat, __getdents, __getdents64)
14206 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
14207 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
14208 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
14209 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
14211 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
14213 2017-08-31 Florian Weimer <fweimer@redhat.com>
14215 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
14217 (GETCWD_RETURN_TYPE): Likewise.
14219 2017-08-31 Florian Weimer <fweimer@redhat.com>
14221 * include/time.h (__tz_compute, __strptime_internal): Remove
14223 * time/strptime_l.c (__strptime_internal): Likewise.
14224 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
14226 2017-08-31 Florian Weimer <fweimer@redhat.com>
14228 * iconv/gconv.c (__gconv): Remove internal_function.
14229 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
14230 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
14231 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
14232 (__gconv_release_cache): Likewise.
14233 * iconv/gconv_close.c (__gconv_close): Likewise.
14234 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
14235 (read_conf_file, __gconv_get_path): Likewise.
14236 * iconv/gconv_db.c (derivation_lookup, add_derivation)
14237 (__gconv_release_step, gen_steps, increment_counter)
14238 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
14239 (__gconv_close_transform, free_modules_db): Likewise.
14240 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
14242 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
14243 (__gconv_find_transform, __gconv_lookup_cache)
14244 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
14245 (__gconv_close_transform, __gconv_release_cache)
14246 (__gconv_loaded_object, __gconv_release_shlib)
14247 (__gconv_compare_alias): Likewise.
14248 * iconv/gconv_open.c (__gconv_open): Likewise.
14249 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
14250 * iconv/iconvconfig.c (add_module): Likewise.
14251 * intl/dcigettext.c (plural_lookup, guess_category_value)
14252 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
14253 * intl/eval-plural.h (plural_eval): Likewise.
14254 * intl/finddomain.c (_nl_find_domain): Likewise.
14255 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
14256 (_nl_load_domain, _nl_find_msg): Likewise.
14257 (internal_function): Remove definition.
14258 * intl/loadinfo.h (internal_function): Likewise.
14259 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
14261 * intl/localealias.c (internal_function): Remove definition.
14262 (read_alias_file): Remove internal_function.
14263 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
14264 * intl/plural-exp.h (internal_function): Remove definition.
14265 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
14267 * intl/plural.c: Regenerate.
14268 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
14269 * locale/coll-lookup.c (__collidx_table_lookup)
14270 (__collseq_table_lookup): Likewise.
14271 * locale/coll-lookup.h (__collidx_table_lookup)
14272 (__collseq_table_lookup): Likewise.
14273 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
14274 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14275 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
14276 (_nl_unload_locale): Likewise.
14277 * locale/localeinfo.h (struct __locale_data): Remove
14278 internal_function from cleanup member.
14279 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
14280 (_nl_remove_locale, _nl_load_locale_from_archive)
14281 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
14282 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
14283 (_nl_cleanup_time): Remove internal_function.
14284 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
14285 (_nl_parse_alt_digit): Likewise.
14286 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
14287 (_nl_select_era_entry): Likewise.
14288 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
14289 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
14290 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
14291 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
14292 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
14294 2017-08-31 Florian Weimer <fweimer@redhat.com>
14296 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
14297 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
14298 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
14299 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
14301 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
14302 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
14303 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
14304 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
14306 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
14308 2017-08-31 Florian Weimer <fweimer@redhat.com>
14310 * misc/getttyent.c (skip, value): Remove internal_function.
14311 * misc/syslog.c (openlog_internal): Likewise.
14312 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
14314 2017-08-31 Florian Weimer <fweimer@redhat.com>
14316 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
14317 (__nss_rewrite_field): Remove internal_function.
14318 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14319 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
14320 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14321 * nss/nsswitch.c (nss_parse_file, nss_getline)
14322 (nss_parse_service_list, nss_new_service): Likewise.
14323 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
14324 * nss/valid_field.c (__nss_valid_field): Likewise.
14325 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
14327 2017-08-31 Florian Weimer <fweimer@redhat.com>
14329 * malloc/arena.c (__malloc_fork_lock_parent)
14330 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
14331 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
14332 internal_function from defintions.
14333 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
14334 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
14335 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
14336 internal_function from declarations.
14337 * malloc/malloc.c (internal_function): Do not define.
14338 (mem2mem_check): Remove internal_function from declaration.
14339 (munmap_chunk, mremap_chunk): Remove internal_function.
14340 * malloc/mtrace.c (tr_where): Likewise.
14342 2017-08-31 Florian Weimer <fweimer@redhat.com>
14344 * include/rpc/pmap_clnt.h (__get_socket): Remove
14346 * sunrpc/auth_des.c (synchronize): Likewise.
14347 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
14348 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
14349 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
14350 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
14351 (key_call): Likewise.
14352 * sunrpc/pm_getport.c (__get_socket): Likewise.
14353 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
14354 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
14355 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
14356 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
14357 (invalidate): Likewise.
14358 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
14359 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
14360 (set_input_fragment, get_input_bytes): Likewise.
14362 2017-08-31 Florian Weimer <fweimer@redhat.com>
14364 * malloc/malloc.c (_int_free): Remove locked variable and related
14367 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
14370 * Makerules (build-module-helper-objlist): Filter out
14371 $(elf-objpfx)sofini.os.
14372 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
14375 2017-08-31 Florian Weimer <fweimer@redhat.com>
14377 * libio/fcloseall.c: Assume weak_alias is defined.
14378 * libio/feof.c: Likewise.
14379 * libio/fileno.c: Likewise.
14380 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
14381 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
14383 (_IO_file_open): Call __open directly.
14384 (_IO_new_file_sync): Assume ESPIPE is defined.
14385 (_IO_file_seekoff_maybe_mmap): Call __read directly.
14386 (_IO_new_file_write): Call __write directly.
14387 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
14388 * libio/ftello64.c (__ftello64): Assume EIO is defined.
14389 * libio/genops.c: Assume _LIBC is defined.
14390 (save_for_backup): Remove internal_function.
14391 * libio/getc.c: Assume weak_alias is defined.
14392 * libio/getwc.c: Likewise.
14393 * libio/iofclose.c: Assume _LIBC is defined.
14394 * libio/iofdopen.c: Likewise.
14395 (_IO_fcntl): Remove macro definition.
14396 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
14397 Call __fcntl directly.
14398 * libio/iofflush.c: Assume weak_alias is defined.
14399 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
14401 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
14402 * libio/iofgets.c: Likewise.
14403 * libio/iofopen.c: Assume _LIBC is defined.
14404 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
14405 * libio/iofputs.c: Assume weak_alias is defined.
14406 * libio/iofread.c: Likewise.
14407 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
14408 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
14409 * libio/ioftell.c: Assume weak_alias is defined.
14410 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
14411 * libio/iofwide.c: Assume _LIBC is defined.
14412 (_IO_fwide): Drop SHARED conditional because it is implied by
14414 * libio/iofwrite.c: Assume weak_alias is defined.
14415 * libio/iogetdelim.c: Likewise.
14416 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
14417 * libio/iogetwline.c (wmemcpy): Remove macro definition.
14418 (_IO_getwline): Call __wmemcpy directly.
14419 * libio/iopopen.c: Assume _LIBC is defined.
14420 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
14421 (_IO_close): Remove macro definitions.
14422 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
14424 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
14426 * libio/ioputs.c: Assume weak_alias is defined.
14427 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
14428 * libio/iosetbuffer.c: Assume weak_alias is defined.
14429 * libio/iosetvbuf.c: Likewise.
14430 * libio/ioungetc.c: Likewise.
14431 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
14432 libc_hidden_def, libc_hidden_weak, NULL are defined.
14433 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
14434 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
14436 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
14438 (_IO_old_file_init_internal): Drop SHARED conditional because it
14439 is implied by SHLIB_COMPAT.
14440 (_IO_old_file_fopen): Call __open directly.
14441 (_IO_old_file_sync): Assume ESPIPE is defined.
14442 (_IO_old_file_write): Call __write directly.
14443 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
14444 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
14445 Call __fcntl directly.
14446 * libio/oldiofgetpos.c: Assume weak_alias is defined.
14447 (_IO_old_fgetpos): Assume EIO is defined.
14448 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
14449 (_IO_old_fgetpos64): Assume EIO is defined.
14450 * libio/oldiofsetpos.c: Assume weak_alias is defined.
14451 (_IO_old_fsetpos): Assume EIO is defined.
14452 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
14453 (_IO_old_fsetpos64): Assume EIO is defined.
14454 * libio/oldiopopen.c: Assume _LIBC is defined.
14455 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
14456 (_IO_close): Remove macro definitions.
14457 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
14459 (_IO_old_proc_close): Call __close, __waitpid directly.
14460 * libio/put.c: Assume weak_alias is defined.
14461 * libio/stdfiles.c: Assume _LIBC is defined.
14462 * libio/stdio.c: Likewise.
14463 * libio/wfileops.c: Likewise.
14464 (_IO_wfile_sync): Assume ESPIPE is defined.
14465 * libio/wgenops.c: Assume _LIBC is defined.
14466 (save_for_wbackup): Remove internal_function.
14468 2017-08-31 Florian Weimer <fweimer@redhat.com>
14470 * malloc/malloc.c (top_check): Change return type to void. Remove
14472 * malloc/hooks.c (top_check): Likewise.
14473 (malloc_check, realloc_check, memalign_check): Adjust.
14475 2017-08-30 Joseph Myers <joseph@codesourcery.com>
14478 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
14479 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
14480 sigcontext and namespace requirements.
14481 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
14482 * sysdeps/m68k/sys/ucontext.h: Likewise.
14483 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
14484 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
14485 <bits/sigcontext.h>.
14486 (__ctx): Define earlier.
14487 (mcontext_t): Define structure contents rather than using struct
14489 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
14490 __glibc_reserved1 instead of __reserved.
14491 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
14492 <bits/sigcontext.h>.
14493 (__ctx): Define earlier.
14494 (mcontext_t): Define structure contents rather than using struct
14496 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
14497 mcontext_t instead of struct sigcontext.
14498 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
14499 <bits/sigcontext.h>.
14500 (__ctx): Define earlier.
14501 (mcontext_t): Define structure contents rather than using struct
14503 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
14504 <bits/sigcontext.h>.
14505 (__ctx): Define earlier.
14506 (mcontext_t): Define structure contents rather than using struct
14508 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
14509 mcontext_t instead of struct sigcontext.
14510 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
14511 mcontext_t instead of struct sigcontext.
14512 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
14513 <bits/sigcontext.h>.
14514 (__ctx): New macro.
14515 (struct __ia64_fpreg_mcontext): New type.
14516 (mcontext_t): Define structure contents rather than using struct
14518 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
14519 (uc_sigmask): Define using __ctx.
14520 (uc_stack): Likewise.
14521 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
14522 <bits/sigcontext.h>.
14523 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14524 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
14525 <bits/sigcontext.h>.
14526 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
14527 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
14528 <bits/sigcontext.h>.
14529 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
14530 <bits/sigcontext.h>.
14531 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
14532 <bits/sigcontext.h>.
14533 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
14534 <bits/sigcontext.h>.
14535 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
14536 <bits/sigcontext.h>.
14537 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
14538 <bits/sigcontext.h>.
14539 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
14540 <bits/sigcontext.h>.
14541 (__ctx): Define earlier.
14542 (mcontext_t): Define structure contents rather than using struct
14544 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
14545 <bits/sigcontext.h>. Include <bits/types.h>.
14546 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
14547 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
14548 (test-xfail-XPG42/ucontext.h/conform): Likewise.
14549 (test-xfail-UNIX98/signal.h/conform): Likewise.
14550 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14551 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14552 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14553 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14554 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14555 (test-xfail-POSIX2008/signal.h/conform): Likewise.
14556 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14557 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14558 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14560 2017-08-30 Florian Weimer <fweimer@redhat.com>
14562 * malloc/dynarray_emplace_enlarge.c
14563 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
14564 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
14565 * malloc/tst-dynarray.c (test_long_overflow): New function.
14566 (do_test): Call it.
14568 2017-08-30 Florian Weimer <fweimer@redhat.com>
14570 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
14571 (set_arena_corrupt): Remove definitions.
14572 (mtrim): Do not check for corrupt arena.
14573 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
14576 2017-08-30 Florian Weimer <fweimer@redhat.com>
14579 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
14581 (ptmalloc_init): Do not set or use check_action.
14582 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
14583 call to malloc_printerr. Remove return statement.
14584 (free_check): Likewise. Remove arena unlock.
14585 (top_check): Update comment. Adjust call to malloc_printerr.
14586 Remove heap repair code.
14587 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
14588 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
14589 (sysmalloc): Adjust call to malloc_printerr.
14590 (munmap_chunk, __libc_realloc): Likewise. Remove return
14592 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
14593 Remove errout label and corresponding gotos.
14594 (_int_free): Likewise. Remove arena unlock.
14595 (do_set_mallopt_check): Do not set check_action.
14596 (malloc_printerr): Adjust parameter list. Do not mark arena as
14598 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
14600 * manual/probes.texi (Memory Allocation Probes): Remove
14601 memory_mallopt_check_action.
14603 2017-08-30 Steve Ellcey <sellcey@cavium.com>
14605 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
14606 Use pointer to uint64_t instead of long int for sp.
14608 2017-08-30 Florian Weimer <fweimer@redhat.com>
14611 * malloc/malloc.c (malloc_printerr): Always terminate the process,
14612 without printing a backtrace. Do not leak any information in the
14614 * manual/memory.texi (Heap Consistency Checking): Update.
14615 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
14617 2017-08-30 Florian Weimer <fweimer@redhat.com>
14619 Do not scale NPTL tests with available number of CPUs.
14620 * nptl/tst-cond16.c (count): Set to constant value of 8.
14621 * nptl/tst-cond18.c (count): Likewise.
14623 2017-08-29 Joseph Myers <joseph@codesourcery.com>
14626 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
14627 Define to take a second argument that is a macro that
14628 concatentates a suffix, not the suffix itself.
14629 (__CONCAT_d): New macro.
14630 (__CONCAT_f): Likewise.
14631 (__CONCAT_l): Likewise.
14633 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
14635 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
14638 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14639 Aurelien Jarno <aurelien@aurel32.net>
14640 Maciej W. Rozycki <macro@imgtec.com>
14643 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
14644 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
14645 `mips16-syscall6' and `mips16-syscall7'.
14646 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
14647 (CFLAGS-mips16-syscall7.c): Remove.
14648 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
14649 Remove `__mips16_syscall5', `__mips16_syscall6' and
14650 `__mips16_syscall7'.
14651 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
14652 (__mips16_syscall0): Rename `__mips16_syscall_return' to
14653 `__mips_syscall_return'.
14654 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
14655 (__mips16_syscall1): Likewise.
14656 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
14657 (__mips16_syscall2): Likewise.
14658 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
14659 (__mips16_syscall3): Likewise.
14660 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
14661 (__mips16_syscall4): Likewise.
14662 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
14664 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
14666 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
14668 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
14669 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
14670 `__mips16_syscall5'. Remove prototype.
14671 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
14672 `__mips16_syscall6'. Remove prototype.
14673 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
14674 `__mips16_syscall7'. Remove prototype.
14675 (__nomips16, __mips16_syscall_return): Move to...
14676 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
14677 (__nomips16, __mips_syscall_return): ... here.
14678 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
14679 `__mips16_syscall_return' to `__mips_syscall_return'.
14680 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
14681 `internal_syscall##nr'.
14682 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
14683 `internal_syscall##nr'.
14684 (FORCE_FRAME_POINTER): Remove.
14685 (__mips_syscall5): New prototype.
14686 (internal_syscall5): Rewrite to call `__mips_syscall5'.
14687 (__mips_syscall6): New prototype.
14688 (internal_syscall6): Rewrite to call `__mips_syscall6'.
14689 (__mips_syscall7): New prototype.
14690 (internal_syscall7): Rewrite to call `__mips_syscall7'.
14691 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
14692 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
14693 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
14694 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
14695 (sysdep_routines): Add libc-do-syscall.
14696 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
14697 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
14699 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14702 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
14703 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
14704 (advise_stack_range): New function.
14705 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
14706 stack non required to advise_stack_range at allocatestack.c
14708 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
14710 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
14712 2017-08-29 Florian Weimer <fweimer@redhat.com>
14715 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
14716 __end_fct. Mangle __end_fct after setting it to NULL.
14717 * iconv/Makefile (tests): Add tst-gconv-init-failure.
14718 (modules-names, modules-names-tests): Add
14719 tst-gconv-init-failure-mod.
14720 (gconv-modules): New target.
14721 (tst-gconv-init-failure-mod.so): Link against libsupport.
14722 (tst-gconv-init-failure): Depend on gconv-modules,
14723 tst-gconv-init-failure-mod.so.
14724 * iconv/tst-gconv-init-failure-mod.c: New file.
14725 * iconv/tst-gconv-init-failure.c: Likewise.
14726 * iconv/test-gconv-modules: Likewise.
14728 2017-08-29 Florian Weimer <fweimer@redhat.com>
14731 * iconv/gconv_db.c (free_derivation): Remove redundant
14733 (gen_steps): Unconditionally mangle __btowc_fct after
14735 (increment_counter): Likewise. Do not call init_fct for internal
14738 2017-08-29 Joseph Myers <joseph@codesourcery.com>
14741 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
14742 (_MSUF_): Remove macro.
14743 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
14745 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
14746 (__REDIRFROM_X): New macro.
14747 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
14749 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
14750 (__REDIRTO_X): Likewise.
14751 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
14753 (__MATH_REDIRCALL_2): Likewise.
14754 (__MATH_REDIRCALL_INTERNAL): Likewise.
14755 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
14756 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
14757 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
14758 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
14759 * math/test-finite-macros.c: New file.
14760 * math/Makefile (tests): Add test-finite-macros.
14761 (CFLAGS-test-finite-macros.c): New variable.
14763 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
14764 Jeff Law <law@redhat.com>
14767 Mangle NULL pointers in iconv/gconv.
14768 * iconv/gconv_cache.c (find_module): Demangle init_fct before
14769 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
14770 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
14771 is non-NULL before demangling the end_fct. Check for NULL
14772 end_fct after demangling.
14773 (__gconv_release_step): Demangle the end_fct before checking
14774 it for NULL. Remove assert on __shlibc_handle != NULL.
14775 (gen_steps): Don't check btowc_fct for NULL before mangling.
14776 Demangle init_fct before checking for NULL.
14777 (increment_counter): Likewise.
14778 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
14779 end_fct for NULL before mangling.
14780 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
14783 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
14786 * locale/iso-639.def: add Morisyen.
14788 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14791 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
14792 (iszero): New C++ implementation that does not use
14793 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
14794 signaling nans are enabled, since __builtin_types_compatible_p
14795 is a C-only feature.
14796 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
14797 defined, include ieee754_float128.h for access to the union and
14798 member ieee854_float128.ieee.
14799 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
14800 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
14801 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
14802 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
14803 options of test-math-zero on powerpc64le.
14805 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
14807 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
14808 Change double to float.
14810 2017-08-28 Joseph Myers <joseph@codesourcery.com>
14812 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
14814 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
14815 conditional code; define contents only for [LIBM_SVID_COMPAT].
14817 2017-08-28 Florian Weimer <fweimer@redhat.com>
14819 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
14820 (abi-lp64_be-options): Remove.
14821 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
14822 (abi-hard-options): Likewise.
14823 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
14824 (abi-o32_hard-options, abi-o32_soft_2008-options)
14825 (abi-o32_hard_2008-options, abi-n32_soft-options)
14826 (abi-n32_hard-options, abi-n32_soft_2008-options)
14827 (abi-n32_hard_2008-options, abi-n64_soft-options)
14828 (abi-n64_hard-options, abi-n64_soft_2008-options)
14829 (abi-n64_hard_2008-options): Likewise.
14830 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
14831 (abi-64-v1-options, abi-64-v2-options): Likewise.
14832 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
14833 (abi-64-options): Likewise.
14834 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
14835 (abi-64-options): Likewise.
14836 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
14837 (abi-64-options): Likewise.
14838 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
14839 (abi-64-options, abi-x32-options): Likewise.
14841 2017-08-28 Florian Weimer <fweimer@redhat.com>
14843 Store supported list of SYS_* system calls in the source tree.
14844 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
14845 (bits/syscall.h): Generate from list file.
14846 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
14847 [$(subdir) = misc] (tests): Add tst-syscall-list.
14848 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
14849 [$(subdir) = misc] (tst-syscall-list-macros.list)
14850 [$(subdir) = misc] (tst-syscall-list-nr.list)
14851 (tst-syscall-list-sys.list): Helper targets for new
14852 tst-syscall-list test.
14853 [$(subdir) = misc] (tst-syscall-list.out): Run test script
14854 tst-syscall-list.sh.
14855 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
14856 target. Do not include bits/syscall.d.
14857 [$(subdir) = misc] (generated): Do not update.
14858 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
14859 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
14860 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
14861 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
14863 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14865 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
14866 (tst-cxa_atexit, tst-on_exit): Likewise.
14867 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
14868 tst-cxa_atexit, and tst-on_exit.
14869 * stdlib/tst-atexit-common.c: New file.
14870 * stdlib/tst-atexit.c: New file.
14871 * stdlib/tst-at_quick_exit.c: New file.
14872 * stdlib/tst-cxa_atexit.c: New file.
14873 * stdlib/tst-on_exit.c: New file.
14875 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14877 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
14878 * mach/stack_chk_fail_local.c: New file.
14879 * hurd/stack_chk_fail_local.c: New file.
14880 * mach/Machrules ($(interface-library)-routines): Add
14881 stack_chk_fail_local.
14882 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
14883 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
14884 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
14885 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
14886 * hurd/Makefile (CFLAGS-hurdstartup.o,
14887 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
14889 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
14891 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
14892 (index_cpu_*, index_arch_*): Removed.
14894 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
14896 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
14897 Use uint64_t instead of unsigned long.
14899 2017-08-25 Joseph Myers <joseph@codesourcery.com>
14901 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
14902 [__HAVE_DISTINCT_FLOAT128].
14904 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
14905 of <bits/math-finite.h>.
14906 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
14907 inclusion of <bits/math-finite.h>.
14908 * math/bits/math-finite.h (__REDIRTO_X): Do not define
14909 conditionally on [__MATH_DECLARING_LDOUBLE && defined
14910 __NO_LONG_DOUBLE_MATH].
14911 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
14912 (__MATH_REDIRCALL_2): Likewise.
14913 (__MATH_REDIRCALL_INTERNAL): Likewise.
14914 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
14915 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
14916 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
14918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
14920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
14922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
14924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
14926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
14928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
14930 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
14931 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
14932 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
14933 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
14934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
14935 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
14936 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
14937 w_sqrtf_compat-ppc32.
14939 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14941 * math/math.h [defined __cplusplus] (issignaling): In the long
14942 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
14943 is not defined. Call __issignaling, otherwise.
14945 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14947 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
14948 syscall definitions and replace __builtin_expect with __glibc_likely.
14949 * sysdeps/unix/syscall-template.S: Update comment about cancellable
14951 (SYSCALL_CANCELLABLE): Removedefinition
14952 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
14954 (PSEUDO_END): Likewise.
14955 [IS_IN (libpthread)] (CENABLE): Likewise.
14956 [IS_IN (libpthread)] (CDISABLE): Likewise.
14957 [IS_IN (libc)] (CENABLE): Likewise.
14958 [IS_IN (libc)] (CENABLE): Likewise.
14959 [IS_IN (librt)] (CDISABLE): Likewise.
14960 [IS_IN (librt)] (CDISABLE): Likewise.
14961 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
14962 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
14964 (PSEUDO_END): Likewise.
14965 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
14966 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
14967 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
14968 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
14969 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
14970 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
14971 (CENABLE): Likewise.
14972 (CDISABLE): Likewise.
14973 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
14974 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
14976 (PSEUDO_END): Likewise.
14977 [IS_IN (libpthread)] (CENABLE): Likewise.
14978 [IS_IN (libpthread)] (CDISABLE): Likewise.
14979 [IS_IN (libc)] (CENABLE): Likewise.
14980 [IS_IN (libc)] (CENABLE): Likewise.
14981 [IS_IN (librt)] (CDISABLE): Likewise.
14982 [IS_IN (librt)] (CDISABLE): Likewise.
14983 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
14984 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
14986 (PSEUDO_END): Likewise.
14987 [IS_IN (libpthread)] (CENABLE): Likewise.
14988 [IS_IN (libpthread)] (CDISABLE): Likewise.
14989 [IS_IN (libc)] (CENABLE): Likewise.
14990 [IS_IN (libc)] (CENABLE): Likewise.
14991 [IS_IN (librt)] (CDISABLE): Likewise.
14992 [IS_IN (librt)] (CDISABLE): Likewise.
14993 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
14994 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
14996 (PSEUDO_END): Likewise.
14997 [IS_IN (libpthread)] (CENABLE): Likewise.
14998 [IS_IN (libpthread)] (CDISABLE): Likewise.
14999 [IS_IN (libc)] (CENABLE): Likewise.
15000 [IS_IN (libc)] (CENABLE): Likewise.
15001 [IS_IN (librt)] (CDISABLE): Likewise.
15002 [IS_IN (librt)] (CDISABLE): Likewise.
15003 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15004 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
15006 (PSEUDO_END): Likewise.
15007 [IS_IN (libpthread)] (CENABLE): Likewise.
15008 [IS_IN (libpthread)] (CDISABLE): Likewise.
15009 [IS_IN (libc)] (CENABLE): Likewise.
15010 [IS_IN (libc)] (CENABLE): Likewise.
15011 [IS_IN (librt)] (CDISABLE): Likewise.
15012 [IS_IN (librt)] (CDISABLE): Likewise.
15013 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15014 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
15016 (PSEUDO_END): Likewise.
15017 [IS_IN (libpthread)] (CENABLE): Likewise.
15018 [IS_IN (libpthread)] (CDISABLE): Likewise.
15019 [IS_IN (libc)] (CENABLE): Likewise.
15020 [IS_IN (libc)] (CENABLE): Likewise.
15021 [IS_IN (librt)] (CDISABLE): Likewise.
15022 [IS_IN (librt)] (CDISABLE): Likewise.
15023 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15024 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
15026 (PSEUDO_END): Likewise.
15027 [IS_IN (libpthread)] (CENABLE): Likewise.
15028 [IS_IN (libpthread)] (CDISABLE): Likewise.
15029 [IS_IN (libc)] (CENABLE): Likewise.
15030 [IS_IN (libc)] (CENABLE): Likewise.
15031 [IS_IN (librt)] (CDISABLE): Likewise.
15032 [IS_IN (librt)] (CDISABLE): Likewise.
15033 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15034 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
15036 (PSEUDO_END): Likewise.
15037 [IS_IN (libpthread)] (CENABLE): Likewise.
15038 [IS_IN (libpthread)] (CDISABLE): Likewise.
15039 [IS_IN (libc)] (CENABLE): Likewise.
15040 [IS_IN (libc)] (CENABLE): Likewise.
15041 [IS_IN (librt)] (CDISABLE): Likewise.
15042 [IS_IN (librt)] (CDISABLE): Likewise.
15043 (SINGLE_THREAD_P): Likewise.
15044 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
15046 (PSEUDO_END): Likewise.
15047 [IS_IN (libpthread)] (CENABLE): Likewise.
15048 [IS_IN (libpthread)] (CDISABLE): Likewise.
15049 [IS_IN (libc)] (CENABLE): Likewise.
15050 [IS_IN (libc)] (CENABLE): Likewise.
15051 [IS_IN (librt)] (CDISABLE): Likewise.
15052 [IS_IN (librt)] (CDISABLE): Likewise.
15053 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15054 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
15056 (PSEUDO_END): Likewise.
15057 [IS_IN (libpthread)] (CENABLE): Likewise.
15058 [IS_IN (libpthread)] (CDISABLE): Likewise.
15059 [IS_IN (libc)] (CENABLE): Likewise.
15060 [IS_IN (libc)] (CENABLE): Likewise.
15061 [IS_IN (librt)] (CDISABLE): Likewise.
15062 [IS_IN (librt)] (CDISABLE): Likewise.
15063 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15064 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
15065 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
15066 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
15067 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
15069 (PSEUDO_END): Likewise.
15070 [IS_IN (libpthread)] (CENABLE): Likewise.
15071 [IS_IN (libpthread)] (CDISABLE): Likewise.
15072 [IS_IN (libc)] (CENABLE): Likewise.
15073 [IS_IN (libc)] (CENABLE): Likewise.
15074 [IS_IN (librt)] (CDISABLE): Likewise.
15075 [IS_IN (librt)] (CDISABLE): Likewise.
15076 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15077 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
15079 (PSEUDO_END): Likewise.
15080 [IS_IN (libpthread)] (CENABLE): Likewise.
15081 [IS_IN (libpthread)] (CDISABLE): Likewise.
15082 [IS_IN (libc)] (CENABLE): Likewise.
15083 [IS_IN (libc)] (CENABLE): Likewise.
15084 [IS_IN (librt)] (CDISABLE): Likewise.
15085 [IS_IN (librt)] (CDISABLE): Likewise.
15086 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15087 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
15089 (PSEUDO_END): Likewise.
15090 [IS_IN (libpthread)] (CENABLE): Likewise.
15091 [IS_IN (libpthread)] (CDISABLE): Likewise.
15092 [IS_IN (libc)] (CENABLE): Likewise.
15093 [IS_IN (libc)] (CENABLE): Likewise.
15094 [IS_IN (librt)] (CDISABLE): Likewise.
15095 [IS_IN (librt)] (CDISABLE): Likewise.
15096 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15097 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
15098 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
15099 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
15100 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
15102 (PSEUDO_END): Likewise.
15103 [IS_IN (libpthread)] (CENABLE): Likewise.
15104 [IS_IN (libpthread)] (CDISABLE): Likewise.
15105 [IS_IN (libc)] (CENABLE): Likewise.
15106 [IS_IN (libc)] (CENABLE): Likewise.
15107 [IS_IN (librt)] (CDISABLE): Likewise.
15108 [IS_IN (librt)] (CDISABLE): Likewise.
15109 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15110 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
15112 (PSEUDO_END): Likewise.
15113 [IS_IN (libpthread)] (CENABLE): Likewise.
15114 [IS_IN (libpthread)] (CDISABLE): Likewise.
15115 [IS_IN (libc)] (CENABLE): Likewise.
15116 [IS_IN (libc)] (CENABLE): Likewise.
15117 [IS_IN (librt)] (CDISABLE): Likewise.
15118 [IS_IN (librt)] (CDISABLE): Likewise.
15119 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15121 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
15123 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
15125 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
15127 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15129 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
15132 * string/stratcliff.c (do_test): Declare size, nchars, inner,
15133 middle and outer with size_t instead of int. Repleace %d and
15134 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
15135 "MAX (outer, nchars - 64)" to support unsigned outer and
15136 nchars. Also exit loop when outer == 0.
15138 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15140 * include/fcntl.h (__fcntl_nocancel): Remove definition.
15141 * include/signal.h (__sigsuspend_nocancel): Likewise.
15142 * include/time.h (__nanosleep_nocancel): Likewise.
15143 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
15144 * login/utmp_file.c: Include non cancellable syscall header.
15145 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
15148 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
15150 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
15151 .byte sequences with AVX512F instructions.
15152 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
15153 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
15154 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
15155 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
15157 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
15160 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
15161 Steve Ellcey <sellcey@cavium.com>
15163 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
15164 Use PTR_REG macro in cmp instruction.
15166 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15168 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
15169 Change the return type of the ifunc resolver to match the return
15170 type of the target function.
15172 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15174 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
15175 (preadv64): Likewise.
15176 (pwrite64(: Likewise.
15177 (pwritev64): Likewise.
15179 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
15180 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
15181 (LOAD_ARGS_0): Likewise.
15182 (LOAD_ARGS_1): Likewise.
15183 (LOAD_ARGS_2): Likewise.
15184 (LOAD_ARGS_3): Likewise.
15185 (LOAD_ARGS_4): Likewise.
15186 (LOAD_ARGS_5): Likewise.
15187 (LOAD_ARGS_6): Likewise.
15188 (LOAD_REGS_0): Likewise.
15189 (LOAD_REGS_1): Likewise.
15190 (LOAD_REGS_2): Likewise.
15191 (LOAD_REGS_3): Likewise.
15192 (LOAD_REGS_4): Likewise.
15193 (LOAD_REGS_5): Likewise.
15194 (LOAD_REGS_6): Likewise.
15195 (ASM_ARGS_0): Likewise.
15196 (ASM_ARGS_1): Likewise.
15197 (ASM_ARGS_2): Likewise.
15198 (ASM_ARGS_3): Likewise.
15199 (ASM_ARGS_4): Likewise.
15200 (ASM_ARGS_5): Likewise.
15201 (ASM_ARGS_6): Likewise.
15202 (LOAD_ARGS_TYPES_1): Likewise.
15203 (LOAD_ARGS_TYPES_2): Likewise.
15204 (LOAD_ARGS_TYPES_3): Likewise.
15205 (LOAD_ARGS_TYPES_4): Likewise.
15206 (LOAD_ARGS_TYPES_5): Likewise.
15207 (LOAD_ARGS_TYPES_6): Likewise.
15208 (LOAD_REGS_TYPES_1): Likewise.
15209 (LOAD_REGS_TYPES_2): Likewise.
15210 (LOAD_REGS_TYPES_3): Likewise.
15211 (LOAD_REGS_TYPES_4): Likewise.
15212 (LOAD_REGS_TYPES_5): Likewise.
15213 (LOAD_REGS_TYPES_6): Likewise.
15214 (TYPEFY): New define.
15215 (ARGIFY): Likewise.
15216 (internal_syscall0): Likewise.
15217 (internal_syscall1): Likewise.
15218 (internal_syscall2): Likewise.
15219 (internal_syscall3): Likewise.
15220 (internal_syscall4): Likewise.
15221 (internal_syscall5): Likewise.
15222 (internal_syscall6): Likewise.
15223 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
15224 (INTERNAL_SYSCALL_NCS): Remove define.
15225 (internal_syscall1): Add define.
15227 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15229 * math/w_remainder_compat.c: Remove duplicate inclusion of
15230 math-svid-compat.h.
15231 * math/w_remainderf_compat.c: Likewise.
15232 * math/w_remainderl_compat.c: Likewise.
15234 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15238 2017-08-22 Joseph Myers <joseph@codesourcery.com>
15241 * math/tgmath.h (__floating_type): Simplify definitions.
15242 (__real_integer_type): New macro.
15243 (__complex_integer_type): Likewise.
15244 (__expr_is_real): Likewise.
15245 (__tgmath_real_type_sub): Update comment to describe handling of
15247 (__tgmath_complex_type_sub): New macro.
15248 (__tgmath_complex_type): Likewise.
15249 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
15250 (__TGMATH_CF128): Use __expr_is_real.
15251 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
15253 (__TGMATH_BINARY_REAL_IMAG): Likewise.
15254 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
15255 * math/gen-tgmath-tests.py (Type.create_type): Create complex
15258 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15260 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
15262 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
15264 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
15267 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
15268 nanosleep_not_cancel with __nanosleep_nocancel.
15269 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
15270 (__nanosleep_nocancel): New macro.
15271 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
15273 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
15275 (__nanosleep_nocancel): New prototype.
15277 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
15278 pause_not_cancel with __pause_nocancel.
15279 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
15280 (__pause_nocancel): New macro.
15281 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
15283 (__pause_nocancel): New prototype.
15284 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
15286 2017-08-22 Martin Sebor <msebor@redhat.com>
15288 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
15289 to return a pointer to the same type as the target function.
15291 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
15295 * include/printf.h (__printf_fphex): Add attribute_hidden.
15296 (__guess_grouping): New prototype.
15297 * stdio-common/printf_fp.c (__guess_grouping): Removed.
15298 * stdio-common/reg-printf.c (__register_printf_specifier): Add
15299 libc_hidden_proto and libc_hidden_def.
15300 * stdlib/strfmon_l.c (__guess_grouping): Removed.
15301 (__vstrfmon_l): Remove the third argument passed to
15304 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15306 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
15307 definition for issignaling that does not rely on __MATH_TG,
15308 since __MATH_TG uses __builtin_types_compatible_p, which is only
15309 available in C mode.
15310 (CFLAGS-test-math-issignaling.cc): New variable.
15311 * math/Makefile [CXX] (tests): Add test-math-issignaling.
15312 * math/test-math-issignaling.cc: New test for C++ implementation
15313 of type-generic issignaling.
15314 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
15315 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
15316 options of test-math-issignaling on powerpc64le.
15318 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
15320 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
15322 (hidden_proto): Likewise.
15323 (hidden_tls_proto): Likewise.
15324 (__hidden_proto): Likewise.
15326 2017-08-22 Florian Weimer <fweimer@redhat.com>
15328 math: Statically link tests of internal functionality.
15329 * math/Makefile (tests): Remove atest-exp, atest-sincos,
15331 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
15332 (gmp-objs): Remove assignment.
15333 (atest-exp, atest-sincos, atest-exp2): Remove targets.
15335 2017-08-22 Joseph Myers <joseph@codesourcery.com>
15338 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
15340 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
15342 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
15345 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
15346 variable definitions above inclusion of ../Rules.
15348 2017-08-21 Joseph Myers <joseph@codesourcery.com>
15350 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
15351 case calling __builtin_unreachable.
15353 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15355 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
15356 __waitpid_nocancel.
15357 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
15358 (__waitpid_nocancel): New macro.
15359 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
15361 (__waitpid_nocancel): Replace macro with a function.
15362 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
15365 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
15367 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
15368 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
15370 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
15371 __writev_nocancel_nostatus.
15372 (write_call_graph): Likewise.
15373 (write_bb_counts): Likewise.
15374 * resolv/herror.c (herror): Likewise.
15375 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
15377 (__writev_nocancel_nostatus): New macro.
15378 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
15380 (__writev_nocancel_nostatus): New function.
15382 2017-08-21 Joseph Myers <joseph@codesourcery.com>
15385 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
15387 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
15389 (hidden_proto): Likewise.
15390 (hidden_tls_proto): Likewise.
15391 (__hidden_proto): Likewise.
15394 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
15395 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
15396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
15398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
15400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
15402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
15404 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
15405 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
15406 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
15407 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
15408 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
15409 GLIBC_2.0 sqrtl symbol.
15411 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
15412 [__USE_MISC] (_LIB_VERSION): Likewise.
15413 [__USE_MISC] (struct exception): Likewise.
15414 [__USE_MISC] (matherr): Likewise.
15415 [__USE_MISC] (DOMAIN): Likewise.
15416 [__USE_MISC] (SING): Likewise.
15417 [__USE_MISC] (OVERFLOW): Likewise.
15418 [__USE_MISC] (UNDERFLOW): Likewise.
15419 [__USE_MISC] (TLOSS): Likewise.
15420 [__USE_MISC] (PLOSS): Likewise.
15421 [__USE_MISC] (HUGE): Likewise.
15422 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
15423 * math/math-svid-compat.h: New file.
15424 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
15426 * include/math.h [!_ISOMAC] (__matherr): Remove.
15427 * manual/arith.texi (FP Exceptions): Do not document matherr.
15428 * math/Makefile (tests): Change test-matherr to test-matherr-3.
15429 (tests-internal): New variable.
15430 (install-lib): Do not add libieee.a.
15431 (non-lib.a): Likewise.
15432 (extra-objs): Do not add libieee.a and ieee-math.o.
15433 (CPPFLAGS-s_lib_version.c): Remove variable.
15434 ($(objpfx)libieee.a): Remove rule.
15435 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
15436 * math/ieee-math.c: Remove.
15437 * math/libm-test-support.c (matherr): Remove.
15438 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
15439 and license notices. Include <math-svid-compat.h> and
15441 (matherr): Undefine as macro. Use compat_symbol_reference.
15442 (_LIB_VERSION): Likewise.
15443 * math/test-matherr-2.c: New file.
15444 * math/test-matherr-3.c: Likewise.
15445 * sysdeps/generic/math_private.h (__kernel_standard): Remove
15447 (__kernel_standard_f): Likewise.
15448 (__kernel_standard_l): Likewise.
15449 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
15450 <math_private.h>. Include <math-svid-compat.h>.
15451 (_LIB_VERSION): Undefine as macro.
15452 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
15453 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
15454 [LIBM_SVID_COMPAT], use compat_symbol.
15455 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
15456 <math_private.h>. Include <math-svid-compat.h>.
15457 (matherr): Undefine as macro.
15458 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
15460 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
15461 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
15462 compat_symbol_reference.
15463 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
15464 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
15465 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
15466 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
15467 (MATHERR_D): Remove declaration.
15468 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
15469 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
15470 [LIBM_BUILD] (pmatherrf): Likewise.
15471 [LIBM_BUILD] (pmatherr): Likewise.
15472 [LIBM_BUILD] (pmatherrl): Likewise.
15473 (DOMAIN): Likewise.
15475 (OVERFLOW): Likewise.
15476 (UNDERFLOW): Likewise.
15479 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
15480 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
15482 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
15483 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
15485 * math/lgamma-compat.h: Include <math-svid-compat.h>.
15486 * math/w_acos_compat.c: Likewise.
15487 * math/w_acosf_compat.c: Likewise.
15488 * math/w_acosh_compat.c: Likewise.
15489 * math/w_acoshf_compat.c: Likewise.
15490 * math/w_acoshl_compat.c: Likewise.
15491 * math/w_acosl_compat.c: Likewise.
15492 * math/w_asin_compat.c: Likewise.
15493 * math/w_asinf_compat.c: Likewise.
15494 * math/w_asinl_compat.c: Likewise.
15495 * math/w_atan2_compat.c: Likewise.
15496 * math/w_atan2f_compat.c: Likewise.
15497 * math/w_atan2l_compat.c: Likewise.
15498 * math/w_atanh_compat.c: Likewise.
15499 * math/w_atanhf_compat.c: Likewise.
15500 * math/w_atanhl_compat.c: Likewise.
15501 * math/w_cosh_compat.c: Likewise.
15502 * math/w_coshf_compat.c: Likewise.
15503 * math/w_coshl_compat.c: Likewise.
15504 * math/w_exp10_compat.c: Likewise.
15505 * math/w_exp10f_compat.c: Likewise.
15506 * math/w_exp10l_compat.c: Likewise.
15507 * math/w_exp2_compat.c: Likewise.
15508 * math/w_exp2f_compat.c: Likewise.
15509 * math/w_exp2l_compat.c: Likewise.
15510 * math/w_fmod_compat.c: Likewise.
15511 * math/w_fmodf_compat.c: Likewise.
15512 * math/w_fmodl_compat.c: Likewise.
15513 * math/w_hypot_compat.c: Likewise.
15514 * math/w_hypotf_compat.c: Likewise.
15515 * math/w_hypotl_compat.c: Likewise.
15516 * math/w_j0_compat.c: Likewise.
15517 * math/w_j0f_compat.c: Likewise.
15518 * math/w_j0l_compat.c: Likewise.
15519 * math/w_j1_compat.c: Likewise.
15520 * math/w_j1f_compat.c: Likewise.
15521 * math/w_j1l_compat.c: Likewise.
15522 * math/w_jn_compat.c: Likewise.
15523 * math/w_jnf_compat.c: Likewise.
15524 * math/w_jnl_compat.c: Likewise.
15525 * math/w_lgamma_main.c: Likewise.
15526 * math/w_lgamma_r_compat.c: Likewise.
15527 * math/w_lgammaf_main.c: Likewise.
15528 * math/w_lgammaf_r_compat.c: Likewise.
15529 * math/w_lgammal_main.c: Likewise.
15530 * math/w_lgammal_r_compat.c: Likewise.
15531 * math/w_log10_compat.c: Likewise.
15532 * math/w_log10f_compat.c: Likewise.
15533 * math/w_log10l_compat.c: Likewise.
15534 * math/w_log2_compat.c: Likewise.
15535 * math/w_log2f_compat.c: Likewise.
15536 * math/w_log2l_compat.c: Likewise.
15537 * math/w_log_compat.c: Likewise.
15538 * math/w_logf_compat.c: Likewise.
15539 * math/w_logl_compat.c: Likewise.
15540 * math/w_pow_compat.c: Likewise.
15541 * math/w_powf_compat.c: Likewise.
15542 * math/w_powl_compat.c: Likewise.
15543 * math/w_remainder_compat.c: Likewise.
15544 * math/w_remainderf_compat.c: Likewise.
15545 * math/w_remainderl_compat.c: Likewise.
15546 * math/w_scalb_compat.c: Likewise.
15547 * math/w_scalbf_compat.c: Likewise.
15548 * math/w_scalbl_compat.c: Likewise.
15549 * math/w_sinh_compat.c: Likewise.
15550 * math/w_sinhf_compat.c: Likewise.
15551 * math/w_sinhl_compat.c: Likewise.
15552 * math/w_sqrt_compat.c: Likewise.
15553 * math/w_sqrtf_compat.c: Likewise.
15554 * math/w_sqrtl_compat.c: Likewise.
15555 * math/w_tgamma_compat.c: Likewise.
15556 * math/w_tgammaf_compat.c: Likewise.
15557 * math/w_tgammal_compat.c: Likewise.
15558 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
15559 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
15560 * sysdeps/ieee754/k_standard.c: Likewise.
15561 * sysdeps/ieee754/k_standardf.c: Likewise.
15562 * sysdeps/ieee754/k_standardl.c: Likewise.
15563 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
15564 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
15565 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
15566 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
15567 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
15568 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
15569 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
15570 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
15571 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
15572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
15574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
15576 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
15577 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
15578 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
15579 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
15581 2017-08-21 Florian Weimer <fweimer@redhat.com>
15584 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
15585 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
15586 Move before inclusion of ../Rules.
15588 2017-08-21 Florian Weimer <fweimer@redhat.com>
15591 * assert/assert.h (assert): Use static_cast (bool) for C++.
15592 Use the ternary operator in the warning branch for GNU C.
15593 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
15594 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
15595 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
15596 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
15597 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
15599 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
15602 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15603 (__syscall_clock_gettime): Add attribute_hidden.
15604 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
15605 (__start_context): Likewise.
15607 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
15609 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
15611 (hidden_proto): Likewise.
15612 (hidden_tls_proto): Likewise.
15613 (__hidden_proto): Likewise.
15615 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
15617 * include/libc-symbols.h (attribute_hidden): Enable hidden
15618 visibility in libc.a compiled with PIE.
15620 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
15623 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
15624 Add attribute_hidden.
15626 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
15629 * Makerules (all-nonlib): Add $(others-extras).
15630 * catgets/Makefile (others-extras): New.
15631 * elf/Makefile (others-extras): Likewise.
15632 * nss/Makefile (others-extras): Likewise.
15634 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
15637 * csu/libc-start.c (__libc_multiple_libcs): Removed.
15638 * elf/dl-open.c: Include <libc-internal.h>.
15639 (__libc_multiple_libcs): Removed.
15640 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
15642 * include/libc-internal.h (__libc_multiple_libcs): New.
15643 * misc/sbrk.c: Include <libc-internal.h>.
15644 (__libc_multiple_libcs): Removed.
15646 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
15649 * grp/initgroups.c (__nss_group_database): Removed.
15650 (__nss_initgroups_database): Likewise.
15651 * nscd/gai.c (__nss_hosts_database): Likewise.
15652 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
15653 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
15654 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
15655 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
15656 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
15657 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
15659 * nss/nsswitch.c (__nss_database_custom): Define only if
15660 USE_NSCD is defined.
15661 (__nss_configure_lookup): Use __nss_database_custom only if
15662 USE_NSCD is defined.
15663 * nss/nsswitch.h (__nss_database_custom): Declare only if
15664 USE_NSCD is defined. Add attribute_hidden.
15665 (__nss_setent): Add attribute_hidden.
15666 (__nss_endent): Likewise.
15667 (__nss_getent_r): Likewise.
15668 (__nss_getent): Likewise.
15669 (DEFINE_DATABASE): Declare __nss_##arg##_database.
15671 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
15674 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
15675 libc_hidden_proto and libc_hidden_def.
15677 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
15680 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
15681 Add libc_hidden_proto.
15682 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
15683 Add libc_hidden_def.
15685 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
15688 * gmon/Makefile (routines): Remove bb_init_func and
15690 (elide-routines.os): Removed.
15691 * gmon/bb_exit_func.c: Likewise.
15692 * gmon/bb_init_func.c: Likewise.
15693 * include/sys/gmon.h (__bb): Likewise.
15694 (__bb_init_func): Likewise.
15695 (__bb_exit_func): Likewise.
15696 * sysdeps/alpha/bb_init_func.S: Likewise.
15698 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
15700 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
15701 * include/setjmp.h (____longjmp_chk): Here. Add
15704 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
15707 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
15709 (__strspn_sse2): Likewise.
15711 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15713 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
15714 (close_not_cancel_no_status): Likewise.
15715 (__close_nocancel): New macro.
15716 (__close_nocancel_nostatus): Likewise.
15717 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
15719 (close_not_cancel): Likewise.
15720 (close_not_cancel_no_status): Likewise.
15721 (__close_nocancel): New prototype.
15722 (__close_nocancel_nostatus): New function.
15723 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
15724 * catgets/open_catalog.c (__open_catalog): Replace
15725 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
15726 * gmon/gmon.c (write_gmon): Likewise.
15727 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15728 * intl/loadmsgcat.c (close): Likewise.
15729 * io/ftw.c (open_dir_stream): Likewise.
15730 (ftw_startup): Likewise.
15731 * libio/fileops.c (_IO_file_open): Likewise.
15732 (_IO_file_close_mmap): Likewise.
15733 (_IO_file_close): Likewise.
15734 * libio/iopopen.c (_IO_dup2): Likewise.
15735 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15736 * locale/loadlocale.c (_nl_load_locale): Likewise.
15737 * login/utmp_file.c (pututline_file): Likewise.
15738 (endutent_file): Likewise.
15739 * misc/daemon.c (daemon): Likewise.
15740 * nscd/nscd_getai.c (__nscd_getai): Likewise.
15741 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15742 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
15743 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15744 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15745 * nscd/nscd_helper.c (open_socket): Likewise.
15746 (__nscd_open_socket): Likewise.
15747 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
15748 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
15749 (__nscd_innetgr): Likewise.
15750 * nss/nss_db/db-open.c (internal_setent): Likewise.
15751 * resolv/res-close.c (__res_iclose): Likewise.
15752 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
15753 * sysdeps/posix/closedir.c (__closedir): Likewise.
15754 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
15755 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
15756 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
15757 (opendir_tail): Likewise.
15758 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
15759 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
15760 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15761 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
15762 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
15763 (gethostid): Likewise.
15764 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
15765 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15767 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15768 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
15769 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
15770 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
15772 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
15773 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
15774 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
15776 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
15777 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
15779 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
15781 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
15782 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
15783 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
15786 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
15787 (openat_not_cancel_3): Likewise.
15788 (openat64_not_cancel_3): Likewise).
15789 (openat_not_cancel_3): Likewise).
15790 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
15792 (openat_not_cancel_3): Likewise.
15793 (openat64_not_cancel): Likewise.
15794 (openat64_not_cancel_3): Likewise.
15795 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
15796 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
15797 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
15798 __open{64}_nocancel.
15799 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
15800 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
15801 * sysdeps/posix/opendir.c (__opendirat): Likewise.
15803 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
15806 * include/argz.h (__argz_create_sep): New function prototype.
15807 (__argz_append): Likewise.
15808 (__argz_add): Likewise.
15809 (__argz_add_sep): Likewise.
15810 (__argz_delete): Likewise.
15811 (__argz_insert): Likewise.
15812 (__argz_replace): Likewise.
15813 * string/argz.h (__argz_create_sep): Removed.
15814 (__argz_append): Likewise.
15815 (__argz_add): Likewise.
15816 (__argz_add_sep): Likewise.
15817 (__argz_delete): Likewise.
15818 (__argz_insert): Likewise.
15819 (__argz_replace): Likewise.
15821 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
15823 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
15824 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
15825 (GNU_PROPERTY_STACK_SIZE): Likewie.
15826 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
15827 (GNU_PROPERTY_LOPROC): Likewise.
15828 (GNU_PROPERTY_HIPROC): Likewise.
15829 (GNU_PROPERTY_LOUSER): Likewise.
15830 (GNU_PROPERTY_HIUSER): Likewise.
15831 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
15832 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
15833 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
15834 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
15835 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
15836 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
15837 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
15838 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
15839 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
15840 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
15841 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
15842 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
15843 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
15844 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
15845 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
15846 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
15847 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
15848 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
15849 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
15850 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
15851 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
15852 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
15853 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
15855 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15857 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
15860 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15863 * math/math.h (isinf): Check if in C or C++ mode before using
15864 __builtin_types_compatible_p, since this is a C mode feature.
15866 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15868 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
15869 (__write_nocancel): New macro.
15870 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
15871 Rewrite as a function prototype.
15872 (write_not_cancel): Remove macro.
15873 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
15874 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
15875 (write_gmon): Likewise.
15876 * libio/fileops.c (_IO_new_file_write): Likewise.
15877 * login/utmp_file.c (pututline_file): Likewise.
15878 (updwtmp_file): Likewise.
15879 * stdio-common/psiginfo.c (psiginfo): Likewise.
15880 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
15881 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
15882 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
15884 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
15887 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
15888 (__read_nocancel): New macro.
15889 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
15891 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
15893 (__read_nocancel): New prototype.
15894 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
15895 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
15896 with __read_nocancel.
15897 * intl/loadmsgcat.c (read): Likewise.
15898 * libio/fileops.c (_IO_file_read): Likewise.
15899 * locale/loadlocale.c (_nl_load_locale): Likewise.
15900 * login/utmp_file.c (getutent_r_file): Likewise.
15901 (internal_getut_r): Likewise.
15902 (getutline_r_file): Likewise.
15903 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
15904 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15905 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
15906 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15908 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
15909 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
15910 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
15912 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
15914 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
15916 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
15918 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
15920 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
15923 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
15924 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
15927 2017-08-17 DJ Delorie <dj@redhat.com>
15929 * bug17079.c: Update to new test harness.
15930 * test-digits-dots.c: Likewise.
15931 * test-netdb.c: Likewise.
15932 * tst-field.c: Likewise.
15933 * tst-nss-getpwent.c: Likewise.
15934 * tst-nss-static.c: Likewise.
15935 * tst-nss-test1.c: Likewise.
15936 * tst-nss-test2.c: Likewise.
15937 * tst-nss-test3.c: Likewise.
15938 * tst-nss-test4.c: Likewise.
15939 * tst-nss-test5.c: Likewise.
15941 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15943 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
15944 (open_not_cancel_2): Likewise.
15945 (open_nocancel): New macro.
15946 (open64_nocancel): Likewise.
15947 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
15948 (open_not_cancel_2): Likewise.
15949 (__open_nocancel): New prototype.
15950 (__open64_nocancel): Likewise.
15951 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
15953 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
15954 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
15955 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
15956 with __open_nocancel.
15957 * csu/check_fds.c (check_one_fd): Likewise.
15958 * gmon/gmon.c (write_gmon): Likewise.
15959 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
15960 * intl/loadmsgcat.c (open): Likewise.
15961 * libio/fileops.c (_IO_file_open): Likewise.
15962 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15963 * locale/loadlocale.c (_nl_load_locale): Likewise.
15964 * login/utmp_file.c (setutent_file): Likewise.
15965 * misc/daemon.c (daemon): Likewise.
15966 * nss/nss_db/db-open.c (internal_setent): Likewise.
15967 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
15968 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
15969 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
15970 (__opendir): Likewise.
15971 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
15972 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
15973 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
15974 (gethostid): Likewise.
15975 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
15976 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15978 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15979 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
15980 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
15981 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
15983 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
15985 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
15987 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
15989 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
15991 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
15993 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
15994 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
15996 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
15998 * benchtests/bench-skeleton.c (main): Add support for
15999 latency benchmarking.
16000 * benchtests/scripts/bench.py: Add support for latency benchmarking.
16002 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
16004 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
16005 the startup object.
16007 2017-08-17 Florian Weimer <fweimer@redhat.com>
16009 * include/sys/socket.h (__opensock): Remove internal_function.
16010 * socket/opensock.c (__opensock): Likewise.
16011 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
16013 2017-08-16 Joseph Myers <joseph@codesourcery.com>
16016 * signal/bits/types/__sigval_t.h: New file.
16017 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
16018 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
16019 and define sigval_t using __sigval_t.
16020 * include/bits/types/__sigval_t.h: New file.
16021 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
16022 instead of <bits/types/__sigval_t.h>.
16023 (struct sigevent): Use __sigval_t instead of sigval_t.
16024 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
16025 instead of <bits/types/__sigval_t.h>.
16026 (siginfo_t): Use __sigval_t instead of sigval_t.
16027 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
16028 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
16029 (struct sigevent): Use __sigval_t instead of sigval_t.
16030 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
16031 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
16032 (siginfo_t): Use __sigval_t instead of sigval_t.
16033 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
16035 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
16037 * NEWS: Remove "[Add new features here]" for 2.27.
16039 2017-08-16 Joseph Myers <joseph@codesourcery.com>
16041 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
16044 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
16046 * NEWS: Mention x86-64 FMA optimization.
16048 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
16051 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16053 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
16054 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
16055 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
16057 2017-08-16 Andreas Schwab <schwab@suse.de>
16061 * elf/ldd.bash.in: Never run file directly.
16063 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
16066 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
16067 (L(SP_INF_0)): Likewise.
16069 2017-08-15 Florian Weimer <fweimer@redhat.com>
16071 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
16074 2017-08-15 Florian Weimer <fweimer@redhat.com>
16076 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
16077 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
16078 BROKEN_THREAD_SIGNALS code.
16079 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
16080 request_list): Remove caller_pid member used for
16081 BROKEN_THREAD_SIGNALS.
16082 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
16083 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
16084 Remove BROKEN_THREAD_SIGNALS support.
16085 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
16086 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
16088 2017-08-15 Florian Weimer <fweimer@redhat.com>
16090 * gmon/Makefile (tests): Add tst-gmon.
16091 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
16093 (tests-special): Add tst-gmon-prof.out.
16094 (tst-gmon.out): Depend on clean-tst-gmon-data.
16095 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
16096 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
16097 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
16099 * aclocal.m4 (GPROF): Set and substitute.
16100 * config.amke.in (GPROF): Set.
16101 * configure: Regenerate.
16103 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
16105 * elf/elf.h A (NT_PPC_TAR): New macro.
16106 (NT_PPC_PPR): Likewise.
16107 (NT_PPC_DSCR): Likewise.
16108 (NT_PPC_EBB): Likewise.
16109 (NT_PPC_PMU): Likewise.
16110 (NT_PPC_TM_CGPR): Likewise.
16111 (NT_PPC_TM_CFPR): Likewise.
16112 (NT_PPC_TM_CVMX): Likewise.
16113 (NT_PPC_TM_CVSX): Likewise.
16114 (NT_PPC_TM_SPR): Likewise.
16115 (NT_PPC_TM_CTAR): Likewise.
16116 (NT_PPC_TM_CPPR): Likewise.
16117 (NT_PPC_TM_CDSCR): Likewise.
16119 2017-08-15 Florian Weimer <fweimer@redhat.com>
16121 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
16122 regparm (2) instead of internal_function.
16123 (_MCOUNT_DECL): Adjust.
16125 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
16127 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
16128 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
16130 2017-08-14 Joseph Myers <joseph@codesourcery.com>
16132 * conform/data/sys/wait.h-data (si_value): Do not expect for
16135 2017-08-14 Florian Weimer <fweimer@redhat.com>
16138 NSS: Create stubs for accidentally exported lookup functions.
16139 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
16140 Remove declaration.
16141 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
16142 (ether_hostton): Call __nss_ethers_lookup2 instead.
16143 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
16144 (ether_ntohost): Call __nss_ethers_lookup2 instead.
16145 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
16146 (setup): Call __nss_netgroup_lookup2 instead.
16147 * nss/Makefile (routines): Add compat-lookup.
16148 * nss/Versions (GLIBC_2.27): Add symbol version.
16149 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
16150 (DB_COMPAT_FCT): Remove.
16151 * nss/compat-lookup.c: New file.
16152 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
16153 from databases.def.
16154 * nss/service-lookup.c (NO_COMPAT): Remove definition.
16155 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
16156 (netname2user): Call __nss_publickey_lookup2 instead.
16157 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
16158 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
16161 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16162 Sergei Trofimovich <slyfox@inbox.ru>
16165 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
16166 Rename to MMAP2_PAGE_UNIT.
16167 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
16168 __OFF_T_MATCHES_OFF64_T is not defined.
16169 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
16171 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
16172 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
16174 2017-08-14 Florian Weimer <fweimer@redhat.com>
16176 i386: Do not set internal_function.
16177 * config.h.in (USE_REGPARMS, internal_function): Remove.
16178 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
16179 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
16181 2017-08-14 Florian Weimer <fweimer@redhat.com>
16183 * elf/dl-init.c (_dl_init): Remove internal_function.
16184 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
16185 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
16187 2017-08-14 Florian Weimer <fweimer@redhat.com>
16189 * elf/rtld.c (_dl_start): Remove internal_function.
16190 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
16193 2017-08-14 Florian Weimer <fweimer@redhat.com>
16195 * elf/dl-fini.c (_dl_fini): Remove internal_function
16196 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
16198 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
16200 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
16201 (bit_cpu_SHSTK): Likewise.
16202 (index_cpu_IBT): Likewise.
16203 (index_cpu_SHSTK): Likewise.
16204 (reg_IBT): Likewise.
16205 (reg_SHSTK): Likewise.
16206 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
16207 Handle index_cpu_IBT and index_cpu_SHSTK.
16209 2017-08-14 Mike FABIAN <mfabian@redhat.com>
16212 * po/fr.po: Fix spelling mistake.
16214 2017-08-13 Florian Weimer <fweimer@redhat.com>
16216 * elf/dl-addr.c (_dl_addr): Remove internal_function.
16217 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
16218 (_dl_catch_error, _dl_receive_error): Likewise.
16219 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
16220 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
16221 (_dl_deallocate_tls): Likewise.
16222 * include/dlfcn.h (_dl_addr): Likewise.
16223 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
16224 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
16225 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
16228 2017-08-13 Florian Weimer <fweimer@redhat.com>
16230 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
16231 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
16233 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
16235 2017-08-13 Florian Weimer <fweimer@redhat.com>
16237 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
16239 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
16240 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
16241 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
16242 internal_function from _dl_make_stack_executable_hook member.
16243 (_dl_make_stack_executable): Remove internal_function.
16244 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
16246 * sysdeps/unix/sysv/linux/dl-execstack.c
16247 (_dl_make_stack_executable): Likewise.
16249 2017-08-13 Florian Weimer <fweimer@redhat.com>
16251 * sysdeps/unix/sysv/linux/netlinkaccess.h
16252 (__netlink_assert_response): Remove internal_function.
16253 * sysdeps/unix/sysv/linux/netlink_assert_response.c
16254 (__netlink_assert_response): Likewise.
16256 2017-08-13 Florian Weimer <fweimer@redhat.com>
16258 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
16260 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
16262 2017-08-13 Florian Weimer <fweimer@redhat.com>
16264 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
16266 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
16267 * inet/netgroup.h (__internal_setnetgrent)
16268 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
16269 * inet/getnetgrent_r.c (__internal_setnetgrent)
16270 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
16271 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
16272 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
16273 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
16274 * nss/nsswitch.h (db_lookup_function): Likewise.
16276 2017-08-13 Florian Weimer <fweimer@redhat.com>
16278 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
16279 Remove internal_function.
16280 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
16281 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
16282 message argument on the stack.
16283 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
16286 2017-08-12 Mike FABIAN <mfabian@redhat.com>
16288 Adapt test case data to the changes in the thousands
16292 * localedata/tst-langinfo.sh: Adapt test case data.
16293 * stdlib/tst-strfmon_l.c: Likewise.
16294 * stdlib/tst-strtod4.c: Likewise.
16295 * stdlib/tst-strtod5i.c: Likewise.
16297 2017-08-11 Florian Weimer <fweimer@redhat.com>
16300 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
16301 Suppress pedantic warning resulting from statement expression.
16302 (__ASSERT_FUNCTION): Add missing __extension__.
16304 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
16306 * benchtests/bench-memmove-large.c: Print output in JSON
16308 * benchtests/bench-memmove.c: Likewise.
16310 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
16311 * benchtests/bench-memchr.c (do_one_test): Likewise.
16312 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
16313 * benchtests/bench-memcpy.c (do_one_test): Likewise.
16314 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
16315 * benchtests/bench-memmove.c (do_one_test): Likewise.
16316 * benchtests/bench-memset-large.c (do_one_test): Likewise.
16317 * benchtests/bench-memset.c (do_one_test): Likewise.
16318 * benchtests/bench-string.h (test_init): Remove memsets.
16320 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
16323 (Computing the Width of an Integer Data Type): Rename section to
16324 "Width of an Integer Type". Remove inaccurate statement regarding
16325 lack of C language facilities for determining width of integer
16326 types, and reorder content to improve flow and context of
16329 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
16331 * lang.texi (va_copy): Change standard from ISO to C99.
16332 (__va_copy): Add standard and header annotation.
16333 Update description for clarity of origins and current use.
16335 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16338 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
16339 xssqrtqp requires operands to be in Vector Registers
16340 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
16341 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
16342 (__ieee754_sqrtf128): Likewise.
16344 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
16346 * sysdeps/aarch64/memcmp.S (memcmp):
16347 Rewrite of optimized memcmp.
16349 2017-08-10 Florian Weimer <fweimer@redhat.com>
16351 Introduce ld.so exceptions.
16352 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
16353 (_dl_exception_create, _dl_exception_create_format)
16354 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
16355 (_dl_catch_exception): Declare.
16356 (_dl_catch_error): Update comment.
16357 * elf/dl-error-skeleton.c (struct catch): Replace objname,
16358 errstring, malloced members with exception member.
16359 (_dl_out_of_memory): Remove.
16360 (fatal_error): New function, extracted from _dl_signal_error.
16361 (_dl_signal_exception, _dl_signal_cexception): New functions.
16362 (_dl_signal_error): Call _dl_exception_create to allocate an
16364 (_dl_catch_exception): New function, based on _dl_catch_error.
16365 (_dl_catch_error): Implement using _dl_catch_exception.
16366 * elf/dl-exception.c: New file.
16367 * elf/Makefile (dl-routines): Add dl-exception.
16368 (elide-routines.os): Likewise.
16369 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
16370 _dl_exception_create_format, _dl_exception_free.
16371 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
16372 _dl_signal_exception.
16373 * elf/dl-lookup.c (make_string): Remove.
16374 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
16375 _dl_signal_cexception, _dl_exception_free.
16376 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
16377 _dl_signal_exception.
16378 * elf/dl-sym.c (do_sym): Likewise.
16379 * elf/dl-version.c (make_string): Remove.
16380 (match_symbol): Use _dl_exception_create_format,
16381 _dl_signal_cexception, _dl_exception_free.
16382 (_dl_check_map_versions): Likewise.
16383 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
16384 _dl_catch_exception.
16385 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
16386 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
16387 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
16388 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
16389 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
16390 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
16391 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
16392 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
16394 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
16395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
16397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
16399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
16401 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
16402 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
16403 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
16405 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
16407 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
16409 2017-08-10 Florian Weimer <fweimer@redhat.com>
16411 * inet/net-internal.h (__inet6_scopeid_pton): Remove
16412 attribute_hidden, internal_function.
16413 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
16416 2017-08-10 Florian Weimer <fweimer@redhat.com>
16418 * malloc/malloc.c (get_max_fast): Reimplement as an inline
16419 function which calls __builtin_unreachable.
16421 2017-08-10 Mike FABIAN <mfabian@redhat.com>
16423 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
16424 Indian monetary formatting
16425 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
16428 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
16430 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
16431 Fix typo in comment.
16434 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
16435 PTRACE_SEIZE_DEVEL): Remove.
16436 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
16437 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16438 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16439 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16440 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16442 2017-08-09 Joseph Myers <joseph@codesourcery.com>
16444 * posix/bits/types.h (__qaddr_t): Remove.
16447 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
16448 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
16450 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
16451 (ucontext_t): Use __ctx with uc_flags.
16452 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
16453 (__ctxt): Likewise.
16454 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
16456 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
16457 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
16459 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
16460 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
16462 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
16464 (ucontext_t): Use __ctx with uc_flags.
16465 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
16466 (ucontext_t): Use __ctx with uc_flags.
16467 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
16468 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
16469 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
16470 (ucontext_t): Use __ctx with uc_flags.
16471 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
16472 undefine further down.
16473 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
16475 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
16476 undefine further down.
16477 (ucontext_t): Use __ctx with uc_flags.
16478 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
16479 undefine further down.
16480 (ucontext_t): Use __ctx with uc_flags.
16481 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
16482 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
16483 Rename uc_pad to __glibc_reserved1.
16484 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
16485 undefine further down.
16486 (ucontext_t): Use __ctx with uc_flags.
16487 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
16489 (ucontext_t): Use __ctx with uc_flags.
16490 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
16491 __ctx with uc_flags.
16492 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
16493 (ucontext_t): Use __ctx with uc_flags.
16494 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
16495 __ctx with uc_flags.
16497 2017-08-09 Florian Weimer <fweimer@redhat.com>
16500 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
16501 before early return.
16503 2017-08-09 Andreas Schwab <schwab@suse.de>
16506 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
16510 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
16511 tst-compat-forwarder.
16512 (modules-names): Add tst-compat-forwarder-mod.
16513 ($(objpfx)tst-compat-forwarder): Depend on
16514 $(objpfx)tst-compat-forwarder-mod.so.
16515 * nptl/tst-compat-forwarder.c: New file.
16516 * nptl/tst-compat-forwarder-mod.c: New file.
16518 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
16520 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
16523 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
16524 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
16526 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
16528 (__libc_ifunc_impl_list): Add __memcpy_falkor.
16529 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
16530 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
16531 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
16533 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
16536 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16539 * manual/setjmp.texi (getcontex): Document uc_stack value
16540 compatibility differences.
16542 2017-08-08 Joseph Myers <joseph@codesourcery.com>
16544 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
16545 (old_malloc_hook): Likewise.
16546 (old_memalign_hook): Likewise.
16547 (old_realloc_hook): Likewise.
16548 (struct hdr): Likewise.
16550 (freehook): Likewise.
16551 (mallochook): Likewise.
16552 (memalignhook): Likewise.
16553 (reallochook): Likewise.
16554 (mprobe): Likewise.
16555 * malloc/mtrace.c (mallwatch): Likewise.
16556 (tr_old_free_hook): Likewise.
16557 (tr_old_malloc_hook): Likewise.
16558 (tr_old_realloc_hook): Likewise.
16559 (tr_old_memalign_hook): Likewise.
16560 (tr_where): Likewise.
16561 (lock_and_info): Likewise.
16562 (tr_freehook): Likewise.
16563 (tr_mallochook): Likewise.
16564 (tr_reallochook): Likewise.
16565 (tr_memalignhook): Likewise.
16566 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
16567 * misc/mmap.c (__mmap): Likewise.
16568 * misc/mmap64.c (__mmap64): Likewise.
16569 * misc/mprotect.c (__mprotect): Likewise.
16570 * misc/msync.c (msync): Likewise.
16571 * misc/munmap.c (__munmap): Likewise.
16572 * posix/posix_madvise.c (posix_madvise): Likewise.
16573 * socket/send.c (__send): Likewise.
16574 * socket/sendto.c (__sendto): Likewise.
16575 * socket/setsockopt.c (__setsockopt): Likewise.
16576 * string/memcmp.c (__ptr_t): Remove macro.
16577 (MEMCMP): Use void * instead of ptr_t.
16578 * string/memrchr.c (__ptr_t): Remove macro.
16579 (__memrchr): Use void * instead of ptr_t.
16580 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
16581 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
16582 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
16583 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
16584 * sysdeps/mach/msync.c (msync): Likewise.
16585 * sysdeps/mach/munmap.c (__munmap): Likewise.
16586 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
16588 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
16589 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
16590 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
16591 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
16592 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
16593 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
16594 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
16595 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
16597 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
16598 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
16599 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
16600 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
16601 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
16602 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
16603 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
16604 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
16605 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
16607 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
16608 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
16609 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
16610 (MEMCMP): Use void * instead of ptr_t.
16611 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
16612 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
16614 2017-08-08 Florian Weimer <fweimer@redhat.com>
16616 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
16619 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
16622 * csu/libc-tls.c: Include <startup.h> first.
16623 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
16624 * elf/dl-tunables.c: Include <startup.h> first.
16625 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
16626 * sysdeps/generic/startup.h: New file.
16627 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
16628 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
16629 (I386_USE_SYSENTER): New. Defined to 0.
16631 2017-08-08 Andreas Schwab <schwab@suse.de>
16634 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
16635 * nptl/pt-system.c (system): Likewise.
16637 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16640 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
16642 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
16643 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
16644 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
16645 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
16646 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
16647 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
16648 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
16650 2017-08-07 Joseph Myers <joseph@codesourcery.com>
16653 * bits/sigaction.h (struct sigaction): Define sa_handler and
16654 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
16655 (SA_ONSTACK): Change [__USE_UNIX98] condition to
16656 [__USE_XOPEN_EXTENDED].
16657 (SA_RESTART): Likewise.
16658 (SA_NODEFER): Likewise.
16659 (SA_RESETHAND): Likewise.
16660 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
16661 (struct sigaction): Define sa_handler and sa_sigaction using union
16662 also for [__USE_XOPEN_EXTENDED].
16663 (SA_ONSTACK): Change [__USE_UNIX98] condition to
16664 [__USE_XOPEN_EXTENDED].
16665 (SA_RESTART): Likewise.
16666 (SA_NODEFER): Likewise.
16667 (SA_RESETHAND): Likewise.
16668 * sysdeps/unix/sysv/linux/bits/sigaction.h
16669 (struct sigaction): Define sa_handler and sa_sigaction using union
16670 also for [__USE_XOPEN_EXTENDED].
16671 (SA_ONSTACK): Change [__USE_UNIX98] condition to
16672 [__USE_XOPEN_EXTENDED].
16673 (SA_RESTART): Likewise.
16674 (SA_NODEFER): Likewise.
16675 (SA_RESETHAND): Likewise.
16676 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
16677 (struct sigaction): Define sa_handler and sa_sigaction using union
16678 also for [__USE_XOPEN_EXTENDED].
16679 (SA_ONSTACK): Change [__USE_UNIX98] condition to
16680 [__USE_XOPEN_EXTENDED].
16681 (SA_RESTART): Likewise.
16682 (SA_NODEFER): Likewise.
16683 (SA_RESETHAND): Likewise.
16684 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
16685 (struct sigaction): Define sa_handler and sa_sigaction using union
16686 also for [__USE_XOPEN_EXTENDED].
16687 (SA_ONSTACK): Change [__USE_UNIX98] condition to
16688 [__USE_XOPEN_EXTENDED].
16689 (SA_RESTART): Likewise.
16690 (SA_NODEFER): Likewise.
16691 (SA_RESETHAND): Likewise.
16692 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
16693 (struct sigaction): Define sa_handler and sa_sigaction using union
16694 also for [__USE_XOPEN_EXTENDED].
16695 (SA_ONSTACK): Change [__USE_UNIX98] condition to
16696 [__USE_XOPEN_EXTENDED].
16697 (SA_RESTART): Likewise.
16698 (SA_NODEFER): Likewise.
16699 (SA_RESETHAND): Likewise.
16700 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
16701 (struct sigaction): Define sa_handler and sa_sigaction using union
16702 also for [__USE_XOPEN_EXTENDED].
16703 (SA_ONSTACK): Change [__USE_UNIX98] condition to
16704 [__USE_XOPEN_EXTENDED].
16705 (SA_RESTART): Likewise.
16706 (SA_NODEFER): Likewise.
16707 (SA_RESETHAND): Likewise.
16708 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
16709 (struct sigaction): Define sa_handler and sa_sigaction using union
16710 also for [__USE_XOPEN_EXTENDED].
16711 (SA_ONSTACK): Change [__USE_UNIX98] condition to
16712 [__USE_XOPEN_EXTENDED].
16713 (SA_RESTART): Likewise.
16714 (SA_NODEFER): Likewise. Define directly rather than as alias.
16715 (SA_RESETHAND): Likewise.
16716 (SA_INTERRUPT): Define only for [__USE_MISC].
16717 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
16718 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
16720 (SA_STACK): Define only for [__USE_MISC].
16721 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
16722 (struct sigaction): Define sa_handler and sa_sigaction using union
16723 also for [__USE_XOPEN_EXTENDED].
16724 (SA_ONSTACK): Change [__USE_UNIX98] condition to
16725 [__USE_XOPEN_EXTENDED].
16726 (SA_RESTART): Likewise.
16727 (SA_NODEFER): Likewise.
16728 (SA_RESETHAND): Likewise.
16729 (SA_NOPTRACE): Define only for [__USE_MISC].
16731 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
16732 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
16733 (struct catalog_info): Likewise.
16734 * inet/htontest.c (lo): Likewise.
16736 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16737 * inet/inet_net.c (inet_network): Likewise.
16738 * inet/inet_netof.c (inet_netof): Likewise.
16739 * inet/rcmd.c (__ivaliduser): Likewise.
16740 (iruserok): Likewise.
16741 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
16742 * locale/programs/locale-spec.c (locale_special): Likewise.
16743 * nis/nis_findserv.c (struct findserv_req): Likewise.
16744 (__nis_findfastest_with_timeout): Likewise.
16745 * nss/test-netdb.c (test_network): Likewise.
16746 * resolv/inet_neta.c (inet_neta): Likewise.
16747 * resolv/ns_date.c (ns_datetosecs): Likewise.
16748 (SECS_PER_DAY): Likewise.
16749 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
16751 * resolv/res_comp.c (__putlong): Likewise.
16752 (__putshort): Likewise.
16753 (_getlong): Likewise.
16754 (_getshort): Likewise.
16755 * resolv/res_debug.c (p_time): Likewise.
16756 (precsize_ntoa): Likewise.
16757 (precsize_aton): Likewise.
16758 (latlon2ul): Likewise.
16759 (loc_aton): Likewise.
16760 (loc_ntoa): Likewise.
16761 * resolv/res_hconf.c (struct netaddr): Likewise.
16762 (_res_hconf_reorder_addrs): Likewise.
16763 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
16764 (clnttcp_control): Likewise.
16765 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16766 (clntudp_control): Likewise.
16767 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
16768 (clntunix_control): Likewise.
16769 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
16770 * sunrpc/rpc/auth.h (union des_block): Likewise.
16771 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
16772 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
16773 (xdrrec_create): Likewise.
16774 (xdrrec_endofrecord): Likewise.
16775 (flush_out): Likewise.
16776 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
16777 (xdrstdio_putlong): Likewise.
16778 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
16781 * misc/sys/cdefs.h (__long_double_t): Remove.
16782 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
16783 instead of __long_double_t,
16784 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
16786 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
16788 * benchtests/scripts/compare_strings.py: Avoid display error when
16789 running on a text terminal.
16791 * benchtests/scripts/compare_strings.py (main): Add an
16792 optional -base option.
16793 (process_results): New argument base_func.
16795 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
16797 * benchtests/bench-memcpy-large.c (test_name): Likewise.
16798 * benchtests/bench-memcpy-random.c (test_name): Likewise.
16800 2017-08-07 Andreas Schwab <schwab@suse.de>
16802 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
16803 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16804 * intl/Makefile ($(objpfx)tst-gettext.out)
16805 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
16806 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
16807 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16808 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16809 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
16810 * posix/Makefile ($(objpfx)globtest.out)
16811 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
16812 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
16813 ($(objpfx)tst-printf.out): Likewise.
16814 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
16815 ($(objpfx)tst-setcontext3.out): Likewise.
16817 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
16819 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16820 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
16821 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
16822 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
16823 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
16825 (CFLAGS-doasin-fma.c): New.
16826 (CFLAGS-dosincos-fma.c): Likewise.
16827 (CFLAGS-e_asin-fma.c): Likewise.
16828 (CFLAGS-e_atan2-fma.c): Likewise.
16829 (CFLAGS-e_exp-fma.c): Likewise.
16830 (CFLAGS-e_log-fma.c): Likewise.
16831 (CFLAGS-e_pow-fma.c): Likewise.
16832 (CFLAGS-halfulp-fma.c): Likewise.
16833 (CFLAGS-mpa-fma.c): Likewise.
16834 (CFLAGS-mpatan-fma.c): Likewise.
16835 (CFLAGS-mpatan2-fma.c): Likewise.
16836 (CFLAGS-mpexp-fma.c): Likewise.
16837 (CFLAGS-mplog-fma.c): Likewise.
16838 (CFLAGS-mpsqrt-fma.c): Likewise.
16839 (CFLAGS-mptan-fma.c): Likewise.
16840 (CFLAGS-s_atan-fma.c): Likewise.
16841 (CFLAGS-sincos32-fma.c): Likewise.
16842 (CFLAGS-slowexp-fma.c): Likewise.
16843 (CFLAGS-slowpow-fma.c): Likewise.
16844 (CFLAGS-s_sin-fma.c): Likewise.
16845 (CFLAGS-s_tan-fma.c): Likewise.
16846 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
16847 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
16848 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
16849 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
16850 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
16851 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
16852 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
16853 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
16854 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
16855 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
16856 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
16857 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
16858 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
16859 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
16860 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
16861 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
16862 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
16863 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
16864 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
16865 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
16866 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
16867 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
16868 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
16869 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
16870 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16871 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16872 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16873 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
16874 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16875 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16876 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16878 2017-08-04 Joseph Myers <joseph@codesourcery.com>
16880 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
16881 (min_of_type_f): New macro.
16882 (min_of_type_): Likewise.
16883 (min_of_type_l): Likewise.
16884 (min_of_type_f128): Likewise.
16885 (min_of_type): Define using __MATH_TG and taking an expression
16887 (math_check_force_underflow): Pass expression instead of type to
16889 (math_check_force_underflow_nonneg): Likewise.
16891 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
16893 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
16894 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
16895 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
16897 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
16899 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16900 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
16901 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
16902 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
16903 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
16904 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
16905 memcpy_chk-nonshared, mempcpy_chk-nonshared,
16906 memmove_chk-nonshared and memset_chk-nonshared
16907 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
16908 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
16909 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
16910 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
16911 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
16912 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
16913 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
16914 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
16915 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
16916 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
16917 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
16918 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
16919 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
16920 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
16921 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
16922 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
16923 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
16924 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
16925 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
16926 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
16927 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
16928 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
16929 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
16930 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
16931 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
16932 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
16933 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
16934 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
16935 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
16936 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
16937 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
16938 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
16939 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
16940 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
16941 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
16942 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
16943 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
16944 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
16945 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
16946 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
16947 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
16948 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
16949 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
16950 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
16951 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
16952 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
16953 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
16954 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
16955 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
16956 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
16957 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
16958 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
16959 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
16960 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
16961 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
16962 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
16963 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
16964 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
16965 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
16966 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
16967 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
16968 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
16969 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
16970 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
16971 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
16972 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
16973 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
16974 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
16975 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
16976 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
16977 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
16978 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16979 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16980 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16981 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16982 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16983 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16984 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16985 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16986 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16987 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16988 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16989 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16990 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16991 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16992 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16993 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16994 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16995 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16996 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16997 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16998 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16999 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17000 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17001 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17002 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17003 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17004 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17005 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17006 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17007 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17008 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17009 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17010 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17011 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17012 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17013 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17014 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17016 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17018 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
17019 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
17020 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
17021 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
17022 svml_d_log2_core-sse2, svml_d_log4_core-sse,
17023 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
17024 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
17025 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
17026 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
17027 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
17028 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
17029 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
17030 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
17031 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
17032 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
17033 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
17034 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
17035 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
17036 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
17037 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
17038 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
17039 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
17040 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
17041 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
17042 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
17043 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
17044 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
17045 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
17046 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
17047 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
17048 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
17049 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
17050 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
17051 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
17052 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
17053 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
17054 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
17055 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
17056 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
17057 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
17058 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
17059 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
17060 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
17061 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
17062 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
17063 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
17064 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
17065 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
17066 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
17067 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
17068 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
17069 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
17070 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
17071 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
17072 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
17073 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
17074 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
17075 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
17076 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
17078 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
17079 Don't include <sysdep.h> nor <init-arch.h>.
17080 (_ZGVbN2v_cos): Removed.
17081 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
17083 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
17084 Don't include <sysdep.h> nor <init-arch.h>.
17085 (_ZGVdN4v_cos): Removed.
17086 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
17088 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
17089 Don't include <sysdep.h> nor <init-arch.h>.
17090 (_ZGVeN8v_cos): Removed.
17091 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
17093 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
17094 Don't include <sysdep.h> nor <init-arch.h>.
17095 (_ZGVbN2v_exp): Removed.
17096 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
17098 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
17099 Don't include <sysdep.h> nor <init-arch.h>.
17100 (_ZGVdN4v_exp): Removed.
17101 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
17103 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
17104 Don't include <sysdep.h> nor <init-arch.h>.
17105 (_ZGVeN8v_exp): Removed.
17106 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
17108 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
17109 Don't include <sysdep.h> nor <init-arch.h>.
17110 (_ZGVbN2v_log): Removed.
17111 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
17113 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
17114 Don't include <sysdep.h> nor <init-arch.h>.
17115 (_ZGVdN4v_log): Removed.
17116 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
17118 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
17119 Don't include <sysdep.h> nor <init-arch.h>.
17120 (_ZGVeN8v_log): Removed.
17121 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
17123 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
17124 Don't include <sysdep.h> nor <init-arch.h>.
17125 (_ZGVbN2vv_pow): Removed.
17126 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
17128 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
17129 Don't include <sysdep.h> nor <init-arch.h>.
17130 (_ZGVdN4vv_pow): Removed.
17131 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
17133 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
17134 Don't include <sysdep.h> nor <init-arch.h>.
17135 (_ZGVeN8vv_pow): Removed.
17136 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
17138 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
17139 Don't include <sysdep.h> nor <init-arch.h>.
17140 (_ZGVbN2v_sin): Removed.
17141 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
17143 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
17144 Don't include <sysdep.h> nor <init-arch.h>.
17145 (_ZGVbN4v_sin): Removed.
17146 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
17148 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
17149 Don't include <sysdep.h> nor <init-arch.h>.
17150 (_ZGVbN8v_sin): Removed.
17151 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
17153 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
17154 Don't include <sysdep.h> nor <init-arch.h>.
17155 (_ZGVbN2vvv_sincos): Removed.
17156 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
17158 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
17159 Don't include <sysdep.h> nor <init-arch.h>.
17160 (_ZGVdN4vvv_sincos): Removed.
17161 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
17163 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
17164 Don't include <sysdep.h> nor <init-arch.h>.
17165 (_ZGVeN8vvv_sincos): Removed.
17166 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
17168 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
17169 Don't include <sysdep.h> nor <init-arch.h>.
17170 (_ZGVeN16v_cosf): Removed.
17171 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
17173 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
17174 Don't include <sysdep.h> nor <init-arch.h>.
17175 (_ZGVbN4v_cosf): Removed.
17176 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
17178 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
17179 Don't include <sysdep.h> nor <init-arch.h>.
17180 (_ZGVdN8v_cosf): Removed.
17181 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
17183 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
17184 Don't include <sysdep.h> nor <init-arch.h>.
17185 (_ZGVeN16v_expf): Removed.
17186 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
17188 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
17189 Don't include <sysdep.h> nor <init-arch.h>.
17190 (_ZGVbN4v_expf): Removed.
17191 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
17193 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
17194 Don't include <sysdep.h> nor <init-arch.h>.
17195 (_ZGVdN8v_expf): Removed.
17196 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
17198 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
17199 Don't include <sysdep.h> nor <init-arch.h>.
17200 (_ZGVeN16v_logf): Removed.
17201 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
17203 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
17204 Don't include <sysdep.h> nor <init-arch.h>.
17205 (_ZGVbN4v_logf): Removed.
17206 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
17208 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
17209 Don't include <sysdep.h> nor <init-arch.h>.
17210 (_ZGVdN8v_logf): Removed.
17211 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
17213 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
17214 Don't include <sysdep.h> nor <init-arch.h>.
17215 (_ZGVeN16vv_powf): Removed.
17216 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
17218 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
17219 Don't include <sysdep.h> nor <init-arch.h>.
17220 (_ZGVbN4vv_powf): Removed.
17221 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
17223 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
17224 Don't include <sysdep.h> nor <init-arch.h>.
17225 (_ZGVdN8vv_powf): Removed.
17226 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
17228 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
17229 Don't include <sysdep.h> nor <init-arch.h>.
17230 (_ZGVeN16vvv_sincosf): Removed.
17231 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
17233 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
17234 Don't include <sysdep.h> nor <init-arch.h>.
17235 (_ZGVbN4vvv_sincosf): Removed.
17236 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
17238 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
17239 Don't include <sysdep.h> nor <init-arch.h>.
17240 (_ZGVdN8vvv_sincosf): Removed.
17241 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
17243 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
17244 Don't include <sysdep.h> nor <init-arch.h>.
17245 (_ZGVeN16v_sinf): Removed.
17246 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
17248 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
17249 Don't include <sysdep.h> nor <init-arch.h>.
17250 (_ZGVbN4v_sinf): Removed.
17251 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
17253 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
17254 Don't include <sysdep.h> nor <init-arch.h>.
17255 (_ZGVdN8v_sinf): Removed.
17257 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17259 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17260 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
17261 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
17262 s_rint-sse4_1 and s_rintf-sse4_1.
17263 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
17264 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
17265 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
17266 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
17267 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
17268 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
17269 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
17270 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
17271 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
17272 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
17273 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
17274 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
17276 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
17277 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
17278 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
17279 (__ceilf): Removed.
17280 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
17281 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
17282 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
17283 (__floor): Removed.
17284 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
17285 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
17286 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
17287 (__floorf): Removed.
17288 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
17289 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
17290 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
17291 (__nearbyint): Removed.
17292 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
17293 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
17294 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
17295 (__nearbyintf): Removed.
17296 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
17297 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
17298 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
17300 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
17301 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
17302 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
17303 (__rintf): Removed.
17305 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17307 * sysdeps/i386/start.S (_start): Check Check PIC instead of
17308 SHARED. Avoid dynamic relocation against main in static PIE.
17310 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17313 * elf/Makefile (CFLAGS-tst-prelink.c): New.
17314 (LDFLAGS-tst-prelink): Likewise.
17316 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17318 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
17319 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
17320 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
17321 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
17322 (INTERNAL_SYSCALL_NCS): Likewise.
17323 (LOADARGS_1): Likewise.
17324 (LOADARGS_5): Likewise.
17325 (RESTOREARGS_1): Likewise.
17326 (RESTOREARGS_5): Likewise.
17328 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17330 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
17331 (MEMPCPY_SYMBOL): Likewise.
17332 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17333 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
17334 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
17336 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17337 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
17339 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
17340 (__hidden_ver1): Don't use in libc.a.
17341 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
17342 (__mempcpy): Don't create a weak alias in libc.a.
17343 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
17345 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
17346 (__hidden_ver1): Don't use in libc.a.
17348 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17350 * config.make.in (have-insert): New.
17351 * configure.ac (libc_cv_insert): New. Set to yes if linker
17352 supports INSERT in linker script.
17353 (AC_SUBST(libc_cv_insert): New.
17354 * configure: Regenerated.
17355 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
17356 if $(have-insert) == yes.
17358 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17360 * elf/Makefile (tests): Add vismain only if
17361 $(have-protected-data) == yes.
17362 (tests-pie): Likewise.
17364 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17367 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
17368 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
17370 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17373 * sysdeps/i386/i586/memset.S
17374 (__memset_zero_constant_len_parameter): Removed.
17375 * sysdeps/i386/i686/memset.S
17376 (__memset_zero_constant_len_parameter): Likewise.
17377 * sysdeps/i386/i686/multiarch/memset_chk.S
17378 (__memset_zero_constant_len_parameter): Likewise.
17379 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
17382 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
17384 * stdlib/getentropy.c (getentropy): Change return type to int.
17386 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
17388 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
17390 2017-08-03 Joseph Myers <joseph@codesourcery.com>
17392 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
17394 * math/s_nexttowardf.c (__nexttowardf): Likewise.
17395 * sysdeps/generic/math_private.h (ieee_double_shape_type):
17397 (ieee_float_shape_type): Likewise.
17398 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
17399 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
17400 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
17401 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17402 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
17403 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
17404 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
17405 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17406 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
17408 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17409 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17410 (__ieee754_yn): Likewise.
17411 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17412 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17413 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
17415 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17416 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
17417 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
17418 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
17419 (__erfc): Likewise.
17420 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
17421 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
17422 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
17423 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
17424 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
17425 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
17427 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
17428 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
17429 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
17430 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
17431 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17432 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
17433 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
17434 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
17435 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
17436 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
17437 (__issignaling): Likewise.
17438 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
17439 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
17440 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
17442 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17443 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
17444 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
17445 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
17447 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
17449 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
17450 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
17451 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
17452 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
17453 (__erfcf): Likewise.
17454 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
17455 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
17456 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
17457 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
17459 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
17460 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
17462 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
17463 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
17464 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
17465 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
17466 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
17467 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
17468 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
17469 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
17471 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
17473 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
17475 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
17476 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
17478 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17480 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17481 (__ieee754_ynl): Likewise.
17482 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17483 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
17485 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
17487 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
17488 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
17489 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17491 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
17492 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
17493 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
17494 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
17495 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
17496 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
17497 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
17498 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
17500 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
17501 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
17502 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
17504 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
17505 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
17506 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
17507 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
17508 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
17509 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17511 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
17513 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
17515 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
17517 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
17518 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
17519 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17520 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
17521 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
17522 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
17523 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
17525 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17527 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17528 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17530 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
17531 (__ieee754_remainderl): Likewise.
17532 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17533 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17534 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17535 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17537 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17538 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17540 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17541 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
17542 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17543 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
17544 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
17545 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17547 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17548 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
17549 (__ieee754_y0l): Likewise.
17552 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17553 (__ieee754_y1l): Likewise.
17556 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17557 (__ieee754_ynl): Likewise.
17558 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
17559 (__ieee754_lgammal_r): Likewise.
17560 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
17562 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
17563 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
17564 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
17565 (__erfcl): Likewise.
17566 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
17567 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
17569 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
17570 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
17571 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
17572 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
17573 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
17574 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
17575 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17577 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
17578 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
17579 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
17580 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
17581 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17583 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
17584 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
17586 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
17587 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
17588 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
17589 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
17590 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
17592 2017-08-03 Florian Weimer <fweimer@redhat.com>
17595 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
17596 on memory allocation failure.
17598 2017-08-03 Alan Modra <amodra@gmail.com>
17600 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
17601 tst-tlsopt-powerpc.c with function name change and no test harness.
17602 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
17603 Call tls_get_addr_opt_test.
17604 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
17605 (modules-names): Add mod-tlsopt-powerpc.
17606 (mod-tlsopt-powerpc.so-no-z-defs): Define.
17607 (tst-tlsopt-powerpc): Depend on .so.
17608 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
17609 define. Expand use in TLS_GD and TLS_LD.
17611 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17613 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
17615 * sysdeps/posix/shm_open.c: Include <pthread.h>.
17617 2017-08-02 Joseph Myers <joseph@codesourcery.com>
17620 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
17621 comparing size with that of double.
17622 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
17623 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
17624 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
17625 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
17626 (__TGMATH_BINARY_REAL_IMAG): Likewise.
17627 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
17628 unsigned __int128 types.
17630 2017-08-02 Steve Ellcey <sellcey@cavium.com>
17632 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
17633 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
17634 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
17635 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
17636 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
17638 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
17640 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
17642 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
17644 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
17646 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
17647 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17648 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17649 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17650 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17651 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17652 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17654 2017-08-02 Joseph Myers <joseph@codesourcery.com>
17657 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
17658 bit-field expressions passed to sizeof or typeof.
17659 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
17660 (__TGMATH_F128): Likewise.
17661 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
17662 (__TGMATH_CF128): Likewise.
17663 (__TGMATH_UNARY_REAL_ONLY): Likewise.
17664 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
17665 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
17666 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
17667 (__TGMATH_BINARY_REAL_ONLY): Likewise.
17668 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
17669 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
17670 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
17671 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
17672 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
17673 (__TGMATH_UNARY_REAL_IMAG): Likewise.
17674 (__TGMATH_UNARY_IMAG): Likewise.
17675 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
17676 (__TGMATH_BINARY_REAL_IMAG): Likewise.
17677 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
17679 (define_vars_for_type): Handle bit_field type specially.
17680 (Tests.__init__): Declare structure with bit-field element.
17682 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
17685 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
17686 (MEMCPY_CHK): Define only if SHARED is defined.
17687 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
17689 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
17692 See ChangeLog.18 for earlier changes.